taglinefilesource code
schi1962drivers/cdrom/cdu31a.cstruct cdrom_subchnl schi;
schi1975drivers/cdrom/cdu31a.cverify_area(VERIFY_READ, (char *) arg, sizeof(schi));
schi1976drivers/cdrom/cdu31a.cverify_area(VERIFY_WRITE, (char *) arg, sizeof(schi));
schi1978drivers/cdrom/cdu31a.cmemcpy_fromfs(&schi, (char *) arg, sizeof(schi));
schi1994drivers/cdrom/cdu31a.cschi.cdsc_audiostatus = sony_audio_status;
schi1995drivers/cdrom/cdu31a.cmemcpy_tofs((char *) arg, &schi, sizeof(schi));
schi2005drivers/cdrom/cdu31a.cschi.cdsc_audiostatus = sony_audio_status;
schi2006drivers/cdrom/cdu31a.cschi.cdsc_adr = last_sony_subcode.address;
schi2007drivers/cdrom/cdu31a.cschi.cdsc_ctrl = last_sony_subcode.control;
schi2008drivers/cdrom/cdu31a.cschi.cdsc_trk = bcd_to_int(last_sony_subcode.track_num);
schi2009drivers/cdrom/cdu31a.cschi.cdsc_ind = bcd_to_int(last_sony_subcode.index_num);
schi2010drivers/cdrom/cdu31a.cif (schi.cdsc_format == CDROM_MSF)
schi2012drivers/cdrom/cdu31a.cschi.cdsc_absaddr.msf.minute = bcd_to_int(last_sony_subcode.abs_msf[0]);
schi2013drivers/cdrom/cdu31a.cschi.cdsc_absaddr.msf.second = bcd_to_int(last_sony_subcode.abs_msf[1]);
schi2014drivers/cdrom/cdu31a.cschi.cdsc_absaddr.msf.frame = bcd_to_int(last_sony_subcode.abs_msf[2]);
schi2016drivers/cdrom/cdu31a.cschi.cdsc_reladdr.msf.minute = bcd_to_int(last_sony_subcode.rel_msf[0]);
schi2017drivers/cdrom/cdu31a.cschi.cdsc_reladdr.msf.second = bcd_to_int(last_sony_subcode.rel_msf[1]);
schi2018drivers/cdrom/cdu31a.cschi.cdsc_reladdr.msf.frame = bcd_to_int(last_sony_subcode.rel_msf[2]);
schi2020drivers/cdrom/cdu31a.celse if (schi.cdsc_format == CDROM_LBA)
schi2022drivers/cdrom/cdu31a.cschi.cdsc_absaddr.lba = msf_to_log(last_sony_subcode.abs_msf);
schi2023drivers/cdrom/cdu31a.cschi.cdsc_reladdr.lba = msf_to_log(last_sony_subcode.rel_msf);
schi2026drivers/cdrom/cdu31a.cmemcpy_tofs((char *) arg, &schi, sizeof(schi));
schi1005drivers/cdrom/sonycd535.cstruct cdrom_subchnl schi;
schi1016drivers/cdrom/sonycd535.cerr = verify_area(VERIFY_WRITE /* and read */ , (char *)arg, sizeof schi);
schi1020drivers/cdrom/sonycd535.cmemcpy_fromfs(&schi, (char *)arg, sizeof schi);
schi1034drivers/cdrom/sonycd535.cschi.cdsc_audiostatus = sony_audio_status;
schi1035drivers/cdrom/sonycd535.cmemcpy_tofs((char *)arg, &schi, sizeof schi);
schi1045drivers/cdrom/sonycd535.cschi.cdsc_audiostatus = sony_audio_status;
schi1046drivers/cdrom/sonycd535.cschi.cdsc_adr = last_sony_subcode->address;
schi1047drivers/cdrom/sonycd535.cschi.cdsc_ctrl = last_sony_subcode->control;
schi1048drivers/cdrom/sonycd535.cschi.cdsc_trk = bcd_to_int(last_sony_subcode->track_num);
schi1049drivers/cdrom/sonycd535.cschi.cdsc_ind = bcd_to_int(last_sony_subcode->index_num);
schi1050drivers/cdrom/sonycd535.cif (schi.cdsc_format == CDROM_MSF) {
schi1051drivers/cdrom/sonycd535.cschi.cdsc_absaddr.msf.minute = bcd_to_int(last_sony_subcode->abs_msf[0]);
schi1052drivers/cdrom/sonycd535.cschi.cdsc_absaddr.msf.second = bcd_to_int(last_sony_subcode->abs_msf[1]);
schi1053drivers/cdrom/sonycd535.cschi.cdsc_absaddr.msf.frame = bcd_to_int(last_sony_subcode->abs_msf[2]);
schi1055drivers/cdrom/sonycd535.cschi.cdsc_reladdr.msf.minute = bcd_to_int(last_sony_subcode->rel_msf[0]);
schi1056drivers/cdrom/sonycd535.cschi.cdsc_reladdr.msf.second = bcd_to_int(last_sony_subcode->rel_msf[1]);
schi1057drivers/cdrom/sonycd535.cschi.cdsc_reladdr.msf.frame = bcd_to_int(last_sony_subcode->rel_msf[2]);
schi1058drivers/cdrom/sonycd535.c} else if (schi.cdsc_format == CDROM_LBA) {
schi1059drivers/cdrom/sonycd535.cschi.cdsc_absaddr.lba = msf_to_log(last_sony_subcode->abs_msf);
schi1060drivers/cdrom/sonycd535.cschi.cdsc_reladdr.lba = msf_to_log(last_sony_subcode->rel_msf);
schi1062drivers/cdrom/sonycd535.cmemcpy_tofs((char *)arg, &schi, sizeof schi);