Searched refs:maxpins (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/lib/libgpio/
H A Dgpio.c53 int fd, maxpins; local
62 if (ioctl(fd, GPIOMAXPIN, &maxpins) < 0) {
81 int maxpins, i; local
85 if (ioctl(handle, GPIOMAXPIN, &maxpins) < 0)
88 if (maxpins < 0 || maxpins > 4096) {
92 cfgs = calloc(maxpins + 1, sizeof(*cfgs));
95 for (i = 0; i <= maxpins; i++) {
101 return (maxpins);

Completed in 98 milliseconds