Home
last modified time | relevance | path

Searched defs:bgmac (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/broadcom/
Dbgmac.c21 static bool bgmac_wait_value(struct bgmac *bgmac, u16 reg, u32 mask, in bgmac_wait_value()
41 static void bgmac_dma_tx_reset(struct bgmac *bgmac, struct bgmac_dma_ring *ring) in bgmac_dma_tx_reset()
86 static void bgmac_dma_tx_enable(struct bgmac *bgmac, in bgmac_dma_tx_enable()
111 bgmac_dma_tx_add_buf(struct bgmac *bgmac, struct bgmac_dma_ring *ring, in bgmac_dma_tx_add_buf()
131 static netdev_tx_t bgmac_dma_tx_add(struct bgmac *bgmac, in bgmac_dma_tx_add()
235 static void bgmac_dma_tx_free(struct bgmac *bgmac, struct bgmac_dma_ring *ring) in bgmac_dma_tx_free()
292 static void bgmac_dma_rx_reset(struct bgmac *bgmac, struct bgmac_dma_ring *ring) in bgmac_dma_rx_reset()
306 static void bgmac_dma_rx_enable(struct bgmac *bgmac, in bgmac_dma_rx_enable()
333 static int bgmac_dma_rx_skb_for_slot(struct bgmac *bgmac, in bgmac_dma_rx_skb_for_slot()
367 static void bgmac_dma_rx_update_index(struct bgmac *bgmac, in bgmac_dma_rx_update_index()
[all …]
Dbgmac-platform.c36 static u32 platform_bgmac_read(struct bgmac *bgmac, u16 offset) in platform_bgmac_read()
41 static void platform_bgmac_write(struct bgmac *bgmac, u16 offset, u32 value) in platform_bgmac_write()
46 static u32 platform_bgmac_idm_read(struct bgmac *bgmac, u16 offset) in platform_bgmac_idm_read()
51 static void platform_bgmac_idm_write(struct bgmac *bgmac, u16 offset, u32 value) in platform_bgmac_idm_write()
56 static bool platform_bgmac_clk_enabled(struct bgmac *bgmac) in platform_bgmac_clk_enabled()
68 static void platform_bgmac_clk_enable(struct bgmac *bgmac, u32 flags) in platform_bgmac_clk_enable()
96 static void platform_bgmac_cco_ctl_maskset(struct bgmac *bgmac, u32 offset, in platform_bgmac_cco_ctl_maskset()
103 static u32 platform_bgmac_get_bus_clock(struct bgmac *bgmac) in platform_bgmac_get_bus_clock()
111 static void platform_bgmac_cmn_maskset32(struct bgmac *bgmac, u16 offset, in platform_bgmac_cmn_maskset32()
120 struct bgmac *bgmac = netdev_priv(net_dev); in bgmac_nicpm_speed_set() local
[all …]
Dbgmac-bcma.c34 static u32 bcma_bgmac_read(struct bgmac *bgmac, u16 offset) in bcma_bgmac_read()
39 static void bcma_bgmac_write(struct bgmac *bgmac, u16 offset, u32 value) in bcma_bgmac_write()
44 static u32 bcma_bgmac_idm_read(struct bgmac *bgmac, u16 offset) in bcma_bgmac_idm_read()
49 static void bcma_bgmac_idm_write(struct bgmac *bgmac, u16 offset, u32 value) in bcma_bgmac_idm_write()
54 static bool bcma_bgmac_clk_enabled(struct bgmac *bgmac) in bcma_bgmac_clk_enabled()
59 static void bcma_bgmac_clk_enable(struct bgmac *bgmac, u32 flags) in bcma_bgmac_clk_enable()
64 static void bcma_bgmac_cco_ctl_maskset(struct bgmac *bgmac, u32 offset, in bcma_bgmac_cco_ctl_maskset()
72 static u32 bcma_bgmac_get_bus_clock(struct bgmac *bgmac) in bcma_bgmac_get_bus_clock()
79 static void bcma_bgmac_cmn_maskset32(struct bgmac *bgmac, u16 offset, u32 mask, in bcma_bgmac_cmn_maskset32()
85 static int bcma_phy_connect(struct bgmac *bgmac) in bcma_phy_connect()
[all …]
Dbgmac.h440 struct bgmac { struct
463 struct bgmac_dma_ring tx_ring[BGMAC_MAX_TX_RINGS]; argument
464 struct bgmac_dma_ring rx_ring[BGMAC_MAX_RX_RINGS]; argument
486 u32 (*read)(struct bgmac *bgmac, u16 offset); argument
487 void (*write)(struct bgmac *bgmac, u16 offset, u32 value); argument
488 u32 (*idm_read)(struct bgmac *bgmac, u16 offset); argument
489 void (*idm_write)(struct bgmac *bgmac, u16 offset, u32 value); argument
490 bool (*clk_enabled)(struct bgmac *bgmac); argument
491 void (*clk_enable)(struct bgmac *bgmac, u32 flags); argument
492 void (*cco_ctl_maskset)(struct bgmac *bgmac, u32 offset, u32 mask, argument
[all …]
Dbgmac-bcma-mdio.c36 static u16 bcma_mdio_phy_read(struct bgmac *bgmac, u8 phyaddr, u8 reg) in bcma_mdio_phy_read()
86 static int bcma_mdio_phy_write(struct bgmac *bgmac, u8 phyaddr, u8 reg, in bcma_mdio_phy_write()
131 static void bcma_mdio_phy_init(struct bgmac *bgmac) in bcma_mdio_phy_init()
181 struct bgmac *bgmac = bus->priv; in bcma_mdio_phy_reset() local
211 struct mii_bus *bcma_mdio_mii_register(struct bgmac *bgmac) in bcma_mdio_mii_register()