summaryrefslogtreecommitdiff
path: root/drivers/ide/tc86c001.c
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>2018-03-22 16:00:00 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-03-26 11:24:55 +0300
commitca37081595a2fa1d67c962d416392d36ae8d05ad (patch)
treea0ceffbfacf61076bc33c1830fbea1979e48aeb4 /drivers/ide/tc86c001.c
parent810ebfc5efca9a05c57e5d2bad0f944b0f24267d (diff)
downloadlinux-ca37081595a2fa1d67c962d416392d36ae8d05ad.tar.xz
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/ide/tc86c001.c')
0 files changed, 0 insertions, 0 deletions