diff options
author | William Breathitt Gray <vilhelm.gray@gmail.com> | 2018-03-22 14:00:00 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-03-26 10:24:55 +0200 |
commit | ca37081595a2fa1d67c962d416392d36ae8d05ad (patch) | |
tree | a0ceffbfacf61076bc33c1830fbea1979e48aeb4 /drivers/gpio/gpio-104-dio-48e.c | |
parent | gpio: pci-idio-16: Implement get_multiple callback (diff) | |
download | linux-ca37081595a2fa1d67c962d416392d36ae8d05ad.tar.xz linux-ca37081595a2fa1d67c962d416392d36ae8d05ad.zip |
gpio: pcie-idio-24: Implement get_multiple/set_multiple callbacks
The ACCES I/O PCIe-IDIO-24 series of devices provides 24
optically-isolated digital I/O accessed via six 8-bit ports. Since eight
input lines are acquired on a single port input read -- and similarly
eight output lines are set on a single port output write -- the
PCIe-IDIO-24 GPIO driver may improve multiple I/O reads/writes by
utilizing a get_multiple/set_multiple callbacks. This patch implements
the idio_24_gpio_get_multiple function which serves as the respective
get_multiple callback, and implements the idio_24_gpio_set_multiple
function which serves as the respective set_multiple callback.
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-104-dio-48e.c')
0 files changed, 0 insertions, 0 deletions