/external/qemu/distrib/sdl-1.2.15/src/cdrom/win32/ |
D | SDL_syscdrom.c | 112 static int SDL_SYS_CDioctl(int id, UINT msg, DWORD flags, void *arg) in SDL_SYS_CDioctl() function 146 if ( SDL_SYS_CDioctl(0, MCI_OPEN, flags, &mci_open) < 0 ) { in SDL_SYS_CDOpen() 148 if ( SDL_SYS_CDioctl(0, MCI_OPEN, flags, &mci_open) < 0 ) { in SDL_SYS_CDOpen() 156 SDL_SYS_CDioctl(drive, MCI_SET, MCI_SET_TIME_FORMAT, &mci_set); in SDL_SYS_CDOpen() 173 if ( SDL_SYS_CDioctl(cdrom->id, MCI_STATUS, flags, &mci_status) == 0 ) { in SDL_SYS_CDGetTOC() 185 if ( SDL_SYS_CDioctl(cdrom->id, MCI_STATUS, flags, in SDL_SYS_CDGetTOC() 198 if ( SDL_SYS_CDioctl(cdrom->id, MCI_STATUS, flags, in SDL_SYS_CDGetTOC() 216 if ( SDL_SYS_CDioctl(cdrom->id, MCI_STATUS, flags, in SDL_SYS_CDGetTOC() 242 if ( SDL_SYS_CDioctl(cdrom->id, MCI_STATUS, flags, &mci_status) < 0 ) { in SDL_SYS_CDStatus() 283 if ( SDL_SYS_CDioctl(cdrom->id, MCI_STATUS, flags, in SDL_SYS_CDStatus() [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/mint/ |
D | SDL_syscdrom.c | 62 static int SDL_SYS_CDioctl(int id, int command, void *arg); 158 static int SDL_SYS_CDioctl(int id, int command, void *arg) in SDL_SYS_CDioctl() function 176 if (SDL_SYS_CDioctl(cdrom->id, CDROMREADTOCHDR, &toc)<0) { in SDL_SYS_CDGetTOC() 195 if ( SDL_SYS_CDioctl(cdrom->id, CDROMREADTOCENTRY, &entry) < 0 ) { in SDL_SYS_CDGetTOC() 226 if ( SDL_SYS_CDioctl(cdrom->id, CDROMSUBCHNL, &info) < 0 ) { in SDL_SYS_CDStatus() 237 if (SDL_SYS_CDioctl(cdrom->id, CDROMREADTOCHDR, &toc)==0) { in SDL_SYS_CDStatus() 290 return SDL_SYS_CDioctl(cdrom->id, CDROMPLAYMSF, &playtime); in SDL_SYS_CDPlay() 296 return SDL_SYS_CDioctl(cdrom->id, CDROMPAUSE, 0); in SDL_SYS_CDPause() 302 return SDL_SYS_CDioctl(cdrom->id, CDROMRESUME, 0); in SDL_SYS_CDResume() 308 return SDL_SYS_CDioctl(cdrom->id, CDROMSTOP, 0); in SDL_SYS_CDStop() [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/aix/ |
D | SDL_syscdrom.c | 67 static int SDL_SYS_CDioctl(int id, int command, void *arg); 87 ret = SDL_SYS_CDioctl( cdfd, IOCINFO, &info ); in CheckDrive() 345 static int SDL_SYS_CDioctl(int id, int command, void *arg) in SDL_SYS_CDioctl() function 408 ret = SDL_SYS_CDioctl(fd, DK_CD_MODE, &cdMode); in SDL_SYS_CDOpen() 446 ret = SDL_SYS_CDioctl(fd, DK_CD_MODE, &cdMode); in SDL_SYS_CDOpen() 476 if ( SDL_SYS_CDioctl(cdrom->id, DKAUDIO, &cmd) < 0 ) { in SDL_SYS_CDGetTOC() 496 if ( SDL_SYS_CDioctl(cdrom->id, DKAUDIO, &entry) < 0 ) { in SDL_SYS_CDGetTOC() 524 if ( SDL_SYS_CDioctl(cdrom->id, DKAUDIO, &cmd) < 0 ) { in SDL_SYS_CDStatus() 609 return(SDL_SYS_CDioctl(cdrom->id, DKAUDIO, &cmd)); in SDL_SYS_CDPlay() 617 return(SDL_SYS_CDioctl(cdrom->id, DKAUDIO, &cmd)); in SDL_SYS_CDPause() [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/openbsd/ |
D | SDL_syscdrom.c | 230 static int SDL_SYS_CDioctl(int id, int command, void *arg) in SDL_SYS_CDioctl() function 259 if ( SDL_SYS_CDioctl(cdrom->id, CDIOREADTOCHEADER, &toc) == 0 ) { in SDL_SYS_CDGetTOC() 275 if ( SDL_SYS_CDioctl(cdrom->id, CDIOREADTOCENTRYS, in SDL_SYS_CDGetTOC() 370 return(SDL_SYS_CDioctl(cdrom->id, CDIOCPLAYMSF, &playtime)); in SDL_SYS_CDPlay() 376 return(SDL_SYS_CDioctl(cdrom->id, CDIOCPAUSE, 0)); in SDL_SYS_CDPause() 382 return(SDL_SYS_CDioctl(cdrom->id, CDIOCRESUME, 0)); in SDL_SYS_CDResume() 388 return(SDL_SYS_CDioctl(cdrom->id, CDIOCSTOP, 0)); in SDL_SYS_CDStop() 394 SDL_SYS_CDioctl(cdrom->id, CDIOCALLOW, 0); in SDL_SYS_CDEject() 395 return(SDL_SYS_CDioctl(cdrom->id, CDIOCEJECT, 0)); in SDL_SYS_CDEject()
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/freebsd/ |
D | SDL_syscdrom.c | 221 static int SDL_SYS_CDioctl(int id, int command, void *arg) in SDL_SYS_CDioctl() function 250 if ( SDL_SYS_CDioctl(cdrom->id, CDIOREADTOCHEADER, &toc) == 0 ) { in SDL_SYS_CDGetTOC() 266 if ( SDL_SYS_CDioctl(cdrom->id, CDIOREADTOCENTRYS, in SDL_SYS_CDGetTOC() 361 return(SDL_SYS_CDioctl(cdrom->id, CDIOCPLAYMSF, &playtime)); in SDL_SYS_CDPlay() 367 return(SDL_SYS_CDioctl(cdrom->id, CDIOCPAUSE, 0)); in SDL_SYS_CDPause() 373 return(SDL_SYS_CDioctl(cdrom->id, CDIOCRESUME, 0)); in SDL_SYS_CDResume() 379 return(SDL_SYS_CDioctl(cdrom->id, CDIOCSTOP, 0)); in SDL_SYS_CDStop() 385 return(SDL_SYS_CDioctl(cdrom->id, CDIOCEJECT, 0)); in SDL_SYS_CDEject()
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/linux/ |
D | SDL_syscdrom.c | 379 static int SDL_SYS_CDioctl(int id, int command, void *arg) in SDL_SYS_CDioctl() function 407 if ( SDL_SYS_CDioctl(cdrom->id, CDROMREADTOCHDR, &toc) == 0 ) { in SDL_SYS_CDGetTOC() 421 if ( SDL_SYS_CDioctl(cdrom->id, CDROMREADTOCENTRY, in SDL_SYS_CDGetTOC() 519 return(SDL_SYS_CDioctl(cdrom->id, CDROMPLAYMSF, &playtime)); in SDL_SYS_CDPlay() 525 return(SDL_SYS_CDioctl(cdrom->id, CDROMPAUSE, 0)); in SDL_SYS_CDPause() 531 return(SDL_SYS_CDioctl(cdrom->id, CDROMRESUME, 0)); in SDL_SYS_CDResume() 537 return(SDL_SYS_CDioctl(cdrom->id, CDROMSTOP, 0)); in SDL_SYS_CDStop() 543 return(SDL_SYS_CDioctl(cdrom->id, CDROMEJECT, 0)); in SDL_SYS_CDEject()
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/beos/ |
D | SDL_syscdrom.cc | 257 static int SDL_SYS_CDioctl(int index, int command, void *arg) in SDL_SYS_CDioctl() function 288 if ( SDL_SYS_CDioctl(cdrom->id, B_SCSI_GET_TOC, &toc) == 0 ) { in SDL_SYS_CDGetTOC() 371 return(SDL_SYS_CDioctl(cdrom->id, B_SCSI_PAUSE_AUDIO, 0)); in SDL_SYS_CDPause() 377 return(SDL_SYS_CDioctl(cdrom->id, B_SCSI_RESUME_AUDIO, 0)); in SDL_SYS_CDResume() 383 return(SDL_SYS_CDioctl(cdrom->id, B_SCSI_STOP_AUDIO, 0)); in SDL_SYS_CDStop() 389 return(SDL_SYS_CDioctl(cdrom->id, B_SCSI_EJECT, 0)); in SDL_SYS_CDEject()
|