Home
last modified time | relevance | path

Searched refs:GPTP_GLOBAL_DS (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/subsys/net/l2/ethernet/gptp/
Dgptp_user_api.c40 global_ds = GPTP_GLOBAL_DS(); in gptp_call_phase_dis_cb()
60 *gm_present = GPTP_GLOBAL_DS()->gm_present; in gptp_event_capture()
64 if (!*gm_present || (GPTP_GLOBAL_DS()->selected_role[port] == in gptp_event_capture()
Dgptp_mi.c79 struct gptp_global_ds *global_ds = GPTP_GLOBAL_DS(); in gptp_change_port_state_debug()
362 port_role = GPTP_GLOBAL_DS()->selected_role; in gptp_get_current_master_time_nanosecond()
452 if (GPTP_GLOBAL_DS()->gm_present) { in gptp_mi_pss_rcv_state_machine()
510 global_ds = GPTP_GLOBAL_DS(); in gptp_mi_pss_send_state_machine()
657 gm_present = GPTP_GLOBAL_DS()->gm_present; in gptp_mi_site_sync_sync_state_machine()
709 global_ds = GPTP_GLOBAL_DS(); in gptp_mi_clk_slave_sync_compute()
755 global_ds = GPTP_GLOBAL_DS(); in gptp_update_local_port_clock()
885 global_ds = GPTP_GLOBAL_DS(); in gptp_mi_clk_master_sync_offset_state_machine()
929 global_ds = GPTP_GLOBAL_DS(); in gptp_mi_setup_sync_send_time()
951 global_ds = GPTP_GLOBAL_DS(); in gptp_mi_set_ps_sync_cmss()
[all …]
Dgptp.c58 return (GPTP_GLOBAL_DS()->selected_role[port] == GPTP_PORT_SLAVE); in gptp_is_slave_port()
357 global_ds = GPTP_GLOBAL_DS(); in gptp_init_clock_ds()
520 switch (GPTP_GLOBAL_DS()->selected_role[port]) { in gptp_state_machine()
534 GPTP_GLOBAL_DS()->selected_role[port] = GPTP_PORT_DISABLED; in gptp_state_machine()
Dgptp_data_set.h45 #define GPTP_GLOBAL_DS() (&gptp_domain.global_ds) macro
Dgptp_md.c51 if (memcmp(GPTP_GLOBAL_DS()->gm_priority.root_system_id.grand_master_id, in gptp_md_follow_up_prepare()
53 GPTP_GLOBAL_DS()->gm_present) { in gptp_md_follow_up_prepare()
Dgptp_messages.c480 global_ds = GPTP_GLOBAL_DS(); in gptp_prepare_announce()
/Zephyr-latest/samples/net/gptp/src/
Dgptp.c53 switch (GPTP_GLOBAL_DS()->selected_role[port]) { in get_current_status()
/Zephyr-latest/subsys/net/lib/shell/
Dgptp.c247 switch (GPTP_GLOBAL_DS()->selected_role[port]) { in selected_role_str()