Searched +full:unimac +full:- +full:mdio (Results 1 – 16 of 16) sorted by relevance
/linux-6.12.1/Documentation/devicetree/bindings/net/ |
D | brcm,unimac-mdio.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/net/brcm,unimac-mdio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom UniMAC MDIO bus controller 10 - Doug Berger <opendmb@gmail.com> 11 - Florian Fainelli <f.fainelli@gmail.com> 12 - Rafał Miłecki <rafal@milecki.pl> 15 - $ref: mdio.yaml# 20 - brcm,genet-mdio-v1 [all …]
|
D | brcm,asp-v2.0.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/brcm,asp-v2.0.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Justin Chen <justin.chen@broadcom.com> 11 - Florian Fainelli <florian.fainelli@broadcom.com> 18 - items: 19 - enum: 20 - brcm,bcm74165b0-asp 21 - const: brcm,asp-v2.2 [all …]
|
D | brcm,bcmgenet.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Doug Berger <opendmb@gmail.com> 11 - Florian Fainelli <f.fainelli@gmail.com> 16 - brcm,genet-v1 17 - brcm,genet-v2 18 - brcm,genet-v3 19 - brcm,genet-v4 20 - brcm,genet-v5 [all …]
|
/linux-6.12.1/drivers/net/mdio/ |
D | mdio-bcm-unimac.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Broadcom UniMAC MDIO bus controller driver 5 * Copyright (C) 2014-2017 Broadcom 17 #include <linux/platform_data/mdio-bcm-unimac.h> 50 * peripheral registers for CPU-native byte order. in unimac_mdio_readl() 53 return __raw_readl(priv->base + offset); in unimac_mdio_readl() 55 return readl_relaxed(priv->base + offset); in unimac_mdio_readl() 62 __raw_writel(val, priv->base + offset); in unimac_mdio_writel() 64 writel_relaxed(val, priv->base + offset); in unimac_mdio_writel() 93 struct unimac_mdio_priv *priv = bus->priv; in unimac_mdio_read() [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # MDIO Layer Configuration 7 tristate "MDIO bus device drivers" 9 MDIO devices and driver infrastructure code. 20 loadable module or built-in. 27 FWNODE MDIO bus (Ethernet PHY) accessors 35 OpenFirmware MDIO bus (Ethernet PHY) accessors 42 ACPI MDIO bus (Ethernet PHY) accessors 50 tristate "Allwinner sun4i MDIO interface support" 53 This driver supports the MDIO interface found in the network [all …]
|
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 # Makefile for Linux MDIO bus drivers 4 obj-$(CONFIG_ACPI_MDIO) += acpi_mdio.o 5 obj-$(CONFIG_FWNODE_MDIO) += fwnode_mdio.o 6 obj-$(CONFIG_OF_MDIO) += of_mdio.o 8 obj-$(CONFIG_MDIO_ASPEED) += mdio-aspeed.o 9 obj-$(CONFIG_MDIO_BCM_IPROC) += mdio-bcm-iproc.o 10 obj-$(CONFIG_MDIO_BCM_UNIMAC) += mdio-bcm-unimac.o 11 obj-$(CONFIG_MDIO_BITBANG) += mdio-bitbang.o 12 obj-$(CONFIG_MDIO_CAVIUM) += mdio-cavium.o [all …]
|
/linux-6.12.1/include/linux/platform_data/ |
D | mdio-bcm-unimac.h | 14 #define UNIMAC_MDIO_DRV_NAME "unimac-mdio"
|
/linux-6.12.1/drivers/net/ethernet/broadcom/genet/ |
D | bcmmii.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Broadcom GENET MDIO routines 5 * Copyright (c) 2014-2024 Broadcom 24 #include <linux/platform_data/mdio-bcm-unimac.h> 31 struct phy_device *phydev = dev->phydev; in bcmgenet_mac_config() 36 if (phydev->speed == SPEED_1000) in bcmgenet_mac_config() 38 else if (phydev->speed == SPEED_100) in bcmgenet_mac_config() 45 if (phydev->duplex != DUPLEX_FULL) { in bcmgenet_mac_config() 50 if (priv->autoneg_pause) { in bcmgenet_mac_config() 53 if (phydev->autoneg) in bcmgenet_mac_config() [all …]
|
D | bcmgenet.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2014-2024 Broadcom 19 #include "../unimac.h" 80 u32 cnt_255; /* RO Rx/Tx 65-255 bytes packet */ 81 u32 cnt_511; /* RO Rx/Tx 256-511 bytes packet */ 82 u32 cnt_1023; /* RO Rx/Tx 512-1023 bytes packet */ 83 u32 cnt_1518; /* RO Rx/Tx 1024-1518 bytes packet */ 84 u32 cnt_mgv; /* RO Rx/Tx 1519-1522 good VLAN packet */ 85 u32 cnt_2047; /* RO Rx/Tx 1522-2047 bytes packet*/ 86 u32 cnt_4095; /* RO Rx/Tx 2048-4095 bytes packet*/ [all …]
|
D | bcmgenet.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2014-2024 Broadcom 23 #include <linux/dma-mapping.h> 51 (TOTAL_DESC - priv->hw_params->rx_queues * priv->hw_params->rx_bds_per_q) 53 (TOTAL_DESC - priv->hw_params->tx_queues * priv->hw_params->tx_bds_per_q) 59 #define WORDS_PER_BD(p) (p->hw_params->words_per_bd) 62 #define GENET_TDMA_REG_OFF (priv->hw_params->tdma_offset + \ 65 #define GENET_RDMA_REG_OFF (priv->hw_params->rdma_offset + \ 74 * peripheral registers for CPU-native byte order. in bcmgenet_writel() 104 * the platform is explicitly configured for 64-bits/LPAE. in dmadesc_set_addr() [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/broadcom/bcmbca/ |
D | bcm4908.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 3 #include <dt-bindings/interrupt-controller/irq.h> 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/phy/phy.h> 6 #include <dt-bindings/soc/bcm-pmb.h> 8 /dts-v1/; 11 interrupt-parent = <&gic>; 13 #address-cells = <2>; 14 #size-cells = <2>; 21 stdout-path = "serial0:115200n8"; [all …]
|
/linux-6.12.1/drivers/net/dsa/ |
D | bcm_sf2.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 37 switch (priv->type) { in bcm_sf2_reg_rgmii_cntrl() 76 switch (priv->type) { in bcm_sf2_reg_led_base() 99 switch (priv->type) { in bcm_sf2_port_override_offset() 108 WARN_ONCE(1, "Unsupported device: %d\n", priv->type); in bcm_sf2_port_override_offset() 121 for (port = 0; port < ds->num_ports; port++) { in bcm_sf2_num_active_ports() 124 if (priv->port_sts[port].enabled) in bcm_sf2_num_active_ports() 145 if (ports_active == 0 || !priv->clk_mdiv) in bcm_sf2_recalc_clock() 154 new_rate = rate_table[ports_active - 1]; in bcm_sf2_recalc_clock() 155 clk_set_rate(priv->clk_mdiv, new_rate); in bcm_sf2_recalc_clock() [all …]
|
/linux-6.12.1/drivers/net/phy/ |
D | broadcom.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * Broadcom BCM54810, BCM54811 BroadR-Reach transceivers. 15 #include "bcm-phy-lib.h" 27 ((phydev)->drv->phy_id & (phydev)->drv->phy_id_mask) 30 ((phydev)->drv->phy_id & ~((phydev)->drv->phy_id_mask)) 57 /* Long-Distance Signaling (BroadR-Reach mode aneg) relevant linkmode bits */ 68 struct bcm54xx_phy_priv *priv = phydev->priv; in bcm54xx_phy_can_wakeup() 70 return phy_interrupt_is_valid(phydev) || priv->wake_irq >= 0; in bcm54xx_phy_can_wakeup() 80 if (phydev->interface == PHY_INTERFACE_MODE_RGMII || in bcm54xx_config_clock_delay() 81 phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID) { in bcm54xx_config_clock_delay() [all …]
|
/linux-6.12.1/drivers/net/ethernet/broadcom/asp2/ |
D | bcmasp.c | 1 // SPDX-License-Identifier: GPL-2.0 25 priv->irq_mask &= ~mask; in _intr2_mask_clear() 31 priv->irq_mask |= mask; in _intr2_mask_set() 36 struct bcmasp_priv *priv = intf->parent; in bcmasp_enable_phy_irq() 39 if (!intf->internal_phy) in bcmasp_enable_phy_irq() 43 _intr2_mask_clear(priv, ASP_INTR2_PHY_EVENT(intf->channel)); in bcmasp_enable_phy_irq() 45 _intr2_mask_set(priv, ASP_INTR2_PHY_EVENT(intf->channel)); in bcmasp_enable_phy_irq() 50 struct bcmasp_priv *priv = intf->parent; in bcmasp_enable_tx_irq() 53 _intr2_mask_clear(priv, ASP_INTR2_TX_DESC(intf->channel)); in bcmasp_enable_tx_irq() 55 _intr2_mask_set(priv, ASP_INTR2_TX_DESC(intf->channel)); in bcmasp_enable_tx_irq() [all …]
|
/linux-6.12.1/ |
D | MAINTAINERS | 5 --------------------------------------------------- 21 W: *Web-page* with status/info 23 B: URI for where to file *bugs*. A web-page with detailed bug 28 patches to the given subsystem. This is either an in-tree file, 29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst 46 N: [^a-z]tegra all files whose path contains tegra 64 ---------------- 83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS) 85 L: linux-scsi@vger.kernel.org 88 F: drivers/scsi/3w-* [all …]
|
/linux-6.12.1/drivers/net/dsa/b53/ |
D | b53_common.c | 4 * Copyright (C) 2011-2013 Jonas Gorski <jogo@openwrt.org> 228 #define B53_MAX_MTU_25 (1536 - ETH_HLEN - VLAN_HLEN - ETH_FCS_LEN) 229 #define B53_MAX_MTU (9720 - ETH_HLEN - VLAN_HLEN - ETH_FCS_LEN) 235 b53_write8(dev, B53_ARLIO_PAGE, dev->vta_regs[0], VTA_START_CMD | op); in b53_do_vlan_op() 240 b53_read8(dev, B53_ARLIO_PAGE, dev->vta_regs[0], &vta); in b53_do_vlan_op() 247 return -EIO; in b53_do_vlan_op() 256 if (vlan->members) { in b53_set_vlan_entry() 257 entry = ((vlan->untag & VA_UNTAG_MASK_25) << in b53_set_vlan_entry() 258 VA_UNTAG_S_25) | vlan->members; in b53_set_vlan_entry() 259 if (dev->core_rev >= 3) in b53_set_vlan_entry() [all …]
|