Home | History | Annotate | Download | only in gpioctl

Lines Matching defs:devfd

42 static int devfd = -1;
121 if ((devfd = open(dev, O_RDWR)) == -1)
219 if (ioctl(devfd, GPIOINFO, &info) == -1)
242 if (ioctl(devfd, GPIOREAD, &req) == -1)
273 if (ioctl(devfd, GPIOWRITE, &req) == -1)
276 if (ioctl(devfd, GPIOTOGGLE, &req) == -1)
310 if (ioctl(devfd, GPIOSET, &set) == -1)
347 if (ioctl(devfd, GPIOUNSET, &set) == -1)
358 if (ioctl(devfd, GPIOINFO, &info) == -1)
364 if (ioctl(devfd, GPIOREAD, &req) == -1)
381 if (ioctl(devfd, GPIOATTACH, &attach) == -1)