summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2026-03-14 12:43:26 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-18 06:32:09 +0300
commitb2fd52d90b8a1daeb6d44583bada7baad82b3c98 (patch)
tree1e2ca5101326c0aa4fbf5d7f6758d39078fe24f1 /include
parent2c3525ad09e937e58ad6c78b9257af7d41bf3ab0 (diff)
downloadlinux-b2fd52d90b8a1daeb6d44583bada7baad82b3c98.tar.xz
net: stmmac: add helper to set transmit tail pointer
Setting the queue transmit tail pointer follows a common pattern: calculate the DMA address, and then call stmmac_set_tx_tail_ptr(). The only difference between all the call sites is the index used. Factor this out into a static function. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://patch.msgid.link/E1w1LWo-0000000DGSw-1MCe@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions