Home
last modified time | relevance | path

Searched refs:mdio_bus_data (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_mdio.c536 struct stmmac_mdio_bus_data *mdio_bus_data = priv->plat->mdio_bus_data; in stmmac_mdio_register() local
543 if (!mdio_bus_data) in stmmac_mdio_register()
550 if (mdio_bus_data->irqs) in stmmac_mdio_register()
551 memcpy(new_bus->irq, mdio_bus_data->irqs, sizeof(new_bus->irq)); in stmmac_mdio_register()
584 if (mdio_bus_data->needs_reset) in stmmac_mdio_register()
590 new_bus->phy_mask = mdio_bus_data->phy_mask; in stmmac_mdio_register()
630 if (!mdio_bus_data->irqs && in stmmac_mdio_register()
631 (mdio_bus_data->probed_phy_irq > 0)) { in stmmac_mdio_register()
632 new_bus->irq[addr] = mdio_bus_data->probed_phy_irq; in stmmac_mdio_register()
633 phydev->irq = mdio_bus_data->probed_phy_irq; in stmmac_mdio_register()
Ddwmac-loongson.c75 plat->mdio_bus_data = devm_kzalloc(&pdev->dev, in loongson_dwmac_probe()
76 sizeof(*plat->mdio_bus_data), in loongson_dwmac_probe()
78 if (!plat->mdio_bus_data) { in loongson_dwmac_probe()
82 plat->mdio_bus_data->needs_reset = true; in loongson_dwmac_probe()
Dstmmac_pci.c28 plat->mdio_bus_data->needs_reset = true; in common_default_data()
166 plat->mdio_bus_data = devm_kzalloc(&pdev->dev, in stmmac_pci_probe()
167 sizeof(*plat->mdio_bus_data), in stmmac_pci_probe()
169 if (!plat->mdio_bus_data) in stmmac_pci_probe()
Ddwmac-tegra.c301 if (!plat->mdio_bus_data) { in tegra_mgbe_probe()
302 plat->mdio_bus_data = devm_kzalloc(&pdev->dev, sizeof(*plat->mdio_bus_data), in tegra_mgbe_probe()
304 if (!plat->mdio_bus_data) { in tegra_mgbe_probe()
310 plat->mdio_bus_data->needs_reset = true; in tegra_mgbe_probe()
Ddwmac-intel.c251 priv->plat->mdio_bus_data->xpcs_an_inband = false; in intel_speed_mode_2500()
423 plat->mdio_bus_data->needs_reset = true; in common_default_data()
588 plat->mdio_bus_data->has_xpcs = true; in intel_mgbe_common_data()
589 plat->mdio_bus_data->xpcs_an_inband = true; in intel_mgbe_common_data()
598 plat->mdio_bus_data->xpcs_an_inband = false; in intel_mgbe_common_data()
604 plat->mdio_bus_data->phy_mask = 1 << INTEL_MGBE_ADHOC_ADDR; in intel_mgbe_common_data()
605 plat->mdio_bus_data->phy_mask |= 1 << INTEL_MGBE_XPCS_ADDR; in intel_mgbe_common_data()
1043 plat->mdio_bus_data = devm_kzalloc(&pdev->dev, in intel_eth_pci_probe()
1044 sizeof(*plat->mdio_bus_data), in intel_eth_pci_probe()
1046 if (!plat->mdio_bus_data) in intel_eth_pci_probe()
Dstmmac_platform.c349 plat->mdio_bus_data = in stmmac_dt_phy()
352 if (!plat->mdio_bus_data) in stmmac_dt_phy()
355 plat->mdio_bus_data->needs_reset = true; in stmmac_dt_phy()
Ddwmac-dwc-qos-eth.c338 data->mdio_bus_data->needs_reset = false; in tegra_eqos_probe()
Dstmmac_main.c1213 struct stmmac_mdio_bus_data *mdio_bus_data; in stmmac_phy_setup() local
1223 mdio_bus_data = priv->plat->mdio_bus_data; in stmmac_phy_setup()
1224 if (mdio_bus_data) in stmmac_phy_setup()
1226 mdio_bus_data->xpcs_an_inband; in stmmac_phy_setup()
7571 if (priv->plat->mdio_bus_data && priv->plat->mdio_bus_data->has_xpcs) { in stmmac_dvr_probe()
/Linux-v6.6/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_platform.c45 plat->mdio_bus_data = devm_kzalloc(&pdev->dev, in sxgbe_probe_config_dt()
46 sizeof(*plat->mdio_bus_data), in sxgbe_probe_config_dt()
48 if (!plat->mdio_bus_data) in sxgbe_probe_config_dt()
Dsxgbe_mdio.c199 struct sxgbe_mdio_bus_data *mdio_data = priv->plat->mdio_bus_data; in sxgbe_mdio_register()
/Linux-v6.6/include/linux/
Dsxgbe_platform.h44 struct sxgbe_mdio_bus_data *mdio_bus_data; member
Dstmmac.h241 struct stmmac_mdio_bus_data *mdio_bus_data; member
/Linux-v6.6/arch/mips/loongson32/common/
Dplatform.c137 .mdio_bus_data = &ls1x_mdio_bus_data,
174 .mdio_bus_data = &ls1x_mdio_bus_data,
/Linux-v6.6/Documentation/networking/device_drivers/ethernet/stmicro/
Dstmmac.rst362 struct stmmac_mdio_bus_data *mdio_bus_data;