Lines Matching refs:fix_interval_ms
38 uint32_t fix_interval_ms; member
69 data->fix_timestamp_ms = ((uptime_ms / data->fix_interval_ms) + 1) * data->fix_interval_ms; in gnss_emul_update_fix_timestamp()
131 static int gnss_emul_set_fix_rate(const struct device *dev, uint32_t fix_interval_ms) in gnss_emul_set_fix_rate() argument
135 if (fix_interval_ms < GNSS_EMUL_MIN_FIX_INTERVAL_MS) { in gnss_emul_set_fix_rate()
139 data->fix_interval_ms = fix_interval_ms; in gnss_emul_set_fix_rate()
143 static int gnss_emul_get_fix_rate(const struct device *dev, uint32_t *fix_interval_ms) in gnss_emul_get_fix_rate() argument
147 *fix_interval_ms = data->fix_interval_ms; in gnss_emul_get_fix_rate()
229 static int gnss_emul_api_set_fix_rate(const struct device *dev, uint32_t fix_interval_ms) in gnss_emul_api_set_fix_rate() argument
239 ret = gnss_emul_set_fix_rate(dev, fix_interval_ms); in gnss_emul_api_set_fix_rate()
246 static int gnss_emul_api_get_fix_rate(const struct device *dev, uint32_t *fix_interval_ms) in gnss_emul_api_get_fix_rate() argument
256 ret = gnss_emul_get_fix_rate(dev, fix_interval_ms); in gnss_emul_api_get_fix_rate()
492 .fix_interval_ms = GNSS_EMUL_DEFAULT_FIX_INTERVAL_MS, \