diff options
author | Alex Elder <elder@linaro.org> | 2022-07-14 16:09:22 -0500 |
---|---|---|
committer | Alex Elder <elder@linaro.org> | 2022-07-14 16:19:02 -0500 |
commit | a56831e142257fe7045b254fa200a14f8841fa37 (patch) | |
tree | 5615f687368d711e6d46cc9c9e31f3623d7b0f94 /ipa_reg-v4.2.c | |
parent | 9e1a2c5044eff9fe1dfb0e9dc0c6e8e0904ec725 (diff) |
regs: define the IPA_REG_ENDP_INIT_HOL_BLOCK_TIMER_N register
Define the IPA_REG_ENDP_INIT_HOL_BLOCK_TIMER_N 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 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ipa_reg-v4.2.c b/ipa_reg-v4.2.c index 6892f55..c8a9853 100644 --- a/ipa_reg-v4.2.c +++ b/ipa_reg-v4.2.c @@ -360,6 +360,15 @@ static const u32 ipa_reg_endp_init_hol_block_en_n_field[] = { IPA_REG_STRIDE_FIELDS(ENDP_INIT_HOL_BLOCK_EN_N, endp_init_hol_block_en_n, 0x0000082c, 0x0070); +static const u32 ipa_reg_endp_init_hol_block_timer_n_field[] = { + [HOLB_TIMER_BASE_VALUE] = GENMASK(4, 0), + /* Bits 5-7 reserved */ + [HOLB_TIMER_SCALE] = GENMASK(12, 8), + /* Bits 13-31 reserved */ +}; +IPA_REG_STRIDE_FIELDS(ENDP_INIT_HOL_BLOCK_TIMER_N, endp_init_hol_block_timer_n, + 0x00000830, 0x0070); + static const struct ipa_reg *ipa_reg[] = { [IPA_REG_COMP_CFG] = &ipa_reg_comp_cfg, [IPA_REG_CLKON_CFG] = &ipa_reg_clkon_cfg, @@ -403,6 +412,8 @@ static const struct ipa_reg *ipa_reg[] = { [IPA_REG_ENDP_INIT_AGGR_N] = &ipa_reg_endp_init_aggr_n, [IPA_REG_ENDP_INIT_HOL_BLOCK_EN_N] = &ipa_reg_endp_init_hol_block_en_n, + [IPA_REG_ENDP_INIT_HOL_BLOCK_TIMER_N] = + &ipa_reg_endp_init_hol_block_timer_n, }; const struct ipa_regs ipa_regs_v4_2 = { |