]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
regcache: Introduce the index parsing API by stride order
authorXiubo Li <lixiubo@cmss.chinamobile.com>
Mon, 4 Jan 2016 10:00:34 +0000 (18:00 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 19 Feb 2016 16:12:11 +0000 (01:12 +0900)
commit8b31ec5572f812acac36f3d02944ade76a8f51b9
tree70467c764e55d4eaea56776491b6f3403fcba481
parentca747be22fa57bbee50e34c220401160e8f2a07f
regcache: Introduce the index parsing API by stride order

Here introduces regcache_get_index_by_order() for regmap cache,
which uses the register stride order and bit rotation, to improve
the performance.

Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/internal.h