Home
last modified time | relevance | path

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

1234

/linux-6.12.1/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-6.12.1/drivers/iio/light/
Dvcnl4000.c289 ret = i2c_smbus_read_word_data(data->client, VCNL4200_AL_CONF); in vcnl4000_write_als_enable()
312 ret = i2c_smbus_read_word_data(data->client, VCNL4200_PS_CONF1); in vcnl4000_write_ps_enable()
359 ret = i2c_smbus_read_word_data(data->client, VCNL4200_DEV_ID); in vcnl4200_init()
366 ret = i2c_smbus_read_word_data(data->client, VCNL4040_DEV_ID); in vcnl4200_init()
404 ret = i2c_smbus_read_word_data(data->client, VCNL4200_PS_CONF1); in vcnl4200_init()
415 ret = i2c_smbus_read_word_data(data->client, VCNL4200_PS_CONF3); in vcnl4200_init()
514 ret = i2c_smbus_read_word_data(data->client, chan->reg); in vcnl4200_measure()
595 ret = i2c_smbus_read_word_data(data->client, VCNL4200_AL_CONF); in vcnl4040_read_als_it()
630 ret = i2c_smbus_read_word_data(data->client, VCNL4200_AL_CONF); in vcnl4040_write_als_it()
649 ret = i2c_smbus_read_word_data(data->client, VCNL4200_PS_CONF1); in vcnl4040_read_ps_it()
[all …]
Dadjd_s311.c107 ret = i2c_smbus_read_word_data(data->client, reg); in adjd_s311_read_data()
129 ret = i2c_smbus_read_word_data(data->client, in adjd_s311_trigger_handler()
192 ret = i2c_smbus_read_word_data(data->client, in adjd_s311_read_raw()
Dtcs3472.c159 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()
486 ret = i2c_smbus_read_word_data(data->client, TCS3472_AILT); in tcs3472_probe()
491 ret = i2c_smbus_read_word_data(data->client, TCS3472_AIHT); in tcs3472_probe()
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()
Disl29125.c118 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()
/linux-6.12.1/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-6.12.1/drivers/hwmon/pmbus/
Dxdp710.c73 ret = i2c_smbus_read_word_data(client, XDP710_CS_RNG); in xdp710_probe()
80 ret = i2c_smbus_read_word_data(client, XDP710_V_SNS_CFG); in xdp710_probe()
87 ret = i2c_smbus_read_word_data(client, XDP710_REG_CFG); in xdp710_probe()
Dmp2975.c574 ret = i2c_smbus_read_word_data(client, MP2975_MFR_VR_MULTI_CONFIG_R2); in mp2975_identify_multiphase_rail2()
611 ret = i2c_smbus_read_word_data(client, MP2975_MFR_VR_MULTI_CONFIG_R1); in mp2975_identify_multiphase()
647 ret = i2c_smbus_read_word_data(client, reg); in mp2975_identify_vid()
736 ret = i2c_smbus_read_word_data(client, in mp2975_current_sense_gain_get()
771 ret = i2c_smbus_read_word_data(client, MP2975_MFR_READ_VREF_R1); in mp2975_vref_get()
779 ret = i2c_smbus_read_word_data(client, MP2975_MFR_READ_VREF_R2); in mp2975_vref_get()
794 ret = i2c_smbus_read_word_data(client, MP2975_MFR_OVP_TH_SET); in mp2975_vref_offset_get()
821 ret = i2c_smbus_read_word_data(client, PMBUS_VOUT_MAX); in mp2975_vout_max_get()
838 ret = i2c_smbus_read_word_data(client, MP2975_MFR_DC_LOOP_CTRL); in mp2975_set_vout_format()
846 ret = i2c_smbus_read_word_data(client, MP2973_MFR_RESO_SET); in mp2975_set_vout_format()
[all …]
Dmp9941.c54 ret = i2c_smbus_read_word_data(client, MFR_RESO_SET); in mp9941_set_vout_format()
82 ret = i2c_smbus_read_word_data(client, MFR_VR_MULTI_CONFIG_R1); in mp9941_identify_vid_resolution()
102 ret = i2c_smbus_read_word_data(client, MFR_RESO_SET); in mp9941_identify_iin_scale()
120 ret = i2c_smbus_read_word_data(client, MFR_ICC_MAX); in mp9941_identify_iin_scale()
Dzl6100.c357 ret = i2c_smbus_read_word_data(client, ZL8802_MFR_DDC_CONFIG); in zl6100_probe()
376 ret = i2c_smbus_read_word_data(client, ZL8802_MFR_USER_CONFIG); in zl6100_probe()
385 ret = i2c_smbus_read_word_data(client, ZL8802_MFR_USER_GLOBAL_CONFIG); in zl6100_probe()
392 ret = i2c_smbus_read_word_data(client, ZL6100_MFR_CONFIG); in zl6100_probe()
Dmax16601.c113 return i2c_smbus_read_word_data(client, REG_IIN_SENSOR); in max16601_read_word()
115 return i2c_smbus_read_word_data(client, in max16601_read_word()
124 ret = i2c_smbus_read_word_data(data->vsa, in max16601_read_word()
142 return i2c_smbus_read_word_data(data->vsa, reg); in max16601_read_word()
Dmp2856.c252 ret = i2c_smbus_read_word_data(client, reg); in mp2856_identify_multiphase()
316 ret = i2c_smbus_read_word_data(client, in mp2856_current_sense_gain_get()
350 ret = i2c_smbus_read_word_data(client, MP2856_MFR_VR_CONFIG2); in mp2856_identify_vout_format()
368 ret = i2c_smbus_read_word_data(client, MP2856_MUL1_BOOT_SR_R2); in mp2856_is_rail2_active()
Dmax20730.c260 ret = i2c_smbus_read_word_data(psu->client, in max20730_debugfs_read()
273 ret = i2c_smbus_read_word_data(psu->client, PMBUS_VOUT_COMMAND); in max20730_debugfs_read()
282 ret = i2c_smbus_read_word_data(psu->client, PMBUS_VOUT_MAX); in max20730_debugfs_read()
313 ret = i2c_smbus_read_word_data(client, MAX20730_MFR_DEVSET2); in max20730_init_debugfs()
318 ret = i2c_smbus_read_word_data(client, MAX20730_MFR_VOUT_MIN); in max20730_init_debugfs()
739 ret = i2c_smbus_read_word_data(client, MAX20730_MFR_DEVSET1); in max20730_probe()
Dmp5990.c128 ret = i2c_smbus_read_word_data(client, MP5990_EFUSE_CFG); in mp5990_probe()
143 ret = i2c_smbus_read_word_data(client, PMBUS_READ_VOUT); in mp5990_probe()
/linux-6.12.1/drivers/platform/surface/
Dsurface3_power.c216 ret = i2c_smbus_read_word_data(client, in mshw0011_bix()
226 ret = i2c_smbus_read_word_data(client, in mshw0011_bix()
252 ret = i2c_smbus_read_word_data(client, MSHW0011_BAT0_REG_CYCLE_CNT); in mshw0011_bix()
277 rate = i2c_smbus_read_word_data(client, MSHW0011_BAT0_REG_RATE); in mshw0011_bst()
281 capacity = i2c_smbus_read_word_data(client, MSHW0011_BAT0_REG_CAPACITY); in mshw0011_bst()
285 voltage = i2c_smbus_read_word_data(client, MSHW0011_BAT0_REG_VOLTAGE); in mshw0011_bst()
/linux-6.12.1/drivers/platform/x86/
Dmeegopad_anx7428.c120 ret = i2c_smbus_read_word_data(client, VENDOR_ID); in anx7428_probe()
125 ret = i2c_smbus_read_word_data(client, DEVICE_ID); in anx7428_probe()
/linux-6.12.1/drivers/usb/host/
Dohci-nxp.c93 i2c_smbus_read_word_data(isp1301_i2c_client, 0x00)); in isp1301_configure_lpc32xx()
95 i2c_smbus_read_word_data(isp1301_i2c_client, 0x02)); in isp1301_configure_lpc32xx()
97 i2c_smbus_read_word_data(isp1301_i2c_client, 0x14)); in isp1301_configure_lpc32xx()
/linux-6.12.1/drivers/iio/proximity/
Drfd77402.c104 ret = i2c_smbus_read_word_data(client, RFD77402_STATUS_R); in rfd77402_set_state()
143 ret = i2c_smbus_read_word_data(client, RFD77402_RESULT_R); in rfd77402_measure()
266 ret = i2c_smbus_read_word_data(client, RFD77402_MOD_CHIP_ID); in rfd77402_probe()
/linux-6.12.1/drivers/iio/temperature/
Dmlx90614.c173 ret = i2c_smbus_read_word_data(client, chip_info->op_eeprom_config1); in mlx90614_iir_search()
279 ret = i2c_smbus_read_word_data(data->client, cmd); in mlx90614_read_raw()
304 ret = i2c_smbus_read_word_data(data->client, in mlx90614_read_raw()
327 ret = i2c_smbus_read_word_data(data->client, in mlx90614_read_raw()
519 i2c_smbus_read_word_data(data->client, chip_info->op_eeprom_config1); in mlx90614_wakeup()
576 ret = i2c_smbus_read_word_data(client, chip_info->op_eeprom_config1); in mlx90614_probe_num_ir_sensors()
/linux-6.12.1/drivers/usb/typec/tcpm/
Dtcpci_rt1711h.c308 ret = i2c_smbus_read_word_data(i2c, TCPC_VENDOR_ID); in rt1711h_check_revision()
315 ret = i2c_smbus_read_word_data(i2c, TCPC_PRODUCT_ID); in rt1711h_check_revision()
322 ret = i2c_smbus_read_word_data(i2c, TCPC_BCD_DEV); in rt1711h_check_revision()
/linux-6.12.1/drivers/misc/
Dics932s401.c134 temp = i2c_smbus_read_word_data(client, regs_to_copy[i]); in ics932s401_update_device()
411 vendor = i2c_smbus_read_word_data(client, ICS932S401_REG_VENDOR_REV); in ics932s401_detect()
418 device = i2c_smbus_read_word_data(client, ICS932S401_REG_DEVICE); in ics932s401_detect()
/linux-6.12.1/drivers/media/usb/em28xx/
Dem28xx-camera.c94 ret = i2c_smbus_read_word_data(client, 0x00); /* assumes LE */ in em28xx_probe_sensor_micron()
104 ret = i2c_smbus_read_word_data(client, 0xff); in em28xx_probe_sensor_micron()
/linux-6.12.1/drivers/net/pse-pd/
Dtps23881.c67 ret = i2c_smbus_read_word_data(client, TPS23881_REG_PW_STATUS); in tps23881_pi_enable()
103 ret = i2c_smbus_read_word_data(client, TPS23881_REG_PW_STATUS); in tps23881_pi_disable()
136 ret = i2c_smbus_read_word_data(client, TPS23881_REG_PW_STATUS); in tps23881_pi_is_enabled()
169 ret = i2c_smbus_read_word_data(client, TPS23881_REG_PW_STATUS); in tps23881_ethtool_get_status()

1234