Home
last modified time | relevance | path

Searched refs:aq_ptp (Results 1 – 7 of 7) sorted by relevance

/drivers/net/ethernet/aquantia/atlantic/
Daq_ptp.c98 struct aq_ptp_s *aq_ptp = aq_nic->aq_ptp; in aq_ptp_tm_offset_set() local
101 if (!aq_ptp) in aq_ptp_tm_offset_set()
115 atomic_set(&aq_ptp->offset_egress, egress); in aq_ptp_tm_offset_set()
116 atomic_set(&aq_ptp->offset_ingress, ingress); in aq_ptp_tm_offset_set()
223 static void aq_ptp_tx_timeout_start(struct aq_ptp_s *aq_ptp) in aq_ptp_tx_timeout_start() argument
225 struct ptp_tx_timeout *timeout = &aq_ptp->ptp_tx_timeout; in aq_ptp_tx_timeout_start()
234 static void aq_ptp_tx_timeout_update(struct aq_ptp_s *aq_ptp) in aq_ptp_tx_timeout_update() argument
236 if (!aq_ptp_skb_buf_len(&aq_ptp->skb_ring)) { in aq_ptp_tx_timeout_update()
237 struct ptp_tx_timeout *timeout = &aq_ptp->ptp_tx_timeout; in aq_ptp_tx_timeout_update()
246 static void aq_ptp_tx_timeout_check(struct aq_ptp_s *aq_ptp) in aq_ptp_tx_timeout_check() argument
[all …]
Daq_ptp.h62 void aq_ptp_hwtstamp_config_get(struct aq_ptp_s *aq_ptp,
64 int aq_ptp_hwtstamp_config_set(struct aq_ptp_s *aq_ptp,
73 struct ptp_clock *aq_ptp_get_ptp_clock(struct aq_ptp_s *aq_ptp);
132 static inline void aq_ptp_hwtstamp_config_get(struct aq_ptp_s *aq_ptp, in aq_ptp_hwtstamp_config_get() argument
134 static inline int aq_ptp_hwtstamp_config_set(struct aq_ptp_s *aq_ptp, in aq_ptp_hwtstamp_config_set() argument
152 static inline struct ptp_clock *aq_ptp_get_ptp_clock(struct aq_ptp_s *aq_ptp) in aq_ptp_get_ptp_clock() argument
Daq_main.c260 return aq_ptp_hwtstamp_config_set(aq_nic->aq_ptp, config); in aq_ndev_config_hwtstamp()
271 if (!aq_nic->aq_ptp) in aq_ndev_hwtstamp_set()
291 if (!aq_nic->aq_ptp) in aq_ndev_hwtstamp_get()
294 aq_ptp_hwtstamp_config_get(aq_nic->aq_ptp, &config); in aq_ndev_hwtstamp_get()
DMakefile36 atlantic-$(CONFIG_PTP_1588_CLOCK) += aq_ptp.o
Daq_ethtool.c288 if (nic->aq_ptp) { in aq_ethtool_get_strings()
646 if (!aq_nic->aq_ptp) in aq_ethtool_get_ts_info()
664 info->phc_index = ptp_clock_index(aq_ptp_get_ptp_clock(aq_nic->aq_ptp)); in aq_ethtool_get_ts_info()
Daq_nic.h159 struct aq_ptp_s *aq_ptp; member
Daq_nic.c174 if (self->aq_ptp) { in aq_nic_update_link_status()