Searched refs:byte_bit (Results 1 – 1 of 1) sorted by relevance
28 unsigned long byte, byte_bit; in get_cmos_value() local38 byte_bit = bit % 8; /* find the bit in the byte where the data starts */ in get_cmos_value()41 uchar >>= byte_bit; /* shift the bits to byte align */ in get_cmos_value()127 unsigned long byte, byte_bit; in set_cmos_value() local134 byte_bit = bit % 8; /* find the bit where the data starts */ in set_cmos_value()137 mask <<= byte_bit; in set_cmos_value()141 uchar |= (ret[0] << byte_bit); in set_cmos_value()146 if (byte_bit || length % 8) in set_cmos_value()