/linux-6.3-rc2/drivers/net/ethernet/stmicro/stmmac/ |
A D | dwmac-dwc-qos-eth.c | 124 struct stmmac_resources *stmmac_res) in dwc_qos_probe() argument 418 struct stmmac_resources stmmac_res; in dwc_eth_dwmac_probe() local 423 memset(&stmmac_res, 0, sizeof(struct stmmac_resources)); in dwc_eth_dwmac_probe() 429 stmmac_res.irq = platform_get_irq(pdev, 0); in dwc_eth_dwmac_probe() 430 if (stmmac_res.irq < 0) in dwc_eth_dwmac_probe() 431 return stmmac_res.irq; in dwc_eth_dwmac_probe() 432 stmmac_res.wol_irq = stmmac_res.irq; in dwc_eth_dwmac_probe() 435 if (IS_ERR(stmmac_res.addr)) in dwc_eth_dwmac_probe() 436 return PTR_ERR(stmmac_res.addr); in dwc_eth_dwmac_probe() 438 plat_dat = stmmac_probe_config_dt(pdev, stmmac_res.mac); in dwc_eth_dwmac_probe() [all …]
|
A D | stmmac_platform.c | 662 struct stmmac_resources *stmmac_res) in stmmac_get_platform_resources() argument 664 memset(stmmac_res, 0, sizeof(*stmmac_res)); in stmmac_get_platform_resources() 670 if (stmmac_res->irq < 0) in stmmac_get_platform_resources() 671 return stmmac_res->irq; in stmmac_get_platform_resources() 680 stmmac_res->wol_irq = in stmmac_get_platform_resources() 682 if (stmmac_res->wol_irq < 0) { in stmmac_get_platform_resources() 683 if (stmmac_res->wol_irq == -EPROBE_DEFER) in stmmac_get_platform_resources() 686 stmmac_res->wol_irq = stmmac_res->irq; in stmmac_get_platform_resources() 689 stmmac_res->lpi_irq = in stmmac_get_platform_resources() 691 if (stmmac_res->lpi_irq < 0) { in stmmac_get_platform_resources() [all …]
|
A D | dwmac-lpc18xx.c | 31 struct stmmac_resources stmmac_res; in lpc18xx_dwmac_probe() local 36 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in lpc18xx_dwmac_probe() 40 plat_dat = stmmac_probe_config_dt(pdev, stmmac_res.mac); in lpc18xx_dwmac_probe() 66 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in lpc18xx_dwmac_probe()
|
A D | dwmac-generic.c | 22 struct stmmac_resources stmmac_res; in dwmac_generic_probe() local 25 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in dwmac_generic_probe() 30 plat_dat = stmmac_probe_config_dt(pdev, stmmac_res.mac); in dwmac_generic_probe() 56 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in dwmac_generic_probe()
|
A D | dwmac-meson.c | 47 struct stmmac_resources stmmac_res; in meson6_dwmac_probe() local 51 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in meson6_dwmac_probe() 55 plat_dat = stmmac_probe_config_dt(pdev, stmmac_res.mac); in meson6_dwmac_probe() 74 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in meson6_dwmac_probe()
|
A D | dwmac-intel-plat.c | 78 struct stmmac_resources stmmac_res; in intel_eth_plat_probe() local 84 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in intel_eth_plat_probe() 88 plat_dat = stmmac_probe_config_dt(pdev, stmmac_res.mac); in intel_eth_plat_probe() 155 writel(tx_lpi_usec, stmmac_res.addr + GMAC_1US_TIC_COUNTER); in intel_eth_plat_probe() 158 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in intel_eth_plat_probe()
|
A D | dwmac-anarion.c | 108 struct stmmac_resources stmmac_res; in anarion_dwmac_probe() local 110 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in anarion_dwmac_probe() 118 plat_dat = stmmac_probe_config_dt(pdev, stmmac_res.mac); in anarion_dwmac_probe() 127 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in anarion_dwmac_probe()
|
A D | dwmac-sunxi.c | 102 struct stmmac_resources stmmac_res; in sun7i_gmac_probe() local 107 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in sun7i_gmac_probe() 111 plat_dat = stmmac_probe_config_dt(pdev, stmmac_res.mac); in sun7i_gmac_probe() 160 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in sun7i_gmac_probe()
|
A D | dwmac-oxnas.c | 149 struct stmmac_resources stmmac_res; in oxnas_dwmac_probe() local 153 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in oxnas_dwmac_probe() 157 plat_dat = stmmac_probe_config_dt(pdev, stmmac_res.mac); in oxnas_dwmac_probe() 196 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in oxnas_dwmac_probe()
|
A D | dwmac-visconti.c | 216 struct stmmac_resources stmmac_res; in visconti_eth_dwmac_probe() local 220 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in visconti_eth_dwmac_probe() 224 plat_dat = stmmac_probe_config_dt(pdev, stmmac_res.mac); in visconti_eth_dwmac_probe() 235 dwmac->reg = stmmac_res.addr; in visconti_eth_dwmac_probe() 248 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in visconti_eth_dwmac_probe()
|
A D | dwmac-imx.c | 259 struct stmmac_resources stmmac_res; in imx_dwmac_probe() local 264 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in imx_dwmac_probe() 272 plat_dat = stmmac_probe_config_dt(pdev, stmmac_res.mac); in imx_dwmac_probe() 308 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in imx_dwmac_probe()
|
A D | dwmac-ingenic.c | 235 struct stmmac_resources stmmac_res; in ingenic_mac_probe() local 241 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in ingenic_mac_probe() 245 plat_dat = stmmac_probe_config_dt(pdev, stmmac_res.mac); in ingenic_mac_probe() 301 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in ingenic_mac_probe()
|
A D | dwmac-sti.c | 314 struct stmmac_resources stmmac_res; in sti_dwmac_probe() local 324 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in sti_dwmac_probe() 328 plat_dat = stmmac_probe_config_dt(pdev, stmmac_res.mac); in sti_dwmac_probe() 357 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in sti_dwmac_probe()
|
A D | dwmac-ipq806x.c | 377 struct stmmac_resources stmmac_res; in ipq806x_gmac_probe() local 383 val = stmmac_get_platform_resources(pdev, &stmmac_res); in ipq806x_gmac_probe() 387 plat_dat = stmmac_probe_config_dt(pdev, stmmac_res.mac); in ipq806x_gmac_probe() 476 err = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in ipq806x_gmac_probe()
|
A D | dwmac-meson8b.c | 391 struct stmmac_resources stmmac_res; in meson8b_dwmac_probe() local 395 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in meson8b_dwmac_probe() 399 plat_dat = stmmac_probe_config_dt(pdev, stmmac_res.mac); in meson8b_dwmac_probe() 484 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in meson8b_dwmac_probe()
|
A D | dwmac-socfpga.c | 382 struct stmmac_resources stmmac_res; in socfpga_dwmac_probe() local 396 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in socfpga_dwmac_probe() 400 plat_dat = stmmac_probe_config_dt(pdev, stmmac_res.mac); in socfpga_dwmac_probe() 429 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in socfpga_dwmac_probe()
|
A D | dwmac-stm32.c | 365 struct stmmac_resources stmmac_res; in stm32_dwmac_probe() local 370 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in stm32_dwmac_probe() 374 plat_dat = stmmac_probe_config_dt(pdev, stmmac_res.mac); in stm32_dwmac_probe() 406 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in stm32_dwmac_probe()
|
A D | stmmac_platform.h | 20 struct stmmac_resources *stmmac_res);
|
A D | dwmac-qcom-ethqos.c | 508 struct stmmac_resources stmmac_res; in qcom_ethqos_probe() local 513 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in qcom_ethqos_probe() 517 plat_dat = stmmac_probe_config_dt(pdev, stmmac_res.mac); in qcom_ethqos_probe() 566 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in qcom_ethqos_probe()
|
A D | dwmac-mediatek.c | 628 struct stmmac_resources stmmac_res; in mediatek_dwmac_probe() local 652 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in mediatek_dwmac_probe() 656 plat_dat = stmmac_probe_config_dt(pdev, stmmac_res.mac); in mediatek_dwmac_probe() 667 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in mediatek_dwmac_probe()
|
A D | dwmac-sun8i.c | 1137 struct stmmac_resources stmmac_res; in sun8i_dwmac_probe() local 1146 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in sun8i_dwmac_probe() 1208 plat_dat = stmmac_probe_config_dt(pdev, stmmac_res.mac); in sun8i_dwmac_probe() 1234 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in sun8i_dwmac_probe()
|
A D | dwmac-rk.c | 1862 struct stmmac_resources stmmac_res; in rk_gmac_probe() local 1872 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in rk_gmac_probe() 1876 plat_dat = stmmac_probe_config_dt(pdev, stmmac_res.mac); in rk_gmac_probe() 1901 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in rk_gmac_probe()
|