Searched refs:lo_bit (Results 1 – 1 of 1) sorted by relevance
30 char lo_bit; member178 return w >> field->lo_bit & ((1 << field->nbits) - 1); in ad1843_read_bits()192 mask = ((1 << field->nbits) - 1) << field->lo_bit; in ad1843_write_bits()193 oldval = (w & mask) >> field->lo_bit; in ad1843_write_bits()194 newbits = (newval << field->lo_bit) & mask; in ad1843_write_bits()230 *value = w >> fp->lo_bit & mask; in ad1843_read_multi()266 m = ((1 << fp->nbits) - 1) << fp->lo_bit; in ad1843_write_multi()268 bits |= (value << fp->lo_bit) & m; in ad1843_write_multi()