aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGilad Ben-Yossef <[email protected]>2017-06-04 11:02:23 +0300
committerGreg Kroah-Hartman <[email protected]>2017-06-04 10:16:25 +0200
commit8b64e512dea15c6af39e83ebc01f774e2541632a (patch)
tree845aedab59f6d9ba70f652b824fe45901cd84c23 /tools/perf/scripts/python
parent6562e7db139f48d41d15fd2c3afb06017d6d8f97 (diff)
staging: ccree: refactor HW command FIFO access
The programming of the HW command FIFO in ccree was done via a set of macros which suffer a few problems: - Use of macros rather than inline leaves out parameter type checking and risks multiple macro parameter evaluation side effects. - Implemented via hand rolled versions of bitfield operations. This patch refactors the HW command queue access into a set of inline functions using generic kernel bitfield access infrastructure, thus resolving the above issues and opening the way later on to drop the hand rolled bitfield macros once additional users are dropped in later patches in the series. Signed-off-by: Gilad Ben-Yossef <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions