Home
last modified time | relevance | path

Searched +full:unimac +full:- +full:mdio (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/mdio/
H A DMakefile1 # 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_AIROHA) += mdio-airoha.o
9 obj-$(CONFIG_MDIO_ASPEED) += mdio-aspeed.o
10 obj-$(CONFIG_MDIO_BCM_IPROC) += mdio-bcm-iproc.o
11 obj-$(CONFIG_MDIO_BCM_UNIMAC) += mdio-bcm-unimac.o
12 obj-$(CONFIG_MDIO_BITBANG) += mdio-bitbang.o
[all …]
/linux/include/linux/platform_data/
H A Dmdio-bcm-unimac.h14 #define UNIMAC_MDIO_DRV_NAME "unimac-mdio"
/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmmii.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Broadcom GENET MDIO routines
5 * Copyright (c) 2014-2025 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 …]
H A Dbcmgenet.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2014-2025 Broadcom
23 #include <linux/dma-mapping.h>
49 (TOTAL_DESC - priv->hw_params->rx_queues * priv->hw_params->rx_bds_per_q)
51 (TOTAL_DESC - priv->hw_params->tx_queues * priv->hw_params->tx_bds_per_q)
57 #define WORDS_PER_BD(p) (p->hw_params->words_per_bd)
60 #define GENET_TDMA_REG_OFF (priv->hw_params->tdma_offset + \
63 #define GENET_RDMA_REG_OFF (priv->hw_params->rdma_offset + \
72 * peripheral registers for CPU-native byte order. in bcmgenet_writel()
102 * the platform is explicitly configured for 64-bits/LPAE. in dmadesc_set_addr()
[all …]
/linux/arch/arm64/boot/dts/broadcom/bcmbca/
H A Dbcm4908.dtsi1 // 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/drivers/net/dsa/
H A Dbcm_sf2.c1 // 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/drivers/net/phy/
H A Dbroadcom.c1 // 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))
54 /* Long-Distance Signaling (BroadR-Reach mode aneg) relevant linkmode bits */
65 struct bcm54xx_phy_priv *priv = phydev->priv; in bcm54xx_phy_can_wakeup()
67 return phy_interrupt_is_valid(phydev) || priv->wake_irq >= 0; in bcm54xx_phy_can_wakeup()
77 if (phydev->interface == PHY_INTERFACE_MODE_RGMII || in bcm54xx_config_clock_delay()
78 phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID) { in bcm54xx_config_clock_delay()
79 /* Disable RGMII RXC-RXD skew */ in bcm54xx_config_clock_delay()
[all …]
/linux/drivers/net/dsa/b53/
H A Db53_common.c4 * Copyright (C) 2011-2013 Jonas Gorski <jogo@openwrt.org>
230 #define B53_MAX_MTU_25 (1536 - ETH_HLEN - VLAN_HLEN - ETH_FCS_LEN)
231 #define B53_MAX_MTU (9720 - ETH_HLEN - VLAN_HLEN - ETH_FCS_LEN)
237 b53_write8(dev, B53_ARLIO_PAGE, dev->vta_regs[0], VTA_START_CMD | op); in b53_do_vlan_op()
242 b53_read8(dev, B53_ARLIO_PAGE, dev->vta_regs[0], &vta); in b53_do_vlan_op()
249 return -EIO; in b53_do_vlan_op()
258 if (vlan->members) { in b53_set_vlan_entry()
259 entry = ((vlan->untag & VA_UNTAG_MASK_25) << in b53_set_vlan_entry()
260 VA_UNTAG_S_25) | vlan->members; in b53_set_vlan_entry()
261 if (dev->core_rev >= 3) in b53_set_vlan_entry()
[all …]
/linux/
H A DMAINTAINERS5 ---------------------------------------------------
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 …]