/Zephyr-Core-3.7.0/drivers/sensor/tdk/icm42688/ |
D | icm42688_decoder.c | 17 static int icm42688_get_shift(enum sensor_channel channel, int accel_fs, int gyro_fs, int8_t *shift) in icm42688_get_shift() argument 24 switch (accel_fs) { in icm42688_get_shift() 89 rc = icm42688_get_shift(chan, cfg->accel_fs, cfg->gyro_fs, &shift); in icm42688_convert_raw_to_q31() 194 edata->header.accel_fs = data->cfg.accel_fs; in icm42688_encode() 409 icm42688_get_shift(SENSOR_CHAN_ACCEL_XYZ, edata->header.accel_fs, in icm42688_fifo_decode() 413 rc = icm42688_read_imu_from_packet(buffer, true, edata->header.accel_fs, 0, in icm42688_fifo_decode() 415 rc |= icm42688_read_imu_from_packet(buffer, true, edata->header.accel_fs, 1, in icm42688_fifo_decode() 417 rc |= icm42688_read_imu_from_packet(buffer, true, edata->header.accel_fs, 2, in icm42688_fifo_decode() 430 icm42688_get_shift(SENSOR_CHAN_GYRO_XYZ, edata->header.accel_fs, in icm42688_fifo_decode() 459 .accel_fs = edata->header.accel_fs, in icm42688_one_shot_decode() [all …]
|
D | icm42688_decoder.h | 17 uint8_t accel_fs: 2; member
|
D | icm42688.c | 140 new_config.accel_fs = icm42688_accel_fs_to_reg(sensor_ms2_to_g(val)); in icm42688_attr_set() 199 icm42688_accel_reg_to_fs(cfg->accel_fs, val); in icm42688_attr_get() 305 .accel_fs = DT_INST_PROP(inst, accel_fs), \
|
D | icm42688.h | 288 uint8_t accel_fs; member 422 switch (cfg->accel_fs) { in icm42688_accel_g() 511 switch (cfg->accel_fs) { in icm42688_accel_ms()
|
D | icm42688_rtio_stream.c | 115 .accel_fs = drv_data->cfg.accel_fs, in icm42688_fifo_count_cb()
|
D | icm42688_common.c | 170 FIELD_PREP(MASK_ACCEL_UI_FS_SEL, cfg->accel_fs); in icm42688_configure()
|
/Zephyr-Core-3.7.0/drivers/sensor/tdk/mpu9250/ |
D | mpu9250.c | 269 if (cfg->accel_fs > MPU9250_ACCEL_FS_MAX) { in mpu9250_init() 270 LOG_ERR("Accel FS is too big: %d", cfg->accel_fs); in mpu9250_init() 275 cfg->accel_fs << MPU9250_ACCEL_FS_SHIFT); in mpu9250_init() 280 drv_data->accel_sensitivity_shift = 14 - cfg->accel_fs; in mpu9250_init() 283 LOG_ERR("Gyro FS is too big: %d", cfg->accel_fs); in mpu9250_init() 355 .accel_fs = DT_INST_ENUM_IDX(inst, accel_fs), \
|
D | mpu9250.h | 63 uint8_t accel_fs; member
|
/Zephyr-Core-3.7.0/drivers/sensor/tdk/icm42670/ |
D | icm42670.h | 22 uint16_t accel_fs; member
|
D | icm42670.c | 273 res = icm42670_set_accel_fs(dev, data->accel_fs); in icm42670_turn_on_sensor() 519 res = icm42670_set_accel_fs(dev, data->accel_fs); in icm42670_attr_set() 524 data->accel_fs = val->val1; in icm42670_attr_set() 587 val->val1 = data->accel_fs; in icm42670_attr_get() 692 .accel_fs = DT_INST_PROP(inst, accel_fs), \
|
/Zephyr-Core-3.7.0/drivers/sensor/st/lis2de12/ |
D | lis2de12.h | 68 uint8_t accel_fs; member
|
D | lis2de12.c | 76 data->accel_fs = fs; in lis2de12_accel_set_fs_raw()
|
/Zephyr-Core-3.7.0/drivers/sensor/st/lis2du12/ |
D | lis2du12.h | 71 uint8_t accel_fs; member
|
D | lis2du12.c | 104 data->accel_fs = fs; in lis2du12_accel_set_fs_raw()
|
/Zephyr-Core-3.7.0/drivers/sensor/tdk/icm42605/ |
D | icm42605.h | 71 uint16_t accel_fs; member
|
D | icm42605.c | 380 data->accel_sf = cfg->accel_fs; in icm42605_data_init() 440 .accel_fs = DT_INST_ENUM_IDX(index, accel_fs), \
|
/Zephyr-Core-3.7.0/drivers/sensor/st/iis2iclx/ |
D | iis2iclx.h | 80 uint8_t accel_fs; member
|
/Zephyr-Core-3.7.0/drivers/sensor/st/lsm6dso/ |
D | lsm6dso.h | 92 uint8_t accel_fs; member
|
/Zephyr-Core-3.7.0/drivers/sensor/st/ism330dhcx/ |
D | ism330dhcx.h | 89 uint8_t accel_fs; member
|
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bma4xx/ |
D | bma4xx.c | 368 edata->header.accel_fs = bma4xx->accel_fs_range; in bma4xx_submit_one_shot() 507 static int bma4xx_get_shift(struct sensor_chan_spec ch, uint8_t accel_fs, int8_t *shift) in bma4xx_get_shift() argument 514 switch (accel_fs) { in bma4xx_get_shift() 611 header->accel_fs, &out->shift); in bma4xx_one_shot_decode()
|
D | bma4xx.h | 219 uint8_t accel_fs: 2; member
|
/Zephyr-Core-3.7.0/drivers/sensor/st/lsm6dsv16x/ |
D | lsm6dsv16x.h | 97 uint8_t accel_fs; member
|
/Zephyr-Core-3.7.0/drivers/sensor/st/lsm6dso16is/ |
D | lsm6dso16is.h | 96 uint8_t accel_fs; member
|
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bmi08x/ |
D | bmi08x_accel.c | 701 ret = bmi08x_acc_range_set(dev, config->accel_fs); in bmi08x_accel_init() 804 .accel_fs = DT_INST_PROP(inst, accel_fs), BMI08X_DATA_SYNC_REG(inst)}; \
|
/Zephyr-Core-3.7.0/drivers/sensor/st/lsm9ds0_mfd/ |
D | lsm9ds0_mfd.c | 97 data->accel_fs = fs; in lsm9ds0_mfd_accel_set_fs_raw() 250 data->sample_accel_fs = data->accel_fs; in lsm9ds0_mfd_sample_fetch_accel()
|