diff options
author | Alex Elder <elder@linaro.org> | 2022-07-13 10:33:28 -0500 |
---|---|---|
committer | Alex Elder <elder@linaro.org> | 2022-07-14 07:11:50 -0500 |
commit | e3adfc6d3f2ce3c32169d4e7d4eb72d59f8e90fc (patch) | |
tree | d96ef8261ce19e4ae923a626bbbed139419c80c7 /ipa_reg-v4.2.c | |
parent | 5ccff189b6e48ada73a221c21c628aa2f1d17fe0 (diff) |
regs: define the QSB_MAX_WRITES register
Define the QSB_MAX_WRITES register offset and fields for each IPA
version.
Signed-off-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'ipa_reg-v4.2.c')
-rw-r--r-- | ipa_reg-v4.2.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ipa_reg-v4.2.c b/ipa_reg-v4.2.c index dcb5ea5..cd7f992 100644 --- a/ipa_reg-v4.2.c +++ b/ipa_reg-v4.2.c @@ -79,11 +79,19 @@ static const u32 ipa_reg_shared_mem_size_field[] = { }; IPA_REG_FIELDS(SHARED_MEM_SIZE, shared_mem_size, 0x00000054); +static const u32 ipa_reg_qsb_max_writes_field[] = { + [GEN_QMB_0_MAX_WRITES] = GENMASK(3, 0), + [GEN_QMB_1_MAX_WRITES] = GENMASK(7, 4), + /* Bits 8-31 reserved */ +}; +IPA_REG_FIELDS(QSB_MAX_WRITES, qsb_max_writes, 0x00000074); + static const struct ipa_reg *ipa_reg[] = { [IPA_REG_COMP_CFG] = &ipa_reg_comp_cfg, [IPA_REG_CLKON_CFG] = &ipa_reg_clkon_cfg, [IPA_REG_ROUTE] = &ipa_reg_route, [IPA_REG_SHARED_MEM_SIZE] = &ipa_reg_shared_mem_size, + [IPA_REG_QSB_MAX_WRITES] = &ipa_reg_qsb_max_writes, }; const struct ipa_regs ipa_regs_v4_2 = { |