aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/core/page_pool_user.c
diff options
context:
space:
mode:
authorSky Huang <skylake.huang@mediatek.com>2025-02-13 16:05:50 +0800
committerJakub Kicinski <kuba@kernel.org>2025-02-17 16:22:36 -0800
commitafa08fde7c4780ea5556d9d4df6c1daa38ba0d6b (patch)
treee769244f76359a3dd8b794e438e78b9d7a481e55 /net/core/page_pool_user.c
parentnet: phy: mediatek: Change to more meaningful macros (diff)
downloadwireguard-linux-afa08fde7c4780ea5556d9d4df6c1daa38ba0d6b.tar.xz
wireguard-linux-afa08fde7c4780ea5556d9d4df6c1daa38ba0d6b.zip
net: phy: mediatek: Add token ring access helper functions in mtk-phy-lib
This patch adds TR(token ring) manipulations and adds correct macro names for those magic numbers. TR is a way to access proprietary registers on page 52b5. Use these helper functions so we can see which fields we're going to modify/set/clear. TR functions with __* prefix mean that the operations inside aren't wrapped by page select/restore functions. This patch doesn't really change registers' settings but just enhances readability and maintainability. Signed-off-by: Sky Huang <skylake.huang@mediatek.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/20250213080553.921434-3-SkyLake.Huang@mediatek.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/page_pool_user.c')
0 files changed, 0 insertions, 0 deletions