Home
last modified time | relevance | path

Searched refs:i2c_smbus_read_word_swapped (Results 1 – 25 of 52) sorted by relevance

123

/openbmc/linux/drivers/iio/temperature/
H A Dtmp007.c79 ret = i2c_smbus_read_word_swapped(data->client, in tmp007_read_temperature()
92 return i2c_smbus_read_word_swapped(data->client, reg); in tmp007_read_temperature()
113 ret = i2c_smbus_read_word_swapped(data->client, TMP007_TDIE); in tmp007_read_raw()
177 ret = i2c_smbus_read_word_swapped(data->client, TMP007_STATUS); in tmp007_interrupt_handler()
243 ret = i2c_smbus_read_word_swapped(data->client, TMP007_STATUS_MASK); in tmp007_write_event_config()
310 ret = i2c_smbus_read_word_swapped(data->client, reg); in tmp007_read_thresh()
431 manf_id = i2c_smbus_read_word_swapped(client, TMP007_MANUFACTURER_ID); in tmp007_identify()
435 dev_id = i2c_smbus_read_word_swapped(client, TMP007_DEVICE_ID); in tmp007_identify()
487 ret = i2c_smbus_read_word_swapped(data->client, TMP007_CONFIG); in tmp007_probe()
514 ret = i2c_smbus_read_word_swapped(data->client, TMP007_STATUS_MASK); in tmp007_probe()
H A Dtmp006.c56 ret = i2c_smbus_read_word_swapped(data->client, in tmp006_read_measurement()
68 return i2c_smbus_read_word_swapped(data->client, reg); in tmp006_read_measurement()
186 mid = i2c_smbus_read_word_swapped(client, TMP006_MANUFACTURER_ID); in tmp006_check_identification()
190 did = i2c_smbus_read_word_swapped(client, TMP006_DEVICE_ID); in tmp006_check_identification()
245 ret = i2c_smbus_read_word_swapped(data->client, TMP006_CONFIG); in tmp006_probe()
H A Dtmp117.c54 ret = i2c_smbus_read_word_swapped(data->client, in tmp117_read_raw()
62 ret = i2c_smbus_read_word_swapped(data->client, in tmp117_read_raw()
133 dev_id = i2c_smbus_read_word_swapped(client, TMP117_REG_DEVICE_ID); in tmp117_identify()
H A Dmax30208.c113 ret = i2c_smbus_read_word_swapped(data->client, MAX30208_FIFO_DATA); in max30208_update_temp()
/openbmc/linux/drivers/iio/light/
H A Dopt3001.c260 ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION); in opt3001_get_lux()
292 ret = i2c_smbus_read_word_swapped(opt->client, in opt3001_get_lux()
306 ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_RESULT); in opt3001_get_lux()
364 ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION); in opt3001_set_int_time()
560 ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION); in opt3001_write_event_config()
600 ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_MANUFACTURER_ID); in opt3001_read_id()
610 ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_DEVICE_ID); in opt3001_read_id()
630 ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION); in opt3001_configure()
666 ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_LOW_LIMIT); in opt3001_configure()
676 ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_HIGH_LIMIT); in opt3001_configure()
[all …]
/openbmc/linux/drivers/hwmon/
H A Dds620.c71 i2c_smbus_read_word_swapped(client, DS620_REG_CONF); in ds620_init_client()
110 res = i2c_smbus_read_word_swapped(client, in ds620_update_client()
181 res = i2c_smbus_read_word_swapped(client, DS620_REG_CONF); in alarm_show()
H A Dina209.c89 val = i2c_smbus_read_word_swapped(client, i); in ina209_update_device()
494 reg = i2c_smbus_read_word_swapped(client, INA209_CALIBRATION); in ina209_init_client()
499 reg = i2c_smbus_read_word_swapped(client, INA209_CONFIGURATION); in ina209_init_client()
529 i2c_smbus_read_word_swapped(client, INA209_STATUS); in ina209_init_client()
H A Dmax31790.c94 rv = i2c_smbus_read_word_swapped(client, in max31790_update_device()
102 rv = i2c_smbus_read_word_swapped(client, in max31790_update_device()
109 rv = i2c_smbus_read_word_swapped(client, in max31790_update_device()
115 rv = i2c_smbus_read_word_swapped(client, in max31790_update_device()
H A Djc42.c431 cap = i2c_smbus_read_word_swapped(client, JC42_REG_CAP); in jc42_detect()
432 config = i2c_smbus_read_word_swapped(client, JC42_REG_CONFIG); in jc42_detect()
433 manid = i2c_smbus_read_word_swapped(client, JC42_REG_MANID); in jc42_detect()
434 devid = i2c_smbus_read_word_swapped(client, JC42_REG_DEVICEID); in jc42_detect()
H A Dsht21.c97 ret = i2c_smbus_read_word_swapped(client, in sht21_update_measurements()
102 ret = i2c_smbus_read_word_swapped(client, in sht21_update_measurements()
H A Dtmp464.c478 reg = i2c_smbus_read_word_swapped(client, TMP464_MANUFACTURER_ID_REG); in tmp464_detect()
485 reg = i2c_smbus_read_word_swapped(client, TMP464_THERM_STATUS_REG); in tmp464_detect()
490 reg = i2c_smbus_read_word_swapped(client, TMP464_THERM2_STATUS_REG); in tmp464_detect()
496 reg = i2c_smbus_read_word_swapped(client, TMP464_DEVICE_ID_REG); in tmp464_detect()
H A Dadt7410.c37 regval = i2c_smbus_read_word_swapped(client, reg); in adt7410_reg_read()
H A Dad7418.c84 val = i2c_smbus_read_word_swapped(client, in ad7418_update_device()
99 val = i2c_smbus_read_word_swapped(client, in ad7418_update_device()
H A Dadc128d818.c90 rv = i2c_smbus_read_word_swapped(client, in adc128_update_device()
110 rv = i2c_smbus_read_word_swapped(client, in adc128_update_device()
H A Dad7414.c59 return i2c_smbus_read_word_swapped(client, reg); in ad7414_read()
H A Dlm73.c88 s32 err = i2c_smbus_read_word_swapped(data->client, attr->index); in temp_show()
/openbmc/linux/drivers/iio/adc/
H A Dad7291.c92 ret = i2c_smbus_read_word_swapped(client, reg); in ad7291_i2c_read()
347 ret = i2c_smbus_read_word_swapped(chip->client, in ad7291_read_raw()
358 ret = i2c_smbus_read_word_swapped(chip->client, in ad7291_read_raw()
368 ret = i2c_smbus_read_word_swapped(chip->client, in ad7291_read_raw()
H A Dti-adc081c.c55 err = i2c_smbus_read_word_swapped(adc->i2c, REG_CONV_RES); in adc081c_read_raw()
139 ret = i2c_smbus_read_word_swapped(data->i2c, REG_CONV_RES); in adc081c_trigger_handler()
H A Dad799x.c162 return i2c_smbus_read_word_swapped(st->client, AD7998_CONF_REG); in ad799x_read_config()
279 return i2c_smbus_read_word_swapped(st->client, cmd); in ad799x_scan_direct()
483 ret = i2c_smbus_read_word_swapped(st->client, in ad799x_read_event_value()
/openbmc/linux/drivers/iio/pressure/
H A Dmpl115_i2c.c24 return i2c_smbus_read_word_swapped(to_i2c_client(dev), address); in mpl115_i2c_read()
H A Dms5611_i2c.c33 ret = i2c_smbus_read_word_swapped(st->client, in ms5611_i2c_read_prom_word()
/openbmc/linux/drivers/hwmon/pmbus/
H A Dibm-cffps.c150 rc = i2c_smbus_read_word_swapped(psu->client, PMBUS_MFR_POUT_MAX); in ibm_cffps_debugfs_read()
157 rc = i2c_smbus_read_word_swapped(psu->client, CFFPS_CCIN_CMD); in ibm_cffps_debugfs_read()
502 int ccin = i2c_smbus_read_word_swapped(client, CFFPS_CCIN_CMD); in ibm_cffps_probe()
/openbmc/linux/drivers/iio/humidity/
H A Dsi7020.c46 ret = i2c_smbus_read_word_swapped(*client, in si7020_read_raw()
H A Dsi7005.c65 ret = i2c_smbus_read_word_swapped(data->client, SI7005_DATA); in si7005_read_measurement()
/openbmc/linux/drivers/iio/cdc/
H A Dad7150.c113 ret = i2c_smbus_read_word_swapped(chip->client, in ad7150_read_raw()
121 ret = i2c_smbus_read_word_swapped(chip->client, in ad7150_read_raw()

123