Home
last modified time | relevance | path

Searched refs:stmmac_res (Results 1 – 22 of 22) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/stmicro/stmmac/
A Ddwmac-dwc-qos-eth.c124 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 Dstmmac_platform.c662 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 Ddwmac-lpc18xx.c31 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 Ddwmac-generic.c22 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 Ddwmac-meson.c47 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 Ddwmac-intel-plat.c78 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 Ddwmac-anarion.c108 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 Ddwmac-sunxi.c102 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 Ddwmac-oxnas.c149 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 Ddwmac-visconti.c216 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 Ddwmac-imx.c259 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 Ddwmac-ingenic.c235 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 Ddwmac-sti.c314 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 Ddwmac-ipq806x.c377 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 Ddwmac-meson8b.c391 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 Ddwmac-socfpga.c382 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 Ddwmac-stm32.c365 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 Dstmmac_platform.h20 struct stmmac_resources *stmmac_res);
A Ddwmac-qcom-ethqos.c508 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 Ddwmac-mediatek.c628 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 Ddwmac-sun8i.c1137 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 Ddwmac-rk.c1862 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()

Completed in 43 milliseconds