diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-11-19 10:23:30 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-11-20 17:57:40 -0800 |
| commit | 6ff3310ca28298e363c78143b6a2f20312421f4e (patch) | |
| tree | 2f4a5aed8bd25d7f386456a39d8eea8d462ab56c /tools/perf/scripts/python | |
| parent | 2704af20c8e5e7f5f1cfb56003d246a7936458f6 (diff) | |
net: stmmac: move stmmac_axi_blen_to_mask() to stmmac_main.c
Move the call to stmmac_axi_blen_to_mask() out of the individual
MAC version drivers into the main code in stmmac_init_dma_engine(),
passing the resulting value through a new member, axi_blen_regval,
in the struct stmmac_axi structure.
There is now no need for stmmac_axi_blen_to_dma_mask() to use
u32p_replace_bits(), so use FIELD_PREP() instead.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1vLfLW-0000000FMb1-0zKV@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
