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
587 struct ocelot *ocelot; member
617 struct ocelot { struct
622 const struct ocelot_ops *ops; argument
626 const struct ocelot_stat_layout *stats_layout; argument
634 struct ocelot_port **ports; argument
652 enum ocelot_tag_prefix npi_inj_prefix; argument
653 enum ocelot_tag_prefix npi_xtr_prefix; argument
659 struct ocelot_vcap_block block[3]; argument
660 struct vcap_props *vcap;
684 struct ocelot_policer { argument
689 #define ocelot_read_ix(ocelot, reg, gi, ri) __ocelot_read_ix(ocelot, reg, reg##_GSZ * (gi) + reg##_… argument
690 #define ocelot_read_gix(ocelot, reg, gi) __ocelot_read_ix(ocelot, reg, reg##_GSZ * (gi)) argument
691 #define ocelot_read_rix(ocelot, reg, ri) __ocelot_read_ix(ocelot, reg, reg##_RSZ * (ri)) argument
692 #define ocelot_read(ocelot, reg) __ocelot_read_ix(ocelot, reg, 0) argument
694 #define ocelot_write_ix(ocelot, val, reg, gi, ri) __ocelot_write_ix(ocelot, val, reg, reg##_GSZ * (… argument
695 #define ocelot_write_gix(ocelot, val, reg, gi) __ocelot_write_ix(ocelot, val, reg, reg##_GSZ * (gi)) argument
696 #define ocelot_write_rix(ocelot, val, reg, ri) __ocelot_write_ix(ocelot, val, reg, reg##_RSZ * (ri)) argument
697 #define ocelot_write(ocelot, val, reg) __ocelot_write_ix(ocelot, val, reg, 0) argument
699 #define ocelot_rmw_ix(ocelot, val, m, reg, gi, ri) __ocelot_rmw_ix(ocelot, val, m, reg, reg##_GSZ *… argument
700 #define ocelot_rmw_gix(ocelot, val, m, reg, gi) __ocelot_rmw_ix(ocelot, val, m, reg, reg##_GSZ * (g… argument
701 #define ocelot_rmw_rix(ocelot, val, m, reg, ri) __ocelot_rmw_ix(ocelot, val, m, reg, reg##_RSZ * (r… argument
702 #define ocelot_rmw(ocelot, val, m, reg) __ocelot_rmw_ix(ocelot, val, m, reg, 0) argument
704 #define ocelot_field_write(ocelot, reg, val) regmap_field_write((ocelot)->regfields[(reg)], (val)) argument
705 #define ocelot_field_read(ocelot, reg, val) regmap_field_read((ocelot)->regfields[(reg)], (val)) argument
706 #define ocelot_fields_write(ocelot, id, reg, val) regmap_fields_write((ocelot)->regfields[(reg)], (… argument
707 #define ocelot_fields_read(ocelot, id, reg, val) regmap_fields_read((ocelot)->regfields[(reg)], (id… argument
709 #define ocelot_target_read_ix(ocelot, target, reg, gi, ri) \ argument
711 #define ocelot_target_read_gix(ocelot, target, reg, gi) \ argument
713 #define ocelot_target_read_rix(ocelot, target, reg, ri) \ argument
715 #define ocelot_target_read(ocelot, target, reg) \ argument
718 #define ocelot_target_write_ix(ocelot, target, val, reg, gi, ri) \ argument
720 #define ocelot_target_write_gix(ocelot, target, val, reg, gi) \ argument
722 #define ocelot_target_write_rix(ocelot, target, val, reg, ri) \ argument
724 #define ocelot_target_write(ocelot, target, val, reg) \ argument
870 static inline int ocelot_mrp_add(struct ocelot *ocelot, int port, in ocelot_mrp_add()
876 static inline int ocelot_mrp_del(struct ocelot *ocelot, int port, in ocelot_mrp_del()
883 ocelot_mrp_add_ring_role(struct ocelot *ocelot, int port, in ocelot_mrp_add_ring_role()
890 ocelot_mrp_del_ring_role(struct ocelot *ocelot, int port, in ocelot_mrp_del_ring_role()