Lines Matching defs:bgmac
480 struct bgmac { struct
503 struct bgmac_dma_ring tx_ring[BGMAC_MAX_TX_RINGS]; argument
504 struct bgmac_dma_ring rx_ring[BGMAC_MAX_RX_RINGS]; argument
524 u32 (*read)(struct bgmac *bgmac, u16 offset); argument
525 void (*write)(struct bgmac *bgmac, u16 offset, u32 value); argument
526 u32 (*idm_read)(struct bgmac *bgmac, u16 offset); argument
527 void (*idm_write)(struct bgmac *bgmac, u16 offset, u32 value); argument
528 bool (*clk_enabled)(struct bgmac *bgmac); argument
529 void (*clk_enable)(struct bgmac *bgmac, u32 flags); argument
530 void (*cco_ctl_maskset)(struct bgmac *bgmac, u32 offset, u32 mask, argument
532 u32 (*get_bus_clock)(struct bgmac *bgmac); argument
533 void (*cmn_maskset32)(struct bgmac *bgmac, u16 offset, u32 mask, argument
535 int (*phy_connect)(struct bgmac *bgmac); argument
549 static inline u32 bgmac_read(struct bgmac *bgmac, u16 offset) in bgmac_read()
554 static inline void bgmac_write(struct bgmac *bgmac, u16 offset, u32 value) in bgmac_write()
559 static inline u32 bgmac_idm_read(struct bgmac *bgmac, u16 offset) in bgmac_idm_read()
564 static inline void bgmac_idm_write(struct bgmac *bgmac, u16 offset, u32 value) in bgmac_idm_write()
569 static inline bool bgmac_clk_enabled(struct bgmac *bgmac) in bgmac_clk_enabled()
574 static inline void bgmac_clk_enable(struct bgmac *bgmac, u32 flags) in bgmac_clk_enable()
579 static inline void bgmac_cco_ctl_maskset(struct bgmac *bgmac, u32 offset, in bgmac_cco_ctl_maskset()
585 static inline u32 bgmac_get_bus_clock(struct bgmac *bgmac) in bgmac_get_bus_clock()
590 static inline void bgmac_cmn_maskset32(struct bgmac *bgmac, u16 offset, in bgmac_cmn_maskset32()
596 static inline void bgmac_maskset(struct bgmac *bgmac, u16 offset, u32 mask, in bgmac_maskset()
602 static inline void bgmac_mask(struct bgmac *bgmac, u16 offset, u32 mask) in bgmac_mask()
607 static inline void bgmac_set(struct bgmac *bgmac, u16 offset, u32 set) in bgmac_set()
612 static inline int bgmac_phy_connect(struct bgmac *bgmac) in bgmac_phy_connect()