| /linux/drivers/mfd/ |
| H A D | tps65010.c | 213 value = i2c_smbus_read_byte_data(tps->client, TPS_CHGCONFIG); in dbg_show() 217 value = i2c_smbus_read_byte_data(tps->client, TPS_CHGSTATUS); in dbg_show() 220 value = i2c_smbus_read_byte_data(tps->client, TPS_MASK1); in dbg_show() 225 value = i2c_smbus_read_byte_data(tps->client, TPS_REGSTATUS); in dbg_show() 228 value = i2c_smbus_read_byte_data(tps->client, TPS_MASK2); in dbg_show() 237 value = i2c_smbus_read_byte_data(tps->client, TPS_VDCDC1); in dbg_show() 241 value = i2c_smbus_read_byte_data(tps->client, TPS_VDCDC2); in dbg_show() 245 value = i2c_smbus_read_byte_data(tps->client, TPS_VREGS1); in dbg_show() 250 value = i2c_smbus_read_byte_data(tps->client, TPS_LED1_ON); in dbg_show() 251 v2 = i2c_smbus_read_byte_data(tps->client, TPS_LED1_PER); in dbg_show() [all …]
|
| H A D | rn5t618.c | 122 ret = i2c_smbus_read_byte_data(rn5t618_pm_power_off, RN5T618_REPCNT); in rn5t618_trigger_poweroff_sequence() 136 ret = i2c_smbus_read_byte_data(rn5t618_pm_power_off, RN5T618_SLPCNT); in rn5t618_trigger_poweroff_sequence()
|
| /linux/drivers/hwmon/ |
| H A D | lm63.c | 214 data->pwm1[1 + i] = i2c_smbus_read_byte_data(client, in lm63_update_lut() 216 data->temp8[3 + i] = i2c_smbus_read_byte_data(client, in lm63_update_lut() 219 data->lut_temp_hyst = i2c_smbus_read_byte_data(client, in lm63_update_lut() 240 data->fan[0] = i2c_smbus_read_byte_data(client, in lm63_update_device() 242 data->fan[0] |= i2c_smbus_read_byte_data(client, in lm63_update_device() 244 data->fan[1] = (i2c_smbus_read_byte_data(client, in lm63_update_device() 246 | (i2c_smbus_read_byte_data(client, in lm63_update_device() 250 data->pwm1_freq = i2c_smbus_read_byte_data(client, LM63_REG_PWM_FREQ) & 0x1f; in lm63_update_device() 253 data->pwm1[0] = i2c_smbus_read_byte_data(client, in lm63_update_device() 256 data->temp8[0] = i2c_smbus_read_byte_data(client, in lm63_update_device() [all …]
|
| H A D | lm75.c | 611 ret = i2c_smbus_read_byte_data(client, LM75_REG_CONF); in lm75_i2c_reg_read() 1072 conf = i2c_smbus_read_byte_data(new_client, 1); in lm75_detect() 1077 if (i2c_smbus_read_byte_data(new_client, 7) == LM75A_ID) { in lm75_detect() 1082 if (i2c_smbus_read_byte_data(new_client, 4) != 0xff in lm75_detect() 1083 || i2c_smbus_read_byte_data(new_client, 5) != 0xff in lm75_detect() 1084 || i2c_smbus_read_byte_data(new_client, 6) != 0xff) in lm75_detect() 1087 hyst = i2c_smbus_read_byte_data(new_client, 2); in lm75_detect() 1088 os = i2c_smbus_read_byte_data(new_client, 3); in lm75_detect() 1091 hyst = i2c_smbus_read_byte_data(new_client, 2); in lm75_detect() 1092 if (i2c_smbus_read_byte_data(new_client, 4) != hyst in lm75_detect() [all …]
|
| H A D | lm90.c | 806 return i2c_smbus_read_byte_data(client, reg); in lm90_read_reg() 1789 int status = i2c_smbus_read_byte_data(client, LM90_REG_STATUS); in lm90_detect_lm84() 1804 reg1 = i2c_smbus_read_byte_data(client, regs[i]); in lm90_detect_lm84() 1805 reg2 = i2c_smbus_read_byte_data(client, LM90_REG_REMOTE_TEMPL); in lm90_detect_lm84() 1806 reg3 = i2c_smbus_read_byte_data(client, LM90_REG_LOCAL_LOW); in lm90_detect_lm84() 1807 reg4 = i2c_smbus_read_byte_data(client, LM90_REG_REMOTE_LOWH); in lm90_detect_lm84() 1828 int status = i2c_smbus_read_byte_data(client, LM90_REG_STATUS); in lm90_detect_max1617() 1843 if (i2c_smbus_read_byte_data(client, LM90_REG_REMOTE_TEMPL) != 0xff || in lm90_detect_max1617() 1844 i2c_smbus_read_byte_data(client, MAX6657_REG_LOCAL_TEMPL) != 0xff || in lm90_detect_max1617() 1845 i2c_smbus_read_byte_data(client, LM90_REG_REMOTE_LOWL) != 0xff || in lm90_detect_max1617() [all …]
|
| H A D | adt7462.c | 228 foo = i2c_smbus_read_byte_data(client, reg); in adt7462_read_word_data() 229 foo |= ((u16)i2c_smbus_read_byte_data(client, reg + 1) << 8); in adt7462_read_word_data() 690 data->temp_frac[i] = i2c_smbus_read_byte_data(client, in adt7462_update_device() 692 data->temp[i] = i2c_smbus_read_byte_data(client, in adt7462_update_device() 700 data->fan_enabled = i2c_smbus_read_byte_data(client, in adt7462_update_device() 704 data->pwm[i] = i2c_smbus_read_byte_data(client, in adt7462_update_device() 708 data->pin_cfg[i] = i2c_smbus_read_byte_data(client, in adt7462_update_device() 716 data->voltages[i] = i2c_smbus_read_byte_data(client, in adt7462_update_device() 720 data->alarms[0] = i2c_smbus_read_byte_data(client, ADT7462_REG_ALARM1); in adt7462_update_device() 721 data->alarms[1] = i2c_smbus_read_byte_data(client, ADT7462_REG_ALARM2); in adt7462_update_device() [all …]
|
| /linux/drivers/rtc/ |
| H A D | rtc-nvidia-vrs10.c | 96 ret = i2c_smbus_read_byte_data(info->client, reg); in nvvrs_update_bits() 187 ret = i2c_smbus_read_byte_data(info->client, NVVRS_REG_RTC_T3); in nvvrs_rtc_read_time() 194 ret = i2c_smbus_read_byte_data(info->client, NVVRS_REG_RTC_T2); in nvvrs_rtc_read_time() 201 ret = i2c_smbus_read_byte_data(info->client, NVVRS_REG_RTC_T1); in nvvrs_rtc_read_time() 208 ret = i2c_smbus_read_byte_data(info->client, NVVRS_REG_RTC_T0); in nvvrs_rtc_read_time() 258 ret = i2c_smbus_read_byte_data(info->client, NVVRS_REG_RTC_A3); in nvvrs_rtc_read_alarm() 265 ret = i2c_smbus_read_byte_data(info->client, NVVRS_REG_RTC_A2); in nvvrs_rtc_read_alarm() 272 ret = i2c_smbus_read_byte_data(info->client, NVVRS_REG_RTC_A1); in nvvrs_rtc_read_alarm() 279 ret = i2c_smbus_read_byte_data(info->client, NVVRS_REG_RTC_A0); in nvvrs_rtc_read_alarm() 330 ret = i2c_smbus_read_byte_data(info->client, in nvvrs_pseq_irq_clear() [all …]
|
| H A D | rtc-ds1374.c | 132 stat = i2c_smbus_read_byte_data(client, DS1374_REG_SR); in ds1374_check_rtc_status() 151 control = i2c_smbus_read_byte_data(client, DS1374_REG_CR); in ds1374_check_rtc_status() 198 cr = ret = i2c_smbus_read_byte_data(client, DS1374_REG_CR); in ds1374_read_alarm() 202 sr = ret = i2c_smbus_read_byte_data(client, DS1374_REG_SR); in ds1374_read_alarm() 255 ret = cr = i2c_smbus_read_byte_data(client, DS1374_REG_CR); in ds1374_set_alarm() 302 stat = i2c_smbus_read_byte_data(client, DS1374_REG_SR); in ds1374_work() 310 control = i2c_smbus_read_byte_data(client, DS1374_REG_CR); in ds1374_work() 336 ret = i2c_smbus_read_byte_data(client, DS1374_REG_CR); in ds1374_alarm_irq_enable() 400 cr = i2c_smbus_read_byte_data(client, DS1374_REG_CR); in ds1374_wdt_settimeout() 446 cr = i2c_smbus_read_byte_data(client, DS1374_REG_CR); in ds1374_wdt_stop()
|
| H A D | rtc-abx80x.c | 146 flags = i2c_smbus_read_byte_data(client, ABX8XX_REG_OSS); in abx80x_is_rc_mode() 191 flags = i2c_smbus_read_byte_data(client, ABX8XX_REG_OSS); in abx80x_rtc_read_time() 245 flags = i2c_smbus_read_byte_data(client, ABX8XX_REG_OSS); in abx80x_rtc_set_time() 266 status = i2c_smbus_read_byte_data(client, ABX8XX_REG_STATUS); in abx80x_handle_irq() 300 irq_mask = i2c_smbus_read_byte_data(client, ABX8XX_REG_IRQ); in abx80x_read_alarm() 363 flags = i2c_smbus_read_byte_data(client, ABX8XX_REG_OSC); in abx80x_rtc_set_autocalibration() 392 flags = i2c_smbus_read_byte_data(client, ABX8XX_REG_OSC); in abx80x_rtc_get_autocalibration() 457 flags = i2c_smbus_read_byte_data(client, ABX8XX_REG_OSC); in oscillator_store() 533 status = i2c_smbus_read_byte_data(client, ABX8XX_REG_STATUS); in abx80x_ioctl() 542 status = i2c_smbus_read_byte_data(client, ABX8XX_REG_STATUS); in abx80x_ioctl() [all …]
|
| H A D | rtc-fm3130.c | 70 i2c_smbus_read_byte_data(fm3130->client, FM3130_RTC_CONTROL); in fm3130_rtc_mode() 228 i2c_smbus_read_byte_data(fm3130->client, FM3130_RTC_CONTROL); in fm3130_read_alarm() 279 i2c_smbus_read_byte_data(fm3130->client, FM3130_RTC_CONTROL); in fm3130_set_alarm() 307 i2c_smbus_read_byte_data(fm3130->client, FM3130_RTC_CONTROL); in fm3130_alarm_irq_enable() 397 i2c_smbus_read_byte_data(client, FM3130_RTC_CONTROL); in fm3130_probe() 399 i2c_smbus_read_byte_data(client, FM3130_CAL_CONTROL); in fm3130_probe()
|
| H A D | rtc-isl1208.c | 206 return i2c_smbus_read_byte_data(client, ISL1208_REG_SR); in isl1208_i2c_get_sr() 212 int atr = i2c_smbus_read_byte_data(client, ISL1208_REG_ATR); in isl1208_i2c_get_atr() 238 int dtr = i2c_smbus_read_byte_data(client, ISL1208_REG_DTR); in isl1208_i2c_get_dtr() 277 int icr = i2c_smbus_read_byte_data(client, ISL1208_REG_INT); in isl1208_rtc_toggle_alarm() 410 yr = i2c_smbus_read_byte_data(client, ISL1208_REG_YR); in isl1208_i2c_read_alarm() 417 icr = i2c_smbus_read_byte_data(client, ISL1208_REG_INT); in isl1208_i2c_read_alarm() 939 rc = i2c_smbus_read_byte_data(client, ISL1219_REG_EV); in isl1208_probe()
|
| /linux/drivers/iio/adc/ |
| H A D | nau7802.c | 117 ret = i2c_smbus_read_byte_data(st->client, NAU7802_REG_CTRL1); in nau7802_set_gain() 135 data = i2c_smbus_read_byte_data(st->client, NAU7802_REG_ADC_B2); in nau7802_read_conversion() 140 data = i2c_smbus_read_byte_data(st->client, NAU7802_REG_ADC_B1); in nau7802_read_conversion() 145 data = i2c_smbus_read_byte_data(st->client, NAU7802_REG_ADC_B0); in nau7802_read_conversion() 165 ret = i2c_smbus_read_byte_data(st->client, NAU7802_REG_PUCTRL); in nau7802_sync() 180 status = i2c_smbus_read_byte_data(st->client, NAU7802_REG_PUCTRL); in nau7802_eoc_trigger() 261 ret = i2c_smbus_read_byte_data(st->client, NAU7802_REG_PUCTRL); in nau7802_read_poll() 270 ret = i2c_smbus_read_byte_data(st->client, in nau7802_read_poll() 303 ret = i2c_smbus_read_byte_data(st->client, NAU7802_REG_CTRL2); in nau7802_read_raw() 333 ret = i2c_smbus_read_byte_data(st->client, NAU7802_REG_CTRL1); in nau7802_read_raw() [all …]
|
| /linux/drivers/net/ethernet/sfc/falcon/ |
| H A D | falcon_boards.c | 98 i2c_smbus_read_byte_data(client, LM87_REG_ALARMS1); in ef4_init_lm87() 99 i2c_smbus_read_byte_data(client, LM87_REG_ALARMS2); in ef4_init_lm87() 132 reg = i2c_smbus_read_byte_data(client, LM87_REG_ALARMS1); in ef4_check_lm87() 136 reg = i2c_smbus_read_byte_data(client, LM87_REG_ALARMS2); in ef4_check_lm87() 144 reg = i2c_smbus_read_byte_data(client, LM87_REG_TEMP_INT); in ef4_check_lm87() 151 reg = i2c_smbus_read_byte_data(client, LM87_REG_TEMP_EXT1); in ef4_check_lm87() 266 i2c_smbus_read_byte_data(hwmon_client, MAX664X_REG_RSL); in sfe4001_poweroff() 278 rc = i2c_smbus_read_byte_data(hwmon_client, MAX664X_REG_RSL); in sfe4001_poweron() 294 rc = i2c_smbus_read_byte_data(ioexp_client, P0_OUT); in sfe4001_poweron() 342 rc = i2c_smbus_read_byte_data(ioexp_client, P1_IN); in sfe4001_poweron() [all …]
|
| /linux/drivers/iio/accel/ |
| H A D | mma8452.c | 203 int ret = i2c_smbus_read_byte_data(data->client, in mma8452_drdy() 364 reg = i2c_smbus_read_byte_data(data->client, in mma8452_get_power_mode() 473 ret = i2c_smbus_read_byte_data(data->client, MMA8452_HP_FILTER_CUTOFF); in mma8452_read_hp_filter() 527 ret = i2c_smbus_read_byte_data(data->client, in mma8452_read_raw() 590 reg = i2c_smbus_read_byte_data(data->client, MMA8452_CTRL_REG1); in mma8452_is_active() 638 reg = i2c_smbus_read_byte_data(data->client, in mma8452_set_power_mode() 654 val = i2c_smbus_read_byte_data(data->client, MMA8452_FF_MT_CFG); in mma8452_freefall_mode_enabled() 669 val = i2c_smbus_read_byte_data(data->client, MMA8452_FF_MT_CFG); in mma8452_set_freefall_mode() 697 reg = i2c_smbus_read_byte_data(data->client, in mma8452_set_hp_filter_frequency() 838 ret = i2c_smbus_read_byte_data(data->client, ev_regs->ev_ths); in mma8452_read_event_value() [all …]
|
| H A D | kxcjk-1013.c | 462 ret = i2c_smbus_read_byte_data(data->client, regs->ctrl1); in kxcjk1013_set_mode() 488 ret = i2c_smbus_read_byte_data(data->client, regs->ctrl1); in kxcjk1013_get_mode() 507 ret = i2c_smbus_read_byte_data(data->client, regs->ctrl1); in kxcjk1013_set_range() 541 ret = i2c_smbus_read_byte_data(data->client, KXCJK1013_REG_WHO_AM_I); in kxcjk1013_chip_init() 553 ret = i2c_smbus_read_byte_data(data->client, regs->ctrl1); in kxcjk1013_chip_init() 573 ret = i2c_smbus_read_byte_data(data->client, regs->data_ctrl); in kxcjk1013_chip_init() 582 ret = i2c_smbus_read_byte_data(data->client, regs->int_ctrl1); in kxcjk1013_chip_init() 693 ret = i2c_smbus_read_byte_data(data->client, regs->int_ctrl1); in kxcjk1013_setup_interrupt() 710 ret = i2c_smbus_read_byte_data(data->client, regs->ctrl1); in kxcjk1013_setup_interrupt() 1215 ret = i2c_smbus_read_byte_data(data->client, regs->int_rel); in kxcjk1013_trig_reen() [all …]
|
| H A D | dmard06.c | 75 ret = i2c_smbus_read_byte_data(dmard06->client, in dmard06_read_raw() 145 ret = i2c_smbus_read_byte_data(dmard06->client, DMARD06_CHIP_ID_REG); in dmard06_probe()
|
| /linux/drivers/media/usb/em28xx/ |
| H A D | em28xx-camera.c | 184 ret = i2c_smbus_read_byte_data(client, reg); in em28xx_probe_sensor_omnivision() 194 ret = i2c_smbus_read_byte_data(client, reg); in em28xx_probe_sensor_omnivision() 207 ret = i2c_smbus_read_byte_data(client, reg); in em28xx_probe_sensor_omnivision() 216 ret = i2c_smbus_read_byte_data(client, reg); in em28xx_probe_sensor_omnivision()
|
| /linux/drivers/iio/imu/ |
| H A D | kmx61.c | 329 ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_STBY); in kmx61_set_mode() 375 ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_STBY); in kmx61_get_mode() 483 ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_CTRL1); in kmx61_set_range() 535 ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_WHO_AM_I); in kmx61_chip_init() 553 ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_ODCNTL); in kmx61_chip_init() 597 ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_INC1); in kmx61_setup_new_data_interrupt() 622 ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_CTRL1); in kmx61_setup_new_data_interrupt() 681 ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_INC1); in kmx61_setup_any_motion_interrupt() 697 ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_CTRL1); in kmx61_setup_any_motion_interrupt() 1058 ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_INL); in kmx61_trig_reenable() [all …]
|
| /linux/arch/powerpc/platforms/83xx/ |
| H A D | mcu_mpc8349emitx.c | 49 ret = i2c_smbus_read_byte_data(mcu->client, MCU_REG_CTRL); in shutdown_thread_fn() 75 ret = i2c_smbus_read_byte_data(mcu->client, MCU_REG_CTRL); in show_status() 157 ret = i2c_smbus_read_byte_data(mcu->client, MCU_REG_CTRL); in mcu_probe()
|
| /linux/drivers/iio/temperature/ |
| H A D | mcp9600.c | 248 ret = i2c_smbus_read_byte_data(client, MCP9600_ALERT_CFG(i + 1)); in mcp9600_read_event_config() 266 ret = i2c_smbus_read_byte_data(client, MCP9600_ALERT_CFG(i + 1)); in mcp9600_write_event_config() 303 ret = i2c_smbus_read_byte_data(client, MCP9600_ALERT_HYSTERESIS(i + 1)); in mcp9600_read_thresh() 375 ret = i2c_smbus_read_byte_data(data->client, MCP9600_STATUS); in mcp9600_alert_handler() 486 dev_id = i2c_smbus_read_byte_data(client, MCP9600_DEVICE_ID); in mcp9600_probe()
|
| /linux/drivers/iio/light/ |
| H A D | us5182d.c | 201 ret = i2c_smbus_read_byte_data(data->client, US5182D_REG_CFG0); in us5182d_oneshot_en() 221 ret = i2c_smbus_read_byte_data(data->client, US5182D_REG_CFG0); in us5182d_set_opmode() 341 ret = i2c_smbus_read_byte_data(data->client, US5182D_REG_CFG0); in us5182d_shutdown_en() 427 ret = i2c_smbus_read_byte_data(data->client, US5182D_REG_CFG1); in us5182d_read_raw() 473 ret = i2c_smbus_read_byte_data(data->client, US5182D_REG_CFG1); in us5182d_apply_scale() 809 ret = i2c_smbus_read_byte_data(data->client, US5182D_REG_CFG0); in us5182d_irq_thread_handler() 850 ret = i2c_smbus_read_byte_data(data->client, US5182D_REG_CHIPID); in us5182d_probe()
|
| /linux/drivers/input/misc/ |
| H A D | mma8450.c | 47 ret = i2c_smbus_read_byte_data(c, off); in mma8450_read() 161 client_id = i2c_smbus_read_byte_data(c, MMA8450_WHO_AM_I); in mma8450_probe()
|
| /linux/drivers/usb/typec/mux/ |
| H A D | tusb1046.c | 56 val = i2c_smbus_read_byte_data(client, TUSB1046_REG_GENERAL); in tusb1046_mux_set() 102 val = i2c_smbus_read_byte_data(client, TUSB1046_REG_GENERAL); in tusb1046_switch_set()
|
| /linux/drivers/input/touchscreen/ |
| H A D | auo-pixcir-ts.c | 273 ret = i2c_smbus_read_byte_data(client, AUO_PIXCIR_REG_POWER_MODE); in auo_pixcir_power_mode() 298 ret = i2c_smbus_read_byte_data(client, AUO_PIXCIR_REG_INT_SETTING); in auo_pixcir_int_config() 328 ret = i2c_smbus_read_byte_data(client, AUO_PIXCIR_REG_INT_SETTING); in auo_pixcir_int_toggle() 580 version = i2c_smbus_read_byte_data(client, AUO_PIXCIR_REG_VERSION); in auo_pixcir_probe()
|
| H A D | rohm_bu21023.c | 335 reg1_orig = i2c_smbus_read_byte_data(client, CALIBRATION_REG1); in rohm_ts_manual_calibration() 339 reg2_orig = i2c_smbus_read_byte_data(client, CALIBRATION_REG2); in rohm_ts_manual_calibration() 343 reg3_orig = i2c_smbus_read_byte_data(client, CALIBRATION_REG3); in rohm_ts_manual_calibration() 454 val = i2c_smbus_read_byte_data(client, TOUCH_GESTURE); in rohm_ts_manual_calibration() 465 val = i2c_smbus_read_byte_data(client, INT_STATUS); in rohm_ts_manual_calibration() 705 status = i2c_smbus_read_byte_data(client, INT_STATUS); in rohm_ts_load_firmware()
|