summaryrefslogtreecommitdiffstats
path: root/firmware/ess
diff options
context:
space:
mode:
authorMark Brown2013-03-29 20:18:59 +0100
committerMark Brown2013-03-30 14:49:17 +0100
commit78493f2d7b51d6f6d03982cee559c62dfab4c292 (patch)
tree7b7360e51d4e245a0fa2ac611eecc252ea5030fc /firmware/ess
parentregmap: cache: Use raw I/O to sync rbtrees if we can (diff)
downloadkernel-qcow2-linux-78493f2d7b51d6f6d03982cee559c62dfab4c292.tar.gz
kernel-qcow2-linux-78493f2d7b51d6f6d03982cee559c62dfab4c292.tar.xz
kernel-qcow2-linux-78493f2d7b51d6f6d03982cee559c62dfab4c292.zip
regmap: cache: Factor out reg_present support from rbtree cache
The idea of maintaining a bitmap of present registers is something that can usefully be used by other cache types that maintain blocks of cached registers so move the code out of the rbtree cache and into the generic regcache code. Refactor the interface slightly as we go to wrap the set bit and enlarge bitmap operations (since we never do one without the other) and make it more robust for reads of uncached registers by bounds checking before we look at the bitmap. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Reviewed-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Diffstat (limited to 'firmware/ess')
0 files changed, 0 insertions, 0 deletions