Lines Matching refs:target
577 struct regmap *target;
685 #define ocelot_target_read_ix(ocelot, target, reg, gi, ri) \
686 __ocelot_target_read_ix(ocelot, target, reg, reg##_GSZ * (gi) + reg##_RSZ * (ri))
687 #define ocelot_target_read_gix(ocelot, target, reg, gi) \
688 __ocelot_target_read_ix(ocelot, target, reg, reg##_GSZ * (gi))
689 #define ocelot_target_read_rix(ocelot, target, reg, ri) \
690 __ocelot_target_read_ix(ocelot, target, reg, reg##_RSZ * (ri))
691 #define ocelot_target_read(ocelot, target, reg) \
692 __ocelot_target_read_ix(ocelot, target, reg, 0)
694 #define ocelot_target_write_ix(ocelot, target, val, reg, gi, ri) \
695 __ocelot_target_write_ix(ocelot, target, val, reg, reg##_GSZ * (gi) + reg##_RSZ * (ri))
696 #define ocelot_target_write_gix(ocelot, target, val, reg, gi) \
697 __ocelot_target_write_ix(ocelot, target, val, reg, reg##_GSZ * (gi))
698 #define ocelot_target_write_rix(ocelot, target, val, reg, ri) \
699 __ocelot_target_write_ix(ocelot, target, val, reg, reg##_RSZ * (ri))
700 #define ocelot_target_write(ocelot, target, val, reg) \
701 __ocelot_target_write_ix(ocelot, target, val, reg, 0)
711 u32 __ocelot_target_read_ix(struct ocelot *ocelot, enum ocelot_target target,
713 void __ocelot_target_write_ix(struct ocelot *ocelot, enum ocelot_target target,