Searched refs:ocelot_port (Results 1 - 14 of 14) sorted by relevance

/linux-master/drivers/net/ethernet/mscc/
H A Docelot_mrp.c19 struct ocelot_port *p)
24 struct ocelot_port *ocelot_port = ocelot->ports[i]; local
26 if (!ocelot_port || p == ocelot_port)
29 if (ocelot_port->mrp_ring_id == p->mrp_ring_id)
107 struct ocelot_port *port)
116 struct ocelot_port *port)
125 struct ocelot_port *ocelot_port local
147 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
164 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
204 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
[all...]
H A Docelot_mm.c54 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
65 if ((ocelot_port->phy_mode != PHY_INTERFACE_MODE_QSGMII ||
66 ocelot_port->speed == SPEED_1000) && mm->tx_active)
80 port, phy_modes(ocelot_port->phy_mode),
81 phy_speed_to_str(ocelot_port->speed),
107 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
115 val = ocelot_port_readl(ocelot_port, DEV_MM_STATUS);
152 ocelot_port_writel(ocelot_port, ac
172 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
237 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
274 struct ocelot_port *ocelot_port; local
[all...]
H A Docelot.c268 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
270 if (!ocelot_port || !ocelot_port->bridge ||
271 !br_vlan_enabled(ocelot_port->bridge))
275 bridge = ocelot_port->bridge;
279 if (bridge == ocelot_port->bridge)
386 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
390 if (ocelot_port
429 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
460 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
595 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
700 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
817 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
857 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
884 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
925 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
1482 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
1525 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
1545 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
1560 struct ocelot_port *ocelot_port = ocelot->ports[src_port]; local
1604 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
1663 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
1740 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
1987 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
2013 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
2053 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
2074 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
2101 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
2122 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
2297 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
2384 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
2437 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
2762 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
3075 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
[all...]
H A Docelot_net.c496 struct ocelot_port *ocelot_port = &priv->port; local
497 struct ocelot *ocelot = ocelot_port->ocelot;
557 struct ocelot_port *ocelot_port = &priv->port; local
558 struct ocelot *ocelot = ocelot_port->ocelot;
658 struct ocelot_port *ocelot_port = &priv->port; local
659 struct ocelot *ocelot = ocelot_port->ocelot;
672 struct ocelot_port *ocelot_por local
706 struct ocelot_port *ocelot_port = &priv->port; local
737 struct ocelot_port *ocelot_port = &priv->port; local
750 struct ocelot_port *ocelot_port = &priv->port; local
894 struct ocelot_port *ocelot_port = &priv->port; local
923 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
1078 struct ocelot_port *ocelot_port = &priv->port; local
1104 struct ocelot_port *ocelot_port = &priv->port; local
1115 struct ocelot_port *ocelot_port = &priv->port; local
1126 struct ocelot_port *ocelot_port = &priv->port; local
1137 struct ocelot_port *ocelot_port = &priv->port; local
1149 struct ocelot_port *ocelot_port = &priv->port; local
1161 struct ocelot_port *ocelot_port = &priv->port; local
1326 struct ocelot_port *ocelot_port = &priv->port; local
1377 struct ocelot_port *ocelot_port = &priv->port; local
1399 struct ocelot_port *ocelot_port = &priv->port; local
1441 struct ocelot_port *ocelot_port = &priv->port; local
1500 struct ocelot_port *ocelot_port = &priv->port; local
1537 struct ocelot_port *ocelot_port = &priv->port; local
1556 struct ocelot_port *ocelot_port = &priv->port; local
1723 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
1787 struct ocelot_port *ocelot_port; local
1846 ocelot_release_port(struct ocelot_port *ocelot_port) argument
[all...]
H A Docelot_ptp.c442 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
445 ocelot_port->trap_proto &= ~(OCELOT_PROTO_PTP_L2 |
472 ocelot_port->trap_proto |= OCELOT_PROTO_PTP_L2;
474 ocelot_port->trap_proto |= OCELOT_PROTO_PTP_L4;
500 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
503 switch (ocelot_port->ptp_cmd) {
515 cfg.rx_filter = ocelot_traps_to_ptp_rx_filter(ocelot_port->trap_proto);
523 struct ocelot_port *ocelot_por local
613 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
665 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
[all...]
H A Docelot.h47 struct ocelot_port port;
99 void ocelot_release_port(struct ocelot_port *ocelot_port);
H A Docelot_vsc7514.c129 struct ocelot_port *ocelot_port; local
131 ocelot_port = ocelot->ports[port];
132 if (!ocelot_port)
136 ocelot_release_port(ocelot_port);
150 sizeof(struct ocelot_port *), GFP_KERNEL);
H A Docelot_io.c66 u32 ocelot_port_readl(struct ocelot_port *port, enum ocelot_reg reg)
79 void ocelot_port_writel(struct ocelot_port *port, u32 val, enum ocelot_reg reg)
90 void ocelot_port_rmwl(struct ocelot_port *port, u32 val, u32 mask,
H A Docelot_fdma.c464 struct ocelot_port *ocelot_port; local
469 ocelot_port = ocelot->ports[port];
470 if (!ocelot_port)
472 priv = container_of(ocelot_port, struct ocelot_port_private,
H A Docelot_flower.c177 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
185 if (!ocelot_port->vlan_aware) {
/linux-master/drivers/net/dsa/ocelot/
H A Dfelix_vsc9959.c1023 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
1029 if (ocelot_port->phy_mode == PHY_INTERFACE_MODE_INTERNAL)
1215 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
1228 taprio = ocelot_port->taprio;
1252 val = ocelot_port_readl(ocelot_port, DEV_MAC_MAXLEN_CFG);
1346 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
1374 if (ocelot_port
1420 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
1536 struct ocelot_port *ocelot_port; local
2537 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
[all...]
H A Dfelix.c1380 sizeof(struct ocelot_port *), GFP_KERNEL);
1428 struct ocelot_port *ocelot_port; local
1430 ocelot_port = devm_kzalloc(ocelot->dev,
1431 sizeof(struct ocelot_port),
1433 if (!ocelot_port) {
1449 ocelot_port->phy_mode = port_phy_modes[port];
1450 ocelot_port->ocelot = ocelot;
1451 ocelot_port->target = target;
1452 ocelot_port
1470 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
1783 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
[all...]
H A Dseville_vsc9953.c914 struct ocelot_port *ocelot_port = ocelot->ports[port]; local
921 if (ocelot_port->phy_mode == PHY_INTERFACE_MODE_INTERNAL)
/linux-master/include/soc/mscc/
H A Docelot.h762 struct ocelot_port;
764 struct ocelot_port { struct
772 struct ocelot_port *dsa_8021q_cpu;
821 struct ocelot_port **ports;
952 u32 ocelot_port_readl(struct ocelot_port *port, enum ocelot_reg reg);
953 void ocelot_port_writel(struct ocelot_port *port, u32 val, enum ocelot_reg reg);
954 void ocelot_port_rmwl(struct ocelot_port *port, u32 val, u32 mask,

Completed in 257 milliseconds