From: Subhashini Rao Beerisetty <subhashbeerisetty@gmail.com>
To: kernelnewbies <kernelnewbies@kernelnewbies.org>,
linux-gpio@vger.kernel.org
Subject: gpio: struct gpio_chip.set_multiple\get_multiple
Date: Thu, 10 Jan 2019 23:24:25 +0530 [thread overview]
Message-ID: <CAPY=qRTEQYEQYWBFzvZ9iTftuq7Atn1VqF=rJosybzzHpTjbTQ@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 765 bytes --]
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,
[-- Attachment #1.2: Type: text/html, Size: 2905 bytes --]
[-- Attachment #2: Type: text/plain, Size: 170 bytes --]
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
reply other threads:[~2019-01-10 17:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAPY=qRTEQYEQYWBFzvZ9iTftuq7Atn1VqF=rJosybzzHpTjbTQ@mail.gmail.com' \
--to=subhashbeerisetty@gmail.com \
--cc=kernelnewbies@kernelnewbies.org \
--cc=linux-gpio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).