diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2025-02-24 16:11:25 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2025-02-26 13:59:50 +0300 |
commit | 1a6ebcc10b138a6c55f8df2cf6cc630ddabe3cab (patch) | |
tree | 2b7df615ff3e66b194fc246dbe84f3b671863eb3 /tools/perf/scripts/python | |
parent | eb23d23d082d097e2a8154a57da72061cb7e33b3 (diff) | |
download | linux-1a6ebcc10b138a6c55f8df2cf6cc630ddabe3cab.tar.xz |
irqchip/renesas-rzv2h: Add field_width to struct rzv2h_hw_info
On RZ/G3E the field width for TSSR register for a TINT is 16 compared to 8
on the RZ/V2H.
Add field_width to struct rzv2h_hw_info and replace the macros ICU_TSSR_K
and ICU_TSSR_TSSEL_N by a runtime evaluation:
(32 / field_width) provides the number of tints in the TSSR register.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/all/20250224131253.134199-10-biju.das.jz@bp.renesas.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions