Lines Matching refs:plat_dat
101 struct plat_stmmacenet_data *plat_dat; in sun7i_gmac_probe() local
111 plat_dat = stmmac_probe_config_dt(pdev, stmmac_res.mac); in sun7i_gmac_probe()
112 if (IS_ERR(plat_dat)) in sun7i_gmac_probe()
113 return PTR_ERR(plat_dat); in sun7i_gmac_probe()
147 plat_dat->tx_coe = 1; in sun7i_gmac_probe()
148 plat_dat->has_gmac = true; in sun7i_gmac_probe()
149 plat_dat->bsp_priv = gmac; in sun7i_gmac_probe()
150 plat_dat->init = sun7i_gmac_init; in sun7i_gmac_probe()
151 plat_dat->exit = sun7i_gmac_exit; in sun7i_gmac_probe()
152 plat_dat->fix_mac_speed = sun7i_fix_speed; in sun7i_gmac_probe()
153 plat_dat->tx_fifo_size = 4096; in sun7i_gmac_probe()
154 plat_dat->rx_fifo_size = 16384; in sun7i_gmac_probe()
156 ret = sun7i_gmac_init(pdev, plat_dat->bsp_priv); in sun7i_gmac_probe()
160 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in sun7i_gmac_probe()
167 sun7i_gmac_exit(pdev, plat_dat->bsp_priv); in sun7i_gmac_probe()
169 stmmac_remove_config_dt(pdev, plat_dat); in sun7i_gmac_probe()