diff options
| author | Chih Kai Hsu <hsu.chih.kai@realtek.com> | 2026-03-26 15:39:25 +0800 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-03-31 10:28:26 +0200 |
| commit | 7db154aa58e18bb663cc317f0b62631f8b3d2b87 (patch) | |
| tree | 4eb17f9a01c015b955a34a0e2d663fda1bff9cf0 /tools/testing/vma/include/git@git.tavy.me:linux.git | |
| parent | d16133f177fea620d6b413990683b6a8b2641be5 (diff) | |
r8152: add helper functions for PHY OCP registers
Add the following bitwise operation functions for PHY OCP registers to
simplify the code.
- ocp_reg_w0w1()
- ocp_reg_clr_bits()
- ocp_reg_set_bits()
- sram_write_w0w1()
- sram_clr_bits()
- sram_set_bits()
- r8152_mdio_clr_bit()
- r8152_mdio_set_bit()
- r8152_mdio_test_and_clr_bit()
In addition, remove variable set but not used from r8153_init(),
r8153b_init() and r8153c_init().
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-456-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
