Gpio: struct gpio_chip set_multiple and get_multiple

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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,





[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux