aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/regmap.h
diff options
context:
space:
mode:
authorXiubo Li <lixiubo@cmss.chinamobile.com>2016-01-04 18:00:35 +0800
committerMark Brown <broonie@kernel.org>2016-02-20 01:12:32 +0900
commitce11020f0e82dbb18eb59b6f6ce92cc0410b353e (patch)
treefd4032d2861d5d06187419cb156cdcb5c47a577b /include/linux/regmap.h
parentregcache: Introduce the index parsing API by stride order (diff)
downloadlinux-dev-ce11020f0e82dbb18eb59b6f6ce92cc0410b353e.tar.xz
linux-dev-ce11020f0e82dbb18eb59b6f6ce92cc0410b353e.zip
regcache: flat: Introduce register strider order
Here we introduce regcache_flat_get_index(), which using register stride order and bit rotation, will save some memory spaces for flat cache. Though this will also lost some access performance, since the bit rotation is used to get the index of the cache array, and this could be ingored for memory I/O accessing. Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/regmap.h')
0 files changed, 0 insertions, 0 deletions