Home
last modified time | relevance | path

Searched refs:write_reg (Results 1 – 25 of 51) sorted by relevance

123

/Zephyr-latest/drivers/sensor/st/stmemsc/
Dstmemsc.h28 .write_reg = (stmdev_write_ptr)stmemsc_i2c_write, \
46 .write_reg = (stmdev_write_ptr)stmemsc_i2c_write_incr, \
63 .write_reg = (stmdev_write_ptr)i2c_wr_api, \
78 .write_reg = (stmdev_write_ptr)stmemsc_i3c_write, \
97 .write_reg = (stmdev_write_ptr)stmemsc_spi_write, \
115 .write_reg = (stmdev_write_ptr)stmemsc_spi_write_incr, \
132 .write_reg = (stmdev_write_ptr)spi_wr_api, \
/Zephyr-latest/drivers/sensor/ens160/
Dens160.c201 ret = data->tf->write_reg(dev, ENS160_REG_OPMODE, ENS160_OPMODE_RESET); in ens160_init()
220 ret = data->tf->write_reg(dev, ENS160_REG_OPMODE, ENS160_OPMODE_IDLE); in ens160_init()
228 ret = data->tf->write_reg(dev, ENS160_REG_COMMAND, ENS160_COMMAND_CLRGPR); in ens160_init()
234 ret = data->tf->write_reg(dev, ENS160_REG_COMMAND, ENS160_COMMAND_GET_APPVER); in ens160_init()
257 ret = data->tf->write_reg(dev, ENS160_REG_OPMODE, ENS160_OPMODE_STANDARD); in ens160_init()
287 ret = data->tf->write_reg(dev, ENS160_REG_OPMODE, ENS160_OPMODE_IDLE); in ens160_pm_action()
289 ret = data->tf->write_reg(dev, ENS160_REG_OPMODE, ENS160_OPMODE_STANDARD); in ens160_pm_action()
292 ret = data->tf->write_reg(dev, ENS160_REG_OPMODE, ENS160_OPMODE_DEEP_SLEEP); in ens160_pm_action()
Dens160_i2c.c52 .write_reg = ens160_write_reg_i2c,
/Zephyr-latest/drivers/sensor/st/lis2dh/
Dlis2dh_trigger.c95 status = lis2dh->hw_tf->write_reg(dev, LIS2DH_REG_CTRL1, in lis2dh_start_trigger_int1()
114 status = lis2dh->hw_tf->write_reg(dev, LIS2DH_REG_CTRL1, ctrl1); in lis2dh_start_trigger_int1()
164 status = lis2dh->hw_tf->write_reg(dev, in lis2dh_trigger_anym_tap_set()
170 status = lis2dh->hw_tf->write_reg(dev, in lis2dh_trigger_anym_tap_set()
237 status = lis2dh->hw_tf->write_reg(dev, reg, val); in lis2dh_start_trigger_int2()
327 status = lis2dh->hw_tf->write_reg(dev, in lis2dh_acc_slope_config()
334 status = lis2dh->hw_tf->write_reg(dev, in lis2dh_acc_slope_config()
349 status = lis2dh->hw_tf->write_reg(dev, in lis2dh_acc_slope_config()
356 status = lis2dh->hw_tf->write_reg(dev, in lis2dh_acc_slope_config()
639 status = lis2dh->hw_tf->write_reg(dev, in lis2dh_init_interrupt()
[all …]
Dlis2dh.c232 return data->hw_tf->write_reg(dev, LIS2DH_REG_CTRL1, in lis2dh_acc_odr_set()
393 status = lis2dh->hw_tf->write_reg(dev, LIS2DH_REG_CTRL4, in lis2dh_init()
396 status = lis2dh->hw_tf->write_reg(dev, LIS2DH_REG_CTRL4, LIS2DH_FS_BITS | LIS2DH_HR_BIT); in lis2dh_init()
429 return lis2dh->hw_tf->write_reg(dev, LIS2DH_REG_CTRL1, in lis2dh_init()
452 status = lis2dh->hw_tf->write_reg(dev, LIS2DH_REG_CTRL1, in lis2dh_pm_action()
467 status = lis2dh->hw_tf->write_reg(dev, LIS2DH_REG_CTRL1, in lis2dh_pm_action()
Dlis2dh_i2c.c69 .write_reg = lis2dh_i2c_write_reg,
/Zephyr-latest/drivers/usb_c/ppc/
Dnxp_nx20p3483.c75 static int write_reg(const struct device *dev, uint8_t reg, uint8_t value) in write_reg() function
97 ret = write_reg(dev, NX20P3483_REG_OVLO_THRESHOLD, u_thresh); in nx20p3483_set_snk_ovp_limit()
133 ret = write_reg(dev, NX20P3483_REG_DEVICE_CTRL, ctrl_reg); in nx20p3483_exit_dead_battery_mode()
196 ret = write_reg(dev, NX20P3483_REG_DEVICE_CTRL, ctrl_reg); in nx20p3483_set_vbus_discharge()
260 ret = write_reg(dev, NX20P3483_REG_5V_SRC_OCP_THRESHOLD, i_thresh_5v); in nx20p3483_set_src_ovc_limit()
265 ret = write_reg(dev, NX20P3483_REG_HV_SRC_OCP_THRESHOLD, i_thresh_hv); in nx20p3483_set_src_ovc_limit()
407 write_reg(dev, NX20P3483_REG_SWITCH_CTRL, reg); in nx20p3483_dev_init()
/Zephyr-latest/drivers/sensor/adi/adxl372/
Dadxl372.c38 ret = data->hw_tf->write_reg(dev, axis_reg_h++, act->thresh >> 3); in adxl372_set_activity_threshold()
53 return data->hw_tf->write_reg(dev, axis_reg_h, val); in adxl372_set_activity_threshold()
202 return data->hw_tf->write_reg(dev, ADXL372_HPF, ADXL372_HPF_CORNER(c)); in adxl372_set_hpf_corner()
306 return data->hw_tf->write_reg(dev, ADXL372_TIME_ACT, time); in adxl372_set_activity_time()
322 ret = data->hw_tf->write_reg(dev, ADXL372_TIME_INACT_H, time >> 8); in adxl372_set_inactivity_time()
327 return data->hw_tf->write_reg(dev, ADXL372_TIME_INACT_L, time & 0xFF); in adxl372_set_inactivity_time()
371 ret = data->hw_tf->write_reg(dev, ADXL372_INT1_MAP, int1); in adxl372_interrupt_config()
376 return data->hw_tf->write_reg(dev, ADXL372_INT2_MAP, int2); in adxl372_interrupt_config()
445 ret = data->hw_tf->write_reg(dev, ADXL372_RESET, ADXL372_RESET_CODE); in adxl372_reset()
496 ret = data->hw_tf->write_reg(dev, ADXL372_FIFO_CTL, fifo_config); in adxl372_configure_fifo()
[all …]
Dadxl372_i2c.c86 .write_reg = adxl372_i2c_reg_write,
Dadxl372_spi.c100 .write_reg = adxl372_spi_reg_write,
/Zephyr-latest/drivers/sensor/st/stts751/
Dstts751_i2c.c44 data->ctx_i2c.write_reg = (stmdev_write_ptr) stts751_i2c_write; in stts751_i2c_init()
/Zephyr-latest/drivers/mfd/
Dmfd_ad559x.h39 int (*write_reg)(const struct device *dev, uint8_t reg, uint16_t val); member
Dmfd_ad559x_i2c.c68 .write_reg = mfd_ad559x_i2c_write_reg,
/Zephyr-latest/include/zephyr/drivers/can/
Dcan_sja1000.h107 can_sja1000_write_reg_t write_reg; member
129 .write_reg = _write_reg, \
/Zephyr-latest/drivers/sensor/st/iis2dh/
Diis2dh_i2c.c40 .write_reg = (stmdev_write_ptr) iis2dh_i2c_write,
Diis2dh_spi.c87 .write_reg = (stmdev_write_ptr) iis2dh_spi_write,
/Zephyr-latest/drivers/sensor/st/iis2mdc/
Diis2mdc_i2c.c49 data->ctx_i2c.write_reg = (stmdev_write_ptr) iis2mdc_i2c_write; in iis2mdc_i2c_init()
Diis2mdc_spi.c104 data->ctx_spi.write_reg = (stmdev_write_ptr) iis2mdc_spi_write; in iis2mdc_spi_init()
/Zephyr-latest/drivers/sensor/st/ism330dhcx/
Dism330dhcx_i2c.c50 data->ctx_i2c.write_reg = (stmdev_write_ptr) ism330dhcx_i2c_write; in ism330dhcx_i2c_init()
Dism330dhcx_spi.c106 data->ctx_spi.write_reg = (stmdev_write_ptr) ism330dhcx_spi_write; in ism330dhcx_spi_init()
/Zephyr-latest/drivers/sensor/bosch/bma4xx/
Dbma4xx_spi.c53 .write_reg = bma4xx_spi_write_reg,
Dbma4xx_i2c.c65 .write_reg = bma4xx_i2c_write_reg,
/Zephyr-latest/drivers/sensor/st/iis3dhhc/
Diis3dhhc_spi.c86 .write_reg = (stmdev_write_ptr) iis3dhhc_spi_write,
/Zephyr-latest/drivers/sensor/st/i3g4250d/
Di3g4250d_spi.c87 .write_reg = (stmdev_write_ptr) i3g4250d_spi_write,
/Zephyr-latest/drivers/sensor/adi/adxl367/
Dadxl367_i2c.c84 .write_reg = adxl367_i2c_reg_write,

123