aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>2022-08-25 14:46:16 -0400
committerMatthias Brugger <matthias.bgg@gmail.com>2022-08-26 17:32:12 +0200
commita92438c5a30a27b6791da025306a45478a6ac7a4 (patch)
tree7da7b9ba51d789e5d55b7fcc52e0e16801abab3a /scripts/generate_rust_analyzer.py
parentsoc: mediatek: mtk-svs: Commonize t-calibration-data fuse array read (diff)
downloadlinux-dev-a92438c5a30a27b6791da025306a45478a6ac7a4.tar.xz
linux-dev-a92438c5a30a27b6791da025306a45478a6ac7a4.zip
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions