Searched refs:max_odr (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/iio/imu/st_lsm6dsx/ |
| H A D | st_lsm6dsx_buffer.c | 106 st_lsm6dsx_get_decimator_val(struct st_lsm6dsx_sensor *sensor, u32 max_odr) in st_lsm6dsx_get_decimator_val() argument 109 u32 decimator = max_odr / sensor->hwfifo_odr_mHz; in st_lsm6dsx_get_decimator_val() 125 u32 *max_odr, u32 *min_odr) in st_lsm6dsx_get_max_min_odr() argument 130 *max_odr = 0, *min_odr = ~0; in st_lsm6dsx_get_max_min_odr() 140 *max_odr = max(*max_odr, sensor->hwfifo_odr_mHz); in st_lsm6dsx_get_max_min_odr() 157 u32 max_odr, min_odr; in st_lsm6dsx_update_decimators() local 161 st_lsm6dsx_get_max_min_odr(hw, &max_odr, &min_odr); in st_lsm6dsx_update_decimators() 173 data = st_lsm6dsx_get_decimator_val(sensor, max_odr); in st_lsm6dsx_update_decimators()
|
| /linux/drivers/iio/magnetometer/ |
| H A D | bmc150_magn.c | 144 int max_odr; member 319 int ret, reg_val, max_odr; in bmc150_magn_set_max_odr() local 341 max_odr = 1000000 / (145 * rep_xy + 500 * rep_z + 980); in bmc150_magn_set_max_odr() 342 if (odr > max_odr) { in bmc150_magn_set_max_odr() 348 data->max_odr = max_odr; in bmc150_magn_set_max_odr() 531 if (val > data->max_odr) in bmc150_magn_write_raw() 590 if (bmc150_magn_samp_freq_table[i].freq > data->max_odr) in bmc150_magn_show_samp_freq_avail()
|