Lines Matching +full:0 +full:xa00000
13 #define WX_INCVAL_10GB 0xCCCCCC
14 #define WX_INCVAL_1GB 0x800000
15 #define WX_INCVAL_100 0xA00000
16 #define WX_INCVAL_10 0xC7F380
17 #define WX_INCVAL_EM 0x2000000
18 #define WX_INCVAL_AML 0xA00000
74 mask = (wx->mac.type == wx_mac_em) ? 0x7FFFFFF : 0xFFFFFF; in wx_ptp_adjfine()
81 return 0; in wx_ptp_adjfine()
96 return 0; in wx_ptp_adjtime()
110 return 0; in wx_ptp_gettimex64()
129 return 0; in wx_ptp_settime64()
189 u64 regval = 0; in wx_ptp_tx_hwtstamp()
210 return 0; in wx_ptp_tx_hwtstamp_work()
217 return 0; in wx_ptp_tx_hwtstamp_work()
277 for (n = 0; n < wx->num_rx_queues; n++) { in wx_ptp_rx_hang()
339 u64 ns = 0; in wx_ptp_trigger_calc()
377 wr32ptp(wx, WX_TSC_1588_AUX_CTL, 0); in wx_ptp_setup_sdp()
383 wx_set_pps(wx, false, 0, 0); in wx_ptp_setup_sdp()
385 return 0; in wx_ptp_setup_sdp()
394 wr32ptp(wx, WX_TSC_1588_TRGT_L(0), (u32)wx->pps_edge_start); in wx_ptp_setup_sdp()
395 wr32ptp(wx, WX_TSC_1588_TRGT_H(0), (u32)(wx->pps_edge_start >> 32)); in wx_ptp_setup_sdp()
398 wr32ptp(wx, WX_TSC_1588_SDP(0), in wx_ptp_setup_sdp()
408 return 0; in wx_ptp_setup_sdp()
472 wr32ptp(wx, WX_TSC_1588_AUX_CTL, 0); in wx_ptp_check_pps_event()
479 wr32ptp(wx, WX_TSC_1588_TRGT_L(0), (u32)wx->pps_edge_start); in wx_ptp_check_pps_event()
480 wr32ptp(wx, WX_TSC_1588_TRGT_H(0), (u32)(wx->pps_edge_start >> 32)); in wx_ptp_check_pps_event()
496 return 0; in wx_ptp_create_clock()
501 wx->ptp_caps.n_alarm = 0; in wx_ptp_create_clock()
502 wx->ptp_caps.n_ext_ts = 0; in wx_ptp_create_clock()
503 wx->ptp_caps.pps = 0; in wx_ptp_create_clock()
519 wx->ptp_caps.n_per_out = 0; in wx_ptp_create_clock()
550 return 0; in wx_ptp_create_clock()
567 tsync_tx_ctl = 0; in wx_ptp_set_timestamp_mode()
577 tsync_rx_ctl = 0; in wx_ptp_set_timestamp_mode()
578 tsync_rx_mtrl = 0; in wx_ptp_set_timestamp_mode()
626 wr32(wx, WX_PSR_ETYPE_SWC(WX_PSR_ETYPE_SWC_FILTER_1588), 0); in wx_ptp_set_timestamp_mode()
652 return 0; in wx_ptp_set_timestamp_mode()
711 u32 incval = 0, mask = 0; in wx_ptp_reset_cyclecounter()
728 cc.shift = 0; in wx_ptp_reset_cyclecounter()
736 mask = (wx->mac.type == wx_mac_em) ? 0x7FFFFFF : 0xFFFFFF; in wx_ptp_reset_cyclecounter()
759 wr32ptp(wx, WX_TSC_1588_SYSTIML, 0); in wx_ptp_reset()
760 wr32ptp(wx, WX_TSC_1588_SYSTIMH, 0); in wx_ptp_reset()
790 wx->tx_hwtstamp_pkts = 0; in wx_ptp_init()
791 wx->tx_hwtstamp_timeouts = 0; in wx_ptp_init()
792 wx->tx_hwtstamp_skipped = 0; in wx_ptp_init()
793 wx->tx_hwtstamp_errors = 0; in wx_ptp_init()
794 wx->rx_hwtstamp_cleared = 0; in wx_ptp_init()
856 u64 regval = 0; in wx_ptp_rx_hwtstamp()
882 return 0; in wx_hwtstamp_get()
903 return 0; in wx_hwtstamp_set()