Home
last modified time | relevance | path

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

/include/soc/mscc/
A Docelot.h773 struct ocelot *ocelot; member
812 struct ocelot { struct
817 const struct ocelot_ops *ops; argument
831 struct ocelot_port **ports; argument
850 enum ocelot_tag_prefix npi_inj_prefix; argument
859 struct ocelot_vcap_block block[3]; argument
862 struct ocelot_mirror *mirror; argument
870 spinlock_t stats_lock;
871 u64 *stats;
896 struct ocelot_mm_state *mm; argument
[all …]
A 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 …]

Completed in 16 milliseconds