Searched defs:ocelot (Results 1 – 2 of 2) sorted by relevance
73 #define for_each_unicast_dest_pgid(ocelot, pgid) \ argument78 #define for_each_nonreserved_multicast_dest_pgid(ocelot, pgid) \ argument83 #define for_each_aggr_pgid(ocelot, pgid) \ argument765 struct ocelot *ocelot; member803 struct ocelot { struct808 const struct ocelot_ops *ops; argument822 struct ocelot_port **ports; argument841 enum ocelot_tag_prefix npi_inj_prefix; argument842 enum ocelot_tag_prefix npi_xtr_prefix; argument850 struct ocelot_vcap_block block[3]; argument[all …]
14 #define OCELOT_VCAP_ES0_TAG_8021Q_RXVLAN(ocelot, port, upstream) ((upstream) << 16 | (port)) argument15 #define OCELOT_VCAP_IS1_TAG_8021Q_TXVLAN(ocelot, port) (port) argument16 #define OCELOT_VCAP_IS1_VLAN_RECLASSIFY(ocelot, port) ((ocelot)->num_phys_ports + (port)) argument17 #define OCELOT_VCAP_IS2_TAG_8021Q_TXVLAN(ocelot, port) (port) argument18 #define OCELOT_VCAP_IS2_MRP_REDIRECT(ocelot, port) ((ocelot)->num_phys_ports + (port)) argument19 #define OCELOT_VCAP_IS2_MRP_TRAP(ocelot) ((ocelot)->num_phys_ports * 2) argument20 #define OCELOT_VCAP_IS2_L2_PTP_TRAP(ocelot) ((ocelot)->num_phys_ports * 2 + 1) argument21 #define OCELOT_VCAP_IS2_IPV4_GEN_PTP_TRAP(ocelot) ((ocelot)->num_phys_ports * 2 + 2) argument22 #define OCELOT_VCAP_IS2_IPV4_EV_PTP_TRAP(ocelot) ((ocelot)->num_phys_ports * 2 + 3) argument23 #define OCELOT_VCAP_IS2_IPV6_GEN_PTP_TRAP(ocelot) ((ocelot)->num_phys_ports * 2 + 4) argument[all …]