diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2022-08-16 23:48:31 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-08-17 15:00:31 +0300 |
commit | c20cc099b30abd50f563e422aa72edcd7f92da55 (patch) | |
tree | 4a458d603d07a8b82dd328ca2a7360093a759a3f /arch/hexagon/include | |
parent | 77672e0387f90153e3c7ee89456d16dcacfef6d2 (diff) | |
download | linux-c20cc099b30abd50f563e422aa72edcd7f92da55.tar.xz |
regmap: Support accelerated noinc operations
Several architectures have accelerated operations for MMIO
operations writing to a single register, such as writesb, writesw,
writesl, writesq, readsb, readsw, readsl and readsq but regmap
currently cannot use them because we have no hooks for providing
an accelerated noinc back-end for MMIO.
Solve this by providing reg_[read/write]_noinc callbacks for
the bus abstraction, so that the regmap-mmio bus can use this.
Currently I do not see a need to support this for custom regmaps
so it is only added to the bus.
Callbacks are passed a void * with the array of values and a
count which is the number of items of the byte chunk size for
the specific register width.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20220816204832.265837-1-linus.walleij@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/hexagon/include')
0 files changed, 0 insertions, 0 deletions