/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac-dwc-qos-eth.c | 124 struct stmmac_resources *stmmac_res) in dwc_qos_probe() argument 427 struct stmmac_resources stmmac_res; in dwc_eth_dwmac_probe() local 433 memset(&stmmac_res, 0, sizeof(struct stmmac_resources)); in dwc_eth_dwmac_probe() 439 stmmac_res.irq = platform_get_irq(pdev, 0); in dwc_eth_dwmac_probe() 440 if (stmmac_res.irq < 0) in dwc_eth_dwmac_probe() 441 return stmmac_res.irq; in dwc_eth_dwmac_probe() 442 stmmac_res.wol_irq = stmmac_res.irq; in dwc_eth_dwmac_probe() 444 stmmac_res.addr = devm_platform_ioremap_resource(pdev, 0); in dwc_eth_dwmac_probe() 445 if (IS_ERR(stmmac_res.addr)) in dwc_eth_dwmac_probe() 446 return PTR_ERR(stmmac_res.addr); in dwc_eth_dwmac_probe() [all …]
|
D | stmmac_platform.c | 660 struct stmmac_resources *stmmac_res) in stmmac_get_platform_resources() argument 662 memset(stmmac_res, 0, sizeof(*stmmac_res)); in stmmac_get_platform_resources() 667 stmmac_res->irq = platform_get_irq_byname(pdev, "macirq"); in stmmac_get_platform_resources() 668 if (stmmac_res->irq < 0) in stmmac_get_platform_resources() 669 return stmmac_res->irq; in stmmac_get_platform_resources() 678 stmmac_res->wol_irq = in stmmac_get_platform_resources() 680 if (stmmac_res->wol_irq < 0) { in stmmac_get_platform_resources() 681 if (stmmac_res->wol_irq == -EPROBE_DEFER) in stmmac_get_platform_resources() 684 stmmac_res->wol_irq = stmmac_res->irq; in stmmac_get_platform_resources() 687 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() 351 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 | 365 struct stmmac_resources stmmac_res; in meson8b_dwmac_probe() local 369 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in meson8b_dwmac_probe() 373 plat_dat = stmmac_probe_config_dt(pdev, &stmmac_res.mac); in meson8b_dwmac_probe() 440 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in meson8b_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-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()
|
D | dwmac-stm32.c | 367 struct stmmac_resources stmmac_res; in stm32_dwmac_probe() local 372 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in stm32_dwmac_probe() 376 plat_dat = stmmac_probe_config_dt(pdev, &stmmac_res.mac); in stm32_dwmac_probe() 408 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in stm32_dwmac_probe()
|
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() 511 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in qcom_ethqos_probe()
|
D | stmmac_platform.h | 20 struct stmmac_resources *stmmac_res);
|
D | dwmac-sun8i.c | 1129 struct stmmac_resources stmmac_res; in sun8i_dwmac_probe() local 1138 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in sun8i_dwmac_probe() 1206 plat_dat = stmmac_probe_config_dt(pdev, &stmmac_res.mac); in sun8i_dwmac_probe() 1232 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in sun8i_dwmac_probe()
|
D | dwmac-rk.c | 1375 struct stmmac_resources stmmac_res; in rk_gmac_probe() local 1385 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in rk_gmac_probe() 1389 plat_dat = stmmac_probe_config_dt(pdev, &stmmac_res.mac); in rk_gmac_probe() 1410 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in rk_gmac_probe()
|