diff options
author | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2022-08-25 14:46:16 -0400 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2022-08-26 17:32:12 +0200 |
commit | a92438c5a30a27b6791da025306a45478a6ac7a4 (patch) | |
tree | 7da7b9ba51d789e5d55b7fcc52e0e16801abab3a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 43819e3853306625275f1ada7416453117a9aabf (diff) |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions