Lines Matching full:odr
117 * ODR * 0.lpf_values. So, for ODR = 800Hz with a lpf value = 0.32
126 * ODR * 0.0hpf_values. So, for ODR = 800Hz with a hpf value = 0.018750
447 static int fxas21002c_odr_get(struct fxas21002c_data *data, int *odr) in fxas21002c_odr_get() argument
457 *odr = fxas21002c_odr_hz_from_value(data, odr_bits); in fxas21002c_odr_get()
467 static int fxas21002c_odr_set(struct fxas21002c_data *data, int odr) in fxas21002c_odr_set() argument
471 odr_bits = fxas21002c_odr_value_from_hz(data, odr); in fxas21002c_odr_set()
501 int odr; in fxas21002c_lpf_set() local
509 * From table 33 of the device spec, for ODR = 25Hz and 12.5 value 0.08 in fxas21002c_lpf_set()
510 * is not allowed and for ODR = 12.5 value 0.16 is also not allowed in fxas21002c_lpf_set()
512 ret = fxas21002c_odr_get(data, &odr); in fxas21002c_lpf_set()
516 if ((odr == 25 && bw_bits > 0x01) || (odr == 12 && bw_bits > 0)) in fxas21002c_lpf_set()
778 /* Set ODR to 200HZ as default */ in fxas21002c_chip_init()
781 dev_err(dev, "failed to set ODR: %d\n", ret); in fxas21002c_chip_init()