Home
last modified time | relevance | path

Searched defs:ocelot (Results 1 – 2 of 2) sorted by relevance

/include/soc/mscc/
Docelot.h73 #define for_each_unicast_dest_pgid(ocelot, pgid) \ argument
78 #define for_each_nonreserved_multicast_dest_pgid(ocelot, pgid) \ argument
83 #define for_each_aggr_pgid(ocelot, pgid) \ argument
765 struct ocelot *ocelot; member
803 struct ocelot { struct
808 const struct ocelot_ops *ops; argument
822 struct ocelot_port **ports; argument
841 enum ocelot_tag_prefix npi_inj_prefix; argument
842 enum ocelot_tag_prefix npi_xtr_prefix; argument
850 struct ocelot_vcap_block block[3]; argument
[all …]
Docelot_vcap.h14 #define OCELOT_VCAP_ES0_TAG_8021Q_RXVLAN(ocelot, port, upstream) ((upstream) << 16 | (port)) argument
15 #define OCELOT_VCAP_IS1_TAG_8021Q_TXVLAN(ocelot, port) (port) argument
16 #define OCELOT_VCAP_IS1_VLAN_RECLASSIFY(ocelot, port) ((ocelot)->num_phys_ports + (port)) argument
17 #define OCELOT_VCAP_IS2_TAG_8021Q_TXVLAN(ocelot, port) (port) argument
18 #define OCELOT_VCAP_IS2_MRP_REDIRECT(ocelot, port) ((ocelot)->num_phys_ports + (port)) argument
19 #define OCELOT_VCAP_IS2_MRP_TRAP(ocelot) ((ocelot)->num_phys_ports * 2) argument
20 #define OCELOT_VCAP_IS2_L2_PTP_TRAP(ocelot) ((ocelot)->num_phys_ports * 2 + 1) argument
21 #define OCELOT_VCAP_IS2_IPV4_GEN_PTP_TRAP(ocelot) ((ocelot)->num_phys_ports * 2 + 2) argument
22 #define OCELOT_VCAP_IS2_IPV4_EV_PTP_TRAP(ocelot) ((ocelot)->num_phys_ports * 2 + 3) argument
23 #define OCELOT_VCAP_IS2_IPV6_GEN_PTP_TRAP(ocelot) ((ocelot)->num_phys_ports * 2 + 4) argument
[all …]