Lines Matching refs:plat_dat
1384 struct plat_stmmacenet_data *plat_dat; in rk_gmac_probe() local
1399 plat_dat = stmmac_probe_config_dt(pdev, &stmmac_res.mac); in rk_gmac_probe()
1400 if (IS_ERR(plat_dat)) in rk_gmac_probe()
1401 return PTR_ERR(plat_dat); in rk_gmac_probe()
1403 plat_dat->has_gmac = true; in rk_gmac_probe()
1404 plat_dat->fix_mac_speed = rk_fix_speed; in rk_gmac_probe()
1406 plat_dat->bsp_priv = rk_gmac_setup(pdev, plat_dat, data); in rk_gmac_probe()
1407 if (IS_ERR(plat_dat->bsp_priv)) { in rk_gmac_probe()
1408 ret = PTR_ERR(plat_dat->bsp_priv); in rk_gmac_probe()
1412 ret = rk_gmac_clk_init(plat_dat); in rk_gmac_probe()
1416 ret = rk_gmac_powerup(plat_dat->bsp_priv); in rk_gmac_probe()
1420 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in rk_gmac_probe()
1427 rk_gmac_powerdown(plat_dat->bsp_priv); in rk_gmac_probe()
1429 stmmac_remove_config_dt(pdev, plat_dat); in rk_gmac_probe()