Home
last modified time | relevance | path

Searched refs:freq_int (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/drivers/sensor/bosch/bmi08x/
Dbmi08x.c19 uint16_t freq_int; member
28 int bmi08x_freq_to_odr_val(uint16_t freq_int, uint16_t freq_milli) in bmi08x_freq_to_odr_val() argument
33 if (freq_int == 0U && freq_milli == 0U) { in bmi08x_freq_to_odr_val()
38 if (freq_int < bmi08x_odr_map[i].freq_int || in bmi08x_freq_to_odr_val()
39 (freq_int == bmi08x_odr_map[i].freq_int && in bmi08x_freq_to_odr_val()
Dbmi08x_gyro.c149 static int bmi08x_gyr_odr_set(const struct device *dev, uint16_t freq_int, uint16_t freq_milli) in bmi08x_gyr_odr_set() argument
151 int odr = bmi08x_freq_to_odr_val(freq_int, freq_milli); in bmi08x_gyr_odr_set()
Dbmi08x.h548 int bmi08x_freq_to_odr_val(uint16_t freq_int, uint16_t freq_milli);
Dbmi08x_accel.c269 static int bmi08x_acc_odr_set(const struct device *dev, uint16_t freq_int, uint16_t freq_milli) in bmi08x_acc_odr_set() argument
271 int odr = bmi08x_freq_to_odr_val(freq_int, freq_milli); in bmi08x_acc_odr_set()
/Zephyr-latest/drivers/sensor/bosch/bmp388/
Dbmp388.c26 uint16_t freq_int; member
95 static int bmp388_freq_to_odr_val(uint16_t freq_int, uint16_t freq_milli) in bmp388_freq_to_odr_val() argument
100 if (freq_int == 0U && freq_milli == 0U) { in bmp388_freq_to_odr_val()
105 if (freq_int < bmp388_odr_map[i].freq_int || in bmp388_freq_to_odr_val()
106 (freq_int == bmp388_odr_map[i].freq_int && in bmp388_freq_to_odr_val()
116 uint16_t freq_int, in bmp388_attr_set_odr() argument
121 int odr = bmp388_freq_to_odr_val(freq_int, freq_milli); in bmp388_attr_set_odr()
/Zephyr-latest/drivers/sensor/bosch/bmi160/
Dbmi160.c249 uint16_t freq_int; member
259 static int bmi160_freq_to_odr_val(uint16_t freq_int, uint16_t freq_milli) in bmi160_freq_to_odr_val() argument
264 if (freq_int == 0U && freq_milli == 0U) { in bmi160_freq_to_odr_val()
269 if (freq_int < bmi160_odr_map[i].freq_int || in bmi160_freq_to_odr_val()
270 (freq_int == bmi160_odr_map[i].freq_int && in bmi160_freq_to_odr_val()
281 static int bmi160_acc_odr_set(const struct device *dev, uint16_t freq_int, in bmi160_acc_odr_set() argument
284 int odr = bmi160_freq_to_odr_val(freq_int, freq_milli); in bmi160_acc_odr_set()
535 static int bmi160_gyr_odr_set(const struct device *dev, uint16_t freq_int, in bmi160_gyr_odr_set() argument
538 int odr = bmi160_freq_to_odr_val(freq_int, freq_milli); in bmi160_gyr_odr_set()
/Zephyr-latest/drivers/sensor/adi/adxl362/
Dadxl362.c143 uint16_t freq_int; member
156 static int adxl362_freq_to_odr_val(uint16_t freq_int, uint16_t freq_milli) in adxl362_freq_to_odr_val() argument
161 if (freq_int == 0U && freq_milli == 0U) { in adxl362_freq_to_odr_val()
166 if (freq_int < adxl362_odr_map[i].freq_int || in adxl362_freq_to_odr_val()
167 (freq_int == adxl362_odr_map[i].freq_int && in adxl362_freq_to_odr_val()
/Zephyr-latest/drivers/sensor/st/lsm9ds0_mfd/
Dlsm9ds0_mfd.c54 int freq_int; member
74 if (val->val1 < lsm9ds0_mfd_accel_odr_map[i].freq_int || in lsm9ds0_mfd_accel_set_odr()
75 (val->val1 == lsm9ds0_mfd_accel_odr_map[i].freq_int && in lsm9ds0_mfd_accel_set_odr()
140 int freq_int; member
156 if (val->val1 < lsm9ds0_mfd_accel_odr_map[i].freq_int || in lsm9ds0_mfd_magn_set_odr()
157 (val->val1 == lsm9ds0_mfd_accel_odr_map[i].freq_int && in lsm9ds0_mfd_magn_set_odr()