| /kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/ |
| D | bgmac.c | 21 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 …]
|
| D | bgmac-platform.c | 36 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 …]
|
| D | bgmac-bcma.c | 33 static u32 bcma_bgmac_read(struct bgmac *bgmac, u16 offset) in bcma_bgmac_read() 38 static void bcma_bgmac_write(struct bgmac *bgmac, u16 offset, u32 value) in bcma_bgmac_write() 43 static u32 bcma_bgmac_idm_read(struct bgmac *bgmac, u16 offset) in bcma_bgmac_idm_read() 48 static void bcma_bgmac_idm_write(struct bgmac *bgmac, u16 offset, u32 value) in bcma_bgmac_idm_write() 53 static bool bcma_bgmac_clk_enabled(struct bgmac *bgmac) in bcma_bgmac_clk_enabled() 58 static void bcma_bgmac_clk_enable(struct bgmac *bgmac, u32 flags) in bcma_bgmac_clk_enable() 63 static void bcma_bgmac_cco_ctl_maskset(struct bgmac *bgmac, u32 offset, in bcma_bgmac_cco_ctl_maskset() 71 static u32 bcma_bgmac_get_bus_clock(struct bgmac *bgmac) in bcma_bgmac_get_bus_clock() 78 static void bcma_bgmac_cmn_maskset32(struct bgmac *bgmac, u16 offset, u32 mask, in bcma_bgmac_cmn_maskset32() 84 static int bcma_phy_connect(struct bgmac *bgmac) in bcma_phy_connect() [all …]
|
| D | bgmac.h | 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 526 u32 (*read)(struct bgmac *bgmac, u16 offset); argument 527 void (*write)(struct bgmac *bgmac, u16 offset, u32 value); argument 528 u32 (*idm_read)(struct bgmac *bgmac, u16 offset); argument 529 void (*idm_write)(struct bgmac *bgmac, u16 offset, u32 value); argument 530 bool (*clk_enabled)(struct bgmac *bgmac); argument 531 void (*clk_enable)(struct bgmac *bgmac, u32 flags); argument 532 void (*cco_ctl_maskset)(struct bgmac *bgmac, u32 offset, u32 mask, argument [all …]
|
| D | bgmac-bcma-mdio.c | 35 static u16 bcma_mdio_phy_read(struct bgmac *bgmac, u8 phyaddr, u8 reg) in bcma_mdio_phy_read() 85 static int bcma_mdio_phy_write(struct bgmac *bgmac, u8 phyaddr, u8 reg, in bcma_mdio_phy_write() 130 static void bcma_mdio_phy_init(struct bgmac *bgmac) in bcma_mdio_phy_init() 180 struct bgmac *bgmac = bus->priv; in bcma_mdio_phy_reset() local 210 struct mii_bus *bcma_mdio_mii_register(struct bgmac *bgmac) in bcma_mdio_mii_register()
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/ |
| D | bgmac.c | 21 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 …]
|
| D | bgmac-platform.c | 36 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 …]
|
| D | bgmac-bcma.c | 34 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 …]
|
| D | bgmac.h | 440 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 …]
|
| D | bgmac-bcma-mdio.c | 36 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()
|