Lines Matching refs:ports
29 * which uses VID 0 for all ports that aren't part of a bridge,
415 dev_err(ds->dev, "Multiple NPI ports not supported\n");
457 /* Changing the NPI port breaks user ports still assigned to the old
543 * do not forward BPDU frames to the front ports.
1049 __set_bit(ocelot->ports[port]->phy_mode,
1286 * best-effort to bring up as many ports as possible.
1306 ports_node = of_get_child_by_name(switch_node, "ports");
1308 ports_node = of_get_child_by_name(switch_node, "ethernet-ports");
1310 dev_err(dev, "Incorrect bindings: absent \"ports\" or \"ethernet-ports\" node\n");
1379 ocelot->ports = devm_kcalloc(ocelot->dev, num_phys_ports,
1381 if (!ocelot->ports)
1453 ocelot->ports[port] = ocelot_port;
1470 struct ocelot_port *ocelot_port = ocelot->ports[port];
1725 if (!(ocelot->ports[port]->trap_proto & OCELOT_PROTO_PTP_L2))
1730 if (!(ocelot->ports[port]->trap_proto & OCELOT_PROTO_PTP_L4))
1783 struct ocelot_port *ocelot_port = ocelot->ports[port];