taglinefilesource code
subchnl2174drivers/block/ide-cd.cstruct cdrom_subchnl subchnl;
subchnl2176drivers/block/ide-cd.cstat = verify_area (VERIFY_WRITE, (void *) arg, sizeof (subchnl));
subchnl2178drivers/block/ide-cd.cstat = verify_area (VERIFY_READ, (void *) arg, sizeof (subchnl));
subchnl2181drivers/block/ide-cd.cmemcpy_fromfs (&subchnl, (void *) arg, sizeof (subchnl));
subchnl2205drivers/block/ide-cd.cif (subchnl.cdsc_format == CDROM_MSF)
subchnl2208drivers/block/ide-cd.c&subchnl.cdsc_absaddr.msf.minute,
subchnl2209drivers/block/ide-cd.c&subchnl.cdsc_absaddr.msf.second,
subchnl2210drivers/block/ide-cd.c&subchnl.cdsc_absaddr.msf.frame);
subchnl2212drivers/block/ide-cd.c&subchnl.cdsc_reladdr.msf.minute,
subchnl2213drivers/block/ide-cd.c&subchnl.cdsc_reladdr.msf.second,
subchnl2214drivers/block/ide-cd.c&subchnl.cdsc_reladdr.msf.frame);
subchnl2218drivers/block/ide-cd.csubchnl.cdsc_absaddr.lba = abs_lba;
subchnl2219drivers/block/ide-cd.csubchnl.cdsc_reladdr.lba = rel_lba;
subchnl2222drivers/block/ide-cd.csubchnl.cdsc_audiostatus = scbuf.acdsc_audiostatus;
subchnl2223drivers/block/ide-cd.csubchnl.cdsc_ctrl = scbuf.acdsc_ctrl;
subchnl2224drivers/block/ide-cd.csubchnl.cdsc_trk  = scbuf.acdsc_trk;
subchnl2225drivers/block/ide-cd.csubchnl.cdsc_ind  = scbuf.acdsc_ind;
subchnl2227drivers/block/ide-cd.cmemcpy_tofs ((void *) arg, &subchnl, sizeof (subchnl));
subchnl619drivers/cdrom/aztcd.cstruct cdrom_subchnl subchnl;
subchnl817drivers/cdrom/aztcd.cmemcpy_fromfs(&subchnl, (void *) arg, sizeof (struct cdrom_subchnl));
subchnl825drivers/cdrom/aztcd.csubchnl.cdsc_audiostatus = aztAudioStatus;
subchnl826drivers/cdrom/aztcd.csubchnl.cdsc_adr = qInfo.ctrl_addr;
subchnl827drivers/cdrom/aztcd.csubchnl.cdsc_ctrl = qInfo.ctrl_addr >> 4;
subchnl828drivers/cdrom/aztcd.csubchnl.cdsc_trk = azt_bcd2bin(qInfo.track);
subchnl829drivers/cdrom/aztcd.csubchnl.cdsc_ind = azt_bcd2bin(qInfo.pointIndex);
subchnl830drivers/cdrom/aztcd.cif (subchnl.cdsc_format == CDROM_LBA)
subchnl831drivers/cdrom/aztcd.c{ subchnl.cdsc_absaddr.lba = azt_msf2hsg(&qInfo.diskTime);
subchnl832drivers/cdrom/aztcd.csubchnl.cdsc_reladdr.lba = azt_msf2hsg(&qInfo.trackTime);
subchnl835drivers/cdrom/aztcd.c{ subchnl.cdsc_format = CDROM_MSF;
subchnl836drivers/cdrom/aztcd.csubchnl.cdsc_absaddr.msf.minute = azt_bcd2bin(qInfo.diskTime.min);
subchnl837drivers/cdrom/aztcd.csubchnl.cdsc_absaddr.msf.second = azt_bcd2bin(qInfo.diskTime.sec);
subchnl838drivers/cdrom/aztcd.csubchnl.cdsc_absaddr.msf.frame  = azt_bcd2bin(qInfo.diskTime.frame);
subchnl839drivers/cdrom/aztcd.csubchnl.cdsc_reladdr.msf.minute = azt_bcd2bin(qInfo.trackTime.min);
subchnl840drivers/cdrom/aztcd.csubchnl.cdsc_reladdr.msf.second = azt_bcd2bin(qInfo.trackTime.sec);
subchnl841drivers/cdrom/aztcd.csubchnl.cdsc_reladdr.msf.frame  = azt_bcd2bin(qInfo.trackTime.frame);
subchnl843drivers/cdrom/aztcd.cmemcpy_tofs((void *) arg, &subchnl, sizeof (struct cdrom_subchnl));
subchnl294drivers/cdrom/mcd.cstruct cdrom_subchnl subchnl;
subchnl498drivers/cdrom/mcd.cst = verify_area(VERIFY_WRITE, (void *) arg, sizeof subchnl);
subchnl502drivers/cdrom/mcd.cmemcpy_fromfs(&subchnl, (void *) arg, sizeof subchnl);
subchnl507drivers/cdrom/mcd.csubchnl.cdsc_audiostatus = audioStatus;
subchnl508drivers/cdrom/mcd.csubchnl.cdsc_adr = qInfo.ctrl_addr;
subchnl509drivers/cdrom/mcd.csubchnl.cdsc_ctrl = qInfo.ctrl_addr >> 4;
subchnl510drivers/cdrom/mcd.csubchnl.cdsc_trk = bcd2bin(qInfo.track);
subchnl511drivers/cdrom/mcd.csubchnl.cdsc_ind = bcd2bin(qInfo.pointIndex);
subchnl513drivers/cdrom/mcd.cif (subchnl.cdsc_format == CDROM_LBA)
subchnl515drivers/cdrom/mcd.csubchnl.cdsc_absaddr.lba = msf2hsg(&qInfo.diskTime);
subchnl516drivers/cdrom/mcd.csubchnl.cdsc_reladdr.lba = msf2hsg(&qInfo.trackTime);
subchnl519drivers/cdrom/mcd.celse if (subchnl.cdsc_format == CDROM_MSF)
subchnl521drivers/cdrom/mcd.csubchnl.cdsc_absaddr.msf.minute = bcd2bin(qInfo.diskTime.min);
subchnl522drivers/cdrom/mcd.csubchnl.cdsc_absaddr.msf.second = bcd2bin(qInfo.diskTime.sec);
subchnl523drivers/cdrom/mcd.csubchnl.cdsc_absaddr.msf.frame = bcd2bin(qInfo.diskTime.frame);
subchnl525drivers/cdrom/mcd.csubchnl.cdsc_reladdr.msf.minute = bcd2bin(qInfo.trackTime.min);
subchnl526drivers/cdrom/mcd.csubchnl.cdsc_reladdr.msf.second = bcd2bin(qInfo.trackTime.sec);
subchnl527drivers/cdrom/mcd.csubchnl.cdsc_reladdr.msf.frame = bcd2bin(qInfo.trackTime.frame);
subchnl533drivers/cdrom/mcd.cmemcpy_tofs((void *) arg, &subchnl, sizeof subchnl);
subchnl1209drivers/cdrom/optcd.cstruct cdrom_subchnl subchnl;
subchnl1213drivers/cdrom/optcd.c(void *) arg, sizeof subchnl)))
subchnl1216drivers/cdrom/optcd.c(void *) arg, sizeof subchnl)))
subchnl1218drivers/cdrom/optcd.cmemcpy_fromfs(&subchnl, (void *) arg, sizeof subchnl);
subchnl1221drivers/cdrom/optcd.csubchnl.cdsc_audiostatus = optAudioStatus;
subchnl1222drivers/cdrom/optcd.csubchnl.cdsc_adr = qInfo.ctrl_addr;
subchnl1223drivers/cdrom/optcd.csubchnl.cdsc_ctrl = qInfo.ctrl_addr >> 4;
subchnl1224drivers/cdrom/optcd.csubchnl.cdsc_trk = bcd2bin(qInfo.track);
subchnl1225drivers/cdrom/optcd.csubchnl.cdsc_ind = bcd2bin(qInfo.pointIndex);
subchnl1226drivers/cdrom/optcd.cswitch (subchnl.cdsc_format) {
subchnl1228drivers/cdrom/optcd.csubchnl.cdsc_absaddr.lba = msf2hsg(&qInfo.diskTime);
subchnl1229drivers/cdrom/optcd.csubchnl.cdsc_reladdr.lba = msf2hsg(&qInfo.trackTime);
subchnl1232drivers/cdrom/optcd.csubchnl.cdsc_absaddr.msf.minute =
subchnl1234drivers/cdrom/optcd.csubchnl.cdsc_absaddr.msf.second =
subchnl1236drivers/cdrom/optcd.csubchnl.cdsc_absaddr.msf.frame =
subchnl1238drivers/cdrom/optcd.csubchnl.cdsc_reladdr.msf.minute =
subchnl1240drivers/cdrom/optcd.csubchnl.cdsc_reladdr.msf.second =
subchnl1242drivers/cdrom/optcd.csubchnl.cdsc_reladdr.msf.frame =
subchnl1248drivers/cdrom/optcd.cmemcpy_tofs((void *) arg, &subchnl, sizeof subchnl);
subchnl883drivers/cdrom/sjcd.cstruct cdrom_subchnl subchnl; int s;
subchnl887drivers/cdrom/sjcd.cif( ( s = verify_area( VERIFY_WRITE, (void *)arg, sizeof( subchnl ) ) ) == 0 ){
subchnl890drivers/cdrom/sjcd.cmemcpy_fromfs( &subchnl, (void *)arg, sizeof( subchnl ) );
subchnl893drivers/cdrom/sjcd.csubchnl.cdsc_audiostatus = sjcd_audio_status;
subchnl894drivers/cdrom/sjcd.csubchnl.cdsc_adr = q_info.track_control & 0x0F;
subchnl895drivers/cdrom/sjcd.csubchnl.cdsc_ctrl = q_info.track_control >> 4;
subchnl896drivers/cdrom/sjcd.csubchnl.cdsc_trk = bcd2bin( q_info.track_no );
subchnl897drivers/cdrom/sjcd.csubchnl.cdsc_ind = bcd2bin( q_info.x );
subchnl899drivers/cdrom/sjcd.cswitch( subchnl.cdsc_format ){
subchnl901drivers/cdrom/sjcd.csubchnl.cdsc_absaddr.lba = msf2hsg( &( q_info.abs ) );
subchnl902drivers/cdrom/sjcd.csubchnl.cdsc_reladdr.lba = msf2hsg( &( q_info.rel ) );
subchnl905drivers/cdrom/sjcd.csubchnl.cdsc_absaddr.msf.minute = bcd2bin( q_info.abs.min );
subchnl906drivers/cdrom/sjcd.csubchnl.cdsc_absaddr.msf.second = bcd2bin( q_info.abs.sec );
subchnl907drivers/cdrom/sjcd.csubchnl.cdsc_absaddr.msf.frame = bcd2bin( q_info.abs.frame );
subchnl908drivers/cdrom/sjcd.csubchnl.cdsc_reladdr.msf.minute = bcd2bin( q_info.rel.min );
subchnl909drivers/cdrom/sjcd.csubchnl.cdsc_reladdr.msf.second = bcd2bin( q_info.rel.sec );
subchnl910drivers/cdrom/sjcd.csubchnl.cdsc_reladdr.msf.frame = bcd2bin( q_info.rel.frame );
subchnl914drivers/cdrom/sjcd.cmemcpy_tofs( (void *)arg, &subchnl, sizeof( subchnl ) );
subchnl383drivers/scsi/sr_ioctl.cstruct cdrom_subchnl subchnl;
subchnl401drivers/scsi/sr_ioctl.csubchnl.cdsc_audiostatus = buffer[1];
subchnl402drivers/scsi/sr_ioctl.csubchnl.cdsc_format = CDROM_MSF;
subchnl403drivers/scsi/sr_ioctl.csubchnl.cdsc_ctrl = buffer[5] & 0xf;
subchnl404drivers/scsi/sr_ioctl.csubchnl.cdsc_trk = buffer[6];
subchnl405drivers/scsi/sr_ioctl.csubchnl.cdsc_ind = buffer[7];
subchnl407drivers/scsi/sr_ioctl.csubchnl.cdsc_reladdr.msf.minute = buffer[13];
subchnl408drivers/scsi/sr_ioctl.csubchnl.cdsc_reladdr.msf.second = buffer[14];
subchnl409drivers/scsi/sr_ioctl.csubchnl.cdsc_reladdr.msf.frame = buffer[15];
subchnl410drivers/scsi/sr_ioctl.csubchnl.cdsc_absaddr.msf.minute = buffer[9];
subchnl411drivers/scsi/sr_ioctl.csubchnl.cdsc_absaddr.msf.second = buffer[10];
subchnl412drivers/scsi/sr_ioctl.csubchnl.cdsc_absaddr.msf.frame = buffer[11];
subchnl419drivers/scsi/sr_ioctl.cmemcpy_tofs ((void *) arg, &subchnl, sizeof (struct cdrom_subchnl));