Searched refs:freq_int (Results 1 – 8 of 8) sorted by relevance
/Zephyr-latest/drivers/sensor/bosch/bmi08x/ |
D | bmi08x.c | 19 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()
|
D | bmi08x_gyro.c | 149 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()
|
D | bmi08x.h | 548 int bmi08x_freq_to_odr_val(uint16_t freq_int, uint16_t freq_milli);
|
D | bmi08x_accel.c | 269 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/ |
D | bmp388.c | 26 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/ |
D | bmi160.c | 249 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/ |
D | adxl362.c | 143 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/ |
D | lsm9ds0_mfd.c | 54 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()
|