Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/iio/temperature/
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()
481 ret = i2c_smbus_read_word_swapped(data->client, TMP007_CONFIG); in tmp007_probe()
504 ret = i2c_smbus_read_word_swapped(data->client, TMP007_STATUS_MASK); in tmp007_probe()
Dtmp006.c55 ret = i2c_smbus_read_word_swapped(data->client, in tmp006_read_measurement()
67 return i2c_smbus_read_word_swapped(data->client, reg); in tmp006_read_measurement()
185 mid = i2c_smbus_read_word_swapped(client, TMP006_MANUFACTURER_ID); in tmp006_check_identification()
189 did = i2c_smbus_read_word_swapped(client, TMP006_DEVICE_ID); in tmp006_check_identification()
227 ret = i2c_smbus_read_word_swapped(data->client, TMP006_CONFIG); in tmp006_probe()
/Linux-v5.4/drivers/iio/light/
Dopt3001.c255 ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION); in opt3001_get_lux()
285 ret = i2c_smbus_read_word_swapped(opt->client, in opt3001_get_lux()
299 ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_RESULT); in opt3001_get_lux()
359 ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION); in opt3001_set_int_time()
555 ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION); in opt3001_write_event_config()
595 ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_MANUFACTURER_ID); in opt3001_read_id()
605 ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_DEVICE_ID); in opt3001_read_id()
625 ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION); in opt3001_configure()
661 ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_LOW_LIMIT); in opt3001_configure()
671 ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_HIGH_LIMIT); in opt3001_configure()
[all …]
/Linux-v5.4/drivers/hwmon/
Djc42.c252 val = i2c_smbus_read_word_swapped(client, temp_regs[i]); in jc42_update_device()
419 cap = i2c_smbus_read_word_swapped(client, JC42_REG_CAP); in jc42_detect()
420 config = i2c_smbus_read_word_swapped(client, JC42_REG_CONFIG); in jc42_detect()
421 manid = i2c_smbus_read_word_swapped(client, JC42_REG_MANID); in jc42_detect()
422 devid = i2c_smbus_read_word_swapped(client, JC42_REG_DEVICEID); in jc42_detect()
476 cap = i2c_smbus_read_word_swapped(client, JC42_REG_CAP); in jc42_probe()
491 smbus = i2c_smbus_read_word_swapped(client, JC42_REG_SMBUS); in jc42_probe()
498 config = i2c_smbus_read_word_swapped(client, JC42_REG_CONFIG); in jc42_probe()
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()
Dmax31790.c91 rv = i2c_smbus_read_word_swapped(client, in max31790_update_device()
99 rv = i2c_smbus_read_word_swapped(client, in max31790_update_device()
106 rv = i2c_smbus_read_word_swapped(client, in max31790_update_device()
112 rv = i2c_smbus_read_word_swapped(client, in max31790_update_device()
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()
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()
Dadt7410.c17 return i2c_smbus_read_word_swapped(to_i2c_client(dev), reg); in adt7410_i2c_read_word()
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()
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()
Dad7414.c59 return i2c_smbus_read_word_swapped(client, reg); in ad7414_read()
Dlm73.c88 s32 err = i2c_smbus_read_word_swapped(data->client, attr->index); in temp_show()
Dltc2990.c104 val = i2c_smbus_read_word_swapped(i2c, reg); in ltc2990_get_value()
Dasb100.c866 res = i2c_smbus_read_word_swapped(cl, 0); in asb100_read_value()
872 res = i2c_smbus_read_word_swapped(cl, 2); in asb100_read_value()
876 res = i2c_smbus_read_word_swapped(cl, 3); in asb100_read_value()
/Linux-v5.4/drivers/iio/dac/
Dad5593r.c42 val = i2c_smbus_read_word_swapped(i2c, AD5593R_MODE_ADC_READBACK); in ad5593r_read_adc()
64 val = i2c_smbus_read_word_swapped(i2c, AD5593R_MODE_REG_READBACK | reg); in ad5593r_reg_read()
78 val = i2c_smbus_read_word_swapped(i2c, AD5593R_MODE_GPIO_READBACK); in ad5593r_gpio_read()
/Linux-v5.4/drivers/iio/adc/
Dad7291.c94 ret = i2c_smbus_read_word_swapped(client, reg); in ad7291_i2c_read()
349 ret = i2c_smbus_read_word_swapped(chip->client, in ad7291_read_raw()
360 ret = i2c_smbus_read_word_swapped(chip->client, in ad7291_read_raw()
370 ret = i2c_smbus_read_word_swapped(chip->client, in ad7291_read_raw()
Dti-adc081c.c49 err = i2c_smbus_read_word_swapped(adc->i2c, REG_CONV_RES); in adc081c_read_raw()
134 ret = i2c_smbus_read_word_swapped(data->i2c, REG_CONV_RES); in adc081c_trigger_handler()
Dad799x.c159 return i2c_smbus_read_word_swapped(st->client, AD7998_CONF_REG); in ad799x_read_config()
267 return i2c_smbus_read_word_swapped(st->client, cmd); in ad799x_scan_direct()
464 ret = i2c_smbus_read_word_swapped(st->client, in ad799x_read_event_value()
/Linux-v5.4/drivers/iio/pressure/
Dmpl115_i2c.c24 return i2c_smbus_read_word_swapped(to_i2c_client(dev), address); in mpl115_i2c_read()
Dms5611_i2c.c33 ret = i2c_smbus_read_word_swapped(st->client, in ms5611_i2c_read_prom_word()
/Linux-v5.4/drivers/iio/humidity/
Dsi7020.c45 ret = i2c_smbus_read_word_swapped(*client, in si7020_read_raw()
Dsi7005.c65 ret = i2c_smbus_read_word_swapped(data->client, SI7005_DATA); in si7005_read_measurement()
/Linux-v5.4/drivers/power/supply/
Dmax17040_battery.c88 ret = i2c_smbus_read_word_swapped(client, reg); in max17040_read_reg()
/Linux-v5.4/drivers/staging/iio/cdc/
Dad7746.c596 ret = i2c_smbus_read_word_swapped(chip->client, reg); in ad7746_read_raw()
606 ret = i2c_smbus_read_word_swapped(chip->client, in ad7746_read_raw()

12