/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/media/i2c/ |
H A D | ov08d10.c | 663 ret = i2c_smbus_write_byte_data(client, r_list->regs[i].address, in ov08d10_write_reg_list() 684 ret = i2c_smbus_write_byte_data(client, OV08D10_REG_PAGE, 0x01); in ov08d10_update_analog_gain() 689 ret = i2c_smbus_write_byte_data(client, OV08D10_REG_ANALOG_GAIN, val); in ov08d10_update_analog_gain() 693 return i2c_smbus_write_byte_data(client, in ov08d10_update_analog_gain() 705 ret = i2c_smbus_write_byte_data(client, OV08D10_REG_PAGE, 0x01); in ov08d10_update_digital_gain() 711 ret = i2c_smbus_write_byte_data(client, OV08D10_REG_MWB_DGAIN_C, val); in ov08d10_update_digital_gain() 716 ret = i2c_smbus_write_byte_data(client, OV08D10_REG_MWB_DGAIN_F, val); in ov08d10_update_digital_gain() 720 return i2c_smbus_write_byte_data(client, in ov08d10_update_digital_gain() 733 ret = i2c_smbus_write_byte_data(client, OV08D10_REG_PAGE, 0x01); in ov08d10_set_exposure() 743 ret = i2c_smbus_write_byte_data(client, OV08D10_REG_PAGE, 0x01); in ov08d10_set_exposure() [all …]
|
H A D | ov02a10.c | 280 ret = i2c_smbus_write_byte_data(client, r_list->regs[i].addr, in ov02a10_write_array() 481 ret = i2c_smbus_write_byte_data(client, REG_MIRROR_FLIP_CONTROL, in __ov02a10_start_stream() 487 ret = i2c_smbus_write_byte_data(client, REG_GLOBAL_EFFECTIVE, in __ov02a10_start_stream() 495 ret = i2c_smbus_write_byte_data(client, TX_SPEED_AREA_SEL, in __ov02a10_start_stream() 502 return i2c_smbus_write_byte_data(client, REG_SC_CTRL_MODE, in __ov02a10_start_stream() 510 return i2c_smbus_write_byte_data(client, REG_SC_CTRL_MODE, in __ov02a10_stop_stream() 581 ret = i2c_smbus_write_byte_data(client, REG_PAGE_SWITCH, REG_ENABLE); in ov02a10_set_exposure() 585 ret = i2c_smbus_write_byte_data(client, OV02A10_REG_EXPOSURE_H, in ov02a10_set_exposure() 590 ret = i2c_smbus_write_byte_data(client, OV02A10_REG_EXPOSURE_L, val); in ov02a10_set_exposure() 594 return i2c_smbus_write_byte_data(client, REG_GLOBAL_EFFECTIVE, in ov02a10_set_exposure() [all …]
|
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/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/iio/light/ |
H A D | tcs3414.c | 101 ret = i2c_smbus_write_byte_data(data->client, TCS3414_CONTROL, in tcs3414_req_data() 115 ret = i2c_smbus_write_byte_data(data->client, TCS3414_CONTROL, in tcs3414_req_data() 177 return i2c_smbus_write_byte_data( in tcs3414_write_raw() 190 return i2c_smbus_write_byte_data( in tcs3414_write_raw() 250 return i2c_smbus_write_byte_data(data->client, TCS3414_CONTROL, in tcs3414_buffer_postenable() 259 return i2c_smbus_write_byte_data(data->client, TCS3414_CONTROL, in tcs3414_buffer_predisable() 270 return i2c_smbus_write_byte_data(data->client, TCS3414_CONTROL, in tcs3414_powerdown() 316 ret = i2c_smbus_write_byte_data(data->client, TCS3414_CONTROL, in tcs3414_probe() 327 ret = i2c_smbus_write_byte_data(data->client, TCS3414_TIMING, in tcs3414_probe() 356 return i2c_smbus_write_byte_data(data->client, TCS3414_CONTROL, in tcs3414_resume()
|
H A D | isl29125.c | 96 ret = i2c_smbus_write_byte_data(data->client, ISL29125_CONF1, in isl29125_read_data() 121 i2c_smbus_write_byte_data(data->client, ISL29125_CONF1, data->conf1); in isl29125_read_data() 169 return i2c_smbus_write_byte_data(data->client, ISL29125_CONF1, in isl29125_write_raw() 223 return i2c_smbus_write_byte_data(data->client, ISL29125_CONF1, in isl29125_buffer_postenable() 233 return i2c_smbus_write_byte_data(data->client, ISL29125_CONF1, in isl29125_buffer_predisable() 269 ret = i2c_smbus_write_byte_data(data->client, ISL29125_CONF1, in isl29125_probe() 274 ret = i2c_smbus_write_byte_data(data->client, ISL29125_STATUS, 0); in isl29125_probe() 296 return i2c_smbus_write_byte_data(data->client, ISL29125_CONF1, in isl29125_powerdown() 320 return i2c_smbus_write_byte_data(data->client, ISL29125_CONF1, in isl29125_resume()
|
H A D | si1145.c | 206 ret = i2c_smbus_write_byte_data(data->client, SI1145_REG_COMMAND, in __si1145_command_reset() 253 ret = i2c_smbus_write_byte_data(data->client, SI1145_REG_COMMAND, cmd); in si1145_command() 320 ret = i2c_smbus_write_byte_data(data->client, in si1145_param_update() 405 return i2c_smbus_write_byte_data(data->client, in si1145_set_meas_rate() 490 ret = i2c_smbus_write_byte_data(data->client, in si1145_trigger_handler() 782 ret = i2c_smbus_write_byte_data(data->client, reg1, in si1145_write_raw() 1013 ret = i2c_smbus_write_byte_data(client, SI1145_REG_COMMAND, in si1145_initialize() 1020 ret = i2c_smbus_write_byte_data(client, SI1145_REG_HW_KEY, 0x17); in si1145_initialize() 1038 ret = i2c_smbus_write_byte_data(client, in si1145_initialize() 1045 ret = i2c_smbus_write_byte_data(client, in si1145_initialize() [all …]
|
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 | us5182d.c | 212 return i2c_smbus_write_byte_data(data->client, US5182D_REG_CFG0, ret); in us5182d_oneshot_en() 235 ret = i2c_smbus_write_byte_data(data->client, US5182D_REG_CFG0, ret); in us5182d_set_opmode() 239 ret = i2c_smbus_write_byte_data(data->client, US5182D_REG_MODE_STORE, in us5182d_set_opmode() 349 ret = i2c_smbus_write_byte_data(data->client, US5182D_REG_CFG0, ret); in us5182d_shutdown_en() 459 ret = i2c_smbus_write_byte_data(data->client, US5182D_REG_UDARK_TH, in us5182d_update_dark_th() 464 return i2c_smbus_write_byte_data(data->client, US5182D_REG_UDARK_TH + 1, in us5182d_update_dark_th() 487 ret = i2c_smbus_write_byte_data(data->client, US5182D_REG_CFG1, ret); in us5182d_apply_scale() 720 return i2c_smbus_write_byte_data(data->client, US5182D_REG_CFG3, in us5182d_reset() 739 ret = i2c_smbus_write_byte_data(data->client, in us5182d_init() 792 ret = i2c_smbus_write_byte_data(data->client, in us5182d_dark_gain_config() [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-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/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 | lm95241.c | 227 ret = i2c_smbus_write_byte_data(data->client, in lm95241_write_chip() 261 ret = i2c_smbus_write_byte_data(client, LM95241_REG_RW_CONFIG, in lm95241_write_temp() 277 ret = i2c_smbus_write_byte_data(client, LM95241_REG_RW_CONFIG, in lm95241_write_temp() 304 ret = i2c_smbus_write_byte_data(client, in lm95241_write_temp() 309 ret = i2c_smbus_write_byte_data(client, LM95241_REG_RW_TRUTHERM, in lm95241_write_temp() 403 i2c_smbus_write_byte_data(client, LM95241_REG_RW_CONFIG, data->config); in lm95241_init_client() 404 i2c_smbus_write_byte_data(client, LM95241_REG_RW_REM_FILTER, in lm95241_init_client() 406 i2c_smbus_write_byte_data(client, LM95241_REG_RW_TRUTHERM, in lm95241_init_client() 408 i2c_smbus_write_byte_data(client, LM95241_REG_RW_REMOTE_MODEL, in lm95241_init_client()
|
H A D | max6620.c | 271 ret = i2c_smbus_write_byte_data(client, in max6620_read() 277 ret = i2c_smbus_write_byte_data(client, in max6620_read() 368 ret = i2c_smbus_write_byte_data(client, dyn_reg[channel], in max6620_write() 377 ret = i2c_smbus_write_byte_data(client, target_reg[channel], val1); in max6620_write() 380 ret = i2c_smbus_write_byte_data(client, target_reg[channel] + 1, val2); in max6620_write() 442 err = i2c_smbus_write_byte_data(client, MAX6620_REG_CONFIG, config | 0x10); in max6620_init_client() 456 err = i2c_smbus_write_byte_data(client, config_reg[i], data->fancfg[i]); in max6620_init_client() 462 err = i2c_smbus_write_byte_data(client, dyn_reg[i], data->fandyn[i]); in max6620_init_client()
|
/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 …]
|