tag | line | file | source code |
subchnl | 2114 | drivers/block/ide-cd.c | struct cdrom_subchnl subchnl; |
subchnl | 2117 | drivers/block/ide-cd.c | sizeof (subchnl)); |
subchnl | 2120 | drivers/block/ide-cd.c | memcpy_fromfs (&subchnl, (void *) arg, sizeof (subchnl)); |
subchnl | 2136 | drivers/block/ide-cd.c | if (subchnl.cdsc_format == CDROM_MSF) { |
subchnl | 2137 | drivers/block/ide-cd.c | subchnl.cdsc_absaddr.msf.minute = |
subchnl | 2139 | drivers/block/ide-cd.c | subchnl.cdsc_absaddr.msf.second = |
subchnl | 2141 | drivers/block/ide-cd.c | subchnl.cdsc_absaddr.msf.frame = |
subchnl | 2144 | drivers/block/ide-cd.c | subchnl.cdsc_reladdr.msf.minute = |
subchnl | 2146 | drivers/block/ide-cd.c | subchnl.cdsc_reladdr.msf.second = |
subchnl | 2148 | drivers/block/ide-cd.c | subchnl.cdsc_reladdr.msf.frame = |
subchnl | 2151 | drivers/block/ide-cd.c | subchnl.cdsc_absaddr.lba = |
subchnl | 2155 | drivers/block/ide-cd.c | subchnl.cdsc_reladdr.lba = |
subchnl | 2161 | drivers/block/ide-cd.c | subchnl.cdsc_audiostatus = scbuf.acdsc_audiostatus; |
subchnl | 2162 | drivers/block/ide-cd.c | subchnl.cdsc_ctrl = scbuf.acdsc_ctrl; |
subchnl | 2163 | drivers/block/ide-cd.c | subchnl.cdsc_trk = scbuf.acdsc_trk; |
subchnl | 2164 | drivers/block/ide-cd.c | subchnl.cdsc_ind = scbuf.acdsc_ind; |
subchnl | 2166 | drivers/block/ide-cd.c | memcpy_tofs ((void *) arg, &subchnl, sizeof (subchnl)); |
subchnl | 1073 | drivers/cdrom/aztcd.c | struct cdrom_subchnl subchnl; |
subchnl | 1271 | drivers/cdrom/aztcd.c | memcpy_fromfs(&subchnl, (void *) arg, sizeof (struct cdrom_subchnl)); |
subchnl | 1279 | drivers/cdrom/aztcd.c | subchnl.cdsc_audiostatus = aztAudioStatus; |
subchnl | 1280 | drivers/cdrom/aztcd.c | subchnl.cdsc_adr = qInfo.ctrl_addr; |
subchnl | 1281 | drivers/cdrom/aztcd.c | subchnl.cdsc_ctrl = qInfo.ctrl_addr >> 4; |
subchnl | 1282 | drivers/cdrom/aztcd.c | subchnl.cdsc_trk = azt_bcd2bin(qInfo.track); |
subchnl | 1283 | drivers/cdrom/aztcd.c | subchnl.cdsc_ind = azt_bcd2bin(qInfo.pointIndex); |
subchnl | 1284 | drivers/cdrom/aztcd.c | if (subchnl.cdsc_format == CDROM_LBA) |
subchnl | 1285 | drivers/cdrom/aztcd.c | { subchnl.cdsc_absaddr.lba = azt_msf2hsg(&qInfo.diskTime); |
subchnl | 1286 | drivers/cdrom/aztcd.c | subchnl.cdsc_reladdr.lba = azt_msf2hsg(&qInfo.trackTime); |
subchnl | 1289 | drivers/cdrom/aztcd.c | { subchnl.cdsc_format = CDROM_MSF; |
subchnl | 1290 | drivers/cdrom/aztcd.c | subchnl.cdsc_absaddr.msf.minute = azt_bcd2bin(qInfo.diskTime.min); |
subchnl | 1291 | drivers/cdrom/aztcd.c | subchnl.cdsc_absaddr.msf.second = azt_bcd2bin(qInfo.diskTime.sec); |
subchnl | 1292 | drivers/cdrom/aztcd.c | subchnl.cdsc_absaddr.msf.frame = azt_bcd2bin(qInfo.diskTime.frame); |
subchnl | 1293 | drivers/cdrom/aztcd.c | subchnl.cdsc_reladdr.msf.minute = azt_bcd2bin(qInfo.trackTime.min); |
subchnl | 1294 | drivers/cdrom/aztcd.c | subchnl.cdsc_reladdr.msf.second = azt_bcd2bin(qInfo.trackTime.sec); |
subchnl | 1295 | drivers/cdrom/aztcd.c | subchnl.cdsc_reladdr.msf.frame = azt_bcd2bin(qInfo.trackTime.frame); |
subchnl | 1297 | drivers/cdrom/aztcd.c | memcpy_tofs((void *) arg, &subchnl, sizeof (struct cdrom_subchnl)); |
subchnl | 296 | drivers/cdrom/mcd.c | struct cdrom_subchnl subchnl; |
subchnl | 500 | drivers/cdrom/mcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof subchnl); |
subchnl | 504 | drivers/cdrom/mcd.c | memcpy_fromfs(&subchnl, (void *) arg, sizeof subchnl); |
subchnl | 509 | drivers/cdrom/mcd.c | subchnl.cdsc_audiostatus = audioStatus; |
subchnl | 510 | drivers/cdrom/mcd.c | subchnl.cdsc_adr = qInfo.ctrl_addr; |
subchnl | 511 | drivers/cdrom/mcd.c | subchnl.cdsc_ctrl = qInfo.ctrl_addr >> 4; |
subchnl | 512 | drivers/cdrom/mcd.c | subchnl.cdsc_trk = bcd2bin(qInfo.track); |
subchnl | 513 | drivers/cdrom/mcd.c | subchnl.cdsc_ind = bcd2bin(qInfo.pointIndex); |
subchnl | 515 | drivers/cdrom/mcd.c | if (subchnl.cdsc_format == CDROM_LBA) |
subchnl | 517 | drivers/cdrom/mcd.c | subchnl.cdsc_absaddr.lba = msf2hsg(&qInfo.diskTime); |
subchnl | 518 | drivers/cdrom/mcd.c | subchnl.cdsc_reladdr.lba = msf2hsg(&qInfo.trackTime); |
subchnl | 521 | drivers/cdrom/mcd.c | else if (subchnl.cdsc_format == CDROM_MSF) |
subchnl | 523 | drivers/cdrom/mcd.c | subchnl.cdsc_absaddr.msf.minute = bcd2bin(qInfo.diskTime.min); |
subchnl | 524 | drivers/cdrom/mcd.c | subchnl.cdsc_absaddr.msf.second = bcd2bin(qInfo.diskTime.sec); |
subchnl | 525 | drivers/cdrom/mcd.c | subchnl.cdsc_absaddr.msf.frame = bcd2bin(qInfo.diskTime.frame); |
subchnl | 527 | drivers/cdrom/mcd.c | subchnl.cdsc_reladdr.msf.minute = bcd2bin(qInfo.trackTime.min); |
subchnl | 528 | drivers/cdrom/mcd.c | subchnl.cdsc_reladdr.msf.second = bcd2bin(qInfo.trackTime.sec); |
subchnl | 529 | drivers/cdrom/mcd.c | subchnl.cdsc_reladdr.msf.frame = bcd2bin(qInfo.trackTime.frame); |
subchnl | 535 | drivers/cdrom/mcd.c | memcpy_tofs((void *) arg, &subchnl, sizeof subchnl); |
subchnl | 1587 | drivers/cdrom/optcd.c | struct cdrom_subchnl subchnl; |
subchnl | 1589 | drivers/cdrom/optcd.c | status = verify_area(VERIFY_READ, (void *) arg, sizeof subchnl); |
subchnl | 1592 | drivers/cdrom/optcd.c | status = verify_area(VERIFY_WRITE, (void *) arg, sizeof subchnl); |
subchnl | 1595 | drivers/cdrom/optcd.c | memcpy_fromfs(&subchnl, (void *) arg, sizeof subchnl); |
subchnl | 1597 | drivers/cdrom/optcd.c | if (subchnl.cdsc_format != CDROM_LBA |
subchnl | 1598 | drivers/cdrom/optcd.c | && subchnl.cdsc_format != CDROM_MSF) |
subchnl | 1601 | drivers/cdrom/optcd.c | status = get_q_channel(&subchnl); |
subchnl | 1607 | drivers/cdrom/optcd.c | memcpy_tofs((void *) arg, &subchnl, sizeof subchnl); |
subchnl | 823 | drivers/cdrom/sjcd.c | struct cdrom_subchnl subchnl; int s; |
subchnl | 827 | drivers/cdrom/sjcd.c | if( ( s = verify_area( VERIFY_WRITE, (void *)arg, sizeof( subchnl ) ) ) == 0 ){ |
subchnl | 830 | drivers/cdrom/sjcd.c | memcpy_fromfs( &subchnl, (void *)arg, sizeof( subchnl ) ); |
subchnl | 833 | drivers/cdrom/sjcd.c | subchnl.cdsc_audiostatus = sjcd_audio_status; |
subchnl | 834 | drivers/cdrom/sjcd.c | subchnl.cdsc_adr = q_info.track_control & 0x0F; |
subchnl | 835 | drivers/cdrom/sjcd.c | subchnl.cdsc_ctrl = q_info.track_control >> 4; |
subchnl | 836 | drivers/cdrom/sjcd.c | subchnl.cdsc_trk = bcd2bin( q_info.track_no ); |
subchnl | 837 | drivers/cdrom/sjcd.c | subchnl.cdsc_ind = bcd2bin( q_info.x ); |
subchnl | 839 | drivers/cdrom/sjcd.c | switch( subchnl.cdsc_format ){ |
subchnl | 841 | drivers/cdrom/sjcd.c | subchnl.cdsc_absaddr.lba = msf2hsg( &( q_info.abs ) ); |
subchnl | 842 | drivers/cdrom/sjcd.c | subchnl.cdsc_reladdr.lba = msf2hsg( &( q_info.rel ) ); |
subchnl | 845 | drivers/cdrom/sjcd.c | subchnl.cdsc_absaddr.msf.minute = bcd2bin( q_info.abs.min ); |
subchnl | 846 | drivers/cdrom/sjcd.c | subchnl.cdsc_absaddr.msf.second = bcd2bin( q_info.abs.sec ); |
subchnl | 847 | drivers/cdrom/sjcd.c | subchnl.cdsc_absaddr.msf.frame = bcd2bin( q_info.abs.frame ); |
subchnl | 848 | drivers/cdrom/sjcd.c | subchnl.cdsc_reladdr.msf.minute = bcd2bin( q_info.rel.min ); |
subchnl | 849 | drivers/cdrom/sjcd.c | subchnl.cdsc_reladdr.msf.second = bcd2bin( q_info.rel.sec ); |
subchnl | 850 | drivers/cdrom/sjcd.c | subchnl.cdsc_reladdr.msf.frame = bcd2bin( q_info.rel.frame ); |
subchnl | 854 | drivers/cdrom/sjcd.c | memcpy_tofs( (void *)arg, &subchnl, sizeof( subchnl ) ); |
subchnl | 448 | drivers/scsi/sr_ioctl.c | struct cdrom_subchnl subchnl; |
subchnl | 466 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_audiostatus = buffer[1]; |
subchnl | 467 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_format = CDROM_MSF; |
subchnl | 468 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_ctrl = buffer[5] & 0xf; |
subchnl | 469 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_trk = buffer[6]; |
subchnl | 470 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_ind = buffer[7]; |
subchnl | 472 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.minute = buffer[13]; |
subchnl | 473 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.second = buffer[14]; |
subchnl | 474 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.frame = buffer[15]; |
subchnl | 475 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.minute = buffer[9]; |
subchnl | 476 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.second = buffer[10]; |
subchnl | 477 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.frame = buffer[11]; |
subchnl | 484 | drivers/scsi/sr_ioctl.c | memcpy_tofs ((void *) arg, &subchnl, sizeof (struct cdrom_subchnl)); |