Lines Matching full:macb
3 * Atmel MACB Ethernet Controller driver
25 /* MACB register offsets */
786 /* Conditional GEM/MACB macros. These perform the operation to the correct
787 * register dependent on whether the device is a GEM or a MACB. For registers
1148 struct macb;
1152 int (*mog_alloc_rx_buffers)(struct macb *bp);
1153 void (*mog_free_rx_buffers)(struct macb *bp);
1154 void (*mog_init_rings)(struct macb *bp);
1159 /* MACB-PTP interface: adapt to platform needs. */
1164 unsigned int (*get_tsu_rate)(struct macb *bp);
1204 struct macb *bp;
1248 struct macb { struct
1253 u32 (*macb_reg_readl)(struct macb *bp, int offset); argument
1254 void (*macb_reg_writel)(struct macb *bp, int offset, u32 value); argument
1276 struct macb_stats macb; argument
1307 struct macb_ptp_info *ptp_info; /* macb-ptp interface */ argument
1351 void gem_ptp_txstamp(struct macb *bp, struct sk_buff *skb, struct macb_dma_desc *desc); argument
1352 void gem_ptp_rxstamp(struct macb *bp, struct sk_buff *skb, struct macb_dma_desc *desc);
1353 static inline void gem_ptp_do_txstamp(struct macb *bp, struct sk_buff *skb, struct macb_dma_desc *d… in gem_ptp_do_txstamp()
1361 static inline void gem_ptp_do_rxstamp(struct macb *bp, struct sk_buff *skb, struct macb_dma_desc *d… in gem_ptp_do_rxstamp()
1374 static inline void gem_ptp_do_txstamp(struct macb *bp, struct sk_buff *skb, struct macb_dma_desc *d… in gem_ptp_do_txstamp()
1375 static inline void gem_ptp_do_rxstamp(struct macb *bp, struct sk_buff *skb, struct macb_dma_desc *d… in gem_ptp_do_rxstamp()
1378 static inline bool macb_is_gem(struct macb *bp) in macb_is_gem()
1383 static inline bool gem_has_ptp(struct macb *bp) in gem_has_ptp()
1389 * struct macb_platform_data - platform data for MACB Ethernet used for PCI registration