gpio: struct gpio_chip.set_multiple\get_multiple
Jan. 10, 2019
5:54 p.m.
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,
2775
Age (days ago)
2775
Last active (days ago)
0 comments
1 participants
participants (1)
-
Subhashini Rao Beerisetty