Home
last modified time | relevance | path

Searched refs:i2c_smbus_write_byte (Results 1 – 25 of 37) sorted by relevance

12

/drivers/iio/light/
Dbh1750.c87 ret = i2c_smbus_write_byte(data->client, BH1750_POWER_DOWN); in bh1750_change_int_time()
92 ret = i2c_smbus_write_byte(data->client, in bh1750_change_int_time()
98 ret = i2c_smbus_write_byte(data->client, in bh1750_change_int_time()
119 ret = i2c_smbus_write_byte(data->client, BH1750_ONE_TIME_H_RES_MODE); in bh1750_read()
279 i2c_smbus_write_byte(client, BH1750_POWER_DOWN); in bh1750_remove()
297 ret = i2c_smbus_write_byte(data->client, BH1750_POWER_DOWN); in bh1750_suspend()
/drivers/iio/pressure/
Dms5611_i2c.c27 return i2c_smbus_write_byte(st->client, MS5611_RESET); in ms5611_i2c_reset()
66 ret = i2c_smbus_write_byte(st->client, MS5611_START_TEMP_CONV); in ms5611_i2c_read_adc_temp_and_pressure()
76 ret = i2c_smbus_write_byte(st->client, MS5611_START_PRESSURE_CONV); in ms5611_i2c_read_adc_temp_and_pressure()
/drivers/misc/
Dtsl2550.c69 int ret = i2c_smbus_write_byte(client, TSL2550_MODE_RANGE[mode]); in tsl2550_set_operating_mode()
82 ret = i2c_smbus_write_byte(client, TSL2550_POWER_DOWN); in tsl2550_set_power_state()
84 ret = i2c_smbus_write_byte(client, TSL2550_POWER_UP); in tsl2550_set_power_state()
336 err = i2c_smbus_write_byte(client, in tsl2550_init_client()
Dad525x_dpot-i2c.c17 return i2c_smbus_write_byte(client, val); in write_d8()
/drivers/input/misc/
Dpcf8574_keypad.c51 i2c_smbus_write_byte(lp->client, 240); in read_state()
54 i2c_smbus_write_byte(lp->client, 15); in read_state()
90 if (i2c_smbus_write_byte(client, 240) < 0) { in pcf8574_kp_probe()
/drivers/input/mouse/
Delan_i2c_smbus.c79 error = i2c_smbus_write_byte(client, ETP_SMBUS_ENABLE_TP); in elan_smbus_initialize()
99 return i2c_smbus_write_byte(client, ETP_SMBUS_SLEEP_CMD); in elan_smbus_sleep_control()
316 error = i2c_smbus_write_byte(client, ETP_SMBUS_IAP_RESET_CMD); in elan_smbus_iap_reset()
363 if (i2c_smbus_write_byte(client, in elan_smbus_prepare_fw_update()
/drivers/staging/iio/light/
Dtsl2583.c166 ret = i2c_smbus_write_byte(client, (TSL258X_CMD_REG | reg)); in taos_i2c_read()
245 ret = i2c_smbus_write_byte(chip->client, in taos_get_lux()
344 ret = i2c_smbus_write_byte(chip->client, in taos_als_calibrate()
361 ret = i2c_smbus_write_byte(chip->client, in taos_als_calibrate()
838 ret = i2c_smbus_write_byte(clientp, in taos_probe()
862 ret = i2c_smbus_write_byte(clientp, (TSL258X_CMD_REG | TSL258X_CNTRL)); in taos_probe()
Dtsl2x7x_core.c302 ret = i2c_smbus_write_byte(client, (TSL2X7X_CMD_REG | reg)); in tsl2x7x_i2c_read()
384 ret = i2c_smbus_write_byte(chip->client, in tsl2x7x_get_lux()
578 ret = i2c_smbus_write_byte(chip->client, in tsl2x7x_als_calibrate()
594 ret = i2c_smbus_write_byte(chip->client, in tsl2x7x_als_calibrate()
756 ret = i2c_smbus_write_byte(chip->client, in tsl2x7x_chip_on()
1555 ret = i2c_smbus_write_byte(chip->client, in tsl2x7x_event_handler()
1888 ret = i2c_smbus_write_byte(clientp, (TSL2X7X_CMD_REG | TSL2X7X_CNTRL)); in tsl2x7x_probe()
/drivers/watchdog/
Dmenf21bmc_wdt.c66 return i2c_smbus_write_byte(drv_data->i2c_client, BMC_CMD_WD_ON); in menf21bmc_wdt_start()
102 return i2c_smbus_write_byte(drv_data->i2c_client, BMC_CMD_WD_TRIG); in menf21bmc_wdt_ping()
/drivers/input/touchscreen/
Dsx8654.c141 error = i2c_smbus_write_byte(client, CMD_PENTRG); in sx8654_open()
161 error = i2c_smbus_write_byte(client, CMD_MANUAL); in sx8654_close()
Dtsc2004.c36 data = i2c_smbus_write_byte(i2c, tx); in tsc2004_cmd()
/drivers/input/keyboard/
Dqt2160.c142 error = i2c_smbus_write_byte(client, inireg + idx); in qt2160_read_block()
160 error = i2c_smbus_write_byte(client, inireg + idx); in qt2160_read_block()
259 ret = i2c_smbus_write_byte(client, reg); in qt2160_read()
/drivers/iio/common/ms_sensors/
Dms_sensors_i2c.c53 ret = i2c_smbus_write_byte(client, cmd); in ms_sensors_reset()
113 ret = i2c_smbus_write_byte(client, conv); in ms_sensors_convert_and_read()
259 ret = i2c_smbus_write_byte(client, MS_SENSORS_CONFIG_REG_READ); in ms_sensors_read_config_reg()
/drivers/i2c/muxes/
Di2c-mux-pca954x.c215 if (i2c_smbus_write_byte(client, 0) < 0) { in pca954x_probe()
293 return i2c_smbus_write_byte(client, 0); in pca954x_resume()
/drivers/hwmon/
Dpcf8591.c163 i2c_smbus_write_byte(client, data->control); in set_out0_enable()
284 i2c_smbus_write_byte(client, data->control); in pcf8591_read_channel()
Dlineage-pem.c204 i2c_smbus_write_byte(client, PEM_CLEAR_INFO_FLAGS); in pem_update_device()
473 ret = i2c_smbus_write_byte(client, PEM_CLEAR_INFO_FLAGS); in pem_probe()
Dds620.c104 i2c_smbus_write_byte(client, DS620_COM_START); in ds620_init_client()
/drivers/regulator/
Dmax1586.c88 ret = i2c_smbus_write_byte(client, v3_prog); in max1586_v3_set_voltage_sel()
116 ret = i2c_smbus_write_byte(client, v6_prog); in max1586_v6_set_voltage_sel()
Disl6271a-regulator.c61 err = i2c_smbus_write_byte(pmic->client, selector); in isl6271a_set_voltage_sel()
/drivers/mfd/
Dmenf21bmc.c47 ret = i2c_smbus_write_byte(client, BMC_CMD_WDT_EXIT_PROD); in menf21bmc_wdt_exit_prod_mode()
/drivers/media/i2c/
Dtea6415c.c112 ret = i2c_smbus_write_byte(client, byte); in tea6415c_s_routing()
Dtea6420.c83 ret = i2c_smbus_write_byte(client, byte); in tea6420_s_routing()
/drivers/iio/humidity/
Dsi7020.c127 ret = i2c_smbus_write_byte(client, SI7020CMD_RESET); in si7020_probe()
/drivers/staging/iio/addac/
Dadt7316-i2c.c26 ret = i2c_smbus_write_byte(cl, reg); in adt7316_i2c_read()
/drivers/iio/proximity/
Dpulsedlight-lidar-lite-v2.c75 ret = i2c_smbus_write_byte(client, reg); in lidar_read_byte()

12