Lines Matching full:odr
25 static inline int lps22hh_set_odr_raw(const struct device *dev, uint8_t odr) in lps22hh_set_odr_raw() argument
30 return lps22hh_data_rate_set(ctx, odr); in lps22hh_set_odr_raw()
130 int odr; in lps22hh_odr_set() local
132 for (odr = 0; odr < ARRAY_SIZE(lps22hh_map); odr++) { in lps22hh_odr_set()
133 if (freq == lps22hh_map[odr]) { in lps22hh_odr_set()
138 if (odr == ARRAY_SIZE(lps22hh_map)) { in lps22hh_odr_set()
143 if (lps22hh_set_odr_raw(dev, odr) < 0) { in lps22hh_odr_set()
239 /* set sensor default odr */ in lps22hh_init_chip()
240 LOG_DBG("%s: odr: %d", dev->name, cfg->odr); in lps22hh_init_chip()
241 ret = lps22hh_set_odr_raw(dev, cfg->odr); in lps22hh_init_chip()
243 LOG_ERR("%s: Failed to set odr %d", dev->name, cfg->odr); in lps22hh_init_chip()
288 .odr = DT_INST_PROP(inst, odr), \