Searched refs:leading_zero_bits (Results 1 – 3 of 3) sorted by relevance
31 long leading_zero_bits; in find_zero() local33 asm (PPC_CNTLZL "%0,%1" : "=r" (leading_zero_bits) : "r" (mask)); in find_zero()34 return leading_zero_bits >> 3; in find_zero()79 unsigned long leading_zero_bits; in create_zero_mask() local85 : "=r" (leading_zero_bits), "=&r" (trailing_zero_bit_mask) in create_zero_mask()88 return leading_zero_bits; in create_zero_mask()
185 int leading_zero_bits = 0; in rbsp_read_uev() local190 leading_zero_bits++; in rbsp_read_uev()194 if (leading_zero_bits > 0) { in rbsp_read_uev()195 ret = rbsp_read_bits(rbsp, leading_zero_bits, &tmp); in rbsp_read_uev()201 *val = (1 << leading_zero_bits) - 1 + tmp; in rbsp_read_uev()211 int leading_zero_bits = fls(tmp) - 1; in rbsp_write_uev() local213 for (i = 0; i < leading_zero_bits; i++) { in rbsp_write_uev()219 return rbsp_write_bits(rbsp, leading_zero_bits + 1, tmp); in rbsp_write_uev()