summaryrefslogtreecommitdiff
path: root/ipa_reg-v4.2.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2022-07-13 11:32:53 -0500
committerAlex Elder <elder@linaro.org>2022-07-14 15:17:10 -0500
commit78cb0514f667213c973f2ea077dc37b46d3889c6 (patch)
treef5ec1f8c2bd86bfd71bf62b3b86ff145c9f94562 /ipa_reg-v4.2.c
parentaaf57ab5eca4fd3594a28520b280403562bb1e70 (diff)
regs: define the STATE_AGGR_ACTIVE register
Define the STATE_AGGR_ACTIVE register offset for each IPA version. This register has no fields; it's a bitmap of endpoints. Signed-off-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'ipa_reg-v4.2.c')
-rw-r--r--ipa_reg-v4.2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ipa_reg-v4.2.c b/ipa_reg-v4.2.c
index bab3458..3908782 100644
--- a/ipa_reg-v4.2.c
+++ b/ipa_reg-v4.2.c
@@ -119,6 +119,9 @@ static const u32 ipa_reg_filt_rout_hash_flush_field[] = {
};
IPA_REG_FIELDS(FILT_ROUT_HASH_FLUSH, filt_rout_hash_flush, 0x0000014c);
+/* ipa->available defines valid bits (no fields) */
+IPA_REG(STATE_AGGR_ACTIVE, state_aggr_active, 0x000000b4);
+
static const struct ipa_reg *ipa_reg[] = {
[IPA_REG_COMP_CFG] = &ipa_reg_comp_cfg,
[IPA_REG_CLKON_CFG] = &ipa_reg_clkon_cfg,
@@ -128,6 +131,7 @@ static const struct ipa_reg *ipa_reg[] = {
[IPA_REG_QSB_MAX_READS] = &ipa_reg_qsb_max_reads,
[IPA_REG_FILT_ROUT_HASH_EN] = &ipa_reg_filt_rout_hash_en,
[IPA_REG_FILT_ROUT_HASH_FLUSH] = &ipa_reg_filt_rout_hash_flush,
+ [IPA_REG_STATE_AGGR_ACTIVE] = &ipa_reg_state_aggr_active,
};
const struct ipa_regs ipa_regs_v4_2 = {