gpio: struct gpio_chip.set_multiple\get_multiple
Subhashini Rao Beerisetty
subhashbeerisetty at gmail.com
Thu Jan 10 12:54:25 EST 2019
Hi All,
struct gpio_chip {
int (*get_multiple)(struct gpio_chip *chip,unsigned long *mask,
unsigned long *bits);
void (*set_multiple)(struct gpio_chip *chip,unsigned long *mask,
unsigned long *bits);
}
struct gpio_chip provides set_multiple callback to assign output values for
multiple signals defined by “mask” and similarly it has get_multiple
callback to read values for multiple signals defined by “mask” and stores
them in “bits”.
I’m using deprecated sysfs interface (/sys/class/gpio/gpiochipN – v4.4
kernel), in this kernel version I could not find any userspace control to
achieve to output values for multiple PIO’s and similarly to read multiple
PIO’s. Can someone clarify me on this?
Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20190110/56c5ffaf/attachment.html>
More information about the Kernelnewbies
mailing list