Lines Matching refs:bit_shift
1363 unsigned int bit_shift = offset % 8; in __extract() local
1364 int bits_to_copy = 8 - bit_shift; in __extract()
1369 value |= ((u32)report[idx] >> bit_shift) << bit_nr; in __extract()
1373 bit_shift = 0; in __extract()
1405 unsigned int bit_shift = offset % 8; in __implement() local
1406 int bits_to_set = 8 - bit_shift; in __implement()
1409 report[idx] &= ~(0xff << bit_shift); in __implement()
1410 report[idx] |= value << bit_shift; in __implement()
1414 bit_shift = 0; in __implement()
1421 report[idx] &= ~(bit_mask << bit_shift); in __implement()
1422 report[idx] |= value << bit_shift; in __implement()