Lines Matching defs:ocelot
73 #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
805 struct ocelot { struct
810 const struct ocelot_ops *ops; argument
821 struct ocelot_port **ports; argument
840 enum ocelot_tag_prefix npi_inj_prefix; argument
841 enum ocelot_tag_prefix npi_xtr_prefix; argument
849 struct ocelot_vcap_block block[3]; argument
850 struct ocelot_vcap_policer vcap_pol; argument
852 struct ocelot_mirror *mirror; argument
854 struct ocelot_psfp_list psfp; argument
857 struct delayed_work stats_work;
858 struct workqueue_struct *stats_queue;
860 spinlock_t stats_lock;
861 u64 *stats;
886 struct ocelot_mm_state *mm; argument
888 struct ocelot_fdma *fdma; argument
896 #define ocelot_bulk_read(ocelot, reg, buf, count) \ argument
899 #define ocelot_read_ix(ocelot, reg, gi, ri) \ argument
901 #define ocelot_read_gix(ocelot, reg, gi) \ argument
903 #define ocelot_read_rix(ocelot, reg, ri) \ argument
905 #define ocelot_read(ocelot, reg) \ argument
908 #define ocelot_write_ix(ocelot, val, reg, gi, ri) \ argument
910 #define ocelot_write_gix(ocelot, val, reg, gi) \ argument
912 #define ocelot_write_rix(ocelot, val, reg, ri) \ argument
914 #define ocelot_write(ocelot, val, reg) __ocelot_write_ix(ocelot, val, reg, 0) argument
916 #define ocelot_rmw_ix(ocelot, val, m, reg, gi, ri) \ argument
918 #define ocelot_rmw_gix(ocelot, val, m, reg, gi) \ argument
920 #define ocelot_rmw_rix(ocelot, val, m, reg, ri) \ argument
922 #define ocelot_rmw(ocelot, val, m, reg) __ocelot_rmw_ix(ocelot, val, m, reg, 0) argument
924 #define ocelot_field_write(ocelot, reg, val) \ argument
926 #define ocelot_field_read(ocelot, reg, val) \ argument
928 #define ocelot_fields_write(ocelot, id, reg, val) \ argument
930 #define ocelot_fields_read(ocelot, id, reg, val) \ argument
933 #define ocelot_target_read_ix(ocelot, target, reg, gi, ri) \ argument
935 #define ocelot_target_read_gix(ocelot, target, reg, gi) \ argument
937 #define ocelot_target_read_rix(ocelot, target, reg, ri) \ argument
939 #define ocelot_target_read(ocelot, target, reg) \ argument
942 #define ocelot_target_write_ix(ocelot, target, val, reg, gi, ri) \ argument
944 #define ocelot_target_write_gix(ocelot, target, val, reg, gi) \ argument
946 #define ocelot_target_write_rix(ocelot, target, val, reg, ri) \ argument
948 #define ocelot_target_write(ocelot, target, val, reg) \ argument
1179 static inline int ocelot_mrp_add(struct ocelot *ocelot, int port, in ocelot_mrp_add()
1185 static inline int ocelot_mrp_del(struct ocelot *ocelot, int port, in ocelot_mrp_del()
1192 ocelot_mrp_add_ring_role(struct ocelot *ocelot, int port, in ocelot_mrp_add_ring_role()
1199 ocelot_mrp_del_ring_role(struct ocelot *ocelot, int port, in ocelot_mrp_del_ring_role()