Lines Matching refs:ports
163 struct ocelot_phy_port_t ports[MAX_PORT];
227 /* Enable IFH insertion/parsing on CPU ports */
357 if (!priv->ports[i].bus || priv->ports[i].serdes_index == 0xff)
360 mask = BIT(priv->ports[i].serdes_index);
362 priv->ports[i].phy_mode);
397 * Put fron ports in "port isolation modes" - i.e. they cant send
398 * to other ports - via the PGID sorce masks.
517 priv->ports[index].phy_addr = phy_addr;
518 priv->ports[index].bus = bus;
519 priv->ports[index].serdes_index = serdes_index;
520 priv->ports[index].phy_mode = phy_mode;
525 return priv->ports[port_index].serdes_index != 0xff;
558 /* iterate all the ports and find out on which bus they are */
606 if (!priv->ports[i].bus)
609 phy = phy_connect(priv->ports[i].bus,
610 priv->ports[i].phy_addr, dev,