Lines Matching refs:plat_dat
101 struct plat_stmmacenet_data *plat_dat;
111 plat_dat = devm_stmmac_probe_config_dt(pdev, stmmac_res.mac);
112 if (IS_ERR(plat_dat))
113 return PTR_ERR(plat_dat);
142 plat_dat->tx_coe = 1;
143 plat_dat->has_gmac = true;
144 plat_dat->bsp_priv = gmac;
145 plat_dat->init = sun7i_gmac_init;
146 plat_dat->exit = sun7i_gmac_exit;
147 plat_dat->fix_mac_speed = sun7i_fix_speed;
148 plat_dat->tx_fifo_size = 4096;
149 plat_dat->rx_fifo_size = 16384;
151 ret = sun7i_gmac_init(pdev, plat_dat->bsp_priv);
155 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res);
162 sun7i_gmac_exit(pdev, plat_dat->bsp_priv);