Lines Matching full:macb
3 * Atmel MACB Ethernet Controller driver
26 /* MACB register offsets */
792 /* Conditional GEM/MACB macros. These perform the operation to the correct
793 * register dependent on whether the device is a GEM or a MACB. For registers
1154 struct macb;
1158 int (*mog_alloc_rx_buffers)(struct macb *bp);
1159 void (*mog_free_rx_buffers)(struct macb *bp);
1160 void (*mog_init_rings)(struct macb *bp);
1165 /* MACB-PTP interface: adapt to platform needs. */
1170 unsigned int (*get_tsu_rate)(struct macb *bp);
1211 struct macb *bp;
1255 struct macb { struct
1260 u32 (*macb_reg_readl)(struct macb *bp, int offset); argument
1261 void (*macb_reg_writel)(struct macb *bp, int offset, u32 value); argument
1285 struct macb_stats macb; argument
1317 struct macb_ptp_info *ptp_info; /* macb-ptp interface */ argument
1361 void gem_ptp_txstamp(struct macb *bp, struct sk_buff *skb, struct macb_dma_desc *desc); argument
1362 void gem_ptp_rxstamp(struct macb *bp, struct sk_buff *skb, struct macb_dma_desc *desc);
1363 static inline void gem_ptp_do_txstamp(struct macb *bp, struct sk_buff *skb, struct macb_dma_desc *d… in gem_ptp_do_txstamp()
1371 static inline void gem_ptp_do_rxstamp(struct macb *bp, struct sk_buff *skb, struct macb_dma_desc *d… in gem_ptp_do_rxstamp()
1388 static inline void gem_ptp_do_txstamp(struct macb *bp, struct sk_buff *skb, struct macb_dma_desc *d… in gem_ptp_do_txstamp()
1389 static inline void gem_ptp_do_rxstamp(struct macb *bp, struct sk_buff *skb, struct macb_dma_desc *d… in gem_ptp_do_rxstamp()
1392 static inline bool macb_is_gem(struct macb *bp) in macb_is_gem()
1397 static inline bool gem_has_ptp(struct macb *bp) in gem_has_ptp()
1403 * struct macb_platform_data - platform data for MACB Ethernet used for PCI registration