tag | line | file | source code |
toc | 129 | drivers/block/ide-cd.c | struct atapi_toc *toc; |
toc | 1098 | drivers/block/ide-cd.c | struct atapi_toc *toc = cdrom_info[dev->hwif][dev->select.b.drive].toc; |
toc | 1100 | drivers/block/ide-cd.c | if (toc == NULL) |
toc | 1103 | drivers/block/ide-cd.c | toc = (struct atapi_toc *) kmalloc (sizeof (struct atapi_toc), |
toc | 1105 | drivers/block/ide-cd.c | cdrom_info[dev->hwif][dev->select.b.drive].toc = toc; |
toc | 1108 | drivers/block/ide-cd.c | if (toc == NULL) |
toc | 1122 | drivers/block/ide-cd.c | stat = cdrom_read_tocentry (dev, 0, 0, (char *)toc, |
toc | 1127 | drivers/block/ide-cd.c | ntracks = toc->hdr.last_track - toc->hdr.first_track + 1; |
toc | 1132 | drivers/block/ide-cd.c | stat = cdrom_read_tocentry (dev, 0, 0, (char *)toc, |
toc | 1136 | drivers/block/ide-cd.c | byte_swap_word (&toc->hdr.toc_length); |
toc | 1138 | drivers/block/ide-cd.c | byte_swap_long (&toc->ent[i].lba); |
toc | 1292 | drivers/block/ide-cd.c | struct atapi_toc *toc; |
toc | 1298 | drivers/block/ide-cd.c | toc = cdrom_info[dev->hwif][dev->select.b.drive].toc; |
toc | 1301 | drivers/block/ide-cd.c | ntracks = toc->hdr.last_track - toc->hdr.first_track + 1; |
toc | 1303 | drivers/block/ide-cd.c | *ent = &toc->ent[ntracks]; |
toc | 1304 | drivers/block/ide-cd.c | else if (track < toc->hdr.first_track || |
toc | 1305 | drivers/block/ide-cd.c | track > toc->hdr.last_track) |
toc | 1308 | drivers/block/ide-cd.c | *ent = &toc->ent[track - toc->hdr.first_track]; |
toc | 1385 | drivers/block/ide-cd.c | struct atapi_toc *toc; |
toc | 1394 | drivers/block/ide-cd.c | toc = cdrom_info[dev->hwif][dev->select.b.drive].toc; |
toc | 1395 | drivers/block/ide-cd.c | tochdr.cdth_trk0 = toc->hdr.first_track; |
toc | 1396 | drivers/block/ide-cd.c | tochdr.cdth_trk1 = toc->hdr.last_track; |
toc | 1623 | drivers/block/ide-cd.c | cdrom_info[dev->hwif][dev->select.b.drive].toc = NULL; |
toc | 671 | drivers/block/sonycd535.c | request_toc_data(Byte status[2], struct s535_sony_toc *toc) |
toc | 680 | drivers/block/sonycd535.c | if ((to_status = do_sony_cmd(&cmd_no, 1, status, (Byte *) toc, 15, 1)) != 0) |
toc | 684 | drivers/block/sonycd535.c | first_track_num = bcd_to_int(toc->first_track_num); |
toc | 685 | drivers/block/sonycd535.c | last_track_num = bcd_to_int(toc->last_track_num); |
toc | 698 | drivers/block/sonycd535.c | memcpy(toc->tracks + i, track_address_buffer, 5); |