Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/drivers/hwmon/
H A 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 …]
H A 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()
/OK3568_Linux_fs/kernel/drivers/hwmon/pmbus/
H A Dmp2975.c342 ret = i2c_smbus_read_word_data(client, MP2975_MFR_VR_MULTI_CONFIG_R2); in mp2975_identify_multiphase_rail2()
379 ret = i2c_smbus_read_word_data(client, MP2975_MFR_VR_MULTI_CONFIG_R1); in mp2975_identify_multiphase()
413 ret = i2c_smbus_read_word_data(client, reg); in mp2975_identify_vid()
473 ret = i2c_smbus_read_word_data(client, in mp2975_current_sense_gain_get()
508 ret = i2c_smbus_read_word_data(client, MP2975_MFR_READ_VREF_R1); in mp2975_vref_get()
516 ret = i2c_smbus_read_word_data(client, MP2975_MFR_READ_VREF_R2); in mp2975_vref_get()
531 ret = i2c_smbus_read_word_data(client, MP2975_MFR_OVP_TH_SET); in mp2975_vref_offset_get()
558 ret = i2c_smbus_read_word_data(client, PMBUS_VOUT_MAX); in mp2975_vout_max_get()
573 ret = i2c_smbus_read_word_data(client, MP2975_MFR_DC_LOOP_CTRL); in mp2975_identify_vout_format()
599 ret = i2c_smbus_read_word_data(client, MP2975_MFR_APS_DECAY_ADV); in mp2975_vout_ov_scale_get()
[all …]
H A Dmax16601.c106 return i2c_smbus_read_word_data(client, REG_IIN_SENSOR); in max16601_read_word()
108 return i2c_smbus_read_word_data(client, in max16601_read_word()
117 ret = i2c_smbus_read_word_data(data->vsa, in max16601_read_word()
135 return i2c_smbus_read_word_data(data->vsa, reg); in max16601_read_word()
H A Dmax20730.c259 ret = i2c_smbus_read_word_data(psu->client, in max20730_debugfs_read()
272 ret = i2c_smbus_read_word_data(psu->client, PMBUS_VOUT_COMMAND); in max20730_debugfs_read()
281 ret = i2c_smbus_read_word_data(psu->client, PMBUS_VOUT_MAX); in max20730_debugfs_read()
311 ret = i2c_smbus_read_word_data(client, MAX20730_MFR_DEVSET2); in max20730_init_debugfs()
316 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()
H A Dmax31785.c311 ret = i2c_smbus_read_word_data(client, MFR_FAN_CONFIG); in max31785_configure_dual_tach()
349 ret = i2c_smbus_read_word_data(client, MFR_REVISION); in max31785_probe()
H A Dadm1275.c185 ret = i2c_smbus_read_word_data(client, ADM1275_PMON_CONFIG); in adm1275_read_pmon_config()
207 ret = i2c_smbus_read_word_data(client, ADM1275_PMON_CONFIG); in adm1275_write_pmon_config()
515 config_read_fn = i2c_smbus_read_word_data; in adm1275_probe()
/OK3568_Linux_fs/kernel/drivers/mfd/
H A 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()
/OK3568_Linux_fs/kernel/drivers/iio/temperature/
H A 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()
/OK3568_Linux_fs/kernel/drivers/platform/x86/
H A Dsurface3_power.c217 ret = i2c_smbus_read_word_data(client, in mshw0011_bix()
227 ret = i2c_smbus_read_word_data(client, in mshw0011_bix()
253 ret = i2c_smbus_read_word_data(client, MSHW0011_BAT0_REG_CYCLE_CNT); in mshw0011_bix()
278 rate = i2c_smbus_read_word_data(client, MSHW0011_BAT0_REG_RATE); in mshw0011_bst()
282 capacity = i2c_smbus_read_word_data(client, MSHW0011_BAT0_REG_CAPACITY); in mshw0011_bst()
286 voltage = i2c_smbus_read_word_data(client, MSHW0011_BAT0_REG_VOLTAGE); in mshw0011_bst()
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A 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()
/OK3568_Linux_fs/kernel/drivers/iio/proximity/
H A 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()
/OK3568_Linux_fs/kernel/drivers/iio/light/
H A 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()
H A Dtcs3472.c159 ret = i2c_smbus_read_word_data(data->client, chan->address); in tcs3472_read_raw()
388 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()
H A 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()
H A Disl29125.c118 ret = i2c_smbus_read_word_data(data->client, isl29125_regs[si].data); in isl29125_read_data()
186 int ret = i2c_smbus_read_word_data(data->client, in isl29125_trigger_handler()
H A Dcm3232.c93 ret = i2c_smbus_read_word_data(client, CM3232_REG_ADDR_ID); in cm3232_reg_init()
217 ret = i2c_smbus_read_word_data(client, CM3232_REG_ADDR_ALS); in cm3232_get_lux()
H A Dtcs3414.c145 ret = i2c_smbus_read_word_data(data->client, chan->address); in tcs3414_read_raw()
211 int ret = i2c_smbus_read_word_data(data->client, in tcs3414_trigger_handler()
/OK3568_Linux_fs/kernel/drivers/misc/
H A 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()
H A Dad525x_dpot-i2c.c41 return i2c_smbus_read_word_data(client, reg); in read_r8d16()
/OK3568_Linux_fs/kernel/drivers/usb/typec/tcpm/
H A Dtcpci_rt1711h.c198 ret = i2c_smbus_read_word_data(i2c, TCPC_VENDOR_ID); in rt1711h_check_revision()
205 ret = i2c_smbus_read_word_data(i2c, TCPC_PRODUCT_ID); in rt1711h_check_revision()
H A Dtcpci_husb311.c123 ret = i2c_smbus_read_word_data(i2c, TCPC_VENDOR_ID); in husb311_check_revision()
134 ret = i2c_smbus_read_word_data(i2c, TCPC_PRODUCT_ID); in husb311_check_revision()
H A Dtcpci_et7303.c206 ret = i2c_smbus_read_word_data(i2c, TCPC_VENDOR_ID); in et7303_check_revision()
217 ret = i2c_smbus_read_word_data(i2c, TCPC_PRODUCT_ID); in et7303_check_revision()
/OK3568_Linux_fs/kernel/drivers/media/usb/em28xx/
H A 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()
/OK3568_Linux_fs/kernel/drivers/i2c/
H A 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);
654 status = i2c_smbus_read_word_data(client, command + i); in i2c_smbus_read_i2c_block_data_or_emulated()

1234