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,