Lines Matching refs:port
373 struct b53_srab_port_priv *port = dev_id;
374 struct b53_device *dev = port->dev;
376 if (port->mode == PHY_INTERFACE_MODE_SGMII)
377 b53_port_event(dev->ds, port->num);
384 struct b53_srab_port_priv *port = dev_id;
385 struct b53_device *dev = port->dev;
389 writel(BIT(port->num), priv->regs + B53_SRAB_INTR);
395 static u8 b53_srab_serdes_map_lane(struct b53_device *dev, int port)
398 struct b53_srab_port_priv *p = &priv->port_intrs[port];
403 switch (port) {
414 static int b53_srab_irq_enable(struct b53_device *dev, int port)
417 struct b53_srab_port_priv *p = &priv->port_intrs[port];
435 static void b53_srab_irq_disable(struct b53_device *dev, int port)
438 struct b53_srab_port_priv *p = &priv->port_intrs[port];
446 static void b53_srab_phylink_get_caps(struct b53_device *dev, int port,
450 struct b53_srab_port_priv *p = &priv->port_intrs[port];
458 b53_serdes_phylink_get_caps(dev, port, config);
538 struct b53_srab_port_priv *port;
546 port = &priv->port_intrs[i];
548 /* There is no port 6 */
556 port->num = i;
557 port->dev = dev;
558 port->irq = platform_get_irq_byname_optional(pdev, name);
570 unsigned int port;
581 /* Obtain the port mux configuration so we know which lanes
584 for (port = 5; port > 3; port--, off += 4) {
585 p = &priv->port_intrs[port];
591 ret = b53_serdes_init(dev, port);
614 port, phy_modes(p->mode));