Lines Matching refs:i2c_smbus_read_byte_data
95 rv = i2c_smbus_read_byte_data(client, in adc128_update_device()
101 rv = i2c_smbus_read_byte_data(client, in adc128_update_device()
115 rv = i2c_smbus_read_byte_data(client, in adc128_update_device()
121 rv = i2c_smbus_read_byte_data(client, in adc128_update_device()
128 rv = i2c_smbus_read_byte_data(client, ADC128_REG_ALARM); in adc128_update_device()
367 man_id = i2c_smbus_read_byte_data(client, ADC128_REG_MAN_ID); in adc128_detect()
368 dev_id = i2c_smbus_read_byte_data(client, ADC128_REG_DEV_ID); in adc128_detect()
373 if (i2c_smbus_read_byte_data(client, ADC128_REG_CONFIG) & 0xf4) in adc128_detect()
375 if (i2c_smbus_read_byte_data(client, ADC128_REG_CONV_RATE) & 0xfe) in adc128_detect()
377 if (i2c_smbus_read_byte_data(client, ADC128_REG_ONESHOT) & 0xfe) in adc128_detect()
379 if (i2c_smbus_read_byte_data(client, ADC128_REG_SHUTDOWN) & 0xfe) in adc128_detect()
381 if (i2c_smbus_read_byte_data(client, ADC128_REG_CONFIG_ADV) & 0xf8) in adc128_detect()
383 if (i2c_smbus_read_byte_data(client, ADC128_REG_BUSY_STATUS) & 0xfc) in adc128_detect()
461 err = i2c_smbus_read_byte_data(client, ADC128_REG_CONFIG_ADV); in adc128_probe()