Lines Matching refs:i2c_smbus_read_byte_data
96 rv = i2c_smbus_read_byte_data(client, in adc128_update_device()
102 rv = i2c_smbus_read_byte_data(client, in adc128_update_device()
116 rv = i2c_smbus_read_byte_data(client, in adc128_update_device()
122 rv = i2c_smbus_read_byte_data(client, in adc128_update_device()
129 rv = i2c_smbus_read_byte_data(client, ADC128_REG_ALARM); in adc128_update_device()
368 man_id = i2c_smbus_read_byte_data(client, ADC128_REG_MAN_ID); in adc128_detect()
369 dev_id = i2c_smbus_read_byte_data(client, ADC128_REG_DEV_ID); in adc128_detect()
374 if (i2c_smbus_read_byte_data(client, ADC128_REG_CONFIG) & 0xf4) in adc128_detect()
376 if (i2c_smbus_read_byte_data(client, ADC128_REG_CONV_RATE) & 0xfe) in adc128_detect()
378 if (i2c_smbus_read_byte_data(client, ADC128_REG_ONESHOT) & 0xfe) in adc128_detect()
380 if (i2c_smbus_read_byte_data(client, ADC128_REG_SHUTDOWN) & 0xfe) in adc128_detect()
382 if (i2c_smbus_read_byte_data(client, ADC128_REG_CONFIG_ADV) & 0xf8) in adc128_detect()
384 if (i2c_smbus_read_byte_data(client, ADC128_REG_BUSY_STATUS) & 0xfc) in adc128_detect()
468 err = i2c_smbus_read_byte_data(client, ADC128_REG_CONFIG_ADV); in adc128_probe()