Home
last modified time | relevance | path

Searched refs:i2c_smbus_read_word_data (Results 1 – 25 of 76) sorted by relevance

1234

/Linux-v5.4/drivers/hwmon/
Dlm77.c264 cur = i2c_smbus_read_word_data(client, 0); in lm77_detect()
266 hyst = i2c_smbus_read_word_data(client, 2); in lm77_detect()
267 crit = i2c_smbus_read_word_data(client, 3); in lm77_detect()
268 min = i2c_smbus_read_word_data(client, 4); in lm77_detect()
269 max = i2c_smbus_read_word_data(client, 5); in lm77_detect()
272 || i2c_smbus_read_word_data(client, i + 2) != hyst in lm77_detect()
273 || i2c_smbus_read_word_data(client, i + 3) != crit in lm77_detect()
274 || i2c_smbus_read_word_data(client, i + 4) != min in lm77_detect()
275 || i2c_smbus_read_word_data(client, i + 5) != max) in lm77_detect()
292 cur = i2c_smbus_read_word_data(client, 0); in lm77_detect()
[all …]
Dmenf21bmc_hwmon.c62 val = i2c_smbus_read_word_data(drv_data->i2c_client, in menf21bmc_hwmon_update()
82 val = i2c_smbus_read_word_data(drv_data->i2c_client, in menf21bmc_hwmon_get_volt_limits()
89 val = i2c_smbus_read_word_data(drv_data->i2c_client, in menf21bmc_hwmon_get_volt_limits()
/Linux-v5.4/drivers/mfd/
Dmenf21bmc.c64 rev_major = i2c_smbus_read_word_data(client, BMC_CMD_REV_MAJOR); in menf21bmc_probe()
70 rev_minor = i2c_smbus_read_word_data(client, BMC_CMD_REV_MINOR); in menf21bmc_probe()
76 rev_main = i2c_smbus_read_word_data(client, BMC_CMD_REV_MAIN); in menf21bmc_probe()
/Linux-v5.4/drivers/iio/temperature/
Dmlx90614.c155 ret = i2c_smbus_read_word_data(client, MLX90614_CONFIG); in mlx90614_iir_search()
250 ret = i2c_smbus_read_word_data(data->client, cmd); in mlx90614_read_raw()
272 ret = i2c_smbus_read_word_data(data->client, in mlx90614_read_raw()
292 ret = i2c_smbus_read_word_data(data->client, MLX90614_CONFIG); in mlx90614_read_raw()
447 i2c_smbus_read_word_data(data->client, MLX90614_CONFIG); in mlx90614_wakeup()
498 ret = i2c_smbus_read_word_data(client, MLX90614_CONFIG); in mlx90614_probe_num_ir_sensors()
/Linux-v5.4/drivers/usb/host/
Dohci-nxp.c95 i2c_smbus_read_word_data(isp1301_i2c_client, 0x00)); in isp1301_configure_lpc32xx()
97 i2c_smbus_read_word_data(isp1301_i2c_client, 0x02)); in isp1301_configure_lpc32xx()
99 i2c_smbus_read_word_data(isp1301_i2c_client, 0x14)); in isp1301_configure_lpc32xx()
/Linux-v5.4/drivers/iio/proximity/
Drfd77402.c104 ret = i2c_smbus_read_word_data(data->client, RFD77402_STATUS_R); in rfd77402_set_state()
143 ret = i2c_smbus_read_word_data(data->client, RFD77402_RESULT_R); in rfd77402_measure()
262 ret = i2c_smbus_read_word_data(client, RFD77402_MOD_CHIP_ID); in rfd77402_probe()
/Linux-v5.4/drivers/iio/light/
Dadjd_s311.c104 ret = i2c_smbus_read_word_data(data->client, reg); in adjd_s311_read_data()
127 ret = i2c_smbus_read_word_data(data->client, in adjd_s311_trigger_handler()
190 ret = i2c_smbus_read_word_data(data->client, in adjd_s311_read_raw()
Dvcnl4000.c137 ret = i2c_smbus_read_word_data(data->client, VCNL4200_DEV_ID); in vcnl4200_init()
144 ret = i2c_smbus_read_word_data(data->client, VCNL4040_DEV_ID); in vcnl4200_init()
254 ret = i2c_smbus_read_word_data(data->client, chan->reg); in vcnl4200_measure()
Dcm3323.c84 ret = i2c_smbus_read_word_data(data->client, CM3323_CMD_CONF); in cm3323_init()
165 ret = i2c_smbus_read_word_data(data->client, chan->address); in cm3323_read_raw()
Dtcs3472.c155 ret = i2c_smbus_read_word_data(data->client, chan->address); in tcs3472_read_raw()
384 ret = i2c_smbus_read_word_data(data->client, in tcs3472_trigger_handler()
485 ret = i2c_smbus_read_word_data(data->client, TCS3472_AILT); in tcs3472_probe()
490 ret = i2c_smbus_read_word_data(data->client, TCS3472_AIHT); in tcs3472_probe()
Dcm32181.c76 ret = i2c_smbus_read_word_data(client, CM32181_REG_ADDR_ID); in cm32181_reg_init()
188 ret = i2c_smbus_read_word_data(client, CM32181_REG_ADDR_ALS); in cm32181_get_lux()
Disl29125.c114 ret = i2c_smbus_read_word_data(data->client, isl29125_regs[si].data); in isl29125_read_data()
182 int ret = i2c_smbus_read_word_data(data->client, in isl29125_trigger_handler()
Dtcs3414.c141 ret = i2c_smbus_read_word_data(data->client, chan->address); in tcs3414_read_raw()
207 int ret = i2c_smbus_read_word_data(data->client, in tcs3414_trigger_handler()
Dcm3232.c92 ret = i2c_smbus_read_word_data(client, CM3232_REG_ADDR_ID); in cm3232_reg_init()
216 ret = i2c_smbus_read_word_data(client, CM3232_REG_ADDR_ALS); in cm3232_get_lux()
Dal3320a.c124 ret = i2c_smbus_read_word_data(data->client, in al3320a_read_raw()
/Linux-v5.4/drivers/misc/
Dics932s401.c135 temp = i2c_smbus_read_word_data(client, regs_to_copy[i]); in ics932s401_update_device()
412 vendor = i2c_smbus_read_word_data(client, ICS932S401_REG_VENDOR_REV); in ics932s401_detect()
419 device = i2c_smbus_read_word_data(client, ICS932S401_REG_DEVICE); in ics932s401_detect()
Dad525x_dpot-i2c.c41 return i2c_smbus_read_word_data(client, reg); in read_r8d16()
/Linux-v5.4/drivers/usb/typec/tcpm/
Dtcpci_rt1711h.c218 ret = i2c_smbus_read_word_data(i2c, TCPC_VENDOR_ID); in rt1711h_check_revision()
225 ret = i2c_smbus_read_word_data(i2c, TCPC_PRODUCT_ID); in rt1711h_check_revision()
/Linux-v5.4/drivers/media/usb/em28xx/
Dem28xx-camera.c104 ret = i2c_smbus_read_word_data(client, 0x00); /* assumes LE */ in em28xx_probe_sensor_micron()
114 ret = i2c_smbus_read_word_data(client, 0xff); in em28xx_probe_sensor_micron()
/Linux-v5.4/drivers/hwmon/pmbus/
Dmax31785.c311 ret = i2c_smbus_read_word_data(client, MFR_FAN_CONFIG); in max31785_configure_dual_tach()
350 ret = i2c_smbus_read_word_data(client, MFR_REVISION); in max31785_probe()
Dltc3815.c184 chip_id = i2c_smbus_read_word_data(client, LTC3815_MFR_SPECIAL_ID); in ltc3815_probe()
/Linux-v5.4/drivers/i2c/
Di2c-core-smbus.c168 s32 i2c_smbus_read_word_data(const struct i2c_client *client, u8 command) in i2c_smbus_read_word_data() function
178 EXPORT_SYMBOL(i2c_smbus_read_word_data);
647 status = i2c_smbus_read_word_data(client, command + i); in i2c_smbus_read_i2c_block_data_or_emulated()
/Linux-v5.4/drivers/macintosh/
Dwindfarm_lm75_sensor.c70 data = (s32)le16_to_cpu(i2c_smbus_read_word_data(lm->i2c, 0)); in wf_lm75_get()
/Linux-v5.4/drivers/watchdog/
Dmenf21bmc_wdt.c136 bmc_timeout = i2c_smbus_read_word_data(drv_data->i2c_client, in menf21bmc_wdt_probe()
/Linux-v5.4/drivers/iio/accel/
Dda280.c70 ret = i2c_smbus_read_word_data(data->client, chan->address); in da280_read_raw()

1234