Home
last modified time | relevance | path

Searched refs:sbit_o1 (Results 1 – 1 of 1) sorted by relevance

/external/sg3_utils/lib/
Dsg_lib.c3998 int sbit_o1 = start_bit + 1; in sg_get_big_endian() local
4000 res = (*from_bp++ & ((1 << sbit_o1) - 1)); in sg_get_big_endian()
4001 num_bits -= sbit_o1; in sg_get_big_endian()
4019 int sbit_o1 = start_bit + 1; in sg_set_big_endian() local
4027 mask = (8 != sbit_o1) ? ((1 << sbit_o1) - 1) : 0xff; in sg_set_big_endian()
4031 num = (num_bits + 15 - sbit_o1) / 8; in sg_set_big_endian()
4033 if ((sbit_o1 - num_bits) > 0) in sg_set_big_endian()
4034 mask &= ~((1 << (sbit_o1 - num_bits)) - 1); in sg_set_big_endian()
4041 num_bits -= sbit_o1; in sg_set_big_endian()
4042 sbit_o1 = 8; in sg_set_big_endian()