/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac-dwc-qos-eth.c | 124 struct stmmac_resources *stmmac_res) in dwc_qos_probe() argument 426 struct stmmac_resources stmmac_res; in dwc_eth_dwmac_probe() local 432 memset(&stmmac_res, 0, sizeof(struct stmmac_resources)); in dwc_eth_dwmac_probe() 438 stmmac_res.irq = platform_get_irq(pdev, 0); in dwc_eth_dwmac_probe() 439 if (stmmac_res.irq < 0) in dwc_eth_dwmac_probe() 440 return stmmac_res.irq; in dwc_eth_dwmac_probe() 441 stmmac_res.wol_irq = stmmac_res.irq; in dwc_eth_dwmac_probe() 443 stmmac_res.addr = devm_platform_ioremap_resource(pdev, 0); in dwc_eth_dwmac_probe() 444 if (IS_ERR(stmmac_res.addr)) in dwc_eth_dwmac_probe() 445 return PTR_ERR(stmmac_res.addr); in dwc_eth_dwmac_probe() [all …]
|
D | stmmac_platform.c | 648 struct stmmac_resources *stmmac_res) in stmmac_get_platform_resources() argument 650 memset(stmmac_res, 0, sizeof(*stmmac_res)); in stmmac_get_platform_resources() 655 stmmac_res->irq = platform_get_irq_byname(pdev, "macirq"); in stmmac_get_platform_resources() 656 if (stmmac_res->irq < 0) in stmmac_get_platform_resources() 657 return stmmac_res->irq; in stmmac_get_platform_resources() 666 stmmac_res->wol_irq = in stmmac_get_platform_resources() 668 if (stmmac_res->wol_irq < 0) { in stmmac_get_platform_resources() 669 if (stmmac_res->wol_irq == -EPROBE_DEFER) in stmmac_get_platform_resources() 672 stmmac_res->wol_irq = stmmac_res->irq; in stmmac_get_platform_resources() 675 stmmac_res->lpi_irq = in stmmac_get_platform_resources() [all …]
|
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()
|
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()
|
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()
|
D | dwmac-intel-plat.c | 80 struct stmmac_resources stmmac_res; in intel_eth_plat_probe() local 87 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in intel_eth_plat_probe() 91 plat_dat = stmmac_probe_config_dt(pdev, &stmmac_res.mac); in intel_eth_plat_probe() 158 writel(tx_lpi_usec, stmmac_res.addr + GMAC_1US_TIC_COUNTER); in intel_eth_plat_probe() 161 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in intel_eth_plat_probe()
|
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()
|
D | dwmac-oxnas.c | 113 struct stmmac_resources stmmac_res; in oxnas_dwmac_probe() local 117 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in oxnas_dwmac_probe() 121 plat_dat = stmmac_probe_config_dt(pdev, &stmmac_res.mac); in oxnas_dwmac_probe() 154 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in oxnas_dwmac_probe()
|
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()
|
D | dwmac-imx.c | 216 struct stmmac_resources stmmac_res; in imx_dwmac_probe() local 221 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in imx_dwmac_probe() 229 plat_dat = stmmac_probe_config_dt(pdev, &stmmac_res.mac); in imx_dwmac_probe() 260 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in imx_dwmac_probe()
|
D | dwmac-ipq806x.c | 248 struct stmmac_resources stmmac_res; in ipq806x_gmac_probe() local 254 val = stmmac_get_platform_resources(pdev, &stmmac_res); in ipq806x_gmac_probe() 258 plat_dat = stmmac_probe_config_dt(pdev, &stmmac_res.mac); in ipq806x_gmac_probe() 356 err = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in ipq806x_gmac_probe()
|
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()
|
D | dwmac-meson8b.c | 367 struct stmmac_resources stmmac_res; in meson8b_dwmac_probe() local 371 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in meson8b_dwmac_probe() 375 plat_dat = stmmac_probe_config_dt(pdev, &stmmac_res.mac); in meson8b_dwmac_probe() 442 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in meson8b_dwmac_probe()
|
D | dwmac-socfpga.c | 383 struct stmmac_resources stmmac_res; in socfpga_dwmac_probe() local 397 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in socfpga_dwmac_probe() 401 plat_dat = stmmac_probe_config_dt(pdev, &stmmac_res.mac); in socfpga_dwmac_probe() 430 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in socfpga_dwmac_probe()
|
D | dwmac-mediatek.c | 382 struct stmmac_resources stmmac_res; in mediatek_dwmac_probe() local 406 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in mediatek_dwmac_probe() 410 plat_dat = stmmac_probe_config_dt(pdev, &stmmac_res.mac); in mediatek_dwmac_probe() 425 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in mediatek_dwmac_probe()
|
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()
|
D | stmmac_platform.h | 20 struct stmmac_resources *stmmac_res);
|
D | dwmac-qcom-ethqos.c | 454 struct stmmac_resources stmmac_res; in qcom_ethqos_probe() local 460 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in qcom_ethqos_probe() 464 plat_dat = stmmac_probe_config_dt(pdev, &stmmac_res.mac); in qcom_ethqos_probe() 509 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in qcom_ethqos_probe()
|
D | dwmac-sun8i.c | 1124 struct stmmac_resources stmmac_res; in sun8i_dwmac_probe() local 1133 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in sun8i_dwmac_probe() 1137 plat_dat = stmmac_probe_config_dt(pdev, &stmmac_res.mac); in sun8i_dwmac_probe() 1221 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in sun8i_dwmac_probe()
|
D | dwmac-rk.c | 1385 struct stmmac_resources stmmac_res; in rk_gmac_probe() local 1395 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in rk_gmac_probe() 1399 plat_dat = stmmac_probe_config_dt(pdev, &stmmac_res.mac); in rk_gmac_probe() 1420 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in rk_gmac_probe()
|