tag | line | file | source code |
subchnl | 518 | drivers/block/aztcd.c | struct cdrom_subchnl subchnl; |
subchnl | 666 | drivers/block/aztcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof subchnl); |
subchnl | 668 | drivers/block/aztcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof subchnl); |
subchnl | 670 | drivers/block/aztcd.c | memcpy_fromfs(&subchnl, (void *) arg, sizeof subchnl); |
subchnl | 673 | drivers/block/aztcd.c | subchnl.cdsc_audiostatus = aztAudioStatus; |
subchnl | 674 | drivers/block/aztcd.c | subchnl.cdsc_adr = qInfo.ctrl_addr; |
subchnl | 675 | drivers/block/aztcd.c | subchnl.cdsc_ctrl = qInfo.ctrl_addr >> 4; |
subchnl | 676 | drivers/block/aztcd.c | subchnl.cdsc_trk = azt_bcd2bin(qInfo.track); |
subchnl | 677 | drivers/block/aztcd.c | subchnl.cdsc_ind = azt_bcd2bin(qInfo.pointIndex); |
subchnl | 678 | drivers/block/aztcd.c | if (subchnl.cdsc_format == CDROM_LBA) |
subchnl | 679 | drivers/block/aztcd.c | { subchnl.cdsc_absaddr.lba = azt_msf2hsg(&qInfo.diskTime); |
subchnl | 680 | drivers/block/aztcd.c | subchnl.cdsc_reladdr.lba = azt_msf2hsg(&qInfo.trackTime); |
subchnl | 682 | drivers/block/aztcd.c | else if (subchnl.cdsc_format == CDROM_MSF) |
subchnl | 683 | drivers/block/aztcd.c | { subchnl.cdsc_absaddr.msf.minute = azt_bcd2bin(qInfo.diskTime.min); |
subchnl | 684 | drivers/block/aztcd.c | subchnl.cdsc_absaddr.msf.second = azt_bcd2bin(qInfo.diskTime.sec); |
subchnl | 685 | drivers/block/aztcd.c | subchnl.cdsc_absaddr.msf.frame = azt_bcd2bin(qInfo.diskTime.frame); |
subchnl | 686 | drivers/block/aztcd.c | subchnl.cdsc_reladdr.msf.minute = azt_bcd2bin(qInfo.trackTime.min); |
subchnl | 687 | drivers/block/aztcd.c | subchnl.cdsc_reladdr.msf.second = azt_bcd2bin(qInfo.trackTime.sec); |
subchnl | 688 | drivers/block/aztcd.c | subchnl.cdsc_reladdr.msf.frame = azt_bcd2bin(qInfo.trackTime.frame); |
subchnl | 692 | drivers/block/aztcd.c | memcpy_tofs((void *) arg, &subchnl, sizeof subchnl); |
subchnl | 1442 | drivers/block/ide-cd.c | struct cdrom_subchnl subchnl; |
subchnl | 1444 | drivers/block/ide-cd.c | stat = verify_area (VERIFY_WRITE, (void *) arg, sizeof (subchnl)); |
subchnl | 1446 | drivers/block/ide-cd.c | stat = verify_area (VERIFY_READ, (void *) arg, sizeof (subchnl)); |
subchnl | 1449 | drivers/block/ide-cd.c | memcpy_fromfs (&subchnl, (void *) arg, sizeof (subchnl)); |
subchnl | 1459 | drivers/block/ide-cd.c | if (subchnl.cdsc_format == CDROM_MSF) |
subchnl | 1462 | drivers/block/ide-cd.c | &subchnl.cdsc_absaddr.msf.minute, |
subchnl | 1463 | drivers/block/ide-cd.c | &subchnl.cdsc_absaddr.msf.second, |
subchnl | 1464 | drivers/block/ide-cd.c | &subchnl.cdsc_absaddr.msf.frame); |
subchnl | 1466 | drivers/block/ide-cd.c | &subchnl.cdsc_reladdr.msf.minute, |
subchnl | 1467 | drivers/block/ide-cd.c | &subchnl.cdsc_reladdr.msf.second, |
subchnl | 1468 | drivers/block/ide-cd.c | &subchnl.cdsc_reladdr.msf.frame); |
subchnl | 1472 | drivers/block/ide-cd.c | subchnl.cdsc_absaddr.lba = abs_lba; |
subchnl | 1473 | drivers/block/ide-cd.c | subchnl.cdsc_reladdr.lba = rel_lba; |
subchnl | 1476 | drivers/block/ide-cd.c | subchnl.cdsc_audiostatus = buffer[1]; |
subchnl | 1477 | drivers/block/ide-cd.c | subchnl.cdsc_ctrl = buffer[5] & 0xf; |
subchnl | 1478 | drivers/block/ide-cd.c | subchnl.cdsc_trk = buffer[6]; |
subchnl | 1479 | drivers/block/ide-cd.c | subchnl.cdsc_ind = buffer[7]; |
subchnl | 1481 | drivers/block/ide-cd.c | memcpy_tofs ((void *) arg, &subchnl, sizeof (subchnl)); |
subchnl | 250 | drivers/block/mcd.c | struct cdrom_subchnl subchnl; |
subchnl | 454 | drivers/block/mcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof subchnl); |
subchnl | 458 | drivers/block/mcd.c | memcpy_fromfs(&subchnl, (void *) arg, sizeof subchnl); |
subchnl | 463 | drivers/block/mcd.c | subchnl.cdsc_audiostatus = audioStatus; |
subchnl | 464 | drivers/block/mcd.c | subchnl.cdsc_adr = qInfo.ctrl_addr; |
subchnl | 465 | drivers/block/mcd.c | subchnl.cdsc_ctrl = qInfo.ctrl_addr >> 4; |
subchnl | 466 | drivers/block/mcd.c | subchnl.cdsc_trk = bcd2bin(qInfo.track); |
subchnl | 467 | drivers/block/mcd.c | subchnl.cdsc_ind = bcd2bin(qInfo.pointIndex); |
subchnl | 469 | drivers/block/mcd.c | if (subchnl.cdsc_format == CDROM_LBA) |
subchnl | 471 | drivers/block/mcd.c | subchnl.cdsc_absaddr.lba = msf2hsg(&qInfo.diskTime); |
subchnl | 472 | drivers/block/mcd.c | subchnl.cdsc_reladdr.lba = msf2hsg(&qInfo.trackTime); |
subchnl | 475 | drivers/block/mcd.c | else if (subchnl.cdsc_format == CDROM_MSF) |
subchnl | 477 | drivers/block/mcd.c | subchnl.cdsc_absaddr.msf.minute = bcd2bin(qInfo.diskTime.min); |
subchnl | 478 | drivers/block/mcd.c | subchnl.cdsc_absaddr.msf.second = bcd2bin(qInfo.diskTime.sec); |
subchnl | 479 | drivers/block/mcd.c | subchnl.cdsc_absaddr.msf.frame = bcd2bin(qInfo.diskTime.frame); |
subchnl | 481 | drivers/block/mcd.c | subchnl.cdsc_reladdr.msf.minute = bcd2bin(qInfo.trackTime.min); |
subchnl | 482 | drivers/block/mcd.c | subchnl.cdsc_reladdr.msf.second = bcd2bin(qInfo.trackTime.sec); |
subchnl | 483 | drivers/block/mcd.c | subchnl.cdsc_reladdr.msf.frame = bcd2bin(qInfo.trackTime.frame); |
subchnl | 489 | drivers/block/mcd.c | memcpy_tofs((void *) arg, &subchnl, sizeof subchnl); |
subchnl | 345 | drivers/scsi/sr_ioctl.c | struct cdrom_subchnl subchnl; |
subchnl | 363 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_audiostatus = buffer[1]; |
subchnl | 364 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_format = CDROM_MSF; |
subchnl | 365 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_ctrl = buffer[5] & 0xf; |
subchnl | 366 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_trk = buffer[6]; |
subchnl | 367 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_ind = buffer[7]; |
subchnl | 369 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.minute = buffer[13]; |
subchnl | 370 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.second = buffer[14]; |
subchnl | 371 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.frame = buffer[15]; |
subchnl | 372 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.minute = buffer[9]; |
subchnl | 373 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.second = buffer[10]; |
subchnl | 374 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.frame = buffer[11]; |
subchnl | 381 | drivers/scsi/sr_ioctl.c | memcpy_tofs ((void *) arg, &subchnl, sizeof (struct cdrom_subchnl)); |