Searched refs:mdio_bus_data (Results 1 – 14 of 14) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_mdio.c | 536 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()
|
D | dwmac-loongson.c | 75 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()
|
D | stmmac_pci.c | 28 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()
|
D | dwmac-tegra.c | 301 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()
|
D | dwmac-intel.c | 251 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()
|
D | stmmac_platform.c | 349 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()
|
D | dwmac-dwc-qos-eth.c | 338 data->mdio_bus_data->needs_reset = false; in tegra_eqos_probe()
|
D | stmmac_main.c | 1213 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/ |
D | sxgbe_platform.c | 45 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()
|
D | sxgbe_mdio.c | 199 struct sxgbe_mdio_bus_data *mdio_data = priv->plat->mdio_bus_data; in sxgbe_mdio_register()
|
/Linux-v6.6/include/linux/ |
D | sxgbe_platform.h | 44 struct sxgbe_mdio_bus_data *mdio_bus_data; member
|
D | stmmac.h | 241 struct stmmac_mdio_bus_data *mdio_bus_data; member
|
/Linux-v6.6/arch/mips/loongson32/common/ |
D | platform.c | 137 .mdio_bus_data = &ls1x_mdio_bus_data, 174 .mdio_bus_data = &ls1x_mdio_bus_data,
|
/Linux-v6.6/Documentation/networking/device_drivers/ethernet/stmicro/ |
D | stmmac.rst | 362 struct stmmac_mdio_bus_data *mdio_bus_data;
|