Lines Matching defs:ioctl
43 #include <sys/ioctl.h>
544 else if (ioctl(fd, SYSC_CFGA_CMD_GETSTATUS, sc_list) == -1) {
557 * The GETSTAT ioctl is not simulated. In this way a snapshot of the system
594 else if (ioctl(fd, SYSC_CFGA_CMD_GETSTATUS, sim_sc_list) == -1) {
638 return (ioctl(fd, OPROMGETOPT, a));
640 return (ioctl(fd, OPROMSETOPT, a));
657 #define ioctl(a, b, c) sim_ioctl((int)(a), (int)(b), (void *)(c))
683 if (ioctl(prom_fd, OPROMGETOPT, opp) < 0)
707 if (ioctl(prom_fd, OPROMSETOPT, opp) < 0)
949 } else if (ioctl(fd, SYSC_CFGA_CMD_CONNECT, sc) == -1)
961 (ioctl(fd, SYSC_CFGA_CMD_UNCONFIGURE, sc) == -1)) {
969 if (ioctl(fd, SYSC_CFGA_CMD_DISCONNECT, sc) == -1)
992 } else if (ioctl(fd, SYSC_CFGA_CMD_CONNECT, sc) == -1) {
1000 if (ioctl(fd, SYSC_CFGA_CMD_CONFIGURE, sc) == -1)
1015 else if (ioctl(fd, SYSC_CFGA_CMD_UNCONFIGURE, sc) == -1)
1127 (ioctl(fd, cmd, sc) == -1))