Searched refs:GPTP_GLOBAL_DS (Results 1 – 7 of 7) sorted by relevance
40 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()
79 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()648 gm_present = GPTP_GLOBAL_DS()->gm_present; in gptp_mi_site_sync_sync_state_machine()700 global_ds = GPTP_GLOBAL_DS(); in gptp_mi_clk_slave_sync_compute()746 global_ds = GPTP_GLOBAL_DS(); in gptp_update_local_port_clock()876 global_ds = GPTP_GLOBAL_DS(); in gptp_mi_clk_master_sync_offset_state_machine()920 global_ds = GPTP_GLOBAL_DS(); in gptp_mi_setup_sync_send_time()942 global_ds = GPTP_GLOBAL_DS(); in gptp_mi_set_ps_sync_cmss()[all …]
60 return (GPTP_GLOBAL_DS()->selected_role[port] == GPTP_PORT_SLAVE); in gptp_is_slave_port()359 global_ds = GPTP_GLOBAL_DS(); in gptp_init_clock_ds()522 switch (GPTP_GLOBAL_DS()->selected_role[port]) { in gptp_state_machine()536 GPTP_GLOBAL_DS()->selected_role[port] = GPTP_PORT_DISABLED; in gptp_state_machine()937 GPTP_GLOBAL_DS()->selected_role[port] = GPTP_PORT_DISABLED; in disable_port()956 GPTP_GLOBAL_DS()->selected_role[port] = GPTP_PORT_SLAVE; in vlan_enabled()
45 #define GPTP_GLOBAL_DS() (&gptp_domain.global_ds) macro
479 global_ds = GPTP_GLOBAL_DS(); in gptp_prepare_announce()
53 switch (GPTP_GLOBAL_DS()->selected_role[port]) { in get_current_status()
2948 switch (GPTP_GLOBAL_DS()->selected_role[port]) { in selected_role_str()