diff options
| author | Chih Kai Hsu <hsu.chih.kai@realtek.com> | 2026-03-26 15:39:24 +0800 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-03-31 10:28:26 +0200 |
| commit | d16133f177fea620d6b413990683b6a8b2641be5 (patch) | |
| tree | c74bc5c5fd8b6bdd1e311fe0a7f48315992797b7 /tools/testing/vma/include/git@git.tavy.me:linux.git | |
| parent | 48afd5124fd6129c46fd12cb06155384b1c4a0c4 (diff) | |
r8152: add helper functions for PLA/USB OCP registers
Add the following bitwise operation functions for PLA/USB OCP registers
to simplify the code.
- ocp_dword_w0w1()
- ocp_word_w0w1()
- ocp_byte_w0w1()
- ocp_dword_clr_bits()
- ocp_dword_set_bits()
- ocp_word_clr_bits()
- ocp_word_set_bits()
- ocp_word_test_and_clr_bits()
- ocp_byte_clr_bits()
- ocp_byte_set_bits()
Signed-off-by: Chih Kai Hsu <hsu.chih.kai@realtek.com>
Reviewed-by: Hayes Wang <hayeswang@realtek.com>
Link: https://patch.msgid.link/20260326073925.32976-455-nic_swsd@realtek.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/testing/vma/include/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
