Lines Matching defs:bgmac
479 struct bgmac { struct
502 struct bgmac_dma_ring tx_ring[BGMAC_MAX_TX_RINGS]; argument
503 struct bgmac_dma_ring rx_ring[BGMAC_MAX_RX_RINGS]; argument
523 u32 (*read)(struct bgmac *bgmac, u16 offset); argument
524 void (*write)(struct bgmac *bgmac, u16 offset, u32 value); argument
525 u32 (*idm_read)(struct bgmac *bgmac, u16 offset); argument
526 void (*idm_write)(struct bgmac *bgmac, u16 offset, u32 value); argument
527 bool (*clk_enabled)(struct bgmac *bgmac); argument
528 void (*clk_enable)(struct bgmac *bgmac, u32 flags); argument
529 void (*cco_ctl_maskset)(struct bgmac *bgmac, u32 offset, u32 mask, argument
531 u32 (*get_bus_clock)(struct bgmac *bgmac); argument
532 void (*cmn_maskset32)(struct bgmac *bgmac, u16 offset, u32 mask, argument
534 int (*phy_connect)(struct bgmac *bgmac); argument
548 static inline u32 bgmac_read(struct bgmac *bgmac, u16 offset) in bgmac_read()
553 static inline void bgmac_write(struct bgmac *bgmac, u16 offset, u32 value) in bgmac_write()
558 static inline u32 bgmac_idm_read(struct bgmac *bgmac, u16 offset) in bgmac_idm_read()
563 static inline void bgmac_idm_write(struct bgmac *bgmac, u16 offset, u32 value) in bgmac_idm_write()
568 static inline bool bgmac_clk_enabled(struct bgmac *bgmac) in bgmac_clk_enabled()
573 static inline void bgmac_clk_enable(struct bgmac *bgmac, u32 flags) in bgmac_clk_enable()
578 static inline void bgmac_cco_ctl_maskset(struct bgmac *bgmac, u32 offset, in bgmac_cco_ctl_maskset()
584 static inline u32 bgmac_get_bus_clock(struct bgmac *bgmac) in bgmac_get_bus_clock()
589 static inline void bgmac_cmn_maskset32(struct bgmac *bgmac, u16 offset, in bgmac_cmn_maskset32()
595 static inline void bgmac_maskset(struct bgmac *bgmac, u16 offset, u32 mask, in bgmac_maskset()
601 static inline void bgmac_mask(struct bgmac *bgmac, u16 offset, u32 mask) in bgmac_mask()
606 static inline void bgmac_set(struct bgmac *bgmac, u16 offset, u32 set) in bgmac_set()
611 static inline int bgmac_phy_connect(struct bgmac *bgmac) in bgmac_phy_connect()