Searched refs:fxos8700_odr (Results 1 – 1 of 1) sorted by relevance
280 struct fxos8700_odr { struct297 static const struct fxos8700_odr fxos8700_odr[] = { argument485 static const int odr_num = ARRAY_SIZE(fxos8700_odr); in fxos8700_set_odr()505 if (fxos8700_odr[i].odr == odr && fxos8700_odr[i].uodr == uodr) in fxos8700_set_odr()512 val |= FIELD_PREP(FXOS8700_CTRL_ODR_MSK, fxos8700_odr[i].bits) | FXOS8700_ACTIVE; in fxos8700_set_odr()520 static const int odr_num = ARRAY_SIZE(fxos8700_odr); in fxos8700_get_odr()529 if (val == fxos8700_odr[i].bits) in fxos8700_get_odr()535 *odr = fxos8700_odr[i].odr; in fxos8700_get_odr()536 *uodr = fxos8700_odr[i].uodr; in fxos8700_get_odr()