| /linux/drivers/input/touchscreen/ |
| H A D | rohm_bu21023.c | 347 error = i2c_smbus_write_byte_data(client, INT_MASK, in rohm_ts_manual_calibration() 353 error = i2c_smbus_write_byte_data(client, TEST1, in rohm_ts_manual_calibration() 378 error = i2c_smbus_write_byte_data(client, TEST1, in rohm_ts_manual_calibration() 413 error = i2c_smbus_write_byte_data(client, in rohm_ts_manual_calibration() 418 error = i2c_smbus_write_byte_data(client, in rohm_ts_manual_calibration() 423 error = i2c_smbus_write_byte_data(client, in rohm_ts_manual_calibration() 431 error = i2c_smbus_write_byte_data(client, FORCE_CALIBRATION, in rohm_ts_manual_calibration() 436 error = i2c_smbus_write_byte_data(client, FORCE_CALIBRATION, in rohm_ts_manual_calibration() 442 error = i2c_smbus_write_byte_data(client, INT_CLEAR, 0xff); in rohm_ts_manual_calibration() 479 error = i2c_smbus_write_byte_data(client, CALIBRATION_REG1, in rohm_ts_manual_calibration() [all …]
|
| H A D | bu21013_ts.c | 266 error = i2c_smbus_write_byte_data(client, BU21013_RESET_REG, in bu21013_init_chip() 274 error = i2c_smbus_write_byte_data(client, BU21013_SENSOR_0_7_REG, in bu21013_init_chip() 281 error = i2c_smbus_write_byte_data(client, BU21013_SENSOR_8_15_REG, in bu21013_init_chip() 288 error = i2c_smbus_write_byte_data(client, BU21013_SENSOR_16_23_REG, in bu21013_init_chip() 295 error = i2c_smbus_write_byte_data(client, BU21013_POS_MODE1_REG, in bu21013_init_chip() 303 error = i2c_smbus_write_byte_data(client, BU21013_POS_MODE2_REG, in bu21013_init_chip() 314 error = i2c_smbus_write_byte_data(client, BU21013_CLK_MODE_REG, in bu21013_init_chip() 322 error = i2c_smbus_write_byte_data(client, BU21013_IDLE_REG, in bu21013_init_chip() 330 error = i2c_smbus_write_byte_data(client, BU21013_INT_MODE_REG, in bu21013_init_chip() 337 error = i2c_smbus_write_byte_data(client, BU21013_FILTER_REG, in bu21013_init_chip() [all …]
|
| /linux/drivers/usb/host/ |
| H A D | ohci-nxp.c | 60 i2c_smbus_write_byte_data(isp1301_i2c_client, in isp1301_configure_lpc32xx() 63 i2c_smbus_write_byte_data(isp1301_i2c_client, in isp1301_configure_lpc32xx() 66 i2c_smbus_write_byte_data(isp1301_i2c_client, in isp1301_configure_lpc32xx() 68 i2c_smbus_write_byte_data(isp1301_i2c_client, in isp1301_configure_lpc32xx() 71 i2c_smbus_write_byte_data(isp1301_i2c_client, in isp1301_configure_lpc32xx() 74 i2c_smbus_write_byte_data(isp1301_i2c_client, in isp1301_configure_lpc32xx() 76 i2c_smbus_write_byte_data(isp1301_i2c_client, in isp1301_configure_lpc32xx() 78 i2c_smbus_write_byte_data(isp1301_i2c_client, in isp1301_configure_lpc32xx() 81 i2c_smbus_write_byte_data(isp1301_i2c_client, in isp1301_configure_lpc32xx() 84 i2c_smbus_write_byte_data(isp1301_i2c_client, in isp1301_configure_lpc32xx() [all …]
|
| /linux/drivers/leds/ |
| H A D | leds-pca963x.c | 136 ret = i2c_smbus_write_byte_data(client, in pca963x_brightness() 143 ret = i2c_smbus_write_byte_data(client, ledout_addr, val); in pca963x_brightness() 147 ret = i2c_smbus_write_byte_data(client, ledout_addr, val); in pca963x_brightness() 151 ret = i2c_smbus_write_byte_data(client, in pca963x_brightness() 163 ret = i2c_smbus_write_byte_data(client, ledout_addr, val); in pca963x_brightness() 182 i2c_smbus_write_byte_data(client, chipdef->grppwm, led->gdc); in pca963x_blink() 184 i2c_smbus_write_byte_data(client, chipdef->grpfreq, led->gfrq); in pca963x_blink() 187 i2c_smbus_write_byte_data(client, PCA963X_MODE2, in pca963x_blink() 195 i2c_smbus_write_byte_data(client, ledout_addr, val); in pca963x_blink() 214 return i2c_smbus_write_byte_data(client, PCA963X_MODE1, in pca963x_power_state() [all …]
|
| /linux/drivers/video/backlight/ |
| H A D | arcxcnn_bl.c | 109 return i2c_smbus_write_byte_data(lp->client, reg, tmp); in arcxcnn_update_field() 119 ret = i2c_smbus_write_byte_data(lp->client, in arcxcnn_set_brightness() 126 return i2c_smbus_write_byte_data(lp->client, in arcxcnn_set_brightness() 258 ret = i2c_smbus_write_byte_data(lp->client, in arcxcnn_probe() 310 ret = i2c_smbus_write_byte_data(lp->client, ARCXCNN_FADECTRL, in arcxcnn_probe() 315 ret = i2c_smbus_write_byte_data(lp->client, ARCXCNN_ILED_CONFIG, in arcxcnn_probe() 320 ret = i2c_smbus_write_byte_data(lp->client, ARCXCNN_DIMFREQ, in arcxcnn_probe() 325 ret = i2c_smbus_write_byte_data(lp->client, ARCXCNN_COMP_CONFIG, in arcxcnn_probe() 330 ret = i2c_smbus_write_byte_data(lp->client, ARCXCNN_FILT_CONFIG, in arcxcnn_probe() 335 ret = i2c_smbus_write_byte_data(lp->client, ARCXCNN_IMAXTUNE, in arcxcnn_probe() [all …]
|
| /linux/drivers/input/keyboard/ |
| H A D | mpr121_touchkey.c | 146 ret = i2c_smbus_write_byte_data(client, t, TOUCH_THRESHOLD); in mpr121_phys_init() 149 ret = i2c_smbus_write_byte_data(client, t + 1, in mpr121_phys_init() 158 ret = i2c_smbus_write_byte_data(client, reg->addr, reg->val); in mpr121_phys_init() 173 ret = i2c_smbus_write_byte_data(client, AUTO_CONFIG_USL_ADDR, usl); in mpr121_phys_init() 174 ret |= i2c_smbus_write_byte_data(client, AUTO_CONFIG_LSL_ADDR, lsl); in mpr121_phys_init() 175 ret |= i2c_smbus_write_byte_data(client, AUTO_CONFIG_TL_ADDR, tl); in mpr121_phys_init() 183 ret |= i2c_smbus_write_byte_data(client, ELECTRODE_CONF_ADDR, in mpr121_phys_init() 311 i2c_smbus_write_byte_data(client, ELECTRODE_CONF_ADDR, 0x00); in mpr_suspend() 324 i2c_smbus_write_byte_data(client, ELECTRODE_CONF_ADDR, in mpr_resume()
|
| /linux/drivers/rtc/ |
| H A D | rtc-nct3018y.c | 71 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_CTRL, flags); in nct3018y_set_alarm_mode() 85 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_ST, flags); in nct3018y_set_alarm_mode() 198 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_CTRL, flags); in nct3018y_rtc_set_time() 206 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_SC, buf[0]); in nct3018y_rtc_set_time() 213 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_MN, buf[0]); in nct3018y_rtc_set_time() 220 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_HR, buf[0]); in nct3018y_rtc_set_time() 242 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_CTRL, flags); in nct3018y_rtc_set_time() 292 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_SCA, bin2bcd(tm->time.tm_sec)); in nct3018y_rtc_set_alarm() 298 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_MNA, bin2bcd(tm->time.tm_min)); in nct3018y_rtc_set_alarm() 304 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_HRA, bin2bcd(tm->time.tm_hour)); in nct3018y_rtc_set_alarm() [all …]
|
| H A D | rtc-fm3130.c | 88 i2c_smbus_write_byte_data(fm3130->client, in fm3130_rtc_mode() 169 i2c_smbus_write_byte_data(fm3130->client, in fm3130_set_time() 274 i2c_smbus_write_byte_data(fm3130->client, in fm3130_set_alarm() 283 i2c_smbus_write_byte_data(fm3130->client, FM3130_RTC_CONTROL, in fm3130_set_alarm() 288 i2c_smbus_write_byte_data(fm3130->client, FM3130_RTC_CONTROL, in fm3130_set_alarm() 314 ret = i2c_smbus_write_byte_data(fm3130->client, in fm3130_alarm_irq_enable() 320 ret = i2c_smbus_write_byte_data(fm3130->client, in fm3130_alarm_irq_enable() 403 i2c_smbus_write_byte_data(client, FM3130_RTC_CONTROL, in fm3130_probe() 412 i2c_smbus_write_byte_data(client, FM3130_RTC_CONTROL, in fm3130_probe() 421 i2c_smbus_write_byte_data(client, FM3130_CAL_CONTROL, in fm3130_probe() [all …]
|
| H A D | rtc-nvidia-vrs10.c | 104 return i2c_smbus_write_byte_data(info->client, reg, val); in nvvrs_update_bits() 111 ret = i2c_smbus_write_byte_data(client, NVVRS_REG_RTC_A3, time[3]); in nvvrs_rtc_write_alarm() 115 ret = i2c_smbus_write_byte_data(client, NVVRS_REG_RTC_A2, time[2]); in nvvrs_rtc_write_alarm() 119 ret = i2c_smbus_write_byte_data(client, NVVRS_REG_RTC_A1, time[1]); in nvvrs_rtc_write_alarm() 123 return i2c_smbus_write_byte_data(client, NVVRS_REG_RTC_A0, time[0]); in nvvrs_rtc_write_alarm() 233 ret = i2c_smbus_write_byte_data(info->client, NVVRS_REG_RTC_T3, time[3]); in nvvrs_rtc_set_time() 237 ret = i2c_smbus_write_byte_data(info->client, NVVRS_REG_RTC_T2, time[2]); in nvvrs_rtc_set_time() 241 ret = i2c_smbus_write_byte_data(info->client, NVVRS_REG_RTC_T1, time[1]); in nvvrs_rtc_set_time() 245 ret = i2c_smbus_write_byte_data(info->client, NVVRS_REG_RTC_T0, time[0]); in nvvrs_rtc_set_time() 338 ret = i2c_smbus_write_byte_data(info->client, in nvvrs_pseq_irq_clear()
|
| H A D | rtc-ds1374.c | 142 ret = i2c_smbus_write_byte_data(client, DS1374_REG_SR, stat); in ds1374_check_rtc_status() 156 return i2c_smbus_write_byte_data(client, DS1374_REG_CR, control); in ds1374_check_rtc_status() 263 ret = i2c_smbus_write_byte_data(client, DS1374_REG_CR, cr); in ds1374_set_alarm() 275 ret = i2c_smbus_write_byte_data(client, DS1374_REG_CR, cr); in ds1374_set_alarm() 308 i2c_smbus_write_byte_data(client, DS1374_REG_SR, stat); in ds1374_work() 315 i2c_smbus_write_byte_data(client, DS1374_REG_CR, control); in ds1374_work() 346 ret = i2c_smbus_write_byte_data(client, DS1374_REG_CR, ret); in ds1374_alarm_irq_enable() 407 ret = i2c_smbus_write_byte_data(client, DS1374_REG_CR, cr); in ds1374_wdt_settimeout() 422 ret = i2c_smbus_write_byte_data(client, DS1374_REG_CR, cr); in ds1374_wdt_settimeout() 453 return i2c_smbus_write_byte_data(client, DS1374_REG_CR, cr); in ds1374_wdt_stop()
|
| H A D | rtc-hym8563.c | 145 ret = i2c_smbus_write_byte_data(client, HYM8563_CTL1, in hym8563_rtc_set_time() 154 ret = i2c_smbus_write_byte_data(client, HYM8563_CTL1, 0); in hym8563_rtc_set_time() 176 return i2c_smbus_write_byte_data(client, HYM8563_CTL2, data); in hym8563_rtc_alarm_irq_enable() 229 ret = i2c_smbus_write_byte_data(client, HYM8563_CTL2, ret); in hym8563_rtc_set_alarm() 320 return i2c_smbus_write_byte_data(client, in hym8563_clkout_set_rate() 341 return i2c_smbus_write_byte_data(client, HYM8563_CLKOUT, ret); in hym8563_clkout_control() 383 ret = i2c_smbus_write_byte_data(client, HYM8563_CLKOUT, in hym8563_clkout_register_clk() 433 ret = i2c_smbus_write_byte_data(client, HYM8563_CTL2, data); in hym8563_irq() 449 ret = i2c_smbus_write_byte_data(client, HYM8563_CTL1, 0); in hym8563_init_device() 470 return i2c_smbus_write_byte_data(client, HYM8563_CTL2, ret); in hym8563_init_device()
|
| H A D | rtc-abx80x.c | 134 if (i2c_smbus_write_byte_data(client, ABX8XX_REG_CFG_KEY, key) < 0) { in abx80x_write_config_key() 168 err = i2c_smbus_write_byte_data(client, ABX8XX_REG_TRICKLE, in abx80x_enable_trickle_charger() 249 err = i2c_smbus_write_byte_data(client, ABX8XX_REG_OSS, in abx80x_rtc_set_time() 280 i2c_smbus_write_byte_data(client, ABX8XX_REG_STATUS, 0); in abx80x_handle_irq() 341 err = i2c_smbus_write_byte_data(client, ABX8XX_REG_IRQ, in abx80x_set_alarm() 382 retval = i2c_smbus_write_byte_data(client, ABX8XX_REG_OSC, flags); in abx80x_rtc_set_autocalibration() 470 retval = i2c_smbus_write_byte_data(client, ABX8XX_REG_OSC, flags); in oscillator_store() 517 err = i2c_smbus_write_byte_data(client, ABX8XX_REG_IRQ, in abx80x_alarm_irq_enable() 521 err = i2c_smbus_write_byte_data(client, ABX8XX_REG_IRQ, in abx80x_alarm_irq_enable() 548 tmp = i2c_smbus_write_byte_data(client, ABX8XX_REG_STATUS, 0); in abx80x_ioctl() [all …]
|
| H A D | rtc-m41t80.c | 187 i2c_smbus_write_byte_data(client, M41T80_REG_FLAGS, flags); in m41t80_handle_irq() 188 i2c_smbus_write_byte_data(client, M41T80_REG_ALARM_MON, in m41t80_handle_irq() 277 err = i2c_smbus_write_byte_data(client, M41T80_REG_SEC, M41T80_SEC_ST); in m41t80_rtc_set_time() 282 err = i2c_smbus_write_byte_data(client, M41T80_REG_SEC, flags & ~M41T80_SEC_ST); in m41t80_rtc_set_time() 290 err = i2c_smbus_write_byte_data(client, M41T80_REG_FLAGS, flags & ~M41T80_FLAGS_OF); in m41t80_rtc_set_time() 337 retval = i2c_smbus_write_byte_data(client, M41T80_REG_ALARM_MON, flags); in m41t80_alarm_irq_enable() 361 err = i2c_smbus_write_byte_data(client, M41T80_REG_ALARM_MON, in m41t80_set_alarm() 375 err = i2c_smbus_write_byte_data(client, M41T80_REG_FLAGS, in m41t80_set_alarm() 391 err = i2c_smbus_write_byte_data(client, M41T80_REG_ALARM_MON, in m41t80_set_alarm() 522 ret = i2c_smbus_write_byte_data(client, reg_sqw, reg); in m41t80_sqw_set_rate() [all …]
|
| /linux/drivers/iio/pressure/ |
| H A D | mpl3115.c | 108 ret = i2c_smbus_write_byte_data(data->client, MPL3115_CTRL_REG1, in mpl3115_request() 261 ret = i2c_smbus_write_byte_data(data->client, MPL3115_CTRL_REG2, in mpl3115_write_raw() 428 ret = i2c_smbus_write_byte_data(data->client, MPL3115_CTRL_REG1, in mpl3115_config_interrupt() 433 ret = i2c_smbus_write_byte_data(data->client, MPL3115_CTRL_REG4, in mpl3115_config_interrupt() 444 i2c_smbus_write_byte_data(data->client, MPL3115_CTRL_REG1, in mpl3115_config_interrupt() 606 return i2c_smbus_write_byte_data(data->client, in mpl3115_write_thresh() 642 ret = i2c_smbus_write_byte_data(data->client, MPL3115_PT_DATA_CFG, in mpl3115_trigger_probe() 648 ret = i2c_smbus_write_byte_data(data->client, in mpl3115_trigger_probe() 655 ret = i2c_smbus_write_byte_data(data->client, in mpl3115_trigger_probe() 662 ret = i2c_smbus_write_byte_data(data->client, MPL3115_CTRL_REG3, in mpl3115_trigger_probe() [all …]
|
| /linux/drivers/iio/adc/ |
| H A D | nau7802.c | 122 ret = i2c_smbus_write_byte_data(st->client, NAU7802_REG_CTRL1, in nau7802_set_gain() 170 ret = i2c_smbus_write_byte_data(st->client, NAU7802_REG_PUCTRL, in nau7802_sync() 315 ret = i2c_smbus_write_byte_data(st->client, in nau7802_read_raw() 381 ret = i2c_smbus_write_byte_data(st->client, in nau7802_write_raw() 432 ret = i2c_smbus_write_byte_data(st->client, NAU7802_REG_PUCTRL, in nau7802_probe() 438 ret = i2c_smbus_write_byte_data(st->client, NAU7802_REG_PUCTRL, in nau7802_probe() 462 ret = i2c_smbus_write_byte_data(st->client, NAU7802_REG_PUCTRL, data); in nau7802_probe() 465 ret = i2c_smbus_write_byte_data(st->client, NAU7802_REG_ADC_CTRL, 0x30); in nau7802_probe() 471 ret = i2c_smbus_write_byte_data(st->client, NAU7802_REG_CTRL1, in nau7802_probe() 518 ret = i2c_smbus_write_byte_data(st->client, NAU7802_REG_CTRL2, in nau7802_probe()
|
| /linux/drivers/hwmon/ |
| H A D | smsc47m192.c | 212 i2c_smbus_write_byte_data(client, SMSC47M192_REG_IN_MIN(nr), in in_min_store() 234 i2c_smbus_write_byte_data(client, SMSC47M192_REG_IN_MAX(nr), in in_max_store() 310 i2c_smbus_write_byte_data(client, SMSC47M192_REG_TEMP_MIN[nr], in temp_min_store() 333 i2c_smbus_write_byte_data(client, SMSC47M192_REG_TEMP_MAX[nr], in temp_max_store() 367 i2c_smbus_write_byte_data(client, in temp_offset_store() 374 i2c_smbus_write_byte_data(client, SMSC47M192_REG_SFR, in temp_offset_store() 377 i2c_smbus_write_byte_data(client, in temp_offset_store() 380 i2c_smbus_write_byte_data(client, in temp_offset_store() 533 i2c_smbus_write_byte_data(client, SMSC47M192_REG_SFR, in smsc47m192_init_client() 538 i2c_smbus_write_byte_data(client, in smsc47m192_init_client() [all …]
|
| H A D | g762.c | 293 ret = i2c_smbus_write_byte_data(data->client, G762_REG_FAN_CMD1, in do_set_pwm_mode() 333 ret = i2c_smbus_write_byte_data(data->client, G762_REG_FAN_CMD1, in do_set_fan_div() 369 ret = i2c_smbus_write_byte_data(data->client, G762_REG_FAN_CMD2, in do_set_fan_gear_mode() 399 ret = i2c_smbus_write_byte_data(data->client, G762_REG_FAN_CMD1, in do_set_fan_pulses() 432 i2c_smbus_write_byte_data(data->client, in do_set_pwm_enable() 440 ret = i2c_smbus_write_byte_data(data->client, G762_REG_FAN_CMD1, in do_set_pwm_enable() 470 ret = i2c_smbus_write_byte_data(data->client, G762_REG_FAN_CMD1, in do_set_pwm_polarity() 493 ret = i2c_smbus_write_byte_data(client, G762_REG_SET_OUT, val); in do_set_pwm() 517 ret = i2c_smbus_write_byte_data(data->client, G762_REG_SET_CNT, in do_set_fan_target() 556 ret = i2c_smbus_write_byte_data(data->client, G762_REG_FAN_CMD2, in do_set_fan_startv() [all …]
|
| H A D | thmc50.c | 141 i2c_smbus_write_byte_data(client, THMC50_REG_ANALOG_OUT, in analog_out_store() 149 i2c_smbus_write_byte_data(client, THMC50_REG_CONF, config); in analog_out_store() 195 i2c_smbus_write_byte_data(client, THMC50_REG_TEMP_MIN[nr], in temp_min_store() 225 i2c_smbus_write_byte_data(client, THMC50_REG_TEMP_MAX[nr], in temp_max_store() 340 i2c_smbus_write_byte_data(client, in thmc50_detect() 370 i2c_smbus_write_byte_data(client, THMC50_REG_ANALOG_OUT, in thmc50_init_client() 377 i2c_smbus_write_byte_data(client, THMC50_REG_CONF, config); in thmc50_init_client()
|
| /linux/drivers/iio/light/ |
| H A D | tsl4531.c | 129 ret = i2c_smbus_write_byte_data(data->client, in tsl4531_write_raw() 184 ret = i2c_smbus_write_byte_data(data->client, TSL4531_CONTROL, in tsl4531_probe() 189 ret = i2c_smbus_write_byte_data(data->client, TSL4531_CONFIG, in tsl4531_probe() 205 return i2c_smbus_write_byte_data(client, TSL4531_CONTROL, in tsl4531_powerdown() 222 return i2c_smbus_write_byte_data(to_i2c_client(dev), TSL4531_CONTROL, in tsl4531_resume()
|
| H A D | cm3232.c | 93 ret = i2c_smbus_write_byte_data(client, CM3232_REG_ADDR_CMD, in cm3232_reg_init() 114 ret = i2c_smbus_write_byte_data(client, CM3232_REG_ADDR_CMD, in cm3232_reg_init() 177 ret = i2c_smbus_write_byte_data(client, in cm3232_write_als_it() 362 i2c_smbus_write_byte_data(client, CM3232_REG_ADDR_CMD, in cm3232_remove() 381 ret = i2c_smbus_write_byte_data(client, CM3232_REG_ADDR_CMD, in cm3232_suspend() 395 ret = i2c_smbus_write_byte_data(client, CM3232_REG_ADDR_CMD, in cm3232_resume()
|
| /linux/drivers/net/ethernet/sfc/falcon/ |
| H A D | falcon_boards.c | 71 int rc = i2c_smbus_write_byte_data(client, reg, value); in ef4_poke_lm87() 261 i2c_smbus_write_byte_data(ioexp_client, P0_OUT, 0xff); in sfe4001_poweroff() 262 i2c_smbus_write_byte_data(ioexp_client, P1_CONFIG, 0xff); in sfe4001_poweroff() 263 i2c_smbus_write_byte_data(ioexp_client, P0_CONFIG, 0xff); in sfe4001_poweroff() 283 rc = i2c_smbus_write_byte_data(ioexp_client, P0_CONFIG, 0x00); in sfe4001_poweron() 286 rc = i2c_smbus_write_byte_data(ioexp_client, P1_CONFIG, in sfe4001_poweron() 302 rc = i2c_smbus_write_byte_data(ioexp_client, P0_OUT, out); in sfe4001_poweron() 316 rc = i2c_smbus_write_byte_data(ioexp_client, P0_OUT, out); in sfe4001_poweron() 323 rc = i2c_smbus_write_byte_data(ioexp_client, P0_OUT, out); in sfe4001_poweron() 466 rc = i2c_smbus_write_byte_data(board->hwmon_client, in sfe4001_init()
|
| /linux/drivers/mfd/ |
| H A D | tps65010.c | 418 i2c_smbus_write_byte_data(tps->client, in tps65010_work() 600 (void) i2c_smbus_write_byte_data(client, TPS_MASK1, ~tps->nmask1); in tps65010_probe() 605 (void) i2c_smbus_write_byte_data(client, TPS_MASK2, ~tps->nmask2); in tps65010_probe() 607 (void) i2c_smbus_write_byte_data(client, TPS_MASK3, 0x0f in tps65010_probe() 739 status = i2c_smbus_write_byte_data(the_tps->client, in tps65010_set_gpio_out_value() 801 status = i2c_smbus_write_byte_data(the_tps->client, in tps65010_set_led() 814 status = i2c_smbus_write_byte_data(the_tps->client, in tps65010_set_led() 852 status = i2c_smbus_write_byte_data(the_tps->client, in tps65010_set_vib() 892 status = i2c_smbus_write_byte_data(the_tps->client, in tps65010_set_low_pwr() 925 status = i2c_smbus_write_byte_data(the_tps->client, in tps65010_config_vregs1() [all …]
|
| /linux/drivers/media/i2c/ |
| H A D | adp1653.c | 66 rval = i2c_smbus_write_byte_data(client, ADP1653_REG_OUT_SEL, out_sel); in adp1653_update_hw() 70 rval = i2c_smbus_write_byte_data(client, ADP1653_REG_CONFIG, config); in adp1653_update_hw() 93 rval = i2c_smbus_write_byte_data(client, ADP1653_REG_OUT_SEL, 0); in adp1653_get_fault() 118 return i2c_smbus_write_byte_data(client, ADP1653_REG_OUT_SEL, in adp1653_strobe() 124 rval = i2c_smbus_write_byte_data(client, ADP1653_REG_OUT_SEL, out_sel); in adp1653_strobe() 129 rval = i2c_smbus_write_byte_data(client, ADP1653_REG_SW_STROBE, in adp1653_strobe() 133 return i2c_smbus_write_byte_data(client, ADP1653_REG_SW_STROBE, 0); in adp1653_strobe() 267 rval = i2c_smbus_write_byte_data(client, ADP1653_REG_OUT_SEL, 0); in adp1653_init_device()
|
| /linux/drivers/misc/ |
| H A D | apds9802als.c | 82 i2c_smbus_write_byte_data(client, 0x81, temp | 0x08); in als_lux0_input_data_show() 145 ret_val = i2c_smbus_write_byte_data(client, 0x81, ret_val); in als_sensing_range_store() 172 ret_val = i2c_smbus_write_byte_data(client, 0x80, ret_val); in als_set_power_state() 197 ret_val = i2c_smbus_write_byte_data(client, 0x80, 0x01); in als_set_default_config() 203 ret_val = i2c_smbus_write_byte_data(client, 0x81, 0x08); in als_set_default_config()
|
| /linux/sound/ppc/ |
| H A D | daca.c | 44 if (i2c_smbus_write_byte_data(i2c->client, DACA_REG_SR, 0x08) < 0 || in daca_init_client() 45 i2c_smbus_write_byte_data(i2c->client, DACA_REG_GCFG, 0x05) < 0) in daca_init_client() 189 i2c_smbus_write_byte_data(mix->i2c.client, DACA_REG_GCFG, in daca_put_amp() 221 i2c_smbus_write_byte_data(mix->i2c.client, DACA_REG_SR, 0x08); in daca_resume() 222 i2c_smbus_write_byte_data(mix->i2c.client, DACA_REG_GCFG, in daca_resume()
|