taglinefilesource code
schi1827drivers/block/cdu31a.cstruct cdrom_subchnl schi;
schi1840drivers/block/cdu31a.cverify_area(VERIFY_READ, (char *) arg, sizeof(schi));
schi1841drivers/block/cdu31a.cverify_area(VERIFY_WRITE, (char *) arg, sizeof(schi));
schi1843drivers/block/cdu31a.cmemcpy_fromfs(&schi, (char *) arg, sizeof(schi));
schi1859drivers/block/cdu31a.cschi.cdsc_audiostatus = sony_audio_status;
schi1860drivers/block/cdu31a.cmemcpy_tofs((char *) arg, &schi, sizeof(schi));
schi1870drivers/block/cdu31a.cschi.cdsc_audiostatus = sony_audio_status;
schi1871drivers/block/cdu31a.cschi.cdsc_adr = last_sony_subcode->address;
schi1872drivers/block/cdu31a.cschi.cdsc_ctrl = last_sony_subcode->control;
schi1873drivers/block/cdu31a.cschi.cdsc_trk = bcd_to_int(last_sony_subcode->track_num);
schi1874drivers/block/cdu31a.cschi.cdsc_ind = bcd_to_int(last_sony_subcode->index_num);
schi1875drivers/block/cdu31a.cif (schi.cdsc_format == CDROM_MSF)
schi1877drivers/block/cdu31a.cschi.cdsc_absaddr.msf.minute = bcd_to_int(last_sony_subcode->abs_msf[0]);
schi1878drivers/block/cdu31a.cschi.cdsc_absaddr.msf.second = bcd_to_int(last_sony_subcode->abs_msf[1]);
schi1879drivers/block/cdu31a.cschi.cdsc_absaddr.msf.frame = bcd_to_int(last_sony_subcode->abs_msf[2]);
schi1881drivers/block/cdu31a.cschi.cdsc_reladdr.msf.minute = bcd_to_int(last_sony_subcode->rel_msf[0]);
schi1882drivers/block/cdu31a.cschi.cdsc_reladdr.msf.second = bcd_to_int(last_sony_subcode->rel_msf[1]);
schi1883drivers/block/cdu31a.cschi.cdsc_reladdr.msf.frame = bcd_to_int(last_sony_subcode->rel_msf[2]);
schi1885drivers/block/cdu31a.celse if (schi.cdsc_format == CDROM_LBA)
schi1887drivers/block/cdu31a.cschi.cdsc_absaddr.lba = msf_to_log(last_sony_subcode->abs_msf);
schi1888drivers/block/cdu31a.cschi.cdsc_reladdr.lba = msf_to_log(last_sony_subcode->rel_msf);
schi1891drivers/block/cdu31a.cmemcpy_tofs((char *) arg, &schi, sizeof(schi));
schi1042drivers/block/sonycd535.cstruct cdrom_subchnl schi;
schi1053drivers/block/sonycd535.cerr = verify_area(VERIFY_WRITE /* and read */ , (char *)arg, sizeof schi);
schi1057drivers/block/sonycd535.cmemcpy_fromfs(&schi, (char *)arg, sizeof schi);
schi1071drivers/block/sonycd535.cschi.cdsc_audiostatus = sony_audio_status;
schi1072drivers/block/sonycd535.cmemcpy_tofs((char *)arg, &schi, sizeof schi);
schi1082drivers/block/sonycd535.cschi.cdsc_audiostatus = sony_audio_status;
schi1083drivers/block/sonycd535.cschi.cdsc_adr = last_sony_subcode->address;
schi1084drivers/block/sonycd535.cschi.cdsc_ctrl = last_sony_subcode->control;
schi1085drivers/block/sonycd535.cschi.cdsc_trk = bcd_to_int(last_sony_subcode->track_num);
schi1086drivers/block/sonycd535.cschi.cdsc_ind = bcd_to_int(last_sony_subcode->index_num);
schi1087drivers/block/sonycd535.cif (schi.cdsc_format == CDROM_MSF) {
schi1088drivers/block/sonycd535.cschi.cdsc_absaddr.msf.minute = bcd_to_int(last_sony_subcode->abs_msf[0]);
schi1089drivers/block/sonycd535.cschi.cdsc_absaddr.msf.second = bcd_to_int(last_sony_subcode->abs_msf[1]);
schi1090drivers/block/sonycd535.cschi.cdsc_absaddr.msf.frame = bcd_to_int(last_sony_subcode->abs_msf[2]);
schi1092drivers/block/sonycd535.cschi.cdsc_reladdr.msf.minute = bcd_to_int(last_sony_subcode->rel_msf[0]);
schi1093drivers/block/sonycd535.cschi.cdsc_reladdr.msf.second = bcd_to_int(last_sony_subcode->rel_msf[1]);
schi1094drivers/block/sonycd535.cschi.cdsc_reladdr.msf.frame = bcd_to_int(last_sony_subcode->rel_msf[2]);
schi1095drivers/block/sonycd535.c} else if (schi.cdsc_format == CDROM_LBA) {
schi1096drivers/block/sonycd535.cschi.cdsc_absaddr.lba = msf_to_log(last_sony_subcode->abs_msf);
schi1097drivers/block/sonycd535.cschi.cdsc_reladdr.lba = msf_to_log(last_sony_subcode->rel_msf);
schi1099drivers/block/sonycd535.cmemcpy_tofs((char *)arg, &schi, sizeof schi);