linux/drivers/base/regmap
Dimitris Papastamos 2cbbb579bc regmap: Add the LZO cache support
This patch adds support for LZO compression when storing the register
cache.

For a typical device whose register map would normally occupy 25kB or 50kB
by using the LZO compression technique, one can get down to ~5-7kB.  There
might be a performance penalty associated with each individual read/write
due to decompressing/compressing the underlying cache, however that should not
be noticeable.  These memory benefits depend on whether the target architecture
can get rid of the memory occupied by the original register defaults cache
which is marked as __devinitconst.  Nevertheless there will be some memory
gain even if the target architecture can't get rid of the original register
map, this should be around ~30-32kB instead of 50kB.

Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2011-09-19 19:06:33 +01:00
..
internal.h regmap: Add the LZO cache support 2011-09-19 19:06:33 +01:00
Kconfig regmap: Add the LZO cache support 2011-09-19 19:06:33 +01:00
Makefile regmap: Add the LZO cache support 2011-09-19 19:06:33 +01:00
regcache-indexed.c regmap: Add the indexed cache support 2011-09-19 19:06:32 +01:00
regcache-lzo.c regmap: Add the LZO cache support 2011-09-19 19:06:33 +01:00
regcache-rbtree.c regmap: Add the rbtree cache support 2011-09-19 19:06:33 +01:00
regcache.c regmap: Add the LZO cache support 2011-09-19 19:06:33 +01:00
regmap-debugfs.c regmap: Include the last register in debugfs output 2011-09-05 10:58:31 -07:00
regmap-i2c.c regmap: Remove redundant owner field from the bus type struct 2011-09-05 10:57:04 -07:00
regmap-spi.c regmap: Remove redundant owner field from the bus type struct 2011-09-05 10:57:04 -07:00
regmap.c regmap: Add support for device specific write and read flag masks. 2011-09-05 14:55:57 -07:00