Janusz Krzysztofik
77588c14ac
gpiolib: Pass array info to get/set array functions
...
In order to make use of array info obtained from gpiod_get_array() and
speed up processing of arrays matching single GPIO chip layout, that
information must be passed to get/set array functions. Extend the
functions' API with that additional parameter and update all users.
Pass NULL if a user builds an array itself from single GPIOs.
Cc: Jonathan Corbet <[email protected] >
Cc: Miguel Ojeda Sandonis <[email protected] >
Cc: Geert Uytterhoeven <[email protected] >
Cc: Sebastien Bourdelin <[email protected] >
Cc: Lukas Wunner <[email protected] >
Cc: Peter Korsgaard <[email protected] >
Cc: Peter Rosin <[email protected] >
Cc: Andrew Lunn <[email protected] >
Cc: Florian Fainelli <[email protected] >
Cc: "David S. Miller" <[email protected] >
Cc: Rojhalat Ibrahim <[email protected] >
Cc: Dominik Brodowski <[email protected] >
Cc: Russell King <[email protected] >
Cc: Kishon Vijay Abraham I <[email protected] >
Cc: Tony Lindgren <[email protected] >
Cc: Lars-Peter Clausen <[email protected] >
Cc: Michael Hennerich <[email protected] >
Cc: Jonathan Cameron <[email protected] >
Cc: Hartmut Knaack <[email protected] >
Cc: Peter Meerwald-Stadler <[email protected] >
Cc: Greg Kroah-Hartman <[email protected] >
Cc: Jiri Slaby <[email protected] >
Cc: Yegor Yefremov <[email protected] >
Cc: Uwe Kleine-König <[email protected] >
Signed-off-by: Janusz Krzysztofik <[email protected] >
Acked-by: Ulf Hansson <[email protected] >
Signed-off-by: Linus Walleij <[email protected] >
2018-09-13 11:16:54 +02:00
Janusz Krzysztofik
b9762bebc6
gpiolib: Pass bitmaps, not integer arrays, to get/set array
...
Most users of get/set array functions iterate consecutive bits of data,
usually a single integer, while processing array of results obtained
from, or building an array of values to be passed to those functions.
Save time wasted on those iterations by changing the functions' API to
accept bitmaps.
All current users are updated as well.
More benefits from the change are expected as soon as planned support
for accepting/passing those bitmaps directly from/to respective GPIO
chip callbacks if applicable is implemented.
Cc: Jonathan Corbet <[email protected] >
Cc: Miguel Ojeda Sandonis <[email protected] >
Cc: Sebastien Bourdelin <[email protected] >
Cc: Lukas Wunner <[email protected] >
Cc: Peter Korsgaard <[email protected] >
Cc: Peter Rosin <[email protected] >
Cc: Andrew Lunn <[email protected] >
Cc: Florian Fainelli <[email protected] >
Cc: "David S. Miller" <[email protected] >
Cc: Rojhalat Ibrahim <[email protected] >
Cc: Dominik Brodowski <[email protected] >
Cc: Russell King <[email protected] >
Cc: Kishon Vijay Abraham I <[email protected] >
Cc: Tony Lindgren <[email protected] >
Cc: Lars-Peter Clausen <[email protected] >
Cc: Michael Hennerich <[email protected] >
Cc: Jonathan Cameron <[email protected] >
Cc: Hartmut Knaack <[email protected] >
Cc: Peter Meerwald-Stadler <[email protected] >
Cc: Greg Kroah-Hartman <[email protected] >
Cc: Jiri Slaby <[email protected] >
Cc: Yegor Yefremov <[email protected] >
Cc: Uwe Kleine-König <[email protected] >
Signed-off-by: Janusz Krzysztofik <[email protected] >
Acked-by: Ulf Hansson <[email protected] >
Reviewed-by: Geert Uytterhoeven <[email protected] >
Tested-by: Geert Uytterhoeven <[email protected] >
Signed-off-by: Linus Walleij <[email protected] >
2018-09-13 11:15:30 +02:00
Peter Rosin
0edff03d44
mux: add SPDX identifiers to all mux source files
...
Remove all free-text license texts.
This is done on a quest to remove the 700+ different ways that files in
the kernel describe the GPL license text.
No copyright headers or other non-license-description text was removed.
Reviewed-by: Philippe Ombredanne <[email protected] >
Acked-by: Philipp Zabel <[email protected] >
Signed-off-by: Peter Rosin <[email protected] >
Signed-off-by: Greg Kroah-Hartman <[email protected] >
2018-01-09 16:51:44 +01:00
Peter Rosin
8f3addf1b4
mux: zap mux- prefix from the source files
...
Preserve the module names with Makefile additions.
Signed-off-by: Peter Rosin <[email protected] >
Signed-off-by: Greg Kroah-Hartman <[email protected] >
2017-08-28 17:11:28 +02:00