mirror-linux/include/linux/soc/mediatek
Jason-JH.Lin 58de63ddd0
soc: mtk-cmdq: Add cmdq_pkt_logic_command to support math operation
Add cmdq_pkt_logic_command to support math operation.

cmdq_pkt_logic_command can append logic command to the CMDQ packet,
ask GCE to execute a arithmetic calculate instruction,
such as add, subtract, multiply, AND, OR and NOT, etc.

Note that all arithmetic instructions are unsigned calculations.
If there are any overflows, GCE will sent the invalid IRQ to notify
CMDQ driver.

Signed-off-by: Jason-JH.Lin <jason-jh.lin@mediatek.com>
Signed-off-by: Hsiao Chien Sung <shawn.sung@mediatek.com>
Link: https://lore.kernel.org/r/20240625083957.3540-1-jason-jh.lin@mediatek.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
2024-06-27 12:41:51 +02:00
..
infracfg.h pmdomain: mediatek: Add support for MT8365 2023-10-17 11:41:42 +02:00
mtk-cmdq.h soc: mtk-cmdq: Add cmdq_pkt_logic_command to support math operation 2024-06-27 12:41:51 +02:00
mtk-mmsys.h soc: mediatek: Support MT8188 VDOSYS1 Padding in mtk-mmsys 2023-12-11 11:36:12 +01:00
mtk-mutex.h
mtk_sip_svc.h
mtk_wed.h net: ethernet: mtk_wed: introduce hw_rro support for MT7988 2023-09-19 18:27:56 +02:00