Lines Matching full:bit_offset
704 .bit_offset = 16,
711 .bit_offset = 16,
718 .bit_offset = 16,
725 .bit_offset = 16,
732 .bit_offset = 16,
819 int bit_offset, word_offset, ret, i; in cs35l41_otp_unpack() local
850 bit_offset = otp_map_match->bit_offset; in cs35l41_otp_unpack()
855 bit_offset, word_offset, bit_sum % 32, otp_map[i].size); in cs35l41_otp_unpack()
856 if (bit_offset + otp_map[i].size - 1 >= 32) { in cs35l41_otp_unpack()
858 GENMASK(31, bit_offset)) >> bit_offset; in cs35l41_otp_unpack()
860 GENMASK(bit_offset + otp_map[i].size - 33, 0)) << in cs35l41_otp_unpack()
861 (32 - bit_offset); in cs35l41_otp_unpack()
862 bit_offset += otp_map[i].size - 32; in cs35l41_otp_unpack()
863 } else if (bit_offset + otp_map[i].size - 1 >= 0) { in cs35l41_otp_unpack()
865 GENMASK(bit_offset + otp_map[i].size - 1, bit_offset) in cs35l41_otp_unpack()
866 ) >> bit_offset; in cs35l41_otp_unpack()
867 bit_offset += otp_map[i].size; in cs35l41_otp_unpack()
868 } else /* both bit_offset and otp_map[i].size are 0 */ in cs35l41_otp_unpack()
873 if (bit_offset == 32) { in cs35l41_otp_unpack()
874 bit_offset = 0; in cs35l41_otp_unpack()