Searched refs:max_odr (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/iio/imu/st_lsm6dsx/ |
D | st_lsm6dsx_buffer.c | 105 st_lsm6dsx_get_decimator_val(struct st_lsm6dsx_sensor *sensor, u32 max_odr) in st_lsm6dsx_get_decimator_val() argument 108 u32 decimator = max_odr / sensor->odr; in st_lsm6dsx_get_decimator_val() 124 u32 *max_odr, u32 *min_odr) in st_lsm6dsx_get_max_min_odr() argument 129 *max_odr = 0, *min_odr = ~0; in st_lsm6dsx_get_max_min_odr() 139 *max_odr = max_t(u32, *max_odr, sensor->odr); in st_lsm6dsx_get_max_min_odr() 156 u32 max_odr, min_odr; in st_lsm6dsx_update_decimators() local 160 st_lsm6dsx_get_max_min_odr(hw, &max_odr, &min_odr); in st_lsm6dsx_update_decimators() 172 data = st_lsm6dsx_get_decimator_val(sensor, max_odr); in st_lsm6dsx_update_decimators()
|
/linux-6.12.1/drivers/iio/magnetometer/ |
D | bmc150_magn.c | 148 int max_odr; member 328 int ret, reg_val, max_odr; in bmc150_magn_set_max_odr() local 350 max_odr = 1000000 / (145 * rep_xy + 500 * rep_z + 980); in bmc150_magn_set_max_odr() 351 if (odr > max_odr) { in bmc150_magn_set_max_odr() 357 data->max_odr = max_odr; in bmc150_magn_set_max_odr() 540 if (val > data->max_odr) in bmc150_magn_write_raw() 599 if (bmc150_magn_samp_freq_table[i].freq > data->max_odr) in bmc150_magn_show_samp_freq_avail()
|