Searched refs:max_odr (Results 1 – 4 of 4) 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 | 145 int max_odr; member 329 int ret, reg_val, max_odr; in bmc150_magn_set_max_odr() local 351 max_odr = 1000000 / (145 * rep_xy + 500 * rep_z + 980); in bmc150_magn_set_max_odr() 352 if (odr > max_odr) { in bmc150_magn_set_max_odr() 358 data->max_odr = max_odr; in bmc150_magn_set_max_odr() 537 if (val > data->max_odr) in bmc150_magn_write_raw() 587 if (bmc150_magn_samp_freq_table[i].freq > data->max_odr) in bmc150_magn_show_samp_freq_avail()
|
| /linux/drivers/iio/accel/ |
| H A D | adxl372.h | 22 unsigned int max_odr; member
|
| H A D | adxl372.c | 269 .max_odr = ADXL371_ODR_5120HZ, 284 .max_odr = ADXL372_ODR_6400HZ, 543 if (st->odr == st->chip_info->max_odr) in adxl372_set_activity_time_ms() 574 if (st->odr == st->chip_info->max_odr) in adxl372_set_inactivity_time_ms() 787 ret = adxl372_set_odr(st, st->chip_info->max_odr); in adxl372_setup()
|