Home
last modified time | relevance | path

Searched refs:freq_milli (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/drivers/sensor/bosch/bmi08x/
Dbmi08x.c20 uint16_t freq_milli; /* User should convert to uHz before setting the 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()
40 freq_milli <= bmi08x_odr_map[i].freq_milli)) { 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.c27 uint16_t freq_milli; 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()
107 freq_milli <= bmp388_odr_map[i].freq_milli)) { in bmp388_freq_to_odr_val()
117 uint16_t freq_milli) 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.c250 uint16_t freq_milli; /* User should convert to uHz before setting the 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()
271 freq_milli <= bmi160_odr_map[i].freq_milli)) { in bmi160_freq_to_odr_val()
282 uint16_t freq_milli) in bmi160_acc_odr_set() argument
284 int odr = bmi160_freq_to_odr_val(freq_int, freq_milli); in bmi160_acc_odr_set()
536 uint16_t freq_milli) 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.c144 uint16_t freq_milli; /* User should convert to uHz before setting the 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()
168 freq_milli <= adxl362_odr_map[i].freq_milli)) { in adxl362_freq_to_odr_val()