tag | line | file | source code |
subchnl | 249 | drivers/block/mcd.c | struct cdrom_subchnl subchnl; |
subchnl | 455 | drivers/block/mcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof subchnl); |
subchnl | 459 | drivers/block/mcd.c | memcpy_fromfs(&subchnl, (void *) arg, sizeof subchnl); |
subchnl | 464 | drivers/block/mcd.c | subchnl.cdsc_audiostatus = audioStatus; |
subchnl | 465 | drivers/block/mcd.c | subchnl.cdsc_adr = qInfo.ctrl_addr; |
subchnl | 466 | drivers/block/mcd.c | subchnl.cdsc_ctrl = qInfo.ctrl_addr >> 4; |
subchnl | 467 | drivers/block/mcd.c | subchnl.cdsc_trk = bcd2bin(qInfo.track); |
subchnl | 468 | drivers/block/mcd.c | subchnl.cdsc_ind = bcd2bin(qInfo.pointIndex); |
subchnl | 470 | drivers/block/mcd.c | if (subchnl.cdsc_format == CDROM_LBA) |
subchnl | 472 | drivers/block/mcd.c | subchnl.cdsc_absaddr.lba = msf2hsg(&qInfo.diskTime); |
subchnl | 473 | drivers/block/mcd.c | subchnl.cdsc_reladdr.lba = msf2hsg(&qInfo.trackTime); |
subchnl | 476 | drivers/block/mcd.c | else if (subchnl.cdsc_format == CDROM_MSF) |
subchnl | 478 | drivers/block/mcd.c | subchnl.cdsc_absaddr.msf.minute = bcd2bin(qInfo.diskTime.min); |
subchnl | 479 | drivers/block/mcd.c | subchnl.cdsc_absaddr.msf.second = bcd2bin(qInfo.diskTime.sec); |
subchnl | 480 | drivers/block/mcd.c | subchnl.cdsc_absaddr.msf.frame = bcd2bin(qInfo.diskTime.frame); |
subchnl | 482 | drivers/block/mcd.c | subchnl.cdsc_reladdr.msf.minute = bcd2bin(qInfo.trackTime.min); |
subchnl | 483 | drivers/block/mcd.c | subchnl.cdsc_reladdr.msf.second = bcd2bin(qInfo.trackTime.sec); |
subchnl | 484 | drivers/block/mcd.c | subchnl.cdsc_reladdr.msf.frame = bcd2bin(qInfo.trackTime.frame); |
subchnl | 490 | drivers/block/mcd.c | memcpy_tofs((void *) arg, &subchnl, sizeof subchnl); |
subchnl | 343 | drivers/scsi/sr_ioctl.c | struct cdrom_subchnl subchnl; |
subchnl | 361 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_audiostatus = buffer[1]; |
subchnl | 362 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_format = CDROM_MSF; |
subchnl | 363 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_ctrl = buffer[5] & 0xf; |
subchnl | 364 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_trk = buffer[6]; |
subchnl | 365 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_ind = buffer[7]; |
subchnl | 367 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.minute = buffer[13]; |
subchnl | 368 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.second = buffer[14]; |
subchnl | 369 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.frame = buffer[15]; |
subchnl | 370 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.minute = buffer[9]; |
subchnl | 371 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.second = buffer[10]; |
subchnl | 372 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.frame = buffer[11]; |
subchnl | 379 | drivers/scsi/sr_ioctl.c | memcpy_tofs ((void *) arg, &subchnl, sizeof (struct cdrom_subchnl)); |