summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_output.py
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2025-06-12 16:40:51 +0100
committerJakub Kicinski <kuba@kernel.org>2025-06-13 18:22:58 -0700
commit3de607d13b6bd7fd85759d085b6996112bf6cfe2 (patch)
tree94aba672c26fe251a613f54bfea1ada0281f2b03 /scripts/lib/kdoc/kdoc_output.py
parente6e9e837d312ee872892d9207c58763f0838a36c (diff)
net: stmmac: rk: add struct for programming register based speeds
There is a common pattern in the driver where many SoCs need to write a single register with a value dependent on the interface mode and speed. Rather than having a lot of repeated code, add some common functions and a struct to contain the values to be written to a register to select the RGMII and RMII speeds. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/E1uPk2t-004CFN-Td@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions