summaryrefslogtreecommitdiff
path: root/drivers/usb/host
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 /drivers/usb/host
parent8b31ec5572f812acac36f3d02944ade76a8f51b9 (diff)
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 'drivers/usb/host')
0 files changed, 0 insertions, 0 deletions