Lines Matching refs:bit_shift
1109 unsigned int bit_shift = offset % 8; in __extract() local
1110 int bits_to_copy = 8 - bit_shift; in __extract()
1115 value |= ((u32)report[idx] >> bit_shift) << bit_nr; in __extract()
1119 bit_shift = 0; in __extract()
1151 unsigned int bit_shift = offset % 8; in __implement() local
1152 int bits_to_set = 8 - bit_shift; in __implement()
1155 report[idx] &= ~(0xff << bit_shift); in __implement()
1156 report[idx] |= value << bit_shift; in __implement()
1160 bit_shift = 0; in __implement()
1167 report[idx] &= ~(bit_mask << bit_shift); in __implement()
1168 report[idx] |= value << bit_shift; in __implement()