Searched refs:i2c_smbus_read_word_data (Results 1 - 60 of 60) sorted by relevance

/linux-4.4.14/drivers/hwmon/
H A Dlm77.c276 cur = i2c_smbus_read_word_data(client, 0); lm77_detect()
278 hyst = i2c_smbus_read_word_data(client, 2); lm77_detect()
279 crit = i2c_smbus_read_word_data(client, 3); lm77_detect()
280 min = i2c_smbus_read_word_data(client, 4); lm77_detect()
281 max = i2c_smbus_read_word_data(client, 5); lm77_detect()
284 || i2c_smbus_read_word_data(client, i + 2) != hyst lm77_detect()
285 || i2c_smbus_read_word_data(client, i + 3) != crit lm77_detect()
286 || i2c_smbus_read_word_data(client, i + 4) != min lm77_detect()
287 || i2c_smbus_read_word_data(client, i + 5) != max) lm77_detect()
304 cur = i2c_smbus_read_word_data(client, 0); lm77_detect()
305 if (i2c_smbus_read_word_data(client, 6) != cur lm77_detect()
306 || i2c_smbus_read_word_data(client, 7) != cur) lm77_detect()
308 hyst = i2c_smbus_read_word_data(client, 2); lm77_detect()
309 if (i2c_smbus_read_word_data(client, 6) != hyst lm77_detect()
310 || i2c_smbus_read_word_data(client, 7) != hyst) lm77_detect()
312 min = i2c_smbus_read_word_data(client, 4); lm77_detect()
313 if (i2c_smbus_read_word_data(client, 6) != min lm77_detect()
314 || i2c_smbus_read_word_data(client, 7) != min) lm77_detect()
H A Dlm92.c279 temp_low = i2c_smbus_read_word_data(client, LM92_REG_TEMP_LOW); max6635_check()
280 if (i2c_smbus_read_word_data(client, LM92_REG_MAN_ID) != temp_low) max6635_check()
282 temp_high = i2c_smbus_read_word_data(client, LM92_REG_TEMP_HIGH); max6635_check()
283 if (i2c_smbus_read_word_data(client, LM92_REG_MAN_ID) != temp_high) max6635_check()
289 temp_hyst = i2c_smbus_read_word_data(client, LM92_REG_TEMP_HYST); max6635_check()
290 temp_crit = i2c_smbus_read_word_data(client, LM92_REG_TEMP_CRIT); max6635_check()
302 if (temp_hyst != i2c_smbus_read_word_data(client, max6635_check()
304 || temp_crit != i2c_smbus_read_word_data(client, max6635_check()
306 || temp_low != i2c_smbus_read_word_data(client, max6635_check()
308 || temp_high != i2c_smbus_read_word_data(client, max6635_check()
347 man_id = i2c_smbus_read_word_data(new_client, LM92_REG_MAN_ID); lm92_detect()
H A Dmenf21bmc_hwmon.c66 val = i2c_smbus_read_word_data(drv_data->i2c_client, menf21bmc_hwmon_update()
86 val = i2c_smbus_read_word_data(drv_data->i2c_client, menf21bmc_hwmon_get_volt_limits()
93 val = i2c_smbus_read_word_data(drv_data->i2c_client, menf21bmc_hwmon_get_volt_limits()
H A Dlm73.c263 id = i2c_smbus_read_word_data(new_client, LM73_REG_ID); lm73_detect()
H A Dlm93.c855 value = i2c_smbus_read_word_data(client, reg); lm93_read_word()
/linux-4.4.14/drivers/mfd/
H A Dmenf21bmc.c68 rev_major = i2c_smbus_read_word_data(client, BMC_CMD_REV_MAJOR); menf21bmc_probe()
74 rev_minor = i2c_smbus_read_word_data(client, BMC_CMD_REV_MINOR); menf21bmc_probe()
80 rev_main = i2c_smbus_read_word_data(client, BMC_CMD_REV_MAIN); menf21bmc_probe()
H A Dretu-mfd.c198 ret = i2c_smbus_read_word_data(i2c, *(u8 const *)reg); retu_regmap_read()
/linux-4.4.14/drivers/iio/temperature/
H A Dmlx90614.c159 ret = i2c_smbus_read_word_data(client, MLX90614_CONFIG); mlx90614_iir_search()
254 ret = i2c_smbus_read_word_data(data->client, cmd); mlx90614_read_raw()
276 ret = i2c_smbus_read_word_data(data->client, mlx90614_read_raw()
296 ret = i2c_smbus_read_word_data(data->client, MLX90614_CONFIG); mlx90614_read_raw()
452 i2c_smbus_read_word_data(data->client, MLX90614_CONFIG); mlx90614_wakeup()
503 ret = i2c_smbus_read_word_data(client, MLX90614_CONFIG); mlx90614_probe_num_ir_sensors()
/linux-4.4.14/drivers/iio/light/
H A Dcm3323.c87 ret = i2c_smbus_read_word_data(data->client, CM3323_CMD_CONF); cm3323_init()
167 ret = i2c_smbus_read_word_data(data->client, chan->address); cm3323_read_raw()
H A Dadjd_s311.c107 ret = i2c_smbus_read_word_data(data->client, reg); adjd_s311_read_data()
130 ret = i2c_smbus_read_word_data(data->client, adjd_s311_trigger_handler()
193 ret = i2c_smbus_read_word_data(data->client, adjd_s311_read_raw()
H A Dcm32181.c79 ret = i2c_smbus_read_word_data(client, CM32181_REG_ADDR_ID); cm32181_reg_init()
191 ret = i2c_smbus_read_word_data(client, CM32181_REG_ADDR_ALS); cm32181_get_lux()
H A Dcm3232.c95 ret = i2c_smbus_read_word_data(client, CM3232_REG_ADDR_ID); cm3232_reg_init()
219 ret = i2c_smbus_read_word_data(client, CM3232_REG_ADDR_ALS); cm3232_get_lux()
H A Disl29125.c115 ret = i2c_smbus_read_word_data(data->client, isl29125_regs[si].data); isl29125_read_data()
183 int ret = i2c_smbus_read_word_data(data->client, isl29125_trigger_handler()
H A Dtcs3414.c145 ret = i2c_smbus_read_word_data(data->client, chan->address); tcs3414_read_raw()
211 int ret = i2c_smbus_read_word_data(data->client, tcs3414_trigger_handler()
H A Dtcs3472.c129 ret = i2c_smbus_read_word_data(data->client, chan->address); tcs3472_read_raw()
198 ret = i2c_smbus_read_word_data(data->client, tcs3472_trigger_handler()
H A Dal3320a.c128 ret = i2c_smbus_read_word_data(data->client, al3320a_read_raw()
H A Dtsl4531.c86 ret = i2c_smbus_read_word_data(data->client, tsl4531_read_raw()
H A Dus5182d.c160 ret = i2c_smbus_read_word_data(data->client, us5182d_get_als()
241 ret = i2c_smbus_read_word_data(data->client, us5182d_read_raw()
H A Dtsl2563.c338 ret = i2c_smbus_read_word_data(client, tsl2563_get_adc()
344 ret = i2c_smbus_read_word_data(client, tsl2563_get_adc()
H A Dapds9300.c104 ret = i2c_smbus_read_word_data(data->client, flags); apds9300_get_adc_val()
H A Dcm36651.c201 *val = i2c_smbus_read_word_data(client, chan->address); cm36651_read_output()
/linux-4.4.14/drivers/misc/
H A Dad525x_dpot-i2c.c42 return i2c_smbus_read_word_data(client, reg); read_r8d16()
H A Dics932s401.c148 temp = i2c_smbus_read_word_data(client, regs_to_copy[i]); ics932s401_update_device()
423 vendor = i2c_smbus_read_word_data(client, ICS932S401_REG_VENDOR_REV); ics932s401_detect()
430 device = i2c_smbus_read_word_data(client, ICS932S401_REG_DEVICE); ics932s401_detect()
H A Dapds990x.c222 ret = i2c_smbus_read_word_data(client, reg); apds990x_read_word()
/linux-4.4.14/drivers/usb/host/
H A Dohci-nxp.c124 i2c_smbus_read_word_data(isp1301_i2c_client, 0x00)); isp1301_configure_lpc32xx()
126 i2c_smbus_read_word_data(isp1301_i2c_client, 0x02)); isp1301_configure_lpc32xx()
128 i2c_smbus_read_word_data(isp1301_i2c_client, 0x14)); isp1301_configure_lpc32xx()
/linux-4.4.14/drivers/staging/iio/cdc/
H A Dad7152.c364 ret = i2c_smbus_read_word_data(chip->client, ad7152_read_raw()
377 ret = i2c_smbus_read_word_data(chip->client, ad7152_read_raw()
388 ret = i2c_smbus_read_word_data(chip->client, ad7152_read_raw()
H A Dad7150.c108 ret = i2c_smbus_read_word_data(chip->client, ad7150_read_raw()
115 ret = i2c_smbus_read_word_data(chip->client, ad7150_read_raw()
H A Dad7746.c626 ret = i2c_smbus_read_word_data(chip->client, reg); ad7746_read_raw()
636 ret = i2c_smbus_read_word_data(chip->client, ad7746_read_raw()
/linux-4.4.14/drivers/macintosh/
H A Dwindfarm_lm75_sensor.c71 data = (s32)le16_to_cpu(i2c_smbus_read_word_data(lm->i2c, 0)); wf_lm75_get()
H A Dwindfarm_smu_sat.c80 err = i2c_smbus_read_word_data(sat->i2c, 9); smu_sat_get_sdb_partition()
/linux-4.4.14/drivers/iio/pressure/
H A Dt5403.c65 return i2c_smbus_read_word_data(data->client, T5403_DATA); t5403_read()
/linux-4.4.14/drivers/watchdog/
H A Dmenf21bmc_wdt.c140 bmc_timeout = i2c_smbus_read_word_data(drv_data->i2c_client, menf21bmc_wdt_probe()
/linux-4.4.14/drivers/iio/humidity/
H A Dhdc100x.c158 * i2c_smbus_read_word_data cannot() be used here due to the command hdc100x_get_measurement()
/linux-4.4.14/drivers/input/keyboard/
H A Dtca6416-keypad.c79 i2c_smbus_read_word_data(chip->client, reg << 1) : tca6416_read_reg()
/linux-4.4.14/drivers/input/misc/
H A Dapanel.c97 data = i2c_smbus_read_word_data(ap->client, cmd); apanel_poll()
/linux-4.4.14/drivers/misc/eeprom/
H A Deeprom.c69 int word = i2c_smbus_read_word_data(client, i); eeprom_update_client()
/linux-4.4.14/drivers/power/
H A Dbq24735-charger.c70 s32 ret = i2c_smbus_read_word_data(client, reg); bq24735_read_word()
H A Dds2782_battery.c92 ret = i2c_smbus_read_word_data(info->client, reg_msb); ds278x_read_reg16()
H A Dsbs-battery.c186 ret = i2c_smbus_read_word_data(client, address); sbs_read_word_data()
/linux-4.4.14/drivers/base/regmap/
H A Dregmap-i2c.c65 ret = i2c_smbus_read_word_data(i2c, reg); regmap_smbus_word_reg_read()
/linux-4.4.14/arch/powerpc/platforms/44x/
H A Dwarp.c259 val = i2c_smbus_read_word_data(client, 0); pika_dtm_thread()
/linux-4.4.14/drivers/hwmon/pmbus/
H A Dzl6100.c389 ret = i2c_smbus_read_word_data(client, ZL6100_MFR_CONFIG); zl6100_probe()
H A Dltc2978.c536 chip_id = i2c_smbus_read_word_data(client, LTC2978_MFR_SPECIAL_ID); ltc2978_get_id()
H A Dpmbus_core.c220 return i2c_smbus_read_word_data(client, reg); pmbus_read_word_data()
1747 ret = i2c_smbus_read_word_data(client, PMBUS_STATUS_WORD); pmbus_init_common()
/linux-4.4.14/drivers/iio/accel/
H A Dstk8ba50.c150 ret = i2c_smbus_read_word_data(client, reg); stk8ba50_read_accel()
H A Dbma180.c154 ret = i2c_smbus_read_word_data(data->client, bma180_get_data_reg()
H A Dkxcjk-1013.c646 ret = i2c_smbus_read_word_data(data->client, reg); kxcjk1013_get_acc_reg()
/linux-4.4.14/drivers/input/touchscreen/
H A Dtsc2007.c98 data = i2c_smbus_read_word_data(tsc->client, cmd); tsc2007_xfer()
/linux-4.4.14/drivers/media/usb/em28xx/
H A Dem28xx-camera.c113 /* NOTE: i2c_smbus_read_word_data() doesn't work with BE data */ em28xx_probe_sensor_micron()
/linux-4.4.14/drivers/media/i2c/
H A Dvpx3220.c142 data = i2c_smbus_read_word_data(client, 0x28); vpx3220_fp_read()
/linux-4.4.14/drivers/input/mouse/
H A Dsynaptics_i2c.c270 ret = i2c_smbus_read_word_data(client, reg & 0xff); synaptics_i2c_word_get()
/linux-4.4.14/drivers/usb/phy/
H A Dphy-isp1301-omap.c160 return i2c_smbus_read_word_data(isp->client, reg); isp1301_get_u16()
1532 status = i2c_smbus_read_word_data(i2c, ISP1301_BCD_DEVICE); isp1301_probe()
/linux-4.4.14/include/linux/
H A Di2c.h93 extern s32 i2c_smbus_read_word_data(const struct i2c_client *client,
101 s32 value = i2c_smbus_read_word_data(client, command); i2c_smbus_read_word_swapped()
/linux-4.4.14/drivers/i2c/
H A Di2c-core.c363 status = i2c_smbus_read_word_data(client, command); acpi_i2c_space_handler()
2701 * i2c_smbus_read_word_data - SMBus "read word" protocol
2708 s32 i2c_smbus_read_word_data(const struct i2c_client *client, u8 command) i2c_smbus_read_word_data() function
2718 EXPORT_SYMBOL(i2c_smbus_read_word_data); variable
3115 status = i2c_smbus_read_word_data(client, command + i); i2c_smbus_read_i2c_block_data_or_emulated()
/linux-4.4.14/drivers/staging/olpc_dcon/
H A Dolpc_dcon.c56 return i2c_smbus_read_word_data(dcon->client, reg); dcon_read()
/linux-4.4.14/drivers/iio/magnetometer/
H A Dak8975.c650 ret = i2c_smbus_read_word_data(client, data->def->data_regs[index]); ak8975_read_axis()
/linux-4.4.14/drivers/gpio/
H A Dgpio-pca953x.c205 ret = i2c_smbus_read_word_data(chip->client, reg << 1); pca953x_read_regs()
H A Dgpio-mcp23s08.c131 return i2c_smbus_read_word_data(mcp->data, reg << 1); mcp23017_read()
/linux-4.4.14/drivers/usb/gadget/udc/
H A Dlpc32xx_udc.c659 i2c_smbus_read_word_data(udc->isp1301_i2c_client, 0x00)); isp1301_udc_configure()
661 i2c_smbus_read_word_data(udc->isp1301_i2c_client, 0x02)); isp1301_udc_configure()
663 i2c_smbus_read_word_data(udc->isp1301_i2c_client, 0x14)); isp1301_udc_configure()
/linux-4.4.14/drivers/iio/imu/
H A Dkmx61.c781 ret = i2c_smbus_read_word_data(data->client, reg); kmx61_read_measurement()

Completed in 1811 milliseconds