Lines Matching refs:aq_nic_s
35 int aq_ptp_init(struct aq_nic_s *aq_nic, unsigned int idx_vec);
37 void aq_ptp_unregister(struct aq_nic_s *aq_nic);
38 void aq_ptp_free(struct aq_nic_s *aq_nic);
40 int aq_ptp_irq_alloc(struct aq_nic_s *aq_nic);
41 void aq_ptp_irq_free(struct aq_nic_s *aq_nic);
43 int aq_ptp_ring_alloc(struct aq_nic_s *aq_nic);
44 void aq_ptp_ring_free(struct aq_nic_s *aq_nic);
46 int aq_ptp_ring_init(struct aq_nic_s *aq_nic);
47 int aq_ptp_ring_start(struct aq_nic_s *aq_nic);
48 void aq_ptp_ring_stop(struct aq_nic_s *aq_nic);
49 void aq_ptp_ring_deinit(struct aq_nic_s *aq_nic);
51 void aq_ptp_service_task(struct aq_nic_s *aq_nic);
53 void aq_ptp_tm_offset_set(struct aq_nic_s *aq_nic, unsigned int mbps);
55 void aq_ptp_clock_init(struct aq_nic_s *aq_nic);
58 int aq_ptp_xmit(struct aq_nic_s *aq_nic, struct sk_buff *skb);
59 void aq_ptp_tx_hwtstamp(struct aq_nic_s *aq_nic, u64 timestamp);
68 bool aq_ptp_ring(struct aq_nic_s *aq_nic, struct aq_ring_s *ring);
70 u16 aq_ptp_extract_ts(struct aq_nic_s *aq_nic, struct skb_shared_hwtstamps *shhwtstamps, u8 *p,
75 int aq_ptp_link_change(struct aq_nic_s *aq_nic);
78 int aq_ptp_get_ring_cnt(struct aq_nic_s *aq_nic, const enum atl_ring_type ring_type);
79 u64 *aq_ptp_get_stats(struct aq_nic_s *aq_nic, u64 *data);
83 static inline int aq_ptp_init(struct aq_nic_s *aq_nic, unsigned int idx_vec) in aq_ptp_init()
88 static inline void aq_ptp_unregister(struct aq_nic_s *aq_nic) {} in aq_ptp_unregister()
90 static inline void aq_ptp_free(struct aq_nic_s *aq_nic) in aq_ptp_free()
94 static inline int aq_ptp_irq_alloc(struct aq_nic_s *aq_nic) in aq_ptp_irq_alloc()
99 static inline void aq_ptp_irq_free(struct aq_nic_s *aq_nic) in aq_ptp_irq_free()
103 static inline int aq_ptp_ring_alloc(struct aq_nic_s *aq_nic) in aq_ptp_ring_alloc()
108 static inline void aq_ptp_ring_free(struct aq_nic_s *aq_nic) {} in aq_ptp_ring_free()
110 static inline int aq_ptp_ring_init(struct aq_nic_s *aq_nic) in aq_ptp_ring_init()
115 static inline int aq_ptp_ring_start(struct aq_nic_s *aq_nic) in aq_ptp_ring_start()
120 static inline void aq_ptp_ring_stop(struct aq_nic_s *aq_nic) {} in aq_ptp_ring_stop()
121 static inline void aq_ptp_ring_deinit(struct aq_nic_s *aq_nic) {} in aq_ptp_ring_deinit()
122 static inline void aq_ptp_service_task(struct aq_nic_s *aq_nic) {} in aq_ptp_service_task()
123 static inline void aq_ptp_tm_offset_set(struct aq_nic_s *aq_nic, in aq_ptp_tm_offset_set()
125 static inline void aq_ptp_clock_init(struct aq_nic_s *aq_nic) {} in aq_ptp_clock_init()
126 static inline int aq_ptp_xmit(struct aq_nic_s *aq_nic, struct sk_buff *skb) in aq_ptp_xmit()
131 static inline void aq_ptp_tx_hwtstamp(struct aq_nic_s *aq_nic, u64 timestamp) {} in aq_ptp_tx_hwtstamp()
140 static inline bool aq_ptp_ring(struct aq_nic_s *aq_nic, struct aq_ring_s *ring) in aq_ptp_ring()
145 static inline u16 aq_ptp_extract_ts(struct aq_nic_s *aq_nic, in aq_ptp_extract_ts()
157 static inline int aq_ptp_link_change(struct aq_nic_s *aq_nic) in aq_ptp_link_change()