Lines Matching refs:ioctl
72 res = ioctl(fd, EVIOCGPROP(sizeof(bits)), bits); in print_input_props()
109 res = ioctl(fd, EVIOCGBIT(i, bits_size), bits); in print_possible_events()
120 res2 = ioctl(fd, EVIOCGKEY(res), bits + bits_size); in print_possible_events()
137 res2 = ioctl(fd, EVIOCGLED(res), bits + bits_size); in print_possible_events()
142 res2 = ioctl(fd, EVIOCGSND(res), bits + bits_size); in print_possible_events()
147 res2 = ioctl(fd, EVIOCGSW(bits_size), bits + bits_size); in print_possible_events()
195 if(ioctl(fd, EVIOCGABS(j * 8 + k), &abs) == 0) { in print_possible_events()
331 if(ioctl(fd, EVIOCGVERSION, &version)) { in open_device()
336 if(ioctl(fd, EVIOCGID, &id)) { in open_device()
344 if(ioctl(fd, EVIOCGNAME(sizeof(name) - 1), &name) < 1) { in open_device()
348 if(ioctl(fd, EVIOCGPHYS(sizeof(location) - 1), &location) < 1) { in open_device()
352 if(ioctl(fd, EVIOCGUNIQ(sizeof(idstr) - 1), &idstr) < 1) { in open_device()
357 if (ioctl(fd, EVIOCSCLOCKID, &clkid) != 0) { in open_device()
643 res = ioctl(ufds[i].fd, EVIOCGSW(1), &sw); in getevent_main()