tag | line | file | source code |
loc_entry | 2440 | drivers/block/cdu31a.c | struct cdrom_tocentry loc_entry; |
loc_entry | 2458 | drivers/block/cdu31a.c | memcpy_fromfs(&loc_entry, entry, sizeof(loc_entry)); |
loc_entry | 2461 | drivers/block/cdu31a.c | if (loc_entry.cdte_track == CDROM_LEADOUT) |
loc_entry | 2463 | drivers/block/cdu31a.c | loc_entry.cdte_adr = sony_toc.address2; |
loc_entry | 2464 | drivers/block/cdu31a.c | loc_entry.cdte_ctrl = sony_toc.control2; |
loc_entry | 2469 | drivers/block/cdu31a.c | track_idx = find_track(int_to_bcd(loc_entry.cdte_track)); |
loc_entry | 2475 | drivers/block/cdu31a.c | loc_entry.cdte_adr = sony_toc.tracks[track_idx].address; |
loc_entry | 2476 | drivers/block/cdu31a.c | loc_entry.cdte_ctrl = sony_toc.tracks[track_idx].control; |
loc_entry | 2481 | drivers/block/cdu31a.c | if (loc_entry.cdte_format == CDROM_LBA) |
loc_entry | 2483 | drivers/block/cdu31a.c | loc_entry.cdte_addr.lba = msf_to_log(msf_val); |
loc_entry | 2485 | drivers/block/cdu31a.c | else if (loc_entry.cdte_format == CDROM_MSF) |
loc_entry | 2487 | drivers/block/cdu31a.c | loc_entry.cdte_addr.msf.minute = bcd_to_int(*msf_val); |
loc_entry | 2488 | drivers/block/cdu31a.c | loc_entry.cdte_addr.msf.second = bcd_to_int(*(msf_val+1)); |
loc_entry | 2489 | drivers/block/cdu31a.c | loc_entry.cdte_addr.msf.frame = bcd_to_int(*(msf_val+2)); |
loc_entry | 2491 | drivers/block/cdu31a.c | memcpy_tofs(entry, &loc_entry, sizeof(*entry)); |
loc_entry | 1262 | drivers/block/sonycd535.c | struct cdrom_tocentry loc_entry; |
loc_entry | 1275 | drivers/block/sonycd535.c | memcpy_fromfs(&loc_entry, entry, sizeof loc_entry); |
loc_entry | 1278 | drivers/block/sonycd535.c | if (loc_entry.cdte_track == CDROM_LEADOUT) { |
loc_entry | 1279 | drivers/block/sonycd535.c | loc_entry.cdte_adr = 0 /*sony_toc->address2 */ ; |
loc_entry | 1280 | drivers/block/sonycd535.c | loc_entry.cdte_ctrl = sony_toc->control2; |
loc_entry | 1283 | drivers/block/sonycd535.c | track_idx = find_track(int_to_bcd(loc_entry.cdte_track)); |
loc_entry | 1286 | drivers/block/sonycd535.c | loc_entry.cdte_adr = 0 /*sony_toc->tracks[track_idx].address */ ; |
loc_entry | 1287 | drivers/block/sonycd535.c | loc_entry.cdte_ctrl = sony_toc->tracks[track_idx].control; |
loc_entry | 1292 | drivers/block/sonycd535.c | if (loc_entry.cdte_format == CDROM_LBA) { |
loc_entry | 1293 | drivers/block/sonycd535.c | loc_entry.cdte_addr.lba = msf_to_log(msf_val); |
loc_entry | 1294 | drivers/block/sonycd535.c | } else if (loc_entry.cdte_format == CDROM_MSF) { |
loc_entry | 1295 | drivers/block/sonycd535.c | loc_entry.cdte_addr.msf.minute = bcd_to_int(*msf_val); |
loc_entry | 1296 | drivers/block/sonycd535.c | loc_entry.cdte_addr.msf.second = bcd_to_int(*(msf_val + 1)); |
loc_entry | 1297 | drivers/block/sonycd535.c | loc_entry.cdte_addr.msf.frame = bcd_to_int(*(msf_val + 2)); |
loc_entry | 1299 | drivers/block/sonycd535.c | memcpy_tofs(entry, &loc_entry, sizeof *entry); |