WSL2-Linux-Kernel/include/soc
Sean Anderson d378c93713 soc: fsl: qbman: Add CGR update function
[ Upstream commit 914f8b228e ]

This adds a function to update a CGR with new parameters. qman_create_cgr
can almost be used for this (with flags=0), but it's not suitable because
it also registers the callback function. The _safe variant was modeled off
of qman_cgr_delete_safe. However, we handle multiple arguments and a return
value.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Acked-by: Camelia Groza <camelia.groza@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: fbec4e7fed89 ("soc: fsl: qbman: Use raw spinlock for cgr_lock")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-10 16:18:42 +02:00
..
arc
at91
bcm2835
canaan
fsl
imx
mediatek
microchip
mscc
qcom
rockchip
sa1100
sifive
tegra