Home
last modified time | relevance | path

Searched refs:hw_tf (Results 1 – 23 of 23) sorted by relevance

/Zephyr-latest/drivers/sensor/st/lis2dh/
Dlis2dh_trigger.c59 status = lis2dh->hw_tf->update_reg(dev, LIS2DH_REG_CTRL3, in lis2dh_trigger_drdy_set()
91 status = lis2dh->hw_tf->read_reg(dev, LIS2DH_REG_CTRL1, &ctrl1); in lis2dh_start_trigger_int1()
95 status = lis2dh->hw_tf->write_reg(dev, LIS2DH_REG_CTRL1, in lis2dh_start_trigger_int1()
105 status = lis2dh->hw_tf->read_data(dev, LIS2DH_REG_STATUS, in lis2dh_start_trigger_int1()
114 status = lis2dh->hw_tf->write_reg(dev, LIS2DH_REG_CTRL1, ctrl1); in lis2dh_start_trigger_int1()
119 return lis2dh->hw_tf->update_reg(dev, LIS2DH_REG_CTRL3, in lis2dh_start_trigger_int1()
159 status = lis2dh->hw_tf->update_reg(dev, LIS2DH_REG_CTRL3, in lis2dh_trigger_anym_tap_set()
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()
175 status = lis2dh->hw_tf->read_reg(dev, in lis2dh_trigger_anym_tap_set()
[all …]
Dlis2dh.c58 ret = lis2dh->hw_tf->read_data(dev, cfg->temperature.dout_addr, raw, in lis2dh_sample_fetch_temp()
141 status = lis2dh->hw_tf->read_data(dev, LIS2DH_REG_STATUS, in lis2dh_fetch_xyz()
216 status = data->hw_tf->read_reg(dev, LIS2DH_REG_CTRL1, &value); in lis2dh_acc_odr_set()
232 return data->hw_tf->write_reg(dev, LIS2DH_REG_CTRL1, in lis2dh_acc_odr_set()
268 return lis2dh->hw_tf->update_reg(dev, LIS2DH_REG_CTRL4, in lis2dh_acc_range_set()
345 status = lis2dh->hw_tf->read_reg(dev, LIS2DH_REG_WAI, &id); in lis2dh_init()
365 status = lis2dh->hw_tf->update_reg(dev, LIS2DH_REG_CTRL0, in lis2dh_init()
382 status = lis2dh->hw_tf->write_data(dev, LIS2DH_REG_CTRL1, raw, in lis2dh_init()
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()
[all …]
Dlis2dh_i2c.c83 data->hw_tf = &lis2dh_i2c_transfer_fn; in lis2dh_i2c_init()
Dlis2dh_spi.c156 data->hw_tf = &lis2dh_spi_transfer_fn; in lis2dh_spi_init()
Dlis2dh.h252 const struct lis2dh_transfer_function *hw_tf; member
/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()
94 int ret = data->hw_tf->write_reg_mask(dev, ADXL372_POWER_CTL, in adxl372_set_op_mode()
120 return data->hw_tf->write_reg_mask(dev, ADXL372_MEASURE, in adxl372_set_autosleep()
150 ret = data->hw_tf->write_reg_mask(dev, ADXL372_POWER_CTL, in adxl372_set_bandwidth()
161 return data->hw_tf->write_reg_mask(dev, ADXL372_MEASURE, in adxl372_set_bandwidth()
191 ret = data->hw_tf->write_reg_mask(dev, ADXL372_POWER_CTL, in adxl372_set_hpf_corner()
202 return data->hw_tf->write_reg(dev, ADXL372_HPF, ADXL372_HPF_CORNER(c)); in adxl372_set_hpf_corner()
220 return data->hw_tf->write_reg_mask(dev, ADXL372_MEASURE, in adxl372_set_act_proc_mode()
240 return data->hw_tf->write_reg_mask(dev, ADXL372_TIMING, in adxl372_set_odr()
[all …]
Dadxl372_i2c.c96 data->hw_tf = &adxl372_i2c_transfer_fn; in adxl372_i2c_init()
Dadxl372_spi.c110 data->hw_tf = &adxl372_spi_transfer_fn; in adxl372_spi_init()
Dadxl372_trigger.c140 ret = drv_data->hw_tf->write_reg_mask(dev, ADXL372_INT1_MAP, int_mask, int_en); in adxl372_trigger_set()
Dadxl372.h312 const struct adxl372_transfer_function *hw_tf; member
Dadxl372_stream.c96 rc = data->hw_tf->write_reg_mask(dev, ADXL372_INT1_MAP, in adxl372_submit_stream()
/Zephyr-latest/drivers/sensor/adi/adxl367/
Dadxl367.c43 ret = data->hw_tf->write_reg_mask(dev, ADXL367_ACT_INACT_CTL, in adxl367_setup_activity_detection()
53 ret = data->hw_tf->write_reg_mask(dev, ADXL367_THRESH_ACT_H, ADXL367_THRESH_H_MSK, in adxl367_setup_activity_detection()
59 return data->hw_tf->write_reg_mask(dev, ADXL367_THRESH_ACT_L, ADXL367_THRESH_L_MSK, in adxl367_setup_activity_detection()
80 ret = data->hw_tf->write_reg_mask(dev, ADXL367_ACT_INACT_CTL, in adxl367_setup_inactivity_detection()
91 ret = data->hw_tf->write_reg_mask(dev, ADXL367_THRESH_INACT_H, ADXL367_THRESH_H_MSK, in adxl367_setup_inactivity_detection()
97 return data->hw_tf->write_reg_mask(dev, ADXL367_THRESH_INACT_L, ADXL367_THRESH_L_MSK, in adxl367_setup_inactivity_detection()
122 ret = data->hw_tf->write_reg_mask(dev, ADXL367_POWER_CTL, in adxl367_set_op_mode()
157 ret = data->hw_tf->write_reg_mask(dev, ADXL367_POWER_CTL, in adxl367_set_autosleep()
185 ret = data->hw_tf->write_reg_mask(dev, ADXL367_POWER_CTL, in adxl367_set_low_noise()
215 return data->hw_tf->write_reg_mask(dev, ADXL367_ACT_INACT_CTL, in adxl367_set_act_proc_mode()
[all …]
Dadxl367_trigger.c26 ret = drv_data->hw_tf->read_reg(dev, ADXL367_STATUS, &status); in adxl367_thread_cb()
125 ret = drv_data->hw_tf->write_reg_mask(dev, ADXL367_INTMAP1_LOWER, int_mask, int_en); in adxl367_trigger_set()
131 ret = drv_data->hw_tf->read_reg(dev, ADXL367_STATUS, &status); in adxl367_trigger_set()
Dadxl367_i2c.c94 data->hw_tf = &adxl367_i2c_transfer_fn; in adxl367_i2c_init()
Dadxl367_spi.c119 data->hw_tf = &adxl367_spi_transfer_fn; in adxl367_spi_init()
Dadxl367.h339 const struct adxl367_transfer_function *hw_tf; member
Dadxl367_stream.c118 rc = data->hw_tf->write_reg_mask(dev, ADXL367_INTMAP1_LOWER, int_mask, int_value); in adxl367_submit_stream()
/Zephyr-latest/drivers/sensor/st/lsm6dsl/
Dlsm6dsl_shub.c257 data->hw_tf->update_reg(dev, LSM6DSL_REG_FUNC_CFG_ACCESS, in lsm6dsl_shub_embedded_en()
271 if (data->hw_tf->read_data(dev, reg_addr, value, len) < 0) { in lsm6dsl_read_embedded_reg()
290 if (data->hw_tf->write_data(dev, reg_addr, value, len) < 0) { in lsm6dsl_shub_write_embedded_regs()
306 data->hw_tf->update_reg(dev, LSM6DSL_REG_CTRL10_C, in lsm6dsl_shub_enable()
312 data->hw_tf->update_reg(dev, in lsm6dsl_shub_enable()
319 data->hw_tf->update_reg(dev, LSM6DSL_REG_MASTER_CONFIG, in lsm6dsl_shub_enable()
329 data->hw_tf->update_reg(dev, LSM6DSL_REG_MASTER_CONFIG, in lsm6dsl_shub_disable()
335 data->hw_tf->update_reg(dev, in lsm6dsl_shub_disable()
342 data->hw_tf->update_reg(dev, LSM6DSL_REG_CTRL10_C, in lsm6dsl_shub_disable()
370 data->hw_tf->read_data(dev, LSM6DSL_REG_SENSORHUB1, value, len); in lsm6dsl_shub_read_slave_reg()
[all …]
Dlsm6dsl.c98 if (data->hw_tf->update_reg(dev, LSM6DSL_REG_CTRL3_C, in lsm6dsl_reboot()
114 if (data->hw_tf->update_reg(dev, in lsm6dsl_accel_set_fs_raw()
128 if (data->hw_tf->update_reg(dev, in lsm6dsl_accel_set_odr_raw()
145 if (data->hw_tf->update_reg(dev, in lsm6dsl_gyro_set_fs_raw()
152 if (data->hw_tf->update_reg(dev, in lsm6dsl_gyro_set_fs_raw()
167 if (data->hw_tf->update_reg(dev, in lsm6dsl_gyro_set_odr_raw()
328 if (data->hw_tf->read_data(dev, LSM6DSL_REG_OUTX_L_XL, in lsm6dsl_sample_fetch_accel()
349 if (data->hw_tf->read_data(dev, LSM6DSL_REG_OUTX_L_G, in lsm6dsl_sample_fetch_gyro()
371 if (data->hw_tf->read_data(dev, LSM6DSL_REG_OUT_TEMP_L, in lsm6dsl_sample_fetch_temp()
721 if (data->hw_tf->read_reg(dev, LSM6DSL_REG_WHO_AM_I, &chip_id) < 0) { in lsm6dsl_init_chip()
[all …]
Dlsm6dsl_i2c.c66 data->hw_tf = &lsm6dsl_i2c_transfer_fn; in lsm6dsl_i2c_init()
Dlsm6dsl_spi.c136 data->hw_tf = &lsm6dsl_spi_transfer_fn; in lsm6dsl_spi_init()
Dlsm6dsl_trigger.c146 if (drv_data->hw_tf->update_reg(dev, in lsm6dsl_init_interrupt()
Dlsm6dsl.h665 const struct lsm6dsl_transfer_function *hw_tf; member