Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_buffer.c86 u16 *max_odr, u16 *min_odr) in st_lsm6dsx_get_max_min_odr() argument
91 *max_odr = 0, *min_odr = ~0; in st_lsm6dsx_get_max_min_odr()
98 *max_odr = max_t(u16, *max_odr, sensor->odr); in st_lsm6dsx_get_max_min_odr()
105 u16 max_odr, min_odr, sip = 0, ts_sip = 0; in st_lsm6dsx_update_decimators() local
111 st_lsm6dsx_get_max_min_odr(hw, &max_odr, &min_odr); in st_lsm6dsx_update_decimators()
120 sensor->decimator = max_odr / sensor->odr; in st_lsm6dsx_update_decimators()
/linux-4.19.296/drivers/iio/magnetometer/
Dbmc150_magn.c150 int max_odr; member
333 int ret, reg_val, max_odr; in bmc150_magn_set_max_odr() local
355 max_odr = 1000000 / (145 * rep_xy + 500 * rep_z + 980); in bmc150_magn_set_max_odr()
356 if (odr > max_odr) { in bmc150_magn_set_max_odr()
362 data->max_odr = max_odr; in bmc150_magn_set_max_odr()
545 if (val > data->max_odr) in bmc150_magn_write_raw()
604 if (bmc150_magn_samp_freq_table[i].freq > data->max_odr) in bmc150_magn_show_samp_freq_avail()