Lines Matching refs:stmmac_res
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()
447 plat_dat = stmmac_probe_config_dt(pdev, &stmmac_res.mac); in dwc_eth_dwmac_probe()
451 priv = data->probe(pdev, plat_dat, &stmmac_res); in dwc_eth_dwmac_probe()
466 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in dwc_eth_dwmac_probe()