D | SDL_syscdrom.c | 161 int sts, asc, ascq; in TestForMedium() local 173 again: sts = scsi_cmd(fd, (cdb_t *)&cdb, 6, SUC_READ, 0, 0, &sus); in TestForMedium() 347 int i, sts, first_track, last_track, ntracks, toc_size; in SDL_SYS_CDGetTOC() local 353 sts = scsi_cmd(cdrom->id, (cdb_t *)cdb, 10, SUC_READ, buf, 4, &sus); in SDL_SYS_CDGetTOC() 354 if (sts < 0) in SDL_SYS_CDGetTOC() 370 sts = scsi_cmd(cdrom->id, (cdb_t *)cdb, 10, SUC_READ, toc, toc_size, in SDL_SYS_CDGetTOC() 372 if (sts < 0) in SDL_SYS_CDGetTOC() 403 int sts; in SDL_SYS_CDStatus() local 413 sts = scsi_cmd(cdrom->id, (cdb_t *)cdb, 10, SUC_READ, buf, sizeof (buf), in SDL_SYS_CDStatus() 415 if (sts < 0) in SDL_SYS_CDStatus() [all …]
|