/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/ |
H A D | bgmac-bcma.c | 16 #include "bgmac.h" 34 static u32 bcma_bgmac_read(struct bgmac *bgmac, u16 offset) in bcma_bgmac_read() argument 36 return bcma_read32(bgmac->bcma.core, offset); in bcma_bgmac_read() 39 static void bcma_bgmac_write(struct bgmac *bgmac, u16 offset, u32 value) in bcma_bgmac_write() argument 41 bcma_write32(bgmac->bcma.core, offset, value); in bcma_bgmac_write() 44 static u32 bcma_bgmac_idm_read(struct bgmac *bgmac, u16 offset) in bcma_bgmac_idm_read() argument 46 return bcma_aread32(bgmac in bcma_bgmac_idm_read() 49 bcma_bgmac_idm_write(struct bgmac *bgmac, u16 offset, u32 value) bcma_bgmac_idm_write() argument 54 bcma_bgmac_clk_enabled(struct bgmac *bgmac) bcma_bgmac_clk_enabled() argument 59 bcma_bgmac_clk_enable(struct bgmac *bgmac, u32 flags) bcma_bgmac_clk_enable() argument 64 bcma_bgmac_cco_ctl_maskset(struct bgmac *bgmac, u32 offset, u32 mask, u32 set) bcma_bgmac_cco_ctl_maskset() argument 72 bcma_bgmac_get_bus_clock(struct bgmac *bgmac) bcma_bgmac_get_bus_clock() argument 79 bcma_bgmac_cmn_maskset32(struct bgmac *bgmac, u16 offset, u32 mask, u32 set) bcma_bgmac_cmn_maskset32() argument 85 bcma_phy_connect(struct bgmac *bgmac) bcma_phy_connect() argument 129 struct bgmac *bgmac; bgmac_probe() local 330 struct bgmac *bgmac = bcma_get_drvdata(core); bgmac_remove() local [all...] |
H A D | bgmac-platform.c | 22 #include "bgmac.h" 36 static u32 platform_bgmac_read(struct bgmac *bgmac, u16 offset) in platform_bgmac_read() argument 38 return readl(bgmac->plat.base + offset); in platform_bgmac_read() 41 static void platform_bgmac_write(struct bgmac *bgmac, u16 offset, u32 value) in platform_bgmac_write() argument 43 writel(value, bgmac->plat.base + offset); in platform_bgmac_write() 46 static u32 platform_bgmac_idm_read(struct bgmac *bgmac, u16 offset) in platform_bgmac_idm_read() argument 48 return readl(bgmac in platform_bgmac_idm_read() 51 platform_bgmac_idm_write(struct bgmac *bgmac, u16 offset, u32 value) platform_bgmac_idm_write() argument 56 platform_bgmac_clk_enabled(struct bgmac *bgmac) platform_bgmac_clk_enabled() argument 68 platform_bgmac_clk_enable(struct bgmac *bgmac, u32 flags) platform_bgmac_clk_enable() argument 96 platform_bgmac_cco_ctl_maskset(struct bgmac *bgmac, u32 offset, u32 mask, u32 set) platform_bgmac_cco_ctl_maskset() argument 103 platform_bgmac_get_bus_clock(struct bgmac *bgmac) platform_bgmac_get_bus_clock() argument 111 platform_bgmac_cmn_maskset32(struct bgmac *bgmac, u16 offset, u32 mask, u32 set) platform_bgmac_cmn_maskset32() argument 120 struct bgmac *bgmac = netdev_priv(net_dev); bgmac_nicpm_speed_set() local 151 platform_phy_connect(struct bgmac *bgmac) platform_phy_connect() argument 174 struct bgmac *bgmac; bgmac_probe() local 251 struct bgmac *bgmac = platform_get_drvdata(pdev); bgmac_remove() local 261 struct bgmac *bgmac = dev_get_drvdata(dev); bgmac_suspend() local 268 struct bgmac *bgmac = dev_get_drvdata(dev); bgmac_resume() local [all...] |
H A D | bgmac.c | 19 #include "bgmac.h" 21 static bool bgmac_wait_value(struct bgmac *bgmac, u16 reg, u32 mask, in bgmac_wait_value() argument 28 val = bgmac_read(bgmac, reg); in bgmac_wait_value() 33 dev_err(bgmac->dev, "Timeout waiting for reg 0x%X\n", reg); in bgmac_wait_value() 41 static void bgmac_dma_tx_reset(struct bgmac *bgmac, struct bgmac_dma_ring *ring) in bgmac_dma_tx_reset() argument 53 bgmac_write(bgmac, ring->mmio_base + BGMAC_DMA_TX_CTL, in bgmac_dma_tx_reset() 56 val = bgmac_read(bgmac, ring->mmio_base + BGMAC_DMA_TX_STATUS); in bgmac_dma_tx_reset() 67 dev_err(bgmac in bgmac_dma_tx_reset() 86 bgmac_dma_tx_enable(struct bgmac *bgmac, struct bgmac_dma_ring *ring) bgmac_dma_tx_enable() argument 111 bgmac_dma_tx_add_buf(struct bgmac *bgmac, struct bgmac_dma_ring *ring, int i, int len, u32 ctl0) bgmac_dma_tx_add_buf() argument 131 bgmac_dma_tx_add(struct bgmac *bgmac, struct bgmac_dma_ring *ring, struct sk_buff *skb) bgmac_dma_tx_add() argument 235 bgmac_dma_tx_free(struct bgmac *bgmac, struct bgmac_dma_ring *ring) bgmac_dma_tx_free() argument 292 bgmac_dma_rx_reset(struct bgmac *bgmac, struct bgmac_dma_ring *ring) bgmac_dma_rx_reset() argument 306 bgmac_dma_rx_enable(struct bgmac *bgmac, struct bgmac_dma_ring *ring) bgmac_dma_rx_enable() argument 333 bgmac_dma_rx_skb_for_slot(struct bgmac *bgmac, struct bgmac_slot_info *slot) bgmac_dma_rx_skb_for_slot() argument 367 bgmac_dma_rx_update_index(struct bgmac *bgmac, struct bgmac_dma_ring *ring) bgmac_dma_rx_update_index() argument 377 bgmac_dma_rx_setup_desc(struct bgmac *bgmac, struct bgmac_dma_ring *ring, int desc_idx) bgmac_dma_rx_setup_desc() argument 412 bgmac_dma_rx_read(struct bgmac *bgmac, struct bgmac_dma_ring *ring, int weight) bgmac_dma_rx_read() argument 504 bgmac_dma_unaligned(struct bgmac *bgmac, struct bgmac_dma_ring *ring, enum bgmac_dma_ring_type ring_type) bgmac_dma_unaligned() argument 525 bgmac_dma_tx_ring_free(struct bgmac *bgmac, struct bgmac_dma_ring *ring) bgmac_dma_tx_ring_free() argument 552 bgmac_dma_rx_ring_free(struct bgmac *bgmac, struct bgmac_dma_ring *ring) bgmac_dma_rx_ring_free() argument 572 bgmac_dma_ring_desc_free(struct bgmac *bgmac, struct bgmac_dma_ring *ring, int num_slots) bgmac_dma_ring_desc_free() argument 588 bgmac_dma_cleanup(struct bgmac *bgmac) bgmac_dma_cleanup() argument 599 bgmac_dma_free(struct bgmac *bgmac) bgmac_dma_free() argument 612 bgmac_dma_alloc(struct bgmac *bgmac) bgmac_dma_alloc() argument 686 bgmac_dma_init(struct bgmac *bgmac) bgmac_dma_init() argument 749 bgmac_umac_cmd_maskset(struct bgmac *bgmac, u32 mask, u32 set, bool force) bgmac_umac_cmd_maskset() argument 771 bgmac_write_mac_address(struct bgmac *bgmac, const u8 *addr) bgmac_write_mac_address() argument 783 struct bgmac *bgmac = netdev_priv(net_dev); bgmac_set_rx_mode() local 811 bgmac_clear_mib(struct bgmac *bgmac) bgmac_clear_mib() argument 826 bgmac_mac_speed(struct bgmac *bgmac) bgmac_mac_speed() argument 855 bgmac_miiconfig(struct bgmac *bgmac) bgmac_miiconfig() argument 879 bgmac_chip_reset_idm_config(struct bgmac *bgmac) bgmac_chip_reset_idm_config() argument 906 bgmac_chip_reset(struct bgmac *bgmac) bgmac_chip_reset() argument 1033 bgmac_chip_intrs_on(struct bgmac *bgmac) bgmac_chip_intrs_on() argument 1038 bgmac_chip_intrs_off(struct bgmac *bgmac) bgmac_chip_intrs_off() argument 1045 bgmac_enable(struct bgmac *bgmac) bgmac_enable() argument 1099 bgmac_chip_init(struct bgmac *bgmac) bgmac_chip_init() argument 1128 struct bgmac *bgmac = netdev_priv(dev_id); bgmac_interrupt() local 1150 struct bgmac *bgmac = container_of(napi, struct bgmac, napi); bgmac_poll() local 1177 struct bgmac *bgmac = netdev_priv(net_dev); bgmac_open() local 1207 struct bgmac *bgmac = netdev_priv(net_dev); bgmac_stop() local 1226 struct bgmac *bgmac = netdev_priv(net_dev); bgmac_start_xmit() local 1236 struct bgmac *bgmac = netdev_priv(net_dev); bgmac_set_mac_address() local 1253 struct bgmac *bgmac = netdev_priv(net_dev); bgmac_change_mtu() local 1377 struct bgmac *bgmac = netdev_priv(dev); bgmac_get_ethtool_stats() local 1417 struct bgmac *bgmac = netdev_priv(net_dev); bgmac_adjust_link() local 1440 bgmac_phy_connect_direct(struct bgmac *bgmac) bgmac_phy_connect_direct() argument 1470 struct bgmac *bgmac; bgmac_alloc() local 1488 bgmac_enet_probe(struct bgmac *bgmac) bgmac_enet_probe() argument 1569 bgmac_enet_remove(struct bgmac *bgmac) bgmac_enet_remove() argument 1578 bgmac_enet_suspend(struct bgmac *bgmac) bgmac_enet_suspend() argument 1601 bgmac_enet_resume(struct bgmac *bgmac) bgmac_enet_resume() argument [all...] |
H A D | bgmac.h | 440 struct bgmac { struct 486 u32 (*read)(struct bgmac *bgmac, u16 offset); 487 void (*write)(struct bgmac *bgmac, u16 offset, u32 value); 488 u32 (*idm_read)(struct bgmac *bgmac, u16 offset); 489 void (*idm_write)(struct bgmac *bgmac, u16 offset, u32 value); 490 bool (*clk_enabled)(struct bgmac *bgma 511 bgmac_read(struct bgmac *bgmac, u16 offset) bgmac_read() argument 516 bgmac_write(struct bgmac *bgmac, u16 offset, u32 value) bgmac_write() argument 521 bgmac_umac_read(struct bgmac *bgmac, u16 offset) bgmac_umac_read() argument 526 bgmac_umac_write(struct bgmac *bgmac, u16 offset, u32 value) bgmac_umac_write() argument 531 bgmac_idm_read(struct bgmac *bgmac, u16 offset) bgmac_idm_read() argument 536 bgmac_idm_write(struct bgmac *bgmac, u16 offset, u32 value) bgmac_idm_write() argument 541 bgmac_clk_enabled(struct bgmac *bgmac) bgmac_clk_enabled() argument 546 bgmac_clk_enable(struct bgmac *bgmac, u32 flags) bgmac_clk_enable() argument 551 bgmac_cco_ctl_maskset(struct bgmac *bgmac, u32 offset, u32 mask, u32 set) bgmac_cco_ctl_maskset() argument 557 bgmac_get_bus_clock(struct bgmac *bgmac) bgmac_get_bus_clock() argument 562 bgmac_cmn_maskset32(struct bgmac *bgmac, u16 offset, u32 mask, u32 set) bgmac_cmn_maskset32() argument 568 bgmac_maskset(struct bgmac *bgmac, u16 offset, u32 mask, u32 set) bgmac_maskset() argument 574 bgmac_mask(struct bgmac *bgmac, u16 offset, u32 mask) bgmac_mask() argument 579 bgmac_set(struct bgmac *bgmac, u16 offset, u32 set) bgmac_set() argument 584 bgmac_umac_maskset(struct bgmac *bgmac, u16 offset, u32 mask, u32 set) bgmac_umac_maskset() argument 589 bgmac_phy_connect(struct bgmac *bgmac) bgmac_phy_connect() argument [all...] |
H A D | bgmac-bcma-mdio.c | 14 #include "bgmac.h" 36 static u16 bcma_mdio_phy_read(struct bgmac *bgmac, u8 phyaddr, u8 reg) in bcma_mdio_phy_read() argument 55 if (bgmac->bcma.core->id.id == BCMA_CORE_4706_MAC_GBIT) { in bcma_mdio_phy_read() 56 core = bgmac->bcma.core->bus->drv_gmac_cmn.core; in bcma_mdio_phy_read() 60 core = bgmac->bcma.core; in bcma_mdio_phy_read() 86 static int bcma_mdio_phy_write(struct bgmac *bgmac, u8 phyaddr, u8 reg, in bcma_mdio_phy_write() argument 94 if (bgmac->bcma.core->id.id == BCMA_CORE_4706_MAC_GBIT) { in bcma_mdio_phy_write() 95 core = bgmac in bcma_mdio_phy_write() 131 bcma_mdio_phy_init(struct bgmac *bgmac) bcma_mdio_phy_init() argument 181 struct bgmac *bgmac = bus->priv; bcma_mdio_phy_reset() local 211 bcma_mdio_mii_register(struct bgmac *bgmac) bcma_mdio_mii_register() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/ |
H A D | bgmac-bcma.c | 15 #include "bgmac.h" 33 static u32 bcma_bgmac_read(struct bgmac *bgmac, u16 offset) in bcma_bgmac_read() argument 35 return bcma_read32(bgmac->bcma.core, offset); in bcma_bgmac_read() 38 static void bcma_bgmac_write(struct bgmac *bgmac, u16 offset, u32 value) in bcma_bgmac_write() argument 40 bcma_write32(bgmac->bcma.core, offset, value); in bcma_bgmac_write() 43 static u32 bcma_bgmac_idm_read(struct bgmac *bgmac, u16 offset) in bcma_bgmac_idm_read() argument 45 return bcma_aread32(bgmac in bcma_bgmac_idm_read() 48 bcma_bgmac_idm_write(struct bgmac *bgmac, u16 offset, u32 value) bcma_bgmac_idm_write() argument 53 bcma_bgmac_clk_enabled(struct bgmac *bgmac) bcma_bgmac_clk_enabled() argument 58 bcma_bgmac_clk_enable(struct bgmac *bgmac, u32 flags) bcma_bgmac_clk_enable() argument 63 bcma_bgmac_cco_ctl_maskset(struct bgmac *bgmac, u32 offset, u32 mask, u32 set) bcma_bgmac_cco_ctl_maskset() argument 71 bcma_bgmac_get_bus_clock(struct bgmac *bgmac) bcma_bgmac_get_bus_clock() argument 78 bcma_bgmac_cmn_maskset32(struct bgmac *bgmac, u16 offset, u32 mask, u32 set) bcma_bgmac_cmn_maskset32() argument 84 bcma_phy_connect(struct bgmac *bgmac) bcma_phy_connect() argument 117 struct bgmac *bgmac; bgmac_probe() local 321 struct bgmac *bgmac = bcma_get_drvdata(core); bgmac_remove() local [all...] |
H A D | bgmac-platform.c | 22 #include "bgmac.h" 36 static u32 platform_bgmac_read(struct bgmac *bgmac, u16 offset) in platform_bgmac_read() argument 38 return readl(bgmac->plat.base + offset); in platform_bgmac_read() 41 static void platform_bgmac_write(struct bgmac *bgmac, u16 offset, u32 value) in platform_bgmac_write() argument 43 writel(value, bgmac->plat.base + offset); in platform_bgmac_write() 46 static u32 platform_bgmac_idm_read(struct bgmac *bgmac, u16 offset) in platform_bgmac_idm_read() argument 48 return readl(bgmac in platform_bgmac_idm_read() 51 platform_bgmac_idm_write(struct bgmac *bgmac, u16 offset, u32 value) platform_bgmac_idm_write() argument 56 platform_bgmac_clk_enabled(struct bgmac *bgmac) platform_bgmac_clk_enabled() argument 68 platform_bgmac_clk_enable(struct bgmac *bgmac, u32 flags) platform_bgmac_clk_enable() argument 96 platform_bgmac_cco_ctl_maskset(struct bgmac *bgmac, u32 offset, u32 mask, u32 set) platform_bgmac_cco_ctl_maskset() argument 103 platform_bgmac_get_bus_clock(struct bgmac *bgmac) platform_bgmac_get_bus_clock() argument 111 platform_bgmac_cmn_maskset32(struct bgmac *bgmac, u16 offset, u32 mask, u32 set) platform_bgmac_cmn_maskset32() argument 120 struct bgmac *bgmac = netdev_priv(net_dev); bgmac_nicpm_speed_set() local 151 platform_phy_connect(struct bgmac *bgmac) platform_phy_connect() argument 174 struct bgmac *bgmac; bgmac_probe() local 247 struct bgmac *bgmac = platform_get_drvdata(pdev); bgmac_remove() local 257 struct bgmac *bgmac = dev_get_drvdata(dev); bgmac_suspend() local 264 struct bgmac *bgmac = dev_get_drvdata(dev); bgmac_resume() local [all...] |
H A D | bgmac.c | 19 #include "bgmac.h" 21 static bool bgmac_wait_value(struct bgmac *bgmac, u16 reg, u32 mask, in bgmac_wait_value() argument 28 val = bgmac_read(bgmac, reg); in bgmac_wait_value() 33 dev_err(bgmac->dev, "Timeout waiting for reg 0x%X\n", reg); in bgmac_wait_value() 41 static void bgmac_dma_tx_reset(struct bgmac *bgmac, struct bgmac_dma_ring *ring) in bgmac_dma_tx_reset() argument 53 bgmac_write(bgmac, ring->mmio_base + BGMAC_DMA_TX_CTL, in bgmac_dma_tx_reset() 56 val = bgmac_read(bgmac, ring->mmio_base + BGMAC_DMA_TX_STATUS); in bgmac_dma_tx_reset() 67 dev_err(bgmac in bgmac_dma_tx_reset() 86 bgmac_dma_tx_enable(struct bgmac *bgmac, struct bgmac_dma_ring *ring) bgmac_dma_tx_enable() argument 111 bgmac_dma_tx_add_buf(struct bgmac *bgmac, struct bgmac_dma_ring *ring, int i, int len, u32 ctl0) bgmac_dma_tx_add_buf() argument 131 bgmac_dma_tx_add(struct bgmac *bgmac, struct bgmac_dma_ring *ring, struct sk_buff *skb) bgmac_dma_tx_add() argument 235 bgmac_dma_tx_free(struct bgmac *bgmac, struct bgmac_dma_ring *ring) bgmac_dma_tx_free() argument 292 bgmac_dma_rx_reset(struct bgmac *bgmac, struct bgmac_dma_ring *ring) bgmac_dma_rx_reset() argument 306 bgmac_dma_rx_enable(struct bgmac *bgmac, struct bgmac_dma_ring *ring) bgmac_dma_rx_enable() argument 333 bgmac_dma_rx_skb_for_slot(struct bgmac *bgmac, struct bgmac_slot_info *slot) bgmac_dma_rx_skb_for_slot() argument 367 bgmac_dma_rx_update_index(struct bgmac *bgmac, struct bgmac_dma_ring *ring) bgmac_dma_rx_update_index() argument 377 bgmac_dma_rx_setup_desc(struct bgmac *bgmac, struct bgmac_dma_ring *ring, int desc_idx) bgmac_dma_rx_setup_desc() argument 412 bgmac_dma_rx_read(struct bgmac *bgmac, struct bgmac_dma_ring *ring, int weight) bgmac_dma_rx_read() argument 504 bgmac_dma_unaligned(struct bgmac *bgmac, struct bgmac_dma_ring *ring, enum bgmac_dma_ring_type ring_type) bgmac_dma_unaligned() argument 525 bgmac_dma_tx_ring_free(struct bgmac *bgmac, struct bgmac_dma_ring *ring) bgmac_dma_tx_ring_free() argument 552 bgmac_dma_rx_ring_free(struct bgmac *bgmac, struct bgmac_dma_ring *ring) bgmac_dma_rx_ring_free() argument 572 bgmac_dma_ring_desc_free(struct bgmac *bgmac, struct bgmac_dma_ring *ring, int num_slots) bgmac_dma_ring_desc_free() argument 588 bgmac_dma_cleanup(struct bgmac *bgmac) bgmac_dma_cleanup() argument 599 bgmac_dma_free(struct bgmac *bgmac) bgmac_dma_free() argument 612 bgmac_dma_alloc(struct bgmac *bgmac) bgmac_dma_alloc() argument 686 bgmac_dma_init(struct bgmac *bgmac) bgmac_dma_init() argument 749 bgmac_cmdcfg_maskset(struct bgmac *bgmac, u32 mask, u32 set, bool force) bgmac_cmdcfg_maskset() argument 771 bgmac_write_mac_address(struct bgmac *bgmac, u8 *addr) bgmac_write_mac_address() argument 783 struct bgmac *bgmac = netdev_priv(net_dev); bgmac_set_rx_mode() local 811 bgmac_clear_mib(struct bgmac *bgmac) bgmac_clear_mib() argument 826 bgmac_mac_speed(struct bgmac *bgmac) bgmac_mac_speed() argument 855 bgmac_miiconfig(struct bgmac *bgmac) bgmac_miiconfig() argument 879 bgmac_chip_reset_idm_config(struct bgmac *bgmac) bgmac_chip_reset_idm_config() argument 906 bgmac_chip_reset(struct bgmac *bgmac) bgmac_chip_reset() argument 1033 bgmac_chip_intrs_on(struct bgmac *bgmac) bgmac_chip_intrs_on() argument 1038 bgmac_chip_intrs_off(struct bgmac *bgmac) bgmac_chip_intrs_off() argument 1045 bgmac_enable(struct bgmac *bgmac) bgmac_enable() argument 1099 bgmac_chip_init(struct bgmac *bgmac) bgmac_chip_init() argument 1128 struct bgmac *bgmac = netdev_priv(dev_id); bgmac_interrupt() local 1150 struct bgmac *bgmac = container_of(napi, struct bgmac, napi); bgmac_poll() local 1177 struct bgmac *bgmac = netdev_priv(net_dev); bgmac_open() local 1207 struct bgmac *bgmac = netdev_priv(net_dev); bgmac_stop() local 1226 struct bgmac *bgmac = netdev_priv(net_dev); bgmac_start_xmit() local 1236 struct bgmac *bgmac = netdev_priv(net_dev); bgmac_set_mac_address() local 1253 struct bgmac *bgmac = netdev_priv(net_dev); bgmac_change_mtu() local 1377 struct bgmac *bgmac = netdev_priv(dev); bgmac_get_ethtool_stats() local 1417 struct bgmac *bgmac = netdev_priv(net_dev); bgmac_adjust_link() local 1440 bgmac_phy_connect_direct(struct bgmac *bgmac) bgmac_phy_connect_direct() argument 1470 struct bgmac *bgmac; bgmac_alloc() local 1488 bgmac_enet_probe(struct bgmac *bgmac) bgmac_enet_probe() argument 1569 bgmac_enet_remove(struct bgmac *bgmac) bgmac_enet_remove() argument 1578 bgmac_enet_suspend(struct bgmac *bgmac) bgmac_enet_suspend() argument 1601 bgmac_enet_resume(struct bgmac *bgmac) bgmac_enet_resume() argument [all...] |
H A D | bgmac.h | 480 struct bgmac { struct 526 u32 (*read)(struct bgmac *bgmac, u16 offset); 527 void (*write)(struct bgmac *bgmac, u16 offset, u32 value); 528 u32 (*idm_read)(struct bgmac *bgmac, u16 offset); 529 void (*idm_write)(struct bgmac *bgmac, u16 offset, u32 value); 530 bool (*clk_enabled)(struct bgmac *bgma 551 bgmac_read(struct bgmac *bgmac, u16 offset) bgmac_read() argument 556 bgmac_write(struct bgmac *bgmac, u16 offset, u32 value) bgmac_write() argument 561 bgmac_idm_read(struct bgmac *bgmac, u16 offset) bgmac_idm_read() argument 566 bgmac_idm_write(struct bgmac *bgmac, u16 offset, u32 value) bgmac_idm_write() argument 571 bgmac_clk_enabled(struct bgmac *bgmac) bgmac_clk_enabled() argument 576 bgmac_clk_enable(struct bgmac *bgmac, u32 flags) bgmac_clk_enable() argument 581 bgmac_cco_ctl_maskset(struct bgmac *bgmac, u32 offset, u32 mask, u32 set) bgmac_cco_ctl_maskset() argument 587 bgmac_get_bus_clock(struct bgmac *bgmac) bgmac_get_bus_clock() argument 592 bgmac_cmn_maskset32(struct bgmac *bgmac, u16 offset, u32 mask, u32 set) bgmac_cmn_maskset32() argument 598 bgmac_maskset(struct bgmac *bgmac, u16 offset, u32 mask, u32 set) bgmac_maskset() argument 604 bgmac_mask(struct bgmac *bgmac, u16 offset, u32 mask) bgmac_mask() argument 609 bgmac_set(struct bgmac *bgmac, u16 offset, u32 set) bgmac_set() argument 614 bgmac_phy_connect(struct bgmac *bgmac) bgmac_phy_connect() argument [all...] |
H A D | bgmac-bcma-mdio.c | 13 #include "bgmac.h" 35 static u16 bcma_mdio_phy_read(struct bgmac *bgmac, u8 phyaddr, u8 reg) in bcma_mdio_phy_read() argument 54 if (bgmac->bcma.core->id.id == BCMA_CORE_4706_MAC_GBIT) { in bcma_mdio_phy_read() 55 core = bgmac->bcma.core->bus->drv_gmac_cmn.core; in bcma_mdio_phy_read() 59 core = bgmac->bcma.core; in bcma_mdio_phy_read() 85 static int bcma_mdio_phy_write(struct bgmac *bgmac, u8 phyaddr, u8 reg, in bcma_mdio_phy_write() argument 93 if (bgmac->bcma.core->id.id == BCMA_CORE_4706_MAC_GBIT) { in bcma_mdio_phy_write() 94 core = bgmac in bcma_mdio_phy_write() 130 bcma_mdio_phy_init(struct bgmac *bgmac) bcma_mdio_phy_init() argument 180 struct bgmac *bgmac = bus->priv; bcma_mdio_phy_reset() local 210 bcma_mdio_mii_register(struct bgmac *bgmac) bcma_mdio_mii_register() argument [all...] |