Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_mdio.c437 struct stmmac_mdio_bus_data *mdio_bus_data = priv->plat->mdio_bus_data; in stmmac_mdio_register() local
442 if (!mdio_bus_data) in stmmac_mdio_register()
449 if (mdio_bus_data->irqs) in stmmac_mdio_register()
450 memcpy(new_bus->irq, mdio_bus_data->irqs, sizeof(new_bus->irq)); in stmmac_mdio_register()
474 if (mdio_bus_data->needs_reset) in stmmac_mdio_register()
480 new_bus->phy_mask = mdio_bus_data->phy_mask; in stmmac_mdio_register()
507 if (!mdio_bus_data->irqs && in stmmac_mdio_register()
508 (mdio_bus_data->probed_phy_irq > 0)) { in stmmac_mdio_register()
509 new_bus->irq[addr] = mdio_bus_data->probed_phy_irq; in stmmac_mdio_register()
510 phydev->irq = mdio_bus_data->probed_phy_irq; in stmmac_mdio_register()
Ddwmac-loongson.c78 plat->mdio_bus_data = devm_kzalloc(&pdev->dev, in loongson_dwmac_probe()
79 sizeof(*plat->mdio_bus_data), in loongson_dwmac_probe()
81 if (!plat->mdio_bus_data) in loongson_dwmac_probe()
83 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-intel.c251 priv->plat->mdio_bus_data->xpcs_an_inband = false; in intel_speed_mode_2500()
255 priv->plat->mdio_bus_data->xpcs_an_inband = true; in intel_speed_mode_2500()
426 plat->mdio_bus_data->needs_reset = true; in common_default_data()
572 plat->mdio_bus_data->has_xpcs = true; in intel_mgbe_common_data()
573 plat->mdio_bus_data->xpcs_an_inband = true; in intel_mgbe_common_data()
577 plat->mdio_bus_data->phy_mask = 1 << INTEL_MGBE_ADHOC_ADDR; in intel_mgbe_common_data()
578 plat->mdio_bus_data->phy_mask |= 1 << INTEL_MGBE_XPCS_ADDR; in intel_mgbe_common_data()
1009 plat->mdio_bus_data = devm_kzalloc(&pdev->dev, in intel_eth_pci_probe()
1010 sizeof(*plat->mdio_bus_data), in intel_eth_pci_probe()
1012 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.c340 data->mdio_bus_data->needs_reset = false; in tegra_eqos_probe()
Dstmmac_main.c1159 struct stmmac_mdio_bus_data *mdio_bus_data = priv->plat->mdio_bus_data; in stmmac_phy_setup() local
1167 if (priv->plat->mdio_bus_data) in stmmac_phy_setup()
1169 mdio_bus_data->xpcs_an_inband; in stmmac_phy_setup()
7142 if (priv->plat->mdio_bus_data && priv->plat->mdio_bus_data->has_xpcs) { in stmmac_dvr_probe()
/linux-5.19.10/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.c144 struct sxgbe_mdio_bus_data *mdio_data = priv->plat->mdio_bus_data; in sxgbe_mdio_register()
/linux-5.19.10/include/linux/
Dsxgbe_platform.h44 struct sxgbe_mdio_bus_data *mdio_bus_data; member
Dstmmac.h194 struct stmmac_mdio_bus_data *mdio_bus_data; member
/linux-5.19.10/arch/mips/loongson32/common/
Dplatform.c153 .mdio_bus_data = &ls1x_mdio_bus_data,
190 .mdio_bus_data = &ls1x_mdio_bus_data,
/linux-5.19.10/Documentation/networking/device_drivers/ethernet/stmicro/
Dstmmac.rst362 struct stmmac_mdio_bus_data *mdio_bus_data;