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

/linux-4.1.27/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.1.27/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.1.27/drivers/iio/light/
H A Dcm3323.c87 ret = i2c_smbus_read_word_data(data->client, CM3323_CMD_CONF); cm3323_init()
164 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 Dltr501.c88 return i2c_smbus_read_word_data(data->client, LTR501_PS_DATA); ltr501_read_ps()
303 ret = i2c_smbus_read_word_data(data->client, LTR501_PS_DATA); ltr501_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 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.1.27/drivers/iio/temperature/
H A Dmlx90614.c88 ret = i2c_smbus_read_word_data(data->client, cmd); mlx90614_read_raw()
144 ret = i2c_smbus_read_word_data(client, MLX90614_CONFIG); mlx90614_probe_num_ir_sensors()
/linux-4.1.27/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.1.27/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.1.27/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.c631 ret = i2c_smbus_read_word_data(chip->client, reg); ad7746_read_raw()
641 ret = i2c_smbus_read_word_data(chip->client, ad7746_read_raw()
/linux-4.1.27/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.1.27/drivers/iio/humidity/
H A Dsi7020.c53 ret = i2c_smbus_read_word_data(*client, si7020_read_raw()
/linux-4.1.27/drivers/iio/pressure/
H A Dt5403.c65 return i2c_smbus_read_word_data(data->client, T5403_DATA); t5403_read()
/linux-4.1.27/drivers/watchdog/
H A Dmenf21bmc_wdt.c139 bmc_timeout = i2c_smbus_read_word_data(drv_data->i2c_client, menf21bmc_wdt_probe()
/linux-4.1.27/drivers/misc/eeprom/
H A Deeprom.c69 int word = i2c_smbus_read_word_data(client, i); eeprom_update_client()
H A Dat24.c238 status = i2c_smbus_read_word_data(client, offset); at24_eeprom_read()
/linux-4.1.27/drivers/input/keyboard/
H A Dtca6416-keypad.c79 i2c_smbus_read_word_data(chip->client, reg << 1) : tca6416_read_reg()
/linux-4.1.27/drivers/input/misc/
H A Dapanel.c97 data = i2c_smbus_read_word_data(ap->client, cmd); apanel_poll()
/linux-4.1.27/drivers/base/regmap/
H A Dregmap-i2c.c65 ret = i2c_smbus_read_word_data(i2c, reg); regmap_smbus_word_reg_read()
/linux-4.1.27/arch/powerpc/platforms/44x/
H A Dwarp.c259 val = i2c_smbus_read_word_data(client, 0); pika_dtm_thread()
/linux-4.1.27/drivers/input/touchscreen/
H A Dtsc2007.c98 data = i2c_smbus_read_word_data(tsc->client, cmd); tsc2007_xfer()
/linux-4.1.27/drivers/hwmon/pmbus/
H A Dzl6100.c388 ret = i2c_smbus_read_word_data(client, ZL6100_MFR_CONFIG); zl6100_probe()
H A Dltc2978.c407 chip_id = i2c_smbus_read_word_data(client, LTC2978_MFR_SPECIAL_ID); ltc2978_probe()
H A Dpmbus_core.c220 return i2c_smbus_read_word_data(client, reg); pmbus_read_word_data()
1731 ret = i2c_smbus_read_word_data(client, PMBUS_STATUS_WORD); pmbus_init_common()
/linux-4.1.27/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.1.27/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.c184 ret = i2c_smbus_read_word_data(client, address); sbs_read_word_data()
/linux-4.1.27/drivers/media/i2c/
H A Dvpx3220.c142 data = i2c_smbus_read_word_data(client, 0x28); vpx3220_fp_read()
/linux-4.1.27/drivers/input/mouse/
H A Dsynaptics_i2c.c270 ret = i2c_smbus_read_word_data(client, reg & 0xff); synaptics_i2c_word_get()
/linux-4.1.27/drivers/iio/accel/
H A Dbmc150-accel.c635 ret = i2c_smbus_read_word_data(data->client, bmc150_accel_get_axis()
1214 ret = i2c_smbus_read_word_data(data->client, bmc150_accel_trigger_handler()
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.1.27/drivers/iio/gyro/
H A Dbmg160.c504 ret = i2c_smbus_read_word_data(data->client, BMG160_AXIS_TO_REG(axis)); bmg160_get_axis()
827 ret = i2c_smbus_read_word_data(data->client, bmg160_trigger_handler()
/linux-4.1.27/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.1.27/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.1.27/drivers/i2c/
H A Di2c-core.c319 status = i2c_smbus_read_word_data(&client, command); acpi_i2c_space_handler()
2534 * i2c_smbus_read_word_data - SMBus "read word" protocol
2541 s32 i2c_smbus_read_word_data(const struct i2c_client *client, u8 command) i2c_smbus_read_word_data() function
2551 EXPORT_SYMBOL(i2c_smbus_read_word_data); variable
/linux-4.1.27/drivers/iio/magnetometer/
H A Dak8975.c650 ret = i2c_smbus_read_word_data(client, data->def->data_regs[index]); ak8975_read_axis()
/linux-4.1.27/drivers/staging/olpc_dcon/
H A Dolpc_dcon.c56 return i2c_smbus_read_word_data(dcon->client, reg); dcon_read()
/linux-4.1.27/drivers/gpio/
H A Dgpio-pca953x.c194 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.1.27/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.1.27/drivers/iio/imu/
H A Dkmx61.c782 ret = i2c_smbus_read_word_data(data->client, reg); kmx61_read_measurement()

Completed in 1103 milliseconds