<div dir="ltr"><div dir="ltr"><font color="#000000" face="Times New Roman" size="3">
</font><p style="line-height:15pt"><span style="color:rgb(34,34,34);font-family:"Arial",sans-serif;font-size:10pt">Hi All,<br style="overflow:visible;font-size-adjust:none;font-stretch:normal">
</span></p><font color="#000000" face="Times New Roman" size="3">
</font><p style="background:white;margin:0in 0in 0pt"><span style="color:rgb(34,34,34);font-family:"Arial",sans-serif;font-size:10pt">struct gpio_chip {</span></p><font color="#000000" face="Times New Roman" size="3">
</font><pre style="background:white"><span style="color:rgb(34,34,34);font-family:"Arial",sans-serif"><span> </span>int (*get_multiple)(struct gpio_chip *chip,unsigned long *mask, unsigned long *bits);</span></pre><pre style="background:white"><span style="color:rgb(34,34,34);font-family:"Arial",sans-serif"><span> </span>void (*set_multiple)(struct gpio_chip *chip,unsigned long *mask, unsigned long *bits);</span></pre><font color="#000000" face="Times New Roman" size="3">
</font><p style="line-height:15pt"><span style="color:rgb(34,34,34);font-family:"Arial",sans-serif;font-size:10pt">}</span></p><font color="#000000" face="Times New Roman" size="3">
</font><p style="background:rgb(252,252,252);margin:0in 0in 0pt"><span style="color:rgb(34,34,34);font-family:"Arial",sans-serif;font-size:10pt">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”.</span></p><p style="background:rgb(252,252,252);margin:0in 0in 0pt"><span style="color:rgb(34,34,34);font-family:"Arial",sans-serif;font-size:10pt"></span><br></p><p style="background:rgb(252,252,252);margin:0in 0in 0pt"><span style="color:rgb(34,34,34);font-family:"Arial",sans-serif;font-size:10pt"> I’m using </span><span style="color:rgb(34,34,34);font-family:"Arial",sans-serif;font-size:10pt">deprecated sysfs interface (/sys/class/gpio/gpiochipN – v4.4
kernel), in this kernel version I could not find any userspace control to achieve
to </span><span style="color:rgb(34,34,34);font-family:"Arial",sans-serif;font-size:10pt">output values for
multiple PIO’s and similarly to read multiple PIO’s. Can someone clarify me on
this?</span></p><p style="background:rgb(252,252,252);margin:0in 0in 0pt"><span style="color:rgb(34,34,34);font-family:"Arial",sans-serif;font-size:10pt"></span><br></p><p style="background:rgb(252,252,252);margin:0in 0in 0pt"><span style="color:rgb(34,34,34);font-family:"Arial",sans-serif;font-size:10pt">Thanks,</span></p><font color="#000000" face="Times New Roman" size="3">
</font></div></div>