tag | line | file | source code |
subchnl | 196 | drivers/block/mcd.c | struct cdrom_subchnl subchnl; |
subchnl | 402 | drivers/block/mcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof subchnl); |
subchnl | 406 | drivers/block/mcd.c | memcpy_fromfs(&subchnl, (void *) arg, sizeof subchnl); |
subchnl | 411 | drivers/block/mcd.c | subchnl.cdsc_audiostatus = audioStatus; |
subchnl | 412 | drivers/block/mcd.c | subchnl.cdsc_adr = qInfo.ctrl_addr; |
subchnl | 413 | drivers/block/mcd.c | subchnl.cdsc_ctrl = qInfo.ctrl_addr >> 4; |
subchnl | 414 | drivers/block/mcd.c | subchnl.cdsc_trk = bcd2bin(qInfo.track); |
subchnl | 415 | drivers/block/mcd.c | subchnl.cdsc_ind = bcd2bin(qInfo.pointIndex); |
subchnl | 417 | drivers/block/mcd.c | if (subchnl.cdsc_format == CDROM_LBA) |
subchnl | 419 | drivers/block/mcd.c | subchnl.cdsc_absaddr.lba = msf2hsg(&qInfo.diskTime); |
subchnl | 420 | drivers/block/mcd.c | subchnl.cdsc_reladdr.lba = msf2hsg(&qInfo.trackTime); |
subchnl | 423 | drivers/block/mcd.c | else if (subchnl.cdsc_format == CDROM_MSF) |
subchnl | 425 | drivers/block/mcd.c | subchnl.cdsc_absaddr.msf.minute = bcd2bin(qInfo.diskTime.min); |
subchnl | 426 | drivers/block/mcd.c | subchnl.cdsc_absaddr.msf.second = bcd2bin(qInfo.diskTime.sec); |
subchnl | 427 | drivers/block/mcd.c | subchnl.cdsc_absaddr.msf.frame = bcd2bin(qInfo.diskTime.frame); |
subchnl | 429 | drivers/block/mcd.c | subchnl.cdsc_reladdr.msf.minute = bcd2bin(qInfo.trackTime.min); |
subchnl | 430 | drivers/block/mcd.c | subchnl.cdsc_reladdr.msf.second = bcd2bin(qInfo.trackTime.sec); |
subchnl | 431 | drivers/block/mcd.c | subchnl.cdsc_reladdr.msf.frame = bcd2bin(qInfo.trackTime.frame); |
subchnl | 437 | drivers/block/mcd.c | memcpy_tofs((void *) arg, &subchnl, sizeof subchnl); |
subchnl | 338 | drivers/scsi/sr_ioctl.c | struct cdrom_subchnl subchnl; |
subchnl | 356 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_audiostatus = buffer[1]; |
subchnl | 357 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_format = CDROM_MSF; |
subchnl | 358 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_ctrl = buffer[5] & 0xf; |
subchnl | 359 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_trk = buffer[6]; |
subchnl | 360 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_ind = buffer[7]; |
subchnl | 362 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.minute = buffer[13]; |
subchnl | 363 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.second = buffer[14]; |
subchnl | 364 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.frame = buffer[15]; |
subchnl | 365 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.minute = buffer[9]; |
subchnl | 366 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.second = buffer[10]; |
subchnl | 367 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.frame = buffer[11]; |
subchnl | 372 | drivers/scsi/sr_ioctl.c | memcpy_tofs ((void *) arg, &subchnl, sizeof (struct cdrom_subchnl)); |