tag | line | file | source code |
loc_entry | 1423 | drivers/block/cdu31a.c | struct cdrom_tocentry loc_entry; |
loc_entry | 1437 | drivers/block/cdu31a.c | memcpy_fromfs(&loc_entry, entry, sizeof(loc_entry)); |
loc_entry | 1440 | drivers/block/cdu31a.c | if (loc_entry.cdte_track == CDROM_LEADOUT) |
loc_entry | 1442 | drivers/block/cdu31a.c | loc_entry.cdte_adr = sony_toc->address2; |
loc_entry | 1443 | drivers/block/cdu31a.c | loc_entry.cdte_ctrl = sony_toc->control2; |
loc_entry | 1448 | drivers/block/cdu31a.c | track_idx = find_track(int_to_bcd(loc_entry.cdte_track)); |
loc_entry | 1454 | drivers/block/cdu31a.c | loc_entry.cdte_adr = sony_toc->tracks[track_idx].address; |
loc_entry | 1455 | drivers/block/cdu31a.c | loc_entry.cdte_ctrl = sony_toc->tracks[track_idx].control; |
loc_entry | 1460 | drivers/block/cdu31a.c | if (loc_entry.cdte_format == CDROM_LBA) |
loc_entry | 1462 | drivers/block/cdu31a.c | loc_entry.cdte_addr.lba = msf_to_log(msf_val); |
loc_entry | 1464 | drivers/block/cdu31a.c | else if (loc_entry.cdte_format == CDROM_MSF) |
loc_entry | 1466 | drivers/block/cdu31a.c | loc_entry.cdte_addr.msf.minute = bcd_to_int(*msf_val); |
loc_entry | 1467 | drivers/block/cdu31a.c | loc_entry.cdte_addr.msf.second = bcd_to_int(*(msf_val+1)); |
loc_entry | 1468 | drivers/block/cdu31a.c | loc_entry.cdte_addr.msf.frame = bcd_to_int(*(msf_val+2)); |
loc_entry | 1470 | drivers/block/cdu31a.c | memcpy_tofs(entry, &loc_entry, sizeof(*entry)); |