taglinefilesource code
loc_entry2313drivers/block/cdu31a.cstruct cdrom_tocentry loc_entry;
loc_entry2327drivers/block/cdu31a.cmemcpy_fromfs(&loc_entry, entry, sizeof(loc_entry));
loc_entry2330drivers/block/cdu31a.cif (loc_entry.cdte_track == CDROM_LEADOUT)
loc_entry2332drivers/block/cdu31a.cloc_entry.cdte_adr = sony_toc->address2;
loc_entry2333drivers/block/cdu31a.cloc_entry.cdte_ctrl = sony_toc->control2;
loc_entry2338drivers/block/cdu31a.ctrack_idx = find_track(int_to_bcd(loc_entry.cdte_track));
loc_entry2344drivers/block/cdu31a.cloc_entry.cdte_adr = sony_toc->tracks[track_idx].address;
loc_entry2345drivers/block/cdu31a.cloc_entry.cdte_ctrl = sony_toc->tracks[track_idx].control;
loc_entry2350drivers/block/cdu31a.cif (loc_entry.cdte_format == CDROM_LBA)
loc_entry2352drivers/block/cdu31a.cloc_entry.cdte_addr.lba = msf_to_log(msf_val);
loc_entry2354drivers/block/cdu31a.celse if (loc_entry.cdte_format == CDROM_MSF)
loc_entry2356drivers/block/cdu31a.cloc_entry.cdte_addr.msf.minute = bcd_to_int(*msf_val);
loc_entry2357drivers/block/cdu31a.cloc_entry.cdte_addr.msf.second = bcd_to_int(*(msf_val+1));
loc_entry2358drivers/block/cdu31a.cloc_entry.cdte_addr.msf.frame = bcd_to_int(*(msf_val+2));
loc_entry2360drivers/block/cdu31a.cmemcpy_tofs(entry, &loc_entry, sizeof(*entry));
loc_entry1223drivers/block/sonycd535.cstruct cdrom_tocentry loc_entry;
loc_entry1234drivers/block/sonycd535.cmemcpy_fromfs(&loc_entry, entry, sizeof loc_entry);
loc_entry1237drivers/block/sonycd535.cif (loc_entry.cdte_track == CDROM_LEADOUT) {
loc_entry1238drivers/block/sonycd535.cloc_entry.cdte_adr = 0 /*sony_toc->address2 */ ;
loc_entry1239drivers/block/sonycd535.cloc_entry.cdte_ctrl = sony_toc->control2;
loc_entry1242drivers/block/sonycd535.ctrack_idx = find_track(int_to_bcd(loc_entry.cdte_track));
loc_entry1245drivers/block/sonycd535.cloc_entry.cdte_adr = 0 /*sony_toc->tracks[track_idx].address */ ;
loc_entry1246drivers/block/sonycd535.cloc_entry.cdte_ctrl = sony_toc->tracks[track_idx].control;
loc_entry1251drivers/block/sonycd535.cif (loc_entry.cdte_format == CDROM_LBA) {
loc_entry1252drivers/block/sonycd535.cloc_entry.cdte_addr.lba = msf_to_log(msf_val);
loc_entry1253drivers/block/sonycd535.c} else if (loc_entry.cdte_format == CDROM_MSF) {
loc_entry1254drivers/block/sonycd535.cloc_entry.cdte_addr.msf.minute = bcd_to_int(*msf_val);
loc_entry1255drivers/block/sonycd535.cloc_entry.cdte_addr.msf.second = bcd_to_int(*(msf_val + 1));
loc_entry1256drivers/block/sonycd535.cloc_entry.cdte_addr.msf.frame = bcd_to_int(*(msf_val + 2));
loc_entry1258drivers/block/sonycd535.cmemcpy_tofs(entry, &loc_entry, sizeof *entry);