Lines Matching refs:i2c_smbus_read_byte_data
97 rv = i2c_smbus_read_byte_data(client, in adc128_update_device()
103 rv = i2c_smbus_read_byte_data(client, in adc128_update_device()
115 rv = i2c_smbus_read_byte_data(client, ADC128_REG_TEMP_MAX); in adc128_update_device()
120 rv = i2c_smbus_read_byte_data(client, ADC128_REG_TEMP_HYST); in adc128_update_device()
125 rv = i2c_smbus_read_byte_data(client, ADC128_REG_ALARM); in adc128_update_device()
353 man_id = i2c_smbus_read_byte_data(client, ADC128_REG_MAN_ID); in adc128_detect()
354 dev_id = i2c_smbus_read_byte_data(client, ADC128_REG_DEV_ID); in adc128_detect()
359 if (i2c_smbus_read_byte_data(client, ADC128_REG_CONFIG) & 0xf4) in adc128_detect()
361 if (i2c_smbus_read_byte_data(client, ADC128_REG_CONV_RATE) & 0xfe) in adc128_detect()
363 if (i2c_smbus_read_byte_data(client, ADC128_REG_ONESHOT) & 0xfe) in adc128_detect()
365 if (i2c_smbus_read_byte_data(client, ADC128_REG_SHUTDOWN) & 0xfe) in adc128_detect()
367 if (i2c_smbus_read_byte_data(client, ADC128_REG_CONFIG_ADV) & 0xf8) in adc128_detect()
369 if (i2c_smbus_read_byte_data(client, ADC128_REG_BUSY_STATUS) & 0xfc) in adc128_detect()