Home
last modified time | relevance | path

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

1234

/Linux-v4.19/drivers/hwmon/
Dlm77.c276 cur = i2c_smbus_read_word_data(client, 0); in lm77_detect()
278 hyst = i2c_smbus_read_word_data(client, 2); in lm77_detect()
279 crit = i2c_smbus_read_word_data(client, 3); in lm77_detect()
280 min = i2c_smbus_read_word_data(client, 4); in lm77_detect()
281 max = i2c_smbus_read_word_data(client, 5); in lm77_detect()
284 || i2c_smbus_read_word_data(client, i + 2) != hyst in lm77_detect()
285 || i2c_smbus_read_word_data(client, i + 3) != crit in lm77_detect()
286 || i2c_smbus_read_word_data(client, i + 4) != min in lm77_detect()
287 || i2c_smbus_read_word_data(client, i + 5) != max) in lm77_detect()
304 cur = i2c_smbus_read_word_data(client, 0); in lm77_detect()
[all …]
Dmenf21bmc_hwmon.c66 val = i2c_smbus_read_word_data(drv_data->i2c_client, in menf21bmc_hwmon_update()
86 val = i2c_smbus_read_word_data(drv_data->i2c_client, in menf21bmc_hwmon_get_volt_limits()
93 val = i2c_smbus_read_word_data(drv_data->i2c_client, in menf21bmc_hwmon_get_volt_limits()
/Linux-v4.19/drivers/mfd/
Dmenf21bmc.c68 rev_major = i2c_smbus_read_word_data(client, BMC_CMD_REV_MAJOR); in menf21bmc_probe()
74 rev_minor = i2c_smbus_read_word_data(client, BMC_CMD_REV_MINOR); in menf21bmc_probe()
80 rev_main = i2c_smbus_read_word_data(client, BMC_CMD_REV_MAIN); in menf21bmc_probe()
/Linux-v4.19/drivers/iio/temperature/
Dmlx90614.c159 ret = i2c_smbus_read_word_data(client, MLX90614_CONFIG); in mlx90614_iir_search()
254 ret = i2c_smbus_read_word_data(data->client, cmd); in mlx90614_read_raw()
276 ret = i2c_smbus_read_word_data(data->client, in mlx90614_read_raw()
296 ret = i2c_smbus_read_word_data(data->client, MLX90614_CONFIG); in mlx90614_read_raw()
451 i2c_smbus_read_word_data(data->client, MLX90614_CONFIG); in mlx90614_wakeup()
502 ret = i2c_smbus_read_word_data(client, MLX90614_CONFIG); in mlx90614_probe_num_ir_sensors()
/Linux-v4.19/drivers/usb/host/
Dohci-nxp.c98 i2c_smbus_read_word_data(isp1301_i2c_client, 0x00)); in isp1301_configure_lpc32xx()
100 i2c_smbus_read_word_data(isp1301_i2c_client, 0x02)); in isp1301_configure_lpc32xx()
102 i2c_smbus_read_word_data(isp1301_i2c_client, 0x14)); in isp1301_configure_lpc32xx()
/Linux-v4.19/drivers/iio/light/
Dadjd_s311.c107 ret = i2c_smbus_read_word_data(data->client, reg); in adjd_s311_read_data()
130 ret = i2c_smbus_read_word_data(data->client, in adjd_s311_trigger_handler()
193 ret = i2c_smbus_read_word_data(data->client, in adjd_s311_read_raw()
Dtcs3472.c158 ret = i2c_smbus_read_word_data(data->client, chan->address); in tcs3472_read_raw()
387 ret = i2c_smbus_read_word_data(data->client, in tcs3472_trigger_handler()
488 ret = i2c_smbus_read_word_data(data->client, TCS3472_AILT); in tcs3472_probe()
493 ret = i2c_smbus_read_word_data(data->client, TCS3472_AIHT); in tcs3472_probe()
Dcm3323.c87 ret = i2c_smbus_read_word_data(data->client, CM3323_CMD_CONF); in cm3323_init()
167 ret = i2c_smbus_read_word_data(data->client, chan->address); in cm3323_read_raw()
Dcm32181.c79 ret = i2c_smbus_read_word_data(client, CM32181_REG_ADDR_ID); in cm32181_reg_init()
191 ret = i2c_smbus_read_word_data(client, CM32181_REG_ADDR_ALS); in cm32181_get_lux()
Disl29125.c117 ret = i2c_smbus_read_word_data(data->client, isl29125_regs[si].data); in isl29125_read_data()
185 int ret = i2c_smbus_read_word_data(data->client, in isl29125_trigger_handler()
Dvcnl4000.c133 ret = i2c_smbus_read_word_data(data->client, VCNL4200_DEV_ID); in vcnl4200_init()
228 ret = i2c_smbus_read_word_data(data->client, chan->reg); in vcnl4200_measure()
Dcm3232.c95 ret = i2c_smbus_read_word_data(client, CM3232_REG_ADDR_ID); in cm3232_reg_init()
219 ret = i2c_smbus_read_word_data(client, CM3232_REG_ADDR_ALS); in cm3232_get_lux()
Dtcs3414.c144 ret = i2c_smbus_read_word_data(data->client, chan->address); in tcs3414_read_raw()
210 int ret = i2c_smbus_read_word_data(data->client, in tcs3414_trigger_handler()
/Linux-v4.19/drivers/iio/proximity/
Drfd77402.c107 ret = i2c_smbus_read_word_data(data->client, RFD77402_STATUS_R); in rfd77402_set_state()
146 ret = i2c_smbus_read_word_data(data->client, RFD77402_RESULT_R); in rfd77402_measure()
265 ret = i2c_smbus_read_word_data(client, RFD77402_MOD_CHIP_ID); in rfd77402_probe()
/Linux-v4.19/drivers/misc/
Dics932s401.c148 temp = i2c_smbus_read_word_data(client, regs_to_copy[i]); in ics932s401_update_device()
423 vendor = i2c_smbus_read_word_data(client, ICS932S401_REG_VENDOR_REV); in ics932s401_detect()
430 device = i2c_smbus_read_word_data(client, ICS932S401_REG_DEVICE); in ics932s401_detect()
Dad525x_dpot-i2c.c42 return i2c_smbus_read_word_data(client, reg); in read_r8d16()
/Linux-v4.19/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-v4.19/drivers/usb/typec/
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-v4.19/drivers/staging/iio/cdc/
Dad7152.c371 ret = i2c_smbus_read_word_data(chip->client, in ad7152_read_raw()
384 ret = i2c_smbus_read_word_data(chip->client, in ad7152_read_raw()
395 ret = i2c_smbus_read_word_data(chip->client, in ad7152_read_raw()
/Linux-v4.19/drivers/hwmon/pmbus/
Dmax31785.c317 ret = i2c_smbus_read_word_data(client, MFR_FAN_CONFIG); in max31785_configure_dual_tach()
356 ret = i2c_smbus_read_word_data(client, MFR_REVISION); in max31785_probe()
Dltc3815.c193 chip_id = i2c_smbus_read_word_data(client, LTC3815_MFR_SPECIAL_ID); in ltc3815_probe()
/Linux-v4.19/drivers/i2c/
Di2c-core-smbus.c170 s32 i2c_smbus_read_word_data(const struct i2c_client *client, u8 command) in i2c_smbus_read_word_data() function
180 EXPORT_SYMBOL(i2c_smbus_read_word_data);
632 status = i2c_smbus_read_word_data(client, command + i); in i2c_smbus_read_i2c_block_data_or_emulated()
/Linux-v4.19/drivers/macintosh/
Dwindfarm_lm75_sensor.c71 data = (s32)le16_to_cpu(i2c_smbus_read_word_data(lm->i2c, 0)); in wf_lm75_get()
/Linux-v4.19/drivers/iio/accel/
Dda280.c73 ret = i2c_smbus_read_word_data(data->client, chan->address); in da280_read_raw()
/Linux-v4.19/drivers/watchdog/
Dmenf21bmc_wdt.c140 bmc_timeout = i2c_smbus_read_word_data(drv_data->i2c_client, in menf21bmc_wdt_probe()

1234