Searched refs:aq_ptp (Results 1 – 7 of 7) sorted by relevance
98 struct aq_ptp_s *aq_ptp = aq_nic->aq_ptp; in aq_ptp_tm_offset_set() local101 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() argument225 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() argument236 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 …]
62 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() argument134 static inline int aq_ptp_hwtstamp_config_set(struct aq_ptp_s *aq_ptp, in aq_ptp_hwtstamp_config_set() argument152 static inline struct ptp_clock *aq_ptp_get_ptp_clock(struct aq_ptp_s *aq_ptp) in aq_ptp_get_ptp_clock() argument
260 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()
36 atlantic-$(CONFIG_PTP_1588_CLOCK) += aq_ptp.o
288 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()
159 struct aq_ptp_s *aq_ptp; member
174 if (self->aq_ptp) { in aq_nic_update_link_status()