Home
last modified time | relevance | path

Searched refs:current_time (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/scripts/footprint/
Dupload_data.py27 def create_event(data, board, feature, commit, current_time, typ, application): argument
41 "time": current_time,
125 current_time = gitcommit.committed_datetime
129 current_time = gitcommit.committed_datetime
131 print(current_time)
134 create_event(data, board, feature, commit, current_time, typ, app)
/Zephyr-latest/drivers/misc/timeaware_gpio/
Dtimeaware_gpio_handlers.c9 static inline int z_vrfy_tgpio_port_get_time(const struct device *port, uint64_t *current_time) in z_vrfy_tgpio_port_get_time() argument
12 K_OOPS(Z_SYSCALL_MEMORY_WRITE(current_time, sizeof(uint64_t))); in z_vrfy_tgpio_port_get_time()
13 return z_impl_tgpio_port_get_time((const struct device *)port, (uint64_t *)current_time); in z_vrfy_tgpio_port_get_time()
Dtimeaware_gpio_intel.c68 uint64_t *current_time) in tgpio_intel_get_time() argument
70 *current_time = sys_read32(regs(dev) + ART_L); in tgpio_intel_get_time()
71 *current_time += ((uint64_t)sys_read32(regs(dev) + ART_H) << UINT32_SIZE); in tgpio_intel_get_time()
/Zephyr-latest/include/zephyr/drivers/misc/timeaware_gpio/
Dtimeaware_gpio.h54 int (*get_time)(const struct device *dev, uint64_t *current_time);
76 __syscall int tgpio_port_get_time(const struct device *dev, uint64_t *current_time);
78 static inline int z_impl_tgpio_port_get_time(const struct device *dev, uint64_t *current_time) in z_impl_tgpio_port_get_time() argument
82 return api->get_time(dev, current_time); in z_impl_tgpio_port_get_time()
/Zephyr-latest/subsys/lorawan/services/
Dmulticast.c85 uint32_t current_time; in multicast_schedule_class_c_session() local
89 err = lorawan_clock_sync_get(&current_time); in multicast_schedule_class_c_session()
90 time_to_start = session_time - current_time; in multicast_schedule_class_c_session()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/os_mgmt/src/
Dos_mgmt.c840 struct rtc_time current_time; in os_mgmt_datetime_read() local
863 rc = rtc_get_time(RTC_DEVICE, &current_time); in os_mgmt_datetime_read()
879 , (uint16_t)(current_time.tm_year + RTC_DATETIME_YEAR_OFFSET), in os_mgmt_datetime_read()
880 (uint8_t)(current_time.tm_mon + RTC_DATETIME_MONTH_OFFSET), in os_mgmt_datetime_read()
881 (uint8_t)current_time.tm_mday, (uint8_t)current_time.tm_hour, in os_mgmt_datetime_read()
882 (uint8_t)current_time.tm_min, (uint8_t)current_time.tm_sec in os_mgmt_datetime_read()
884 , (uint16_t)(current_time.tm_nsec / RTC_DATETIME_MS_TO_NS) in os_mgmt_datetime_read()
/Zephyr-latest/subsys/net/lib/ptp/
Dds.h51 struct net_ptp_time current_time; member
/Zephyr-latest/drivers/counter/
Drtc_mcp7940n.c493 time_t current_time; in mcp7940n_counter_set_alarm() local
517 rc = read_time(dev, &current_time); in mcp7940n_counter_set_alarm()
522 alarm_time = current_time + seconds_until_alarm; in mcp7940n_counter_set_alarm()
553 data->counter_ticks[alarm_id] = current_time; in mcp7940n_counter_set_alarm()
/Zephyr-latest/subsys/net/l2/ethernet/gptp/
Dgptp_mi.c949 uint64_t current_time; in gptp_mi_set_ps_sync_cmss() local
958 current_time = gptp_get_current_master_time_nanosecond(); in gptp_mi_set_ps_sync_cmss()
960 sync_info->precise_orig_ts.second = current_time / NSEC_PER_SEC; in gptp_mi_set_ps_sync_cmss()
961 sync_info->precise_orig_ts.nanosecond = current_time % NSEC_PER_SEC; in gptp_mi_set_ps_sync_cmss()
1014 uint64_t current_time; in gptp_mi_clk_master_sync_snd_state_machine() local
1026 current_time = gptp_get_current_master_time_nanosecond(); in gptp_mi_clk_master_sync_snd_state_machine()
1028 if (current_time >= state->sync_send_time.low) { in gptp_mi_clk_master_sync_snd_state_machine()
/Zephyr-latest/subsys/mgmt/ec_host_cmd/backends/
Dec_host_cmd_backend_spi_stm32.c616 int64_t current_time; in wait_for_rx_bytes() local
623 current_time = k_ticks_to_us_floor64(k_uptime_ticks()); in wait_for_rx_bytes()
643 if (current_time >= deadline) { in wait_for_rx_bytes()
/Zephyr-latest/subsys/net/ip/
Dipv6_pe.c234 uint32_t current_time; in gen_temporary_iid() member
239 .current_time = k_uptime_get_32(), in gen_temporary_iid()
Dnet_if.c810 uint32_t current_time = k_uptime_get_32(); in iface_router_expired() local
820 int32_t ends = iface_router_ends(router, current_time); in iface_router_expired()
836 iface_router_update_timer(current_time); in iface_router_expired()
1224 uint32_t current_time = k_uptime_get_32(); in dad_timeout() local
1241 DAD_TIMEOUT - current_time); in dad_timeout()
1460 uint32_t current_time = k_uptime_get_32(); in rs_timeout() local
1476 delay = (int32_t)(ipv6->rs_start + RS_TIMEOUT - current_time); in rs_timeout()
1490 RS_TIMEOUT - current_time)); in rs_timeout()
1714 uint32_t current_time = k_uptime_get_32(); in address_lifetime_timeout() local
1725 current_time); in address_lifetime_timeout()
[all …]
Droute.c491 uint32_t current_time = k_uptime_get_32(); in route_lifetime_timeout() local
502 current_time); in route_lifetime_timeout()