mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 10:01:43 +00:00
f01ee60fff
regmap_config.reg_stride is introduced. All extant register addresses are a multiple of this value. Users of serial-oriented regmap busses will typically set this to 1. Users of the MMIO regmap bus will typically set this based on the value size of their registers, in bytes, so 4 for a 32-bit register. Throughout the regmap code, actual register addresses are used. Wherever the register address is used to index some array of values, the address is divided by the stride to determine the index, or vice-versa. Error- checking is added to all entry-points for register address data to ensure that register addresses actually satisfy the specified stride. The MMIO bus ensures that the specified stride is large enough for the register size. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> |
||
---|---|---|
.. | ||
internal.h | ||
Kconfig | ||
Makefile | ||
regcache-lzo.c | ||
regcache-rbtree.c | ||
regcache.c | ||
regmap-debugfs.c | ||
regmap-i2c.c | ||
regmap-irq.c | ||
regmap-mmio.c | ||
regmap-spi.c | ||
regmap.c |