Home
last modified time | relevance | path

Searched refs:max_odr (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.6.0/drivers/sensor/bmc150_magn/
Dbmc150_magn.c139 int rep_z, int *max_odr) in bmc150_magn_compute_max_odr() argument
161 *max_odr = 1000000 / (145 * rep_xy + 500 * rep_z + 980); in bmc150_magn_compute_max_odr()
362 int max_odr; in bmc150_magn_attr_set_rep() local
373 &max_odr) < 0) { in bmc150_magn_attr_set_rep()
383 if (data->odr > max_odr) { in bmc150_magn_attr_set_rep()
399 &max_odr) < 0) { in bmc150_magn_attr_set_rep()
409 if (data->odr > max_odr) { in bmc150_magn_attr_set_rep()
437 if (data->max_odr <= 0) { in bmc150_magn_attr_set()
439 &data->max_odr) < 0) { in bmc150_magn_attr_set()
444 if (data->max_odr < val->val1) { in bmc150_magn_attr_set()
[all …]
Dbmc150_magn.h128 int rep_xy, rep_z, odr, max_odr; member
/Zephyr-Core-3.6.0/drivers/sensor/bmm150/
Dbmm150.c148 int rep_z, int *max_odr) in bmm150_compute_max_odr() argument
171 *max_odr = 1000000 / (145 * rep_xy + 500 * rep_z + 980); in bmm150_compute_max_odr()
386 int max_odr; in bmm150_attr_set_rep() local
397 &max_odr) < 0) { in bmm150_attr_set_rep()
407 if (data->odr > max_odr) { in bmm150_attr_set_rep()
424 &max_odr) < 0) { in bmm150_attr_set_rep()
434 if (data->odr > max_odr) { in bmm150_attr_set_rep()
462 if (data->max_odr <= 0) { in bmm150_attr_set()
464 &data->max_odr) < 0) { in bmm150_attr_set()
469 if (data->max_odr < val->val1) { in bmm150_attr_set()
[all …]
Dbmm150.h168 int rep_xy, rep_z, odr, max_odr; member