Lines Matching full:odr
488 unsigned int odr; in bma400_get_accel_output_data_rate() local
503 * In normal mode the ODR can be found in the ACC_CONFIG1 in bma400_get_accel_output_data_rate()
510 odr = val & BMA400_ACC_ODR_MASK; in bma400_get_accel_output_data_rate()
511 if (odr < BMA400_ACC_ODR_MIN_RAW || in bma400_get_accel_output_data_rate()
512 odr > BMA400_ACC_ODR_MAX_RAW) { in bma400_get_accel_output_data_rate()
517 bma400_output_data_rate_from_raw(odr, &data->sample_freq.hz, in bma400_get_accel_output_data_rate()
538 unsigned int odr; in bma400_set_accel_output_data_rate() local
564 odr = (~BMA400_ACC_ODR_MASK & val) | idx; in bma400_set_accel_output_data_rate()
566 ret = regmap_write(data->regmap, BMA400_ACC_CONFIG1_REG, odr); in bma400_set_accel_output_data_rate()
773 * Update our cached osr and odr based on the new in bma400_set_power_mode()
898 * lists 2/ODR as the wakeup time. in bma400_init()
928 * variable ODR filter selectable by the sample frequency in bma400_init()