Lines Matching full:macb
24 #include "macb.h"
28 static struct macb_dma_desc_ptp *macb_ptp_desc(struct macb *bp, in macb_ptp_desc()
44 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_tsu_get_time()
80 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_tsu_set_time()
102 static int gem_tsu_incr_set(struct macb *bp, struct tsu_incr *incr_spec) in gem_tsu_incr_set()
124 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_ptp_adjfine()
159 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_ptp_adjtime()
205 static void gem_ptp_init_timer(struct macb *bp) in gem_ptp_init_timer()
220 static void gem_ptp_init_tsu(struct macb *bp) in gem_ptp_init_tsu()
236 static void gem_ptp_clear_timer(struct macb *bp) in gem_ptp_clear_timer()
246 static int gem_hw_timestamp(struct macb *bp, u32 dma_desc_ts_1, in gem_hw_timestamp()
274 void gem_ptp_rxstamp(struct macb *bp, struct sk_buff *skb, in gem_ptp_rxstamp()
295 void gem_ptp_txstamp(struct macb *bp, struct sk_buff *skb, in gem_ptp_txstamp()
327 struct macb *bp = netdev_priv(dev); in gem_ptp_init()
356 struct macb *bp = netdev_priv(ndev); in gem_ptp_remove()
367 static int gem_ptp_set_ts_mode(struct macb *bp, in gem_ptp_set_ts_mode()
380 struct macb *bp = netdev_priv(dev); in gem_get_hwtst()
389 static void gem_ptp_set_one_step_sync(struct macb *bp, u8 enable) in gem_ptp_set_one_step_sync()
407 struct macb *bp = netdev_priv(dev); in gem_set_hwtst()