/linux-master/drivers/net/ethernet/mscc/ |
H A D | ocelot_mrp.c | 19 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 D | ocelot_mm.c | 54 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 D | ocelot.c | 268 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 D | ocelot_net.c | 496 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 D | ocelot_ptp.c | 442 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 D | ocelot.h | 47 struct ocelot_port port; 99 void ocelot_release_port(struct ocelot_port *ocelot_port);
|
H A D | ocelot_vsc7514.c | 129 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 D | ocelot_io.c | 66 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 D | ocelot_fdma.c | 464 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 D | ocelot_flower.c | 177 struct ocelot_port *ocelot_port = ocelot->ports[port]; local 185 if (!ocelot_port->vlan_aware) {
|
/linux-master/drivers/net/dsa/ocelot/ |
H A D | felix_vsc9959.c | 1023 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 D | felix.c | 1380 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 D | seville_vsc9953.c | 914 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 D | ocelot.h | 762 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,
|