Lines Matching defs:ocelot
68 #define for_each_unicast_dest_pgid(ocelot, pgid) \ argument
73 #define for_each_nonreserved_multicast_dest_pgid(ocelot, pgid) \ argument
78 #define for_each_aggr_pgid(ocelot, pgid) \ argument
575 struct ocelot *ocelot; member
597 struct ocelot { struct
600 const struct ocelot_ops *ops; argument
604 const struct ocelot_stat_layout *stats_layout; argument
614 struct ocelot_port **ports; argument
632 enum ocelot_tag_prefix inj_prefix; argument
633 enum ocelot_tag_prefix xtr_prefix; argument
640 struct ocelot_vcap_block block[3]; argument
660 struct ocelot_policer { argument
665 #define ocelot_read_ix(ocelot, reg, gi, ri) __ocelot_read_ix(ocelot, reg, reg##_GSZ * (gi) + reg##_… argument
666 #define ocelot_read_gix(ocelot, reg, gi) __ocelot_read_ix(ocelot, reg, reg##_GSZ * (gi)) argument
667 #define ocelot_read_rix(ocelot, reg, ri) __ocelot_read_ix(ocelot, reg, reg##_RSZ * (ri)) argument
668 #define ocelot_read(ocelot, reg) __ocelot_read_ix(ocelot, reg, 0) argument
670 #define ocelot_write_ix(ocelot, val, reg, gi, ri) __ocelot_write_ix(ocelot, val, reg, reg##_GSZ * (… argument
671 #define ocelot_write_gix(ocelot, val, reg, gi) __ocelot_write_ix(ocelot, val, reg, reg##_GSZ * (gi)) argument
672 #define ocelot_write_rix(ocelot, val, reg, ri) __ocelot_write_ix(ocelot, val, reg, reg##_RSZ * (ri)) argument
673 #define ocelot_write(ocelot, val, reg) __ocelot_write_ix(ocelot, val, reg, 0) argument
675 #define ocelot_rmw_ix(ocelot, val, m, reg, gi, ri) __ocelot_rmw_ix(ocelot, val, m, reg, reg##_GSZ *… argument
676 #define ocelot_rmw_gix(ocelot, val, m, reg, gi) __ocelot_rmw_ix(ocelot, val, m, reg, reg##_GSZ * (g… argument
677 #define ocelot_rmw_rix(ocelot, val, m, reg, ri) __ocelot_rmw_ix(ocelot, val, m, reg, reg##_RSZ * (r… argument
678 #define ocelot_rmw(ocelot, val, m, reg) __ocelot_rmw_ix(ocelot, val, m, reg, 0) argument
680 #define ocelot_field_write(ocelot, reg, val) regmap_field_write((ocelot)->regfields[(reg)], (val)) argument
681 #define ocelot_field_read(ocelot, reg, val) regmap_field_read((ocelot)->regfields[(reg)], (val)) argument
682 #define ocelot_fields_write(ocelot, id, reg, val) regmap_fields_write((ocelot)->regfields[(reg)], (… argument
683 #define ocelot_fields_read(ocelot, id, reg, val) regmap_fields_read((ocelot)->regfields[(reg)], (id… argument
685 #define ocelot_target_read_ix(ocelot, target, reg, gi, ri) \ argument
687 #define ocelot_target_read_gix(ocelot, target, reg, gi) \ argument
689 #define ocelot_target_read_rix(ocelot, target, reg, ri) \ argument
691 #define ocelot_target_read(ocelot, target, reg) \ argument
694 #define ocelot_target_write_ix(ocelot, target, val, reg, gi, ri) \ argument
696 #define ocelot_target_write_gix(ocelot, target, val, reg, gi) \ argument
698 #define ocelot_target_write_rix(ocelot, target, val, reg, ri) \ argument
700 #define ocelot_target_write(ocelot, target, val, reg) \ argument