Lines Matching refs:plat_dat
1123 struct plat_stmmacenet_data *plat_dat; in sun8i_dwmac_probe() local
1137 plat_dat = stmmac_probe_config_dt(pdev, &stmmac_res.mac); in sun8i_dwmac_probe()
1138 if (IS_ERR(plat_dat)) in sun8i_dwmac_probe()
1139 return PTR_ERR(plat_dat); in sun8i_dwmac_probe()
1204 plat_dat->interface = interface; in sun8i_dwmac_probe()
1209 plat_dat->rx_coe = STMMAC_RX_COE_TYPE2; in sun8i_dwmac_probe()
1210 plat_dat->tx_coe = 1; in sun8i_dwmac_probe()
1211 plat_dat->has_sun8i = true; in sun8i_dwmac_probe()
1212 plat_dat->bsp_priv = gmac; in sun8i_dwmac_probe()
1213 plat_dat->init = sun8i_dwmac_init; in sun8i_dwmac_probe()
1214 plat_dat->exit = sun8i_dwmac_exit; in sun8i_dwmac_probe()
1215 plat_dat->setup = sun8i_dwmac_setup; in sun8i_dwmac_probe()
1217 ret = sun8i_dwmac_init(pdev, plat_dat->bsp_priv); in sun8i_dwmac_probe()
1221 ret = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in sun8i_dwmac_probe()