Janusz Krzysztofik b17566a6b0 gpiolib: Implement fast processing path in get/set array
Certain GPIO descriptor arrays returned by gpio_get_array() may contain
information on direct mapping of array members to pins of a single GPIO
chip in hardware order.  In such cases, bitmaps of values can be passed
directly from/to the chip's .get/set_multiple() callbacks without
wasting time on iterations.

Add respective code to gpiod_get/set_array_bitmap_complex() functions.
Pins not applicable for fast path are processed as before, skipping
over the 'fast' ones.

Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2018-09-13 11:17:23 +02:00
..
2018-07-07 16:56:09 +02:00
2017-12-11 14:37:11 -07:00
2016-09-06 09:14:52 -06:00
2018-06-10 13:01:12 -07:00
2016-08-22 14:42:08 -06:00
2018-04-20 19:14:40 -04:00
2016-08-22 14:42:08 -06:00
2016-09-06 09:14:52 -06:00