Lines Matching defs:ocelot

71 #define for_each_unicast_dest_pgid(ocelot, pgid)		\  argument
76 #define for_each_nonreserved_multicast_dest_pgid(ocelot, pgid) \ argument
81 #define for_each_aggr_pgid(ocelot, pgid) \ argument
600 struct ocelot *ocelot; member
628 struct ocelot { struct
633 const struct ocelot_ops *ops; argument
637 const struct ocelot_stat_layout *stats_layout; argument
645 struct ocelot_port **ports; argument
662 enum ocelot_tag_prefix npi_inj_prefix; argument
663 enum ocelot_tag_prefix npi_xtr_prefix; argument
669 struct ocelot_vcap_block block[3]; argument
670 struct vcap_props *vcap;
673 struct mutex stats_lock;
697 struct ocelot_policer { argument
702 #define ocelot_read_ix(ocelot, reg, gi, ri) __ocelot_read_ix(ocelot, reg, reg##_GSZ * (gi) + reg##_… argument
703 #define ocelot_read_gix(ocelot, reg, gi) __ocelot_read_ix(ocelot, reg, reg##_GSZ * (gi)) argument
704 #define ocelot_read_rix(ocelot, reg, ri) __ocelot_read_ix(ocelot, reg, reg##_RSZ * (ri)) argument
705 #define ocelot_read(ocelot, reg) __ocelot_read_ix(ocelot, reg, 0) argument
707 #define ocelot_write_ix(ocelot, val, reg, gi, ri) __ocelot_write_ix(ocelot, val, reg, reg##_GSZ * (… argument
708 #define ocelot_write_gix(ocelot, val, reg, gi) __ocelot_write_ix(ocelot, val, reg, reg##_GSZ * (gi)) argument
709 #define ocelot_write_rix(ocelot, val, reg, ri) __ocelot_write_ix(ocelot, val, reg, reg##_RSZ * (ri)) argument
710 #define ocelot_write(ocelot, val, reg) __ocelot_write_ix(ocelot, val, reg, 0) argument
712 #define ocelot_rmw_ix(ocelot, val, m, reg, gi, ri) __ocelot_rmw_ix(ocelot, val, m, reg, reg##_GSZ *… argument
713 #define ocelot_rmw_gix(ocelot, val, m, reg, gi) __ocelot_rmw_ix(ocelot, val, m, reg, reg##_GSZ * (g… argument
714 #define ocelot_rmw_rix(ocelot, val, m, reg, ri) __ocelot_rmw_ix(ocelot, val, m, reg, reg##_RSZ * (r… argument
715 #define ocelot_rmw(ocelot, val, m, reg) __ocelot_rmw_ix(ocelot, val, m, reg, 0) argument
717 #define ocelot_field_write(ocelot, reg, val) regmap_field_write((ocelot)->regfields[(reg)], (val)) argument
718 #define ocelot_field_read(ocelot, reg, val) regmap_field_read((ocelot)->regfields[(reg)], (val)) argument
719 #define ocelot_fields_write(ocelot, id, reg, val) regmap_fields_write((ocelot)->regfields[(reg)], (… argument
720 #define ocelot_fields_read(ocelot, id, reg, val) regmap_fields_read((ocelot)->regfields[(reg)], (id… argument
722 #define ocelot_target_read_ix(ocelot, target, reg, gi, ri) \ argument
724 #define ocelot_target_read_gix(ocelot, target, reg, gi) \ argument
726 #define ocelot_target_read_rix(ocelot, target, reg, ri) \ argument
728 #define ocelot_target_read(ocelot, target, reg) \ argument
731 #define ocelot_target_write_ix(ocelot, target, val, reg, gi, ri) \ argument
733 #define ocelot_target_write_gix(ocelot, target, val, reg, gi) \ argument
735 #define ocelot_target_write_rix(ocelot, target, val, reg, ri) \ argument
737 #define ocelot_target_write(ocelot, target, val, reg) \ argument
883 static inline int ocelot_mrp_add(struct ocelot *ocelot, int port, in ocelot_mrp_add()
889 static inline int ocelot_mrp_del(struct ocelot *ocelot, int port, in ocelot_mrp_del()
896 ocelot_mrp_add_ring_role(struct ocelot *ocelot, int port, in ocelot_mrp_add_ring_role()
903 ocelot_mrp_del_ring_role(struct ocelot *ocelot, int port, in ocelot_mrp_del_ring_role()