diff options
| author | Paul Burton <paul.burton@imgtec.com> | 2017-08-12 19:49:30 -0700 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2017-08-30 00:57:26 +0200 |
| commit | ed7eb5aad7d4e4945fac664c9b67d0db2a8a3db8 (patch) | |
| tree | e1208966a790a3651b8fb07f60afd15786bd2031 /tools/perf/scripts/python | |
| parent | MIPS: CPC: Use BIT/GENMASK for register fields, order & drop shifts (diff) | |
| download | linux-ed7eb5aad7d4e4945fac664c9b67d0db2a8a3db8.tar.gz linux-ed7eb5aad7d4e4945fac664c9b67d0db2a8a3db8.zip | |
MIPS: CPS: Introduce register modify (set/clear/change) accessors
For read-write registers introduce accessor functions that simplify the
task of modifying a subset of bits within the register. set_* functions
set bits to 1, clear_* functions clear bits to 0 & change_* functions
set bits specified in a mask to an arbitrary value.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/17004/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
