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
773 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
851 enum ocelot_tag_prefix npi_xtr_prefix; argument
859 struct ocelot_vcap_block block[3]; argument
860 struct ocelot_vcap_policer vcap_pol; argument
862 struct ocelot_mirror *mirror; argument
864 struct ocelot_psfp_list psfp; argument
867 struct delayed_work stats_work;
868 struct workqueue_struct *stats_queue;
870 spinlock_t stats_lock;
871 u64 *stats;
896 struct ocelot_mm_state *mm; argument
898 struct ocelot_fdma *fdma; argument
906 #define ocelot_bulk_read(ocelot, reg, buf, count) \ argument
909 #define ocelot_read_ix(ocelot, reg, gi, ri) \ argument
911 #define ocelot_read_gix(ocelot, reg, gi) \ argument
913 #define ocelot_read_rix(ocelot, reg, ri) \ argument
915 #define ocelot_read(ocelot, reg) \ argument
918 #define ocelot_write_ix(ocelot, val, reg, gi, ri) \ argument
920 #define ocelot_write_gix(ocelot, val, reg, gi) \ argument
922 #define ocelot_write_rix(ocelot, val, reg, ri) \ argument
924 #define ocelot_write(ocelot, val, reg) __ocelot_write_ix(ocelot, val, reg, 0) argument
926 #define ocelot_rmw_ix(ocelot, val, m, reg, gi, ri) \ argument
928 #define ocelot_rmw_gix(ocelot, val, m, reg, gi) \ argument
930 #define ocelot_rmw_rix(ocelot, val, m, reg, ri) \ argument
932 #define ocelot_rmw(ocelot, val, m, reg) __ocelot_rmw_ix(ocelot, val, m, reg, 0) argument
934 #define ocelot_field_write(ocelot, reg, val) \ argument
936 #define ocelot_field_read(ocelot, reg, val) \ argument
938 #define ocelot_fields_write(ocelot, id, reg, val) \ argument
940 #define ocelot_fields_read(ocelot, id, reg, val) \ argument
943 #define ocelot_target_read_ix(ocelot, target, reg, gi, ri) \ argument
945 #define ocelot_target_read_gix(ocelot, target, reg, gi) \ argument
947 #define ocelot_target_read_rix(ocelot, target, reg, ri) \ argument
949 #define ocelot_target_read(ocelot, target, reg) \ argument
952 #define ocelot_target_write_ix(ocelot, target, val, reg, gi, ri) \ argument
954 #define ocelot_target_write_gix(ocelot, target, val, reg, gi) \ argument
956 #define ocelot_target_write_rix(ocelot, target, val, reg, ri) \ argument
958 #define ocelot_target_write(ocelot, target, val, reg) \ argument
1198 static inline int ocelot_mrp_add(struct ocelot *ocelot, int port, in ocelot_mrp_add()
1204 static inline int ocelot_mrp_del(struct ocelot *ocelot, int port, in ocelot_mrp_del()
1211 ocelot_mrp_add_ring_role(struct ocelot *ocelot, int port, in ocelot_mrp_add_ring_role()
1218 ocelot_mrp_del_ring_role(struct ocelot *ocelot, int port, in ocelot_mrp_del_ring_role()