Lines Matching defs:macb
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);
1164 unsigned int (*get_tsu_rate)(struct macb *bp);
1204 struct macb *bp;
1248 struct macb {
1253 u32 (*macb_reg_readl)(struct macb *bp, int offset);
1254 void (*macb_reg_writel)(struct macb *bp, int offset, u32 value);
1274 struct macb_stats macb;
1305 struct macb_ptp_info *ptp_info; /* macb-ptp interface */
1349 void gem_ptp_txstamp(struct macb *bp, struct sk_buff *skb, struct macb_dma_desc *desc);
1350 void gem_ptp_rxstamp(struct macb *bp, struct sk_buff *skb, struct macb_dma_desc *desc);
1351 static inline void gem_ptp_do_txstamp(struct macb *bp, struct sk_buff *skb, struct macb_dma_desc *desc)
1359 static inline void gem_ptp_do_rxstamp(struct macb *bp, struct sk_buff *skb, struct macb_dma_desc *desc)
1372 static inline void gem_ptp_do_txstamp(struct macb *bp, struct sk_buff *skb, struct macb_dma_desc *desc) { }
1373 static inline void gem_ptp_do_rxstamp(struct macb *bp, struct sk_buff *skb, struct macb_dma_desc *desc) { }
1376 static inline bool macb_is_gem(struct macb *bp)
1381 static inline bool gem_has_ptp(struct macb *bp)