taglinefilesource code
toc183drivers/block/cm206.cstruct toc_struct toc[101];  /* The whole table of contents + lead-out */
toc192drivers/block/cm206.c#define PLAY_TO cd->toc[0]  /* toc[0] records end-time in play */
toc560drivers/block/cm206.cmemset(cd->toc, 0, sizeof(cd->toc));
toc749drivers/block/cm206.cfor (i=track; i>0; i--) if (cd->toc[i].track) {
toc750drivers/block/cm206.cmin = fsm2lba(cd->toc[i].fsm);
toc758drivers/block/cm206.cif (!cd->toc[ct].track) {
toc761drivers/block/cm206.ccd->toc[ct].track=q[1];  /* lead out still 0xaa */
toc762drivers/block/cm206.cfsm(l, cd->toc[ct].fsm);
toc763drivers/block/cm206.ccd->toc[ct].q0 = q[0];  /* contains adr and ctrl info */
toc790drivers/block/cm206.cif (!cd->toc[track].track) get_toc_lba(track);
toc800drivers/block/cm206.ccd->toc[1].track=1;    /* fill in first track position */
toc801drivers/block/cm206.cfor (i=0; i<3; i++) cd->toc[1].fsm[i] = cd->disc_status[3+i];
toc834drivers/block/cm206.cplay_command[i+1] = cd->toc[from].fsm[i];
toc835drivers/block/cm206.cPLAY_TO.fsm[i] = play_command[i+4] = cd->toc[to+1].fsm[i];
toc878drivers/block/cm206.cep->cdte_addr.msf.frame = cd->toc[track].fsm[0];
toc879drivers/block/cm206.cep->cdte_addr.msf.second = cd->toc[track].fsm[1];
toc880drivers/block/cm206.cep->cdte_addr.msf.minute = cd->toc[track].fsm[2];
toc882drivers/block/cm206.celse ep->cdte_addr.lba = fsm2lba(cd->toc[track].fsm);
toc883drivers/block/cm206.cep->cdte_adr = cd->toc[track].q0 & 0xf; 
toc884drivers/block/cm206.cep->cdte_ctrl = cd->toc[track].q0 >> 4;
toc998drivers/block/cm206.cmemset(cd->toc, 0, sizeof(cd->toc));
toc1703drivers/block/ide-cd.cstruct atapi_toc *toc = drive->cdrom_info.toc;
toc1709drivers/block/ide-cd.cif (toc == NULL)
toc1712drivers/block/ide-cd.ctoc = (struct atapi_toc *) kmalloc (sizeof (struct atapi_toc),
toc1714drivers/block/ide-cd.cdrive->cdrom_info.toc = toc;
toc1717drivers/block/ide-cd.cif (toc == NULL)
toc1734drivers/block/ide-cd.cstat = cdrom_read_tocentry (drive, 0, msf_flag, 0, (char *)&toc->hdr,
toc1740drivers/block/ide-cd.cntracks = toc->hdr.last_track - toc->hdr.first_track + 1;
toc1745drivers/block/ide-cd.cstat = cdrom_read_tocentry (drive, 0, msf_flag, 0, (char *)&toc->hdr,
toc1750drivers/block/ide-cd.cbyte_swap_word (&toc->hdr.toc_length);
toc1755drivers/block/ide-cd.cbyte *adr = (byte *)&(toc->ent[i].lba);
toc1756drivers/block/ide-cd.ctoc->ent[i].lba = msf_to_lba (adr[1], adr[2], adr[3]);
toc1759drivers/block/ide-cd.cbyte_swap_long (&toc->ent[i].lba);
toc1770drivers/block/ide-cd.ctoc->last_session_lba = msf_to_lba (adr[1], adr[2], adr[3]);
toc1775drivers/block/ide-cd.ctoc->last_session_lba = ms_tmp.ent.lba;
toc1777drivers/block/ide-cd.ctoc->xa_flag = (ms_tmp.hdr.first_track != ms_tmp.hdr.last_track);
toc1780drivers/block/ide-cd.cstat = cdrom_read_capacity (drive, &toc->capacity, reqbuf);
toc1781drivers/block/ide-cd.cif (stat) toc->capacity = 0x1fffff;
toc1784drivers/block/ide-cd.c= toc->capacity * SECTORS_PER_FRAME;
toc1955drivers/block/ide-cd.cstruct atapi_toc *toc;
toc1961drivers/block/ide-cd.ctoc = drive->cdrom_info.toc;
toc1964drivers/block/ide-cd.cntracks = toc->hdr.last_track - toc->hdr.first_track + 1;
toc1966drivers/block/ide-cd.c*ent = &toc->ent[ntracks];
toc1967drivers/block/ide-cd.celse if (track < toc->hdr.first_track ||
toc1968drivers/block/ide-cd.ctrack > toc->hdr.last_track)
toc1971drivers/block/ide-cd.c*ent = &toc->ent[track - toc->hdr.first_track];
toc2117drivers/block/ide-cd.cstruct atapi_toc *toc;
toc2126drivers/block/ide-cd.ctoc = drive->cdrom_info.toc;
toc2127drivers/block/ide-cd.ctochdr.cdth_trk0 = toc->hdr.first_track;
toc2128drivers/block/ide-cd.ctochdr.cdth_trk1 = toc->hdr.last_track;
toc2268drivers/block/ide-cd.cstruct atapi_toc *toc;
toc2282drivers/block/ide-cd.ctoc = drive->cdrom_info.toc;
toc2285drivers/block/ide-cd.clba_to_msf (toc->last_session_lba,
toc2291drivers/block/ide-cd.cms_info.addr.lba = toc->last_session_lba;
toc2296drivers/block/ide-cd.cms_info.xa_flag = toc->xa_flag;
toc2307drivers/block/ide-cd.cstruct atapi_toc *toc;
toc2315drivers/block/ide-cd.ctoc = drive->cdrom_info.toc;
toc2322drivers/block/ide-cd.cif (ra.nframes < 0 || ra.nframes > toc->capacity)
toc2341drivers/block/ide-cd.cif (lba < 0 || lba >= toc->capacity)
toc2363drivers/block/ide-cd.cstruct atapi_toc *toc;
toc2390drivers/block/ide-cd.ctoc = drive->cdrom_info.toc;
toc2392drivers/block/ide-cd.cif (lba < 0 || lba >= toc->capacity)
toc2590drivers/block/ide-cd.cdrive->cdrom_info.toc               = NULL;
toc203drivers/block/ide.hstruct atapi_toc *toc;
toc152drivers/block/mcdx.cstruct s_subqcode* toc;  /* first enty of the toc array */
toc370drivers/block/mcdx.ctp = &stuffp->toc[stuffp->di.n_last - stuffp->di.n_first + 1];
toc373drivers/block/mcdx.celse tp = &stuffp->toc[entry.cdte_track - stuffp->di.n_first];
toc449drivers/block/mcdx.cstruct cdrom_tochdr toc;
toc453drivers/block/mcdx.cif ((ans = verify_area(VERIFY_WRITE, (void*) arg, sizeof toc)))
toc455drivers/block/mcdx.ctoc.cdth_trk0 = stuffp->di.n_first;
toc456drivers/block/mcdx.ctoc.cdth_trk1 = stuffp->di.n_last;
toc457drivers/block/mcdx.cmemcpy_tofs((void*) arg, &toc, sizeof toc);
toc684drivers/block/mcdx.cif (stuffp->toc) {
toc685drivers/block/mcdx.cTRACE((MALLOC, "open() free toc @ %p\n", stuffp->toc));
toc686drivers/block/mcdx.ckfree(stuffp->toc);
toc688drivers/block/mcdx.cstuffp->toc = NULL;
toc983drivers/block/mcdx.cif (stuffp->toc) {
toc984drivers/block/mcdx.cTRACE((MALLOC, "cleanup_module() free toc @ %p\n", stuffp->toc));
toc985drivers/block/mcdx.ckfree(stuffp->toc);
toc1066drivers/block/mcdx.cstuffp->toc = NULL;      /* this should be NULL already */
toc1388drivers/block/mcdx.cif (stuffp->toc) {
toc1407drivers/block/mcdx.cstuffp->toc = kmalloc(size, GFP_KERNEL);
toc1408drivers/block/mcdx.cif (!stuffp->toc) {
toc1423drivers/block/mcdx.cstuffp->toc[trk].index = 0;
toc1439drivers/block/mcdx.c&& (stuffp->toc[idx - stuffp->di.n_first].index == 0)) {
toc1440drivers/block/mcdx.cstuffp->toc[idx - stuffp->di.n_first] = q;
toc1446drivers/block/mcdx.cmemset(&stuffp->toc[stuffp->di.n_last - stuffp->di.n_first + 1], 
toc1447drivers/block/mcdx.c0, sizeof(stuffp->toc[0]));
toc1448drivers/block/mcdx.cstuffp->toc[stuffp->di.n_last - stuffp->di.n_first + 1].dt
toc1465drivers/block/mcdx.cstuffp->toc[trk].control, stuffp->toc[trk].tno, stuffp->toc[trk].index,
toc1466drivers/block/mcdx.cstuffp->toc[trk].tt.minute, stuffp->toc[trk].tt.second, stuffp->toc[trk].tt.frame,
toc1467drivers/block/mcdx.cstuffp->toc[trk].dt.minute, stuffp->toc[trk].dt.second, stuffp->toc[trk].dt.frame));
toc1514drivers/block/mcdx.cif (ti) p = &stuffp->toc[ti->cdti_trk0 - stuffp->di.n_first];
toc1522drivers/block/mcdx.cp = &stuffp->toc[ti->cdti_trk1 - stuffp->di.n_first + 1];
toc684drivers/block/sonycd535.crequest_toc_data(Byte status[2], struct s535_sony_toc *toc)
toc693drivers/block/sonycd535.cif ((to_status = do_sony_cmd(&cmd_no, 1, status, (Byte *) toc, 15, 1)) != 0)
toc697drivers/block/sonycd535.cfirst_track_num = bcd_to_int(toc->first_track_num);
toc698drivers/block/sonycd535.clast_track_num = bcd_to_int(toc->last_track_num);
toc711drivers/block/sonycd535.cmemcpy(toc->tracks + i, track_address_buffer, 5);