Lines Matching refs:box_end_bit
46 int *box_end_bit, u8 *box_mask) in adjust_for_msb_right_quirk() argument
48 int box_bit_width = *box_start_bit - *box_end_bit + 1; in adjust_for_msb_right_quirk()
51 *to_write >>= *box_end_bit; in adjust_for_msb_right_quirk()
53 *to_write <<= *box_end_bit; in adjust_for_msb_right_quirk()
56 new_box_start_bit = box_bit_width - *box_end_bit - 1; in adjust_for_msb_right_quirk()
59 *box_end_bit = new_box_end_bit; in adjust_for_msb_right_quirk()
134 int box_start_bit, box_end_bit, box_addr; in packing() local
149 box_end_bit = endbit % 8; in packing()
151 box_end_bit = 0; in packing()
161 proj_end_bit = ((box * 8) + box_end_bit) - endbit; in packing()
163 box_mask = GENMASK_ULL(box_start_bit, box_end_bit); in packing()
185 &box_end_bit, in packing()
188 pval >>= box_end_bit; in packing()
201 &box_end_bit, in packing()
204 pval <<= box_end_bit; in packing()