taglinefilesource code
toc1663drivers/block/ide-cd.cstruct atapi_toc *toc = drive->cdrom_info.toc;
toc1669drivers/block/ide-cd.cif (toc == NULL)
toc1672drivers/block/ide-cd.ctoc = (struct atapi_toc *) kmalloc (sizeof (struct atapi_toc),
toc1674drivers/block/ide-cd.cdrive->cdrom_info.toc = toc;
toc1677drivers/block/ide-cd.cif (toc == NULL)
toc1698drivers/block/ide-cd.cstat = cdrom_read_tocentry (drive, 0, msf_flag, 0, (char *)&toc->hdr,
toc1707drivers/block/ide-cd.ctoc->hdr.first_track = bcd2bin (toc->hdr.first_track);
toc1708drivers/block/ide-cd.ctoc->hdr.last_track  = bcd2bin (toc->hdr.last_track);
toc1713drivers/block/ide-cd.cntracks = toc->hdr.last_track - toc->hdr.first_track + 1;
toc1718drivers/block/ide-cd.cstat = cdrom_read_tocentry (drive, 0, msf_flag, 0, (char *)&toc->hdr,
toc1723drivers/block/ide-cd.ctoc->hdr.toc_length = ntohs (toc->hdr.toc_length);
toc1728drivers/block/ide-cd.ctoc->hdr.first_track = bcd2bin (toc->hdr.first_track);
toc1729drivers/block/ide-cd.ctoc->hdr.last_track  = bcd2bin (toc->hdr.last_track);
toc1741drivers/block/ide-cd.ctoc->ent[i].track = bcd2bin (toc->ent[i].track);
toc1742drivers/block/ide-cd.ctoc->ent[i].addr.msf.m = bcd2bin (toc->ent[i].addr.msf.m);
toc1743drivers/block/ide-cd.ctoc->ent[i].addr.msf.s = bcd2bin (toc->ent[i].addr.msf.s);
toc1744drivers/block/ide-cd.ctoc->ent[i].addr.msf.f = bcd2bin (toc->ent[i].addr.msf.f);
toc1746drivers/block/ide-cd.ctoc->ent[i].addr.lba = msf_to_lba (toc->ent[i].addr.msf.m,
toc1747drivers/block/ide-cd.ctoc->ent[i].addr.msf.s,
toc1748drivers/block/ide-cd.ctoc->ent[i].addr.msf.f);
toc1752drivers/block/ide-cd.ctoc->ent[i].addr.lba = ntohl (toc->ent[i].addr.lba);
toc1762drivers/block/ide-cd.ctoc->last_session_lba = msf_to_lba (ms_tmp.ent.addr.msf.m,
toc1767drivers/block/ide-cd.ctoc->last_session_lba = ntohl (ms_tmp.ent.addr.lba);
toc1769drivers/block/ide-cd.ctoc->xa_flag = (ms_tmp.hdr.first_track != ms_tmp.hdr.last_track);
toc1772drivers/block/ide-cd.cstat = cdrom_read_capacity (drive, &toc->capacity, reqbuf);
toc1773drivers/block/ide-cd.cif (stat) toc->capacity = 0x1fffff;
toc1776drivers/block/ide-cd.c= toc->capacity * SECTORS_PER_FRAME;
toc1777drivers/block/ide-cd.cdrive->part[0].nr_sects = toc->capacity * SECTORS_PER_FRAME;
toc1952drivers/block/ide-cd.cstruct atapi_toc *toc;
toc1958drivers/block/ide-cd.ctoc = drive->cdrom_info.toc;
toc1961drivers/block/ide-cd.cntracks = toc->hdr.last_track - toc->hdr.first_track + 1;
toc1963drivers/block/ide-cd.c*ent = &toc->ent[ntracks];
toc1964drivers/block/ide-cd.celse if (track < toc->hdr.first_track ||
toc1965drivers/block/ide-cd.ctrack > toc->hdr.last_track)
toc1968drivers/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;
toc2282drivers/block/ide-cd.cstruct atapi_toc *toc;
toc2296drivers/block/ide-cd.ctoc = drive->cdrom_info.toc;
toc2299drivers/block/ide-cd.clba_to_msf (toc->last_session_lba,
toc2305drivers/block/ide-cd.cms_info.addr.lba = toc->last_session_lba;
toc2310drivers/block/ide-cd.cms_info.xa_flag = toc->xa_flag;
toc2321drivers/block/ide-cd.cstruct atapi_toc *toc;
toc2329drivers/block/ide-cd.ctoc = drive->cdrom_info.toc;
toc2336drivers/block/ide-cd.cif (ra.nframes < 0 || ra.nframes > toc->capacity)
toc2355drivers/block/ide-cd.cif (lba < 0 || lba >= toc->capacity)
toc2377drivers/block/ide-cd.cstruct atapi_toc *toc;
toc2404drivers/block/ide-cd.ctoc = drive->cdrom_info.toc;
toc2406drivers/block/ide-cd.cif (lba < 0 || lba >= toc->capacity)
toc2625drivers/block/ide-cd.cdrive->cdrom_info.toc               = NULL;
toc263drivers/block/ide.hstruct atapi_toc *toc;
toc174drivers/cdrom/cm206.cstruct toc_struct toc[101];  /* The whole table of contents + lead-out */
toc183drivers/cdrom/cm206.c#define PLAY_TO cd->toc[0]  /* toc[0] records end-time in play */
toc551drivers/cdrom/cm206.cmemset(cd->toc, 0, sizeof(cd->toc));
toc741drivers/cdrom/cm206.cfor (i=track; i>0; i--) if (cd->toc[i].track) {
toc742drivers/cdrom/cm206.cmin = fsm2lba(cd->toc[i].fsm);
toc750drivers/cdrom/cm206.cif (!cd->toc[ct].track) {
toc753drivers/cdrom/cm206.ccd->toc[ct].track=q[1];  /* lead out still 0xaa */
toc754drivers/cdrom/cm206.cfsm(l, cd->toc[ct].fsm);
toc755drivers/cdrom/cm206.ccd->toc[ct].q0 = q[0];  /* contains adr and ctrl info */
toc782drivers/cdrom/cm206.cif (!cd->toc[track].track) get_toc_lba(track);
toc792drivers/cdrom/cm206.ccd->toc[1].track=1;    /* fill in first track position */
toc793drivers/cdrom/cm206.cfor (i=0; i<3; i++) cd->toc[1].fsm[i] = cd->disc_status[3+i];
toc826drivers/cdrom/cm206.cplay_command[i+1] = cd->toc[from].fsm[i];
toc827drivers/cdrom/cm206.cPLAY_TO.fsm[i] = play_command[i+4] = cd->toc[to+1].fsm[i];
toc870drivers/cdrom/cm206.cep->cdte_addr.msf.frame = cd->toc[track].fsm[0];
toc871drivers/cdrom/cm206.cep->cdte_addr.msf.second = cd->toc[track].fsm[1];
toc872drivers/cdrom/cm206.cep->cdte_addr.msf.minute = cd->toc[track].fsm[2];
toc874drivers/cdrom/cm206.celse ep->cdte_addr.lba = fsm2lba(cd->toc[track].fsm);
toc875drivers/cdrom/cm206.cep->cdte_adr = cd->toc[track].q0 & 0xf; 
toc876drivers/cdrom/cm206.cep->cdte_ctrl = cd->toc[track].q0 >> 4;
toc990drivers/cdrom/cm206.cmemset(cd->toc, 0, sizeof(cd->toc));
toc140drivers/cdrom/mcdx.cstruct s_subqcode* toc;  /* first enty of the toc array */
toc351drivers/cdrom/mcdx.ctp = &stuffp->toc[stuffp->di.n_last - stuffp->di.n_first + 1];
toc354drivers/cdrom/mcdx.celse tp = &stuffp->toc[entry.cdte_track - stuffp->di.n_first];
toc430drivers/cdrom/mcdx.cstruct cdrom_tochdr toc;
toc434drivers/cdrom/mcdx.cif ((ans = verify_area(VERIFY_WRITE, (void*) arg, sizeof toc)))
toc436drivers/cdrom/mcdx.ctoc.cdth_trk0 = stuffp->di.n_first;
toc437drivers/cdrom/mcdx.ctoc.cdth_trk1 = stuffp->di.n_last;
toc438drivers/cdrom/mcdx.cmemcpy_tofs((void*) arg, &toc, sizeof toc);
toc693drivers/cdrom/mcdx.cif (stuffp->toc) {
toc694drivers/cdrom/mcdx.cTRACE((MALLOC, "open() free toc @ %p\n", stuffp->toc));
toc695drivers/cdrom/mcdx.ckfree(stuffp->toc);
toc697drivers/cdrom/mcdx.cstuffp->toc = NULL;
toc1006drivers/cdrom/mcdx.cif (stuffp->toc) {
toc1007drivers/cdrom/mcdx.cTRACE((MALLOC, "cleanup_module() free toc @ %p\n", stuffp->toc));
toc1008drivers/cdrom/mcdx.ckfree(stuffp->toc);
toc1087drivers/cdrom/mcdx.cstuffp->toc = NULL;      /* this should be NULL already */
toc1401drivers/cdrom/mcdx.cif (stuffp->toc) {
toc1420drivers/cdrom/mcdx.cstuffp->toc = kmalloc(size, GFP_KERNEL);
toc1421drivers/cdrom/mcdx.cif (!stuffp->toc) {
toc1436drivers/cdrom/mcdx.cstuffp->toc[trk].index = 0;
toc1452drivers/cdrom/mcdx.c&& (stuffp->toc[idx - stuffp->di.n_first].index == 0)) {
toc1453drivers/cdrom/mcdx.cstuffp->toc[idx - stuffp->di.n_first] = q;
toc1459drivers/cdrom/mcdx.cmemset(&stuffp->toc[stuffp->di.n_last - stuffp->di.n_first + 1], 
toc1460drivers/cdrom/mcdx.c0, sizeof(stuffp->toc[0]));
toc1461drivers/cdrom/mcdx.cstuffp->toc[stuffp->di.n_last - stuffp->di.n_first + 1].dt
toc1478drivers/cdrom/mcdx.cstuffp->toc[trk].control, stuffp->toc[trk].tno, stuffp->toc[trk].index,
toc1479drivers/cdrom/mcdx.cstuffp->toc[trk].tt.minute, stuffp->toc[trk].tt.second, stuffp->toc[trk].tt.frame,
toc1480drivers/cdrom/mcdx.cstuffp->toc[trk].dt.minute, stuffp->toc[trk].dt.second, stuffp->toc[trk].dt.frame));
toc1527drivers/cdrom/mcdx.cif (ti) p = &stuffp->toc[ti->cdti_trk0 - stuffp->di.n_first];
toc1535drivers/cdrom/mcdx.cp = &stuffp->toc[ti->cdti_trk1 - stuffp->di.n_first + 1];
toc652drivers/cdrom/sonycd535.crequest_toc_data(Byte status[2], struct s535_sony_toc *toc)
toc661drivers/cdrom/sonycd535.cif ((to_status = do_sony_cmd(&cmd_no, 1, status, (Byte *) toc, 15, 1)) != 0)
toc665drivers/cdrom/sonycd535.cfirst_track_num = bcd_to_int(toc->first_track_num);
toc666drivers/cdrom/sonycd535.clast_track_num = bcd_to_int(toc->last_track_num);
toc679drivers/cdrom/sonycd535.cmemcpy(toc->tracks + i, track_address_buffer, 5);