Lines Matching refs:msb
134 u8 msb; member
140 .msb = ISL29501_DISTANCE_MSB_DATA,
144 .msb = ISL29501_PHASE_MSB,
154 .msb = ISL29501_GAIN_MSB,
158 .msb = ISL29501_CROSSTALK_GAIN_MSB,
177 .msb = ISL29501_PHASE_OFFSET_MSB,
202 u8 msb = 0, lsb = 0; in isl29501_register_read() local
206 if (reg->msb) { in isl29501_register_read()
207 ret = i2c_smbus_read_byte_data(isl29501->client, reg->msb); in isl29501_register_read()
210 msb = ret; in isl29501_register_read()
221 *val = (msb << 8) + lsb; in isl29501_register_read()
237 if (!reg->msb && value > U8_MAX) in isl29501_register_write()
244 if (reg->msb) { in isl29501_register_write()
246 reg->msb, value >> 8); in isl29501_register_write()