linux/drivers/soc/mediatek
AngeloGioacchino Del Regno a92438c5a3 soc: mediatek: mtk-svs: Use bitfield access macros where possible
In order to enhance readability and safety during registers setup
and value retrieval, redefine a few register related macros and
convert all open-coded instances of bitfield setting/retrieval
to use the FIELD_PREP() and FIELD_GET() macros.
While at it, some macros were renamed to further enhance readability.

This commit brings no functional changes.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Link: https://lore.kernel.org/r/20220825184616.2118870-3-nfraprado@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2022-08-26 17:32:12 +02:00
..
Kconfig soc: mediatek: Let PMIC Wrapper and SCPSYS depend on OF 2022-08-25 15:20:31 +02:00
Makefile soc: mediatek: SVS: introduce MTK SVS engine 2022-06-17 10:50:07 +02:00
mt6795-pm-domains.h soc: mediatek: pm-domains: Add support for Helio X10 MT6795 2022-07-08 10:26:30 +02:00
mt8167-mmsys.h soc: mediatek: add DDP_DOMPONENT_DITHER0 enum for mt8195 vdosys0 2022-04-22 14:38:53 +02:00
mt8167-pm-domains.h soc: mediatek: pm-domains: Move power status offset to power domain data 2022-02-28 12:02:04 +01:00
mt8173-pm-domains.h soc: mediatek: pm-domains: Move power status offset to power domain data 2022-02-28 12:02:04 +01:00
mt8183-mmsys.h soc: mediatek: add DDP_DOMPONENT_DITHER0 enum for mt8195 vdosys0 2022-04-22 14:38:53 +02:00
mt8183-pm-domains.h soc: mediatek: mtk-pm-domains: Allow probing vreg supply on two MFGs 2022-07-07 12:07:23 +02:00
mt8186-mmsys.h soc: mediatek: add DDP_DOMPONENT_DITHER0 enum for mt8195 vdosys0 2022-04-22 14:38:53 +02:00
mt8186-pm-domains.h soc: mediatek: mtk-pm-domains: Allow probing vreg supply on two MFGs 2022-07-07 12:07:23 +02:00
mt8192-mmsys.h soc: mediatek: add DDP_DOMPONENT_DITHER0 enum for mt8195 vdosys0 2022-04-22 14:38:53 +02:00
mt8192-pm-domains.h soc: mediatek: mtk-pm-domains: Allow probing vreg supply on two MFGs 2022-07-07 12:07:23 +02:00
mt8195-mmsys.h soc: mediatek: add DDP_DOMPONENT_DITHER0 enum for mt8195 vdosys0 2022-04-22 14:38:53 +02:00
mt8195-pm-domains.h soc: mediatek: mtk-pm-domains: Allow probing vreg supply on two MFGs 2022-07-07 12:07:23 +02:00
mt8365-mmsys.h soc: mediatek: mt8365-mmsys: add DPI/HDMI display path 2022-06-17 12:25:57 +02:00
mtk-cmdq-helper.c soc: mediatek: cmdq: Use mailbox rx_callback instead of cmdq_task_cb 2022-04-20 14:14:59 +02:00
mtk-devapc.c soc: mediatek: devapc: Add support for MT8186 2022-06-07 18:25:15 +02:00
mtk-infracfg.c soc: mediatek: mtk-infracfg: Disable ACP on MT8192 2022-03-01 08:21:28 +01:00
mtk-mmsys.c Merge tag 'v5.18-next-vdso0-stable-tag' into v5.18-next/soc 2022-04-22 14:39:59 +02:00
mtk-mmsys.h soc: mediatek: add mtk-mmsys support for mt8195 vdosys0 2022-04-22 14:38:52 +02:00
mtk-mutex.c soc: mediatek: mutex: Simplify with devm_platform_get_and_ioremap_resource() 2022-07-08 10:29:17 +02:00
mtk-pm-domains.c soc: mediatek: pm-domains: Add support for Helio X10 MT6795 2022-07-08 10:26:30 +02:00
mtk-pm-domains.h soc: mediatek: pm-domains: Add support always on flag 2022-06-17 13:49:37 +02:00
mtk-pmic-wrap.c soc: mediatek: Let PMIC Wrapper and SCPSYS depend on OF 2022-08-25 15:20:31 +02:00
mtk-scpsys.c soc: mediatek: Let PMIC Wrapper and SCPSYS depend on OF 2022-08-25 15:20:31 +02:00
mtk-svs.c soc: mediatek: mtk-svs: Use bitfield access macros where possible 2022-08-26 17:32:12 +02:00