tag | line | file | source code |
sony_toc | 281 | drivers/block/cdu31a.c | static struct s_sony_session_toc sony_toc; /* Holds the |
sony_toc | 1088 | drivers/block/cdu31a.c | else if ((sector + nsect) >= sony_toc.lead_out_start_lba) |
sony_toc | 1090 | drivers/block/cdu31a.c | read_size = sony_toc.lead_out_start_lba - sector; |
sony_toc | 1564 | drivers/block/cdu31a.c | block += (sony_toc.start_track_lba * 4); |
sony_toc | 1575 | drivers/block/cdu31a.c | if ((block / 4) < sony_toc.start_track_lba) |
sony_toc | 1582 | drivers/block/cdu31a.c | if ((block / 4) >= sony_toc.lead_out_start_lba) |
sony_toc | 1588 | drivers/block/cdu31a.c | if (((block + nblock) / 4) >= sony_toc.lead_out_start_lba) |
sony_toc | 1780 | drivers/block/cdu31a.c | (unsigned char *) &sony_toc, |
sony_toc | 1782 | drivers/block/cdu31a.c | if ((res_size < 2) || ((sony_toc.exec_status[0] & 0xf0) == 0x20)) |
sony_toc | 1793 | drivers/block/cdu31a.c | if (sony_toc.pointb0 != 0xb0) |
sony_toc | 1795 | drivers/block/cdu31a.c | mcovlp(((char *) &sony_toc) + 27, |
sony_toc | 1796 | drivers/block/cdu31a.c | ((char *) &sony_toc) + 18, |
sony_toc | 1800 | drivers/block/cdu31a.c | if (sony_toc.pointb1 != 0xb1) |
sony_toc | 1802 | drivers/block/cdu31a.c | mcovlp(((char *) &sony_toc) + 36, |
sony_toc | 1803 | drivers/block/cdu31a.c | ((char *) &sony_toc) + 27, |
sony_toc | 1807 | drivers/block/cdu31a.c | if (sony_toc.pointb2 != 0xb2) |
sony_toc | 1809 | drivers/block/cdu31a.c | mcovlp(((char *) &sony_toc) + 45, |
sony_toc | 1810 | drivers/block/cdu31a.c | ((char *) &sony_toc) + 36, |
sony_toc | 1814 | drivers/block/cdu31a.c | if (sony_toc.pointb3 != 0xb3) |
sony_toc | 1816 | drivers/block/cdu31a.c | mcovlp(((char *) &sony_toc) + 54, |
sony_toc | 1817 | drivers/block/cdu31a.c | ((char *) &sony_toc) + 45, |
sony_toc | 1821 | drivers/block/cdu31a.c | if (sony_toc.pointb4 != 0xb4) |
sony_toc | 1823 | drivers/block/cdu31a.c | mcovlp(((char *) &sony_toc) + 63, |
sony_toc | 1824 | drivers/block/cdu31a.c | ((char *) &sony_toc) + 54, |
sony_toc | 1828 | drivers/block/cdu31a.c | if (sony_toc.pointc0 != 0xc0) |
sony_toc | 1830 | drivers/block/cdu31a.c | mcovlp(((char *) &sony_toc) + 72, |
sony_toc | 1831 | drivers/block/cdu31a.c | ((char *) &sony_toc) + 63, |
sony_toc | 1836 | drivers/block/cdu31a.c | sony_toc.start_track_lba = msf_to_log(sony_toc.tracks[0].track_start_msf); |
sony_toc | 1837 | drivers/block/cdu31a.c | sony_toc.lead_out_start_lba = msf_to_log(sony_toc.lead_out_start_msf); |
sony_toc | 1842 | drivers/block/cdu31a.c | sony_toc.start_track_lba, |
sony_toc | 1843 | drivers/block/cdu31a.c | sony_toc.lead_out_start_lba); |
sony_toc | 1862 | drivers/block/cdu31a.c | num_tracks = sony_toc.last_track_num - sony_toc.first_track_num + 1; |
sony_toc | 1865 | drivers/block/cdu31a.c | if (sony_toc.tracks[i].track == track) |
sony_toc | 2431 | drivers/block/cdu31a.c | loc_hdr.cdth_trk0 = bcd_to_int(sony_toc.first_track_num); |
sony_toc | 2432 | drivers/block/cdu31a.c | loc_hdr.cdth_trk1 = bcd_to_int(sony_toc.last_track_num); |
sony_toc | 2463 | drivers/block/cdu31a.c | loc_entry.cdte_adr = sony_toc.address2; |
sony_toc | 2464 | drivers/block/cdu31a.c | loc_entry.cdte_ctrl = sony_toc.control2; |
sony_toc | 2465 | drivers/block/cdu31a.c | msf_val = sony_toc.lead_out_start_msf; |
sony_toc | 2475 | drivers/block/cdu31a.c | loc_entry.cdte_adr = sony_toc.tracks[track_idx].address; |
sony_toc | 2476 | drivers/block/cdu31a.c | loc_entry.cdte_ctrl = sony_toc.tracks[track_idx].control; |
sony_toc | 2477 | drivers/block/cdu31a.c | msf_val = sony_toc.tracks[track_idx].track_start_msf; |
sony_toc | 2512 | drivers/block/cdu31a.c | if ( (ti.cdti_trk0 < sony_toc.first_track_num) |
sony_toc | 2513 | drivers/block/cdu31a.c | || (ti.cdti_trk0 > sony_toc.last_track_num) |
sony_toc | 2524 | drivers/block/cdu31a.c | params[1] = sony_toc.tracks[track_idx].track_start_msf[0]; |
sony_toc | 2525 | drivers/block/cdu31a.c | params[2] = sony_toc.tracks[track_idx].track_start_msf[1]; |
sony_toc | 2526 | drivers/block/cdu31a.c | params[3] = sony_toc.tracks[track_idx].track_start_msf[2]; |
sony_toc | 2532 | drivers/block/cdu31a.c | if (ti.cdti_trk1 >= bcd_to_int(sony_toc.last_track_num)) |
sony_toc | 2534 | drivers/block/cdu31a.c | log_to_msf(msf_to_log(sony_toc.lead_out_start_msf)-1, |
sony_toc | 2544 | drivers/block/cdu31a.c | log_to_msf(msf_to_log(sony_toc.tracks[track_idx].track_start_msf)-1, |
sony_toc | 2616 | drivers/block/cdu31a.c | if ( (ra.addr.lba >= sony_toc.lead_out_start_lba) |
sony_toc | 2617 | drivers/block/cdu31a.c | || (ra.addr.lba + ra.nframes >= sony_toc.lead_out_start_lba)) |
sony_toc | 2634 | drivers/block/cdu31a.c | if ( (ra.addr.lba >= sony_toc.lead_out_start_lba) |
sony_toc | 2635 | drivers/block/cdu31a.c | || (ra.addr.lba + ra.nframes >= sony_toc.lead_out_start_lba)) |
sony_toc | 2729 | drivers/block/cdu31a.c | if ( (sony_toc.disk_type == SONY_XA_DISK_TYPE) |
sony_toc | 243 | drivers/block/sonycd535.c | static struct s535_sony_toc *sony_toc; /* Points to the table of |
sony_toc | 853 | drivers/block/sonycd535.c | if (sony_toc->lead_out_start_lba <= (block / 4)) { |
sony_toc | 857 | drivers/block/sonycd535.c | if (sony_toc->lead_out_start_lba <= ((block + nsect) / 4)) { |
sony_toc | 874 | drivers/block/sonycd535.c | if (sony_toc->lead_out_start_lba <= ((block / 4) + sony_buffer_sectors)) { |
sony_toc | 875 | drivers/block/sonycd535.c | sony_last_block = (sony_toc->lead_out_start_lba * 4) - 1; |
sony_toc | 876 | drivers/block/sonycd535.c | read_size = sony_toc->lead_out_start_lba - (block / 4); |
sony_toc | 979 | drivers/block/sonycd535.c | if (request_toc_data(status, sony_toc) < 0) |
sony_toc | 981 | drivers/block/sonycd535.c | sony_toc->lead_out_start_lba = msf_to_log(sony_toc->lead_out_start_msf); |
sony_toc | 998 | drivers/block/sonycd535.c | num_tracks = bcd_to_int(sony_toc->last_track_num) - |
sony_toc | 999 | drivers/block/sonycd535.c | bcd_to_int(sony_toc->first_track_num) + 1; |
sony_toc | 1001 | drivers/block/sonycd535.c | if (sony_toc->tracks[i].track == track) { |
sony_toc | 1252 | drivers/block/sonycd535.c | loc_hdr.cdth_trk0 = bcd_to_int(sony_toc->first_track_num); |
sony_toc | 1253 | drivers/block/sonycd535.c | loc_hdr.cdth_trk1 = bcd_to_int(sony_toc->last_track_num); |
sony_toc | 1280 | drivers/block/sonycd535.c | loc_entry.cdte_ctrl = sony_toc->control2; |
sony_toc | 1281 | drivers/block/sonycd535.c | msf_val = sony_toc->lead_out_start_msf; |
sony_toc | 1287 | drivers/block/sonycd535.c | loc_entry.cdte_ctrl = sony_toc->tracks[track_idx].control; |
sony_toc | 1288 | drivers/block/sonycd535.c | msf_val = sony_toc->tracks[track_idx].track_start_msf; |
sony_toc | 1317 | drivers/block/sonycd535.c | if ((ti.cdti_trk0 < sony_toc->first_track_num) |
sony_toc | 1318 | drivers/block/sonycd535.c | || (sony_toc->last_track_num < ti.cdti_trk0) |
sony_toc | 1325 | drivers/block/sonycd535.c | params[1] = sony_toc->tracks[track_idx].track_start_msf[0]; |
sony_toc | 1326 | drivers/block/sonycd535.c | params[2] = sony_toc->tracks[track_idx].track_start_msf[1]; |
sony_toc | 1327 | drivers/block/sonycd535.c | params[3] = sony_toc->tracks[track_idx].track_start_msf[2]; |
sony_toc | 1332 | drivers/block/sonycd535.c | if (bcd_to_int(sony_toc->last_track_num) <= ti.cdti_trk1) { |
sony_toc | 1333 | drivers/block/sonycd535.c | log_to_msf(msf_to_log(sony_toc->lead_out_start_msf) - 1, |
sony_toc | 1339 | drivers/block/sonycd535.c | log_to_msf(msf_to_log(sony_toc->tracks[track_idx].track_start_msf) - 1, |
sony_toc | 1652 | drivers/block/sonycd535.c | sony_toc = (struct s535_sony_toc *)mem_start; |
sony_toc | 1653 | drivers/block/sonycd535.c | mem_start += sizeof *sony_toc; |
sony_toc | 1660 | drivers/block/sonycd535.c | sony_toc = (struct s535_sony_toc *) |
sony_toc | 1661 | drivers/block/sonycd535.c | kmalloc(sizeof *sony_toc, GFP_KERNEL); |
sony_toc | 1662 | drivers/block/sonycd535.c | if (sony_toc == NULL) |
sony_toc | 1667 | drivers/block/sonycd535.c | kfree(sony_toc); |
sony_toc | 1673 | drivers/block/sonycd535.c | kfree(sony_toc); |
sony_toc | 1683 | drivers/block/sonycd535.c | kfree(sony_toc); |
sony_toc | 1751 | drivers/block/sonycd535.c | kfree_s(sony_toc, sizeof *sony_toc); |