Lines Matching full:odr
169 enum adxl367_odr odr; member
523 int freq_hz = adxl367_samp_freq_tbl[st->odr][0]; in adxl367_time_ms_to_samples()
524 int freq_microhz = adxl367_samp_freq_tbl[st->odr][1]; in adxl367_time_ms_to_samples()
596 static int _adxl367_set_odr(struct adxl367_state *st, enum adxl367_odr odr) in _adxl367_set_odr() argument
603 odr)); in _adxl367_set_odr()
607 /* Activity timers depend on ODR */ in _adxl367_set_odr()
616 st->odr = odr; in _adxl367_set_odr()
621 static int adxl367_set_odr(struct iio_dev *indio_dev, enum adxl367_odr odr) in adxl367_set_odr() argument
633 ret = _adxl367_set_odr(st, odr); in adxl367_set_odr()
687 enum adxl367_odr *odr) in adxl367_find_odr() argument
700 *odr = i; in adxl367_find_odr()
891 *val = adxl367_samp_freq_tbl[st->odr][0]; in adxl367_read_raw()
892 *val2 = adxl367_samp_freq_tbl[st->odr][1]; in adxl367_read_raw()
909 enum adxl367_odr odr; in adxl367_write_raw() local
911 ret = adxl367_find_odr(st, val, val2, &odr); in adxl367_write_raw()
915 return adxl367_set_odr(indio_dev, odr); in adxl367_write_raw()