Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_platform.c245 struct stmmac_resources *stmmac_res) in stmmac_get_platform_resources() argument
249 memset(stmmac_res, 0, sizeof(*stmmac_res)); in stmmac_get_platform_resources()
254 stmmac_res->irq = platform_get_irq_byname(pdev, "macirq"); in stmmac_get_platform_resources()
255 if (stmmac_res->irq < 0) { in stmmac_get_platform_resources()
256 if (stmmac_res->irq != -EPROBE_DEFER) { in stmmac_get_platform_resources()
260 return stmmac_res->irq; in stmmac_get_platform_resources()
270 stmmac_res->wol_irq = platform_get_irq_byname(pdev, "eth_wake_irq"); in stmmac_get_platform_resources()
271 if (stmmac_res->wol_irq < 0) { in stmmac_get_platform_resources()
272 if (stmmac_res->wol_irq == -EPROBE_DEFER) in stmmac_get_platform_resources()
274 stmmac_res->wol_irq = stmmac_res->irq; in stmmac_get_platform_resources()
[all …]
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 return stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in dwmac_generic_probe()
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()
64 return stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in lpc18xx_dwmac_probe()
Ddwmac-meson.c53 struct stmmac_resources stmmac_res; in meson6_dwmac_probe() local
58 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in meson6_dwmac_probe()
62 plat_dat = stmmac_probe_config_dt(pdev, &stmmac_res.mac); in meson6_dwmac_probe()
78 return stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in meson6_dwmac_probe()
Ddwmac-sunxi.c109 struct stmmac_resources stmmac_res; in sun7i_gmac_probe() local
114 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in sun7i_gmac_probe()
118 plat_dat = stmmac_probe_config_dt(pdev, &stmmac_res.mac); in sun7i_gmac_probe()
156 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in sun7i_gmac_probe()
Ddwmac-socfpga.c238 struct stmmac_resources stmmac_res; in socfpga_dwmac_probe() local
243 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in socfpga_dwmac_probe()
247 plat_dat = stmmac_probe_config_dt(pdev, &stmmac_res.mac); in socfpga_dwmac_probe()
276 return stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in socfpga_dwmac_probe()
Ddwmac-ipq806x.c261 struct stmmac_resources stmmac_res; in ipq806x_gmac_probe() local
267 val = stmmac_get_platform_resources(pdev, &stmmac_res); in ipq806x_gmac_probe()
271 plat_dat = stmmac_probe_config_dt(pdev, &stmmac_res.mac); in ipq806x_gmac_probe()
351 return stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in ipq806x_gmac_probe()
Ddwmac-sti.c329 struct stmmac_resources stmmac_res; in sti_dwmac_probe() local
339 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in sti_dwmac_probe()
343 plat_dat = stmmac_probe_config_dt(pdev, &stmmac_res.mac); in sti_dwmac_probe()
368 return stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in sti_dwmac_probe()
Dstmmac_platform.h28 struct stmmac_resources *stmmac_res);
Ddwmac-rk.c572 struct stmmac_resources stmmac_res; in rk_gmac_probe() local
582 ret = stmmac_get_platform_resources(pdev, &stmmac_res); in rk_gmac_probe()
586 plat_dat = stmmac_probe_config_dt(pdev, &stmmac_res.mac); in rk_gmac_probe()
603 return stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in rk_gmac_probe()