Searched refs:max_odr (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.4/drivers/iio/imu/st_lsm6dsx/ |
| D | st_lsm6dsx_buffer.c | 101 u16 *max_odr, u16 *min_odr) in st_lsm6dsx_get_max_min_odr() argument 106 *max_odr = 0, *min_odr = ~0; in st_lsm6dsx_get_max_min_odr() 116 *max_odr = max_t(u16, *max_odr, sensor->odr); in st_lsm6dsx_get_max_min_odr() 123 u16 max_odr, min_odr, sip = 0, ts_sip = 0; in st_lsm6dsx_update_decimators() local 129 st_lsm6dsx_get_max_min_odr(hw, &max_odr, &min_odr); in st_lsm6dsx_update_decimators() 141 sensor->decimator = max_odr / sensor->odr; in st_lsm6dsx_update_decimators()
|
| /Linux-v5.4/drivers/iio/magnetometer/ |
| D | bmc150_magn.c | 143 int max_odr; member 326 int ret, reg_val, max_odr; in bmc150_magn_set_max_odr() local 348 max_odr = 1000000 / (145 * rep_xy + 500 * rep_z + 980); in bmc150_magn_set_max_odr() 349 if (odr > max_odr) { in bmc150_magn_set_max_odr() 355 data->max_odr = max_odr; in bmc150_magn_set_max_odr() 538 if (val > data->max_odr) in bmc150_magn_write_raw() 597 if (bmc150_magn_samp_freq_table[i].freq > data->max_odr) in bmc150_magn_show_samp_freq_avail()
|