Lines Matching refs:ioctl
103 if (ioctl(fd, BPPIOC_TESTIO) == 0 || errno == EIO) in is_a_parallel_bpp()
129 if (ioctl(fd, BPPIOC_TESTIO)) { in bpp_state()
133 if (ioctl(fd, BPPIOC_GETERR, &bpp_stat) < 0) in bpp_state()
175 if (ioctl(fd, ECPPIOC_GETPARMS, &transfer_parms) == -1) { in get_ecpp_status()
187 if (ioctl(fd, ECPPIOC_SETPARMS, &transfer_parms) == -1) { in get_ecpp_status()
207 if (ioctl(fd, PRNIOC_GET_IFCAP, &cap) == -1) { in is_a_prnio()
215 (void) ioctl(fd, PRNIOC_SET_IFCAP, &cap); in is_a_prnio()
227 if ((ioctl(fd, PRNIOC_GET_STATUS, &status) == 0) && in prnio_state()
232 if (ioctl(fd, PRNIOC_GET_1284_STATUS, &pins) != 0) { in prnio_state()
668 ioctl(1, I_FLUSH, FLUSHW); in sigterm()
690 if (ioctl(1, TCGETS, &tms) < 0) { in baudrate()
691 if (ioctl(1, TCGETA, &tm) < 0) in baudrate()