tag | line | file | source code |
loc_entry | 2313 | drivers/block/cdu31a.c | struct cdrom_tocentry loc_entry; |
loc_entry | 2327 | drivers/block/cdu31a.c | memcpy_fromfs(&loc_entry, entry, sizeof(loc_entry)); |
loc_entry | 2330 | drivers/block/cdu31a.c | if (loc_entry.cdte_track == CDROM_LEADOUT) |
loc_entry | 2332 | drivers/block/cdu31a.c | loc_entry.cdte_adr = sony_toc->address2; |
loc_entry | 2333 | drivers/block/cdu31a.c | loc_entry.cdte_ctrl = sony_toc->control2; |
loc_entry | 2338 | drivers/block/cdu31a.c | track_idx = find_track(int_to_bcd(loc_entry.cdte_track)); |
loc_entry | 2344 | drivers/block/cdu31a.c | loc_entry.cdte_adr = sony_toc->tracks[track_idx].address; |
loc_entry | 2345 | drivers/block/cdu31a.c | loc_entry.cdte_ctrl = sony_toc->tracks[track_idx].control; |
loc_entry | 2350 | drivers/block/cdu31a.c | if (loc_entry.cdte_format == CDROM_LBA) |
loc_entry | 2352 | drivers/block/cdu31a.c | loc_entry.cdte_addr.lba = msf_to_log(msf_val); |
loc_entry | 2354 | drivers/block/cdu31a.c | else if (loc_entry.cdte_format == CDROM_MSF) |
loc_entry | 2356 | drivers/block/cdu31a.c | loc_entry.cdte_addr.msf.minute = bcd_to_int(*msf_val); |
loc_entry | 2357 | drivers/block/cdu31a.c | loc_entry.cdte_addr.msf.second = bcd_to_int(*(msf_val+1)); |
loc_entry | 2358 | drivers/block/cdu31a.c | loc_entry.cdte_addr.msf.frame = bcd_to_int(*(msf_val+2)); |
loc_entry | 2360 | drivers/block/cdu31a.c | memcpy_tofs(entry, &loc_entry, sizeof(*entry)); |
loc_entry | 1223 | drivers/block/sonycd535.c | struct cdrom_tocentry loc_entry; |
loc_entry | 1234 | drivers/block/sonycd535.c | memcpy_fromfs(&loc_entry, entry, sizeof loc_entry); |
loc_entry | 1237 | drivers/block/sonycd535.c | if (loc_entry.cdte_track == CDROM_LEADOUT) { |
loc_entry | 1238 | drivers/block/sonycd535.c | loc_entry.cdte_adr = 0 /*sony_toc->address2 */ ; |
loc_entry | 1239 | drivers/block/sonycd535.c | loc_entry.cdte_ctrl = sony_toc->control2; |
loc_entry | 1242 | drivers/block/sonycd535.c | track_idx = find_track(int_to_bcd(loc_entry.cdte_track)); |
loc_entry | 1245 | drivers/block/sonycd535.c | loc_entry.cdte_adr = 0 /*sony_toc->tracks[track_idx].address */ ; |
loc_entry | 1246 | drivers/block/sonycd535.c | loc_entry.cdte_ctrl = sony_toc->tracks[track_idx].control; |
loc_entry | 1251 | drivers/block/sonycd535.c | if (loc_entry.cdte_format == CDROM_LBA) { |
loc_entry | 1252 | drivers/block/sonycd535.c | loc_entry.cdte_addr.lba = msf_to_log(msf_val); |
loc_entry | 1253 | drivers/block/sonycd535.c | } else if (loc_entry.cdte_format == CDROM_MSF) { |
loc_entry | 1254 | drivers/block/sonycd535.c | loc_entry.cdte_addr.msf.minute = bcd_to_int(*msf_val); |
loc_entry | 1255 | drivers/block/sonycd535.c | loc_entry.cdte_addr.msf.second = bcd_to_int(*(msf_val + 1)); |
loc_entry | 1256 | drivers/block/sonycd535.c | loc_entry.cdte_addr.msf.frame = bcd_to_int(*(msf_val + 2)); |
loc_entry | 1258 | drivers/block/sonycd535.c | memcpy_tofs(entry, &loc_entry, sizeof *entry); |