diff options
| author | Chih Kai Hsu <hsu.chih.kai@realtek.com> | 2026-04-01 14:55:41 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-04-03 04:01:06 +0300 |
| commit | 86f5dd4e0ff282a0acf1f058e947fd5f4ba58a9d (patch) | |
| tree | 1154d524f8f0067102c8704adc2069046437b86f /include | |
| parent | 7eaff1eff003dc9c5881edc37741795a5dfc5ff8 (diff) | |
| download | linux-86f5dd4e0ff282a0acf1f058e947fd5f4ba58a9d.tar.xz | |
r8152: Add helper functions for SRAM2
Add the following helper functions for SRAM2 access to simplify the code
and improve readability:
- sram2_write() - write data to SRAM2 address
- sram2_read() - read data from SRAM2 address
- sram2_write_w0w1() - read-modify-write operation
Signed-off-by: Chih Kai Hsu <hsu.chih.kai@realtek.com>
Reviewed-by: Hayes Wang <hayeswang@realtek.com>
Link: https://patch.msgid.link/20260401115542.34601-1-nic_swsd@realtek.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
