soc: mediatek: cmdq: add write_s_mask value function
authorDennis YC Hsieh <dennis-yc.hsieh@mediatek.com>
Tue, 7 Jul 2020 15:45:11 +0000 (23:45 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Fri, 25 Sep 2020 15:27:36 +0000 (17:27 +0200)
commit88a2ffc48d5bc85119ef7961df12369dcd53b4d2
tree9e8e74c09eb57990f2332051ec3fcdd0acf189a7
parent1af43fce813ebd74c76d080beb261603bd0853e1
soc: mediatek: cmdq: add write_s_mask value function

add write_s_mask_value function in cmdq helper functions which
writes a constant value to address with mask and large dma
access support.

Signed-off-by: Dennis YC Hsieh <dennis-yc.hsieh@mediatek.com>
Link: https://lore.kernel.org/r/1594136714-11650-7-git-send-email-dennis-yc.hsieh@mediatek.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-cmdq-helper.c
include/linux/soc/mediatek/mtk-cmdq.h