summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDavid Yang <mmyangfl@gmail.com>2026-04-30 19:45:25 +0800
committerJakub Kicinski <kuba@kernel.org>2026-05-02 10:38:58 -0700
commit9f8888984eb0957d2e48edcc09601e13f491bab3 (patch)
tree65863f37ce2d46606389bf882438a3fcfcbe5332 /include/linux
parent09e4d1298b367051b60d9b0a13b22e7d78e61803 (diff)
net: dsa: yt921x: Refactor long register helpers
Dealing long registers with u64 is good, until you realize there are longer 96-bit registers. Refactor reg64 helpers to use u32 arrays instead of u64 values, in preparation for 96-bit registers. We do not keep the separate u64 version for reg64 to avoid duplicated wrappers, although it looks better when dealing with reg64 *only*. Helpers for reg96 should be added when they are actually used to avoid function unused warnings. Signed-off-by: David Yang <mmyangfl@gmail.com> Link: https://patch.msgid.link/20260430114529.3536911-3-mmyangfl@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions