Lines Matching full:plat
216 struct plat_stmmacenet_data *plat; in tegra_mgbe_probe() local
305 plat = devm_stmmac_probe_config_dt(pdev, res.mac); in tegra_mgbe_probe()
306 if (IS_ERR(plat)) { in tegra_mgbe_probe()
307 err = PTR_ERR(plat); in tegra_mgbe_probe()
311 plat->has_xgmac = 1; in tegra_mgbe_probe()
312 plat->flags |= STMMAC_FLAG_TSO_EN; in tegra_mgbe_probe()
313 plat->pmt = 1; in tegra_mgbe_probe()
314 plat->bsp_priv = mgbe; in tegra_mgbe_probe()
316 if (!plat->mdio_node) in tegra_mgbe_probe()
317 plat->mdio_node = of_get_child_by_name(pdev->dev.of_node, "mdio"); in tegra_mgbe_probe()
319 if (!plat->mdio_bus_data) { in tegra_mgbe_probe()
320 plat->mdio_bus_data = devm_kzalloc(&pdev->dev, sizeof(*plat->mdio_bus_data), in tegra_mgbe_probe()
322 if (!plat->mdio_bus_data) { in tegra_mgbe_probe()
328 plat->mdio_bus_data->needs_reset = true; in tegra_mgbe_probe()
345 plat->serdes_powerup = mgbe_uphy_lane_bringup_serdes_up; in tegra_mgbe_probe()
346 plat->serdes_powerdown = mgbe_uphy_lane_bringup_serdes_down; in tegra_mgbe_probe()
349 plat->tx_fifo_size = 131072; in tegra_mgbe_probe()
351 plat->rx_fifo_size = 196608; in tegra_mgbe_probe()
359 plat->flags |= STMMAC_FLAG_SERDES_UP_AFTER_PHY_LINKUP; in tegra_mgbe_probe()
361 err = stmmac_dvr_probe(&pdev->dev, plat, &res); in tegra_mgbe_probe()