tag | line | file | source code |
loc_entry | 2492 | drivers/cdrom/cdu31a.c | struct cdrom_tocentry loc_entry; |
loc_entry | 2510 | drivers/cdrom/cdu31a.c | memcpy_fromfs(&loc_entry, entry, sizeof(loc_entry)); |
loc_entry | 2513 | drivers/cdrom/cdu31a.c | if (loc_entry.cdte_track == CDROM_LEADOUT) |
loc_entry | 2515 | drivers/cdrom/cdu31a.c | loc_entry.cdte_adr = sony_toc.address2; |
loc_entry | 2516 | drivers/cdrom/cdu31a.c | loc_entry.cdte_ctrl = sony_toc.control2; |
loc_entry | 2521 | drivers/cdrom/cdu31a.c | track_idx = find_track(int_to_bcd(loc_entry.cdte_track)); |
loc_entry | 2527 | drivers/cdrom/cdu31a.c | loc_entry.cdte_adr = sony_toc.tracks[track_idx].address; |
loc_entry | 2528 | drivers/cdrom/cdu31a.c | loc_entry.cdte_ctrl = sony_toc.tracks[track_idx].control; |
loc_entry | 2533 | drivers/cdrom/cdu31a.c | if (loc_entry.cdte_format == CDROM_LBA) |
loc_entry | 2535 | drivers/cdrom/cdu31a.c | loc_entry.cdte_addr.lba = msf_to_log(msf_val); |
loc_entry | 2537 | drivers/cdrom/cdu31a.c | else if (loc_entry.cdte_format == CDROM_MSF) |
loc_entry | 2539 | drivers/cdrom/cdu31a.c | loc_entry.cdte_addr.msf.minute = bcd_to_int(*msf_val); |
loc_entry | 2540 | drivers/cdrom/cdu31a.c | loc_entry.cdte_addr.msf.second = bcd_to_int(*(msf_val+1)); |
loc_entry | 2541 | drivers/cdrom/cdu31a.c | loc_entry.cdte_addr.msf.frame = bcd_to_int(*(msf_val+2)); |
loc_entry | 2543 | drivers/cdrom/cdu31a.c | memcpy_tofs(entry, &loc_entry, sizeof(*entry)); |
loc_entry | 1225 | drivers/cdrom/sonycd535.c | struct cdrom_tocentry loc_entry; |
loc_entry | 1238 | drivers/cdrom/sonycd535.c | memcpy_fromfs(&loc_entry, entry, sizeof loc_entry); |
loc_entry | 1241 | drivers/cdrom/sonycd535.c | if (loc_entry.cdte_track == CDROM_LEADOUT) { |
loc_entry | 1242 | drivers/cdrom/sonycd535.c | loc_entry.cdte_adr = 0 /*sony_toc->address2 */ ; |
loc_entry | 1243 | drivers/cdrom/sonycd535.c | loc_entry.cdte_ctrl = sony_toc->control2; |
loc_entry | 1246 | drivers/cdrom/sonycd535.c | track_idx = find_track(int_to_bcd(loc_entry.cdte_track)); |
loc_entry | 1249 | drivers/cdrom/sonycd535.c | loc_entry.cdte_adr = 0 /*sony_toc->tracks[track_idx].address */ ; |
loc_entry | 1250 | drivers/cdrom/sonycd535.c | loc_entry.cdte_ctrl = sony_toc->tracks[track_idx].control; |
loc_entry | 1255 | drivers/cdrom/sonycd535.c | if (loc_entry.cdte_format == CDROM_LBA) { |
loc_entry | 1256 | drivers/cdrom/sonycd535.c | loc_entry.cdte_addr.lba = msf_to_log(msf_val); |
loc_entry | 1257 | drivers/cdrom/sonycd535.c | } else if (loc_entry.cdte_format == CDROM_MSF) { |
loc_entry | 1258 | drivers/cdrom/sonycd535.c | loc_entry.cdte_addr.msf.minute = bcd_to_int(*msf_val); |
loc_entry | 1259 | drivers/cdrom/sonycd535.c | loc_entry.cdte_addr.msf.second = bcd_to_int(*(msf_val + 1)); |
loc_entry | 1260 | drivers/cdrom/sonycd535.c | loc_entry.cdte_addr.msf.frame = bcd_to_int(*(msf_val + 2)); |
loc_entry | 1262 | drivers/cdrom/sonycd535.c | memcpy_tofs(entry, &loc_entry, sizeof *entry); |