Lines Matching refs:box_start_bit
33 static void adjust_for_msb_right_quirk(u64 *to_write, int *box_start_bit, in adjust_for_msb_right_quirk() argument
36 int box_bit_width = *box_start_bit - *box_end_bit + 1; in adjust_for_msb_right_quirk()
43 new_box_end_bit = box_bit_width - *box_start_bit - 1; in adjust_for_msb_right_quirk()
46 *box_start_bit = new_box_start_bit; in adjust_for_msb_right_quirk()
122 int box_start_bit, box_end_bit, box_addr; in packing() local
133 box_start_bit = startbit % 8; in packing()
135 box_start_bit = 7; in packing()
148 proj_start_bit = ((box * 8) + box_start_bit) - endbit; in packing()
151 box_mask = GENMASK_ULL(box_start_bit, box_end_bit); in packing()
172 &box_start_bit, in packing()
188 &box_start_bit, in packing()