Searched refs:fix_interval_ms (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/drivers/gnss/ |
D | gnss_emul.c | 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 [all …]
|
D | gnss_luatos_air530z.c | 269 static int luatos_air530z_set_fix_rate(const struct device *dev, uint32_t fix_interval_ms) in luatos_air530z_set_fix_rate() argument 274 if (fix_interval_ms < 100 || fix_interval_ms > 1000) { in luatos_air530z_set_fix_rate() 281 "PCAS02,%u", fix_interval_ms); in luatos_air530z_set_fix_rate()
|
D | gnss_quectel_lcx6g.c | 309 static int quectel_lcx6g_set_fix_rate(const struct device *dev, uint32_t fix_interval_ms) in quectel_lcx6g_set_fix_rate() argument 314 if (fix_interval_ms < 100 || fix_interval_ms > 1000) { in quectel_lcx6g_set_fix_rate() 321 "PAIR050,%u", fix_interval_ms); in quectel_lcx6g_set_fix_rate() 369 static int quectel_lcx6g_get_fix_rate(const struct device *dev, uint32_t *fix_interval_ms) in quectel_lcx6g_get_fix_rate() argument 400 *fix_interval_ms = data->fix_rate_response; in quectel_lcx6g_get_fix_rate()
|
D | gnss_u_blox_m8.c | 855 static int ubx_m8_set_fix_rate(const struct device *dev, uint32_t fix_interval_ms) in ubx_m8_set_fix_rate() argument 862 if (fix_interval_ms < 50) { in ubx_m8_set_fix_rate() 869 payload.meas_rate_ms = fix_interval_ms; in ubx_m8_set_fix_rate() 885 static int ubx_m8_get_fix_rate(const struct device *dev, uint32_t *fix_interval_ms) in ubx_m8_get_fix_rate() argument 908 *fix_interval_ms = payload->meas_rate_ms; in ubx_m8_get_fix_rate()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | gnss.h | 47 typedef int (*gnss_set_fix_rate_t)(const struct device *dev, uint32_t fix_interval_ms); 50 typedef int (*gnss_get_fix_rate_t)(const struct device *dev, uint32_t *fix_interval_ms); 236 __syscall int gnss_set_fix_rate(const struct device *dev, uint32_t fix_interval_ms); 238 static inline int z_impl_gnss_set_fix_rate(const struct device *dev, uint32_t fix_interval_ms) in z_impl_gnss_set_fix_rate() argument 246 return api->set_fix_rate(dev, fix_interval_ms); in z_impl_gnss_set_fix_rate() 258 __syscall int gnss_get_fix_rate(const struct device *dev, uint32_t *fix_interval_ms); 260 static inline int z_impl_gnss_get_fix_rate(const struct device *dev, uint32_t *fix_interval_ms) in z_impl_gnss_get_fix_rate() argument 268 return api->get_fix_rate(dev, fix_interval_ms); in z_impl_gnss_get_fix_rate()
|