Lines Matching refs:gop_id
1222 return port->gop_id == 0; in mvpp2_port_supports_xlg()
1227 return !(port->priv->hw_version == MVPP22 && port->gop_id == 0); in mvpp2_port_supports_rgmii()
1258 if (port->gop_id == 2) in mvpp22_gop_init_rgmii()
1260 else if (port->gop_id == 3) in mvpp22_gop_init_rgmii()
1275 if (port->gop_id > 1) { in mvpp22_gop_init_sgmii()
1277 if (port->gop_id == 2) in mvpp22_gop_init_sgmii()
1279 else if (port->gop_id == 3) in mvpp22_gop_init_sgmii()
1288 void __iomem *mpcs = priv->iface_base + MVPP22_MPCS_BASE(port->gop_id); in mvpp22_gop_init_10gkr()
1289 void __iomem *xpcs = priv->iface_base + MVPP22_XPCS_BASE(port->gop_id); in mvpp22_gop_init_10gkr()
1340 val |= GENCONF_PORT_CTRL1_RESET(port->gop_id) | in mvpp22_gop_init()
1341 GENCONF_PORT_CTRL1_EN(port->gop_id); in mvpp22_gop_init()
1845 if (port->priv->hw_version == MVPP22 && port->gop_id == 0) { in mvpp2_mac_reset_assert()
1858 if (port->priv->hw_version != MVPP22 || port->gop_id != 0) in mvpp22_pcs_reset_assert()
1861 mpcs = priv->iface_base + MVPP22_MPCS_BASE(port->gop_id); in mvpp22_pcs_reset_assert()
1862 xpcs = priv->iface_base + MVPP22_XPCS_BASE(port->gop_id); in mvpp22_pcs_reset_assert()
1879 if (port->priv->hw_version != MVPP22 || port->gop_id != 0) in mvpp22_pcs_reset_deassert()
1882 mpcs = priv->iface_base + MVPP22_MPCS_BASE(port->gop_id); in mvpp22_pcs_reset_deassert()
1883 xpcs = priv->iface_base + MVPP22_XPCS_BASE(port->gop_id); in mvpp22_pcs_reset_deassert()
3021 ptp_q = port->priv->iface_base + MVPP22_PTP_BASE(port->gop_id); in mvpp2_isr_handle_ptp_queue()
3054 ptp = port->priv->iface_base + MVPP22_PTP_BASE(port->gop_id); in mvpp2_isr_handle_ptp()
4809 ptp = port->priv->iface_base + MVPP22_PTP_BASE(port->gop_id); in mvpp2_set_ts_config()
6089 if (mvpp2_is_xlg(interface) && port->gop_id != 0) { in mvpp2__mac_prepare()
6461 port->gop_id * MVPP21_MIB_COUNTERS_PORT_SZ; in mvpp2_port_probe()
6464 &port->gop_id)) { in mvpp2_port_probe()
6470 port->base = priv->iface_base + MVPP22_GMAC_BASE(port->gop_id); in mvpp2_port_probe()
6473 port->gop_id * MVPP22_MIB_COUNTERS_PORT_SZ; in mvpp2_port_probe()