Searched refs:stmmac_res (Results 1 – 10 of 10) sorted by relevance
| /linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/ |
| D | stmmac_platform.c | 245 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 …]
|
| 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 return stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in dwmac_generic_probe()
|
| 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() 64 return stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in lpc18xx_dwmac_probe()
|
| D | dwmac-meson.c | 53 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()
|
| D | dwmac-sunxi.c | 109 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()
|
| D | dwmac-socfpga.c | 238 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()
|
| D | dwmac-ipq806x.c | 261 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()
|
| D | dwmac-sti.c | 329 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()
|
| D | stmmac_platform.h | 28 struct stmmac_resources *stmmac_res);
|
| D | dwmac-rk.c | 572 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()
|