/Zephyr-latest/drivers/sensor/st/lis2dh/ |
D | lis2dh_trigger.c | 59 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 …]
|
D | lis2dh.c | 58 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 …]
|
D | lis2dh_i2c.c | 83 data->hw_tf = &lis2dh_i2c_transfer_fn; in lis2dh_i2c_init()
|
D | lis2dh_spi.c | 156 data->hw_tf = &lis2dh_spi_transfer_fn; in lis2dh_spi_init()
|
D | lis2dh.h | 252 const struct lis2dh_transfer_function *hw_tf; member
|
/Zephyr-latest/drivers/sensor/adi/adxl372/ |
D | adxl372.c | 38 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 …]
|
D | adxl372_i2c.c | 96 data->hw_tf = &adxl372_i2c_transfer_fn; in adxl372_i2c_init()
|
D | adxl372_spi.c | 110 data->hw_tf = &adxl372_spi_transfer_fn; in adxl372_spi_init()
|
D | adxl372_trigger.c | 140 ret = drv_data->hw_tf->write_reg_mask(dev, ADXL372_INT1_MAP, int_mask, int_en); in adxl372_trigger_set()
|
D | adxl372.h | 312 const struct adxl372_transfer_function *hw_tf; member
|
D | adxl372_stream.c | 96 rc = data->hw_tf->write_reg_mask(dev, ADXL372_INT1_MAP, in adxl372_submit_stream()
|
/Zephyr-latest/drivers/sensor/adi/adxl367/ |
D | adxl367.c | 43 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 …]
|
D | adxl367_trigger.c | 26 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()
|
D | adxl367_i2c.c | 94 data->hw_tf = &adxl367_i2c_transfer_fn; in adxl367_i2c_init()
|
D | adxl367_spi.c | 119 data->hw_tf = &adxl367_spi_transfer_fn; in adxl367_spi_init()
|
D | adxl367.h | 339 const struct adxl367_transfer_function *hw_tf; member
|
D | adxl367_stream.c | 118 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/ |
D | lsm6dsl_shub.c | 257 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 …]
|
D | lsm6dsl.c | 98 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 …]
|
D | lsm6dsl_i2c.c | 66 data->hw_tf = &lsm6dsl_i2c_transfer_fn; in lsm6dsl_i2c_init()
|
D | lsm6dsl_spi.c | 136 data->hw_tf = &lsm6dsl_spi_transfer_fn; in lsm6dsl_spi_init()
|
D | lsm6dsl_trigger.c | 146 if (drv_data->hw_tf->update_reg(dev, in lsm6dsl_init_interrupt()
|
D | lsm6dsl.h | 665 const struct lsm6dsl_transfer_function *hw_tf; member
|