tag | line | file | source code |
track | 147 | drivers/block/floppy.c | int track; |
track | 759 | drivers/block/floppy.c | (mode || UDRS->track != NEED_1_RECAL)) |
track | 760 | drivers/block/floppy.c | UDRS->track = NEED_2_RECAL; |
track | 1308 | drivers/block/floppy.c | DRS->track = NEED_2_RECAL; |
track | 1393 | drivers/block/floppy.c | DRS->track = NEED_2_RECAL; |
track | 1398 | drivers/block/floppy.c | if (DRS->track >= 0 && DRS->track != ST1 && !blind_seek){ |
track | 1408 | drivers/block/floppy.c | DRS->track = ST1; |
track | 1439 | drivers/block/floppy.c | int track; |
track | 1461 | drivers/block/floppy.c | if (DRS->track <= NEED_1_RECAL){ |
track | 1466 | drivers/block/floppy.c | (DRS->track <= NO_TRACK || DRS->track == raw_cmd->track)) { |
track | 1469 | drivers/block/floppy.c | if (raw_cmd->track) |
track | 1470 | drivers/block/floppy.c | track = raw_cmd->track - 1; |
track | 1477 | drivers/block/floppy.c | track = 1; |
track | 1481 | drivers/block/floppy.c | if (raw_cmd->track != DRS->track && |
track | 1483 | drivers/block/floppy.c | track = raw_cmd->track; |
track | 1493 | drivers/block/floppy.c | LAST_OUT(track); |
track | 1507 | drivers/block/floppy.c | switch(DRS->track){ |
track | 1548 | drivers/block/floppy.c | DRS->track = NEED_1_RECAL; |
track | 1552 | drivers/block/floppy.c | DRS->track = ST1; |
track | 1937 | drivers/block/floppy.c | DRS->track = NEED_2_RECAL; |
track | 1968 | drivers/block/floppy.c | static void setup_format_params(int track) |
track | 1971 | drivers/block/floppy.c | unsigned char track,head,sect,size; |
track | 1977 | drivers/block/floppy.c | raw_cmd->track = track; |
track | 2000 | drivers/block/floppy.c | n = (track_shift * format_req.track + head_shift * format_req.head) |
track | 2010 | drivers/block/floppy.c | here[count].track = format_req.track; |
track | 2032 | drivers/block/floppy.c | setup_format_params(format_req.track << STRETCH(floppy)); |
track | 2053 | drivers/block/floppy.c | floppy->track > DP->tracks || |
track | 2054 | drivers/block/floppy.c | tmp_format_req->track >= floppy->track || |
track | 2197 | drivers/block/floppy.c | buffer_track = raw_cmd->track; |
track | 2369 | drivers/block/floppy.c | if (floppy->track && TRACK >= floppy->track) |
track | 2398 | drivers/block/floppy.c | raw_cmd->track = TRACK << STRETCH(floppy); |
track | 2423 | drivers/block/floppy.c | if ((raw_cmd->track == buffer_track) && |
track | 2492 | drivers/block/floppy.c | if (buffer_track != raw_cmd->track || /* bad track */ |
track | 2517 | drivers/block/floppy.c | buffer_track = raw_cmd->track; |
track | 2701 | drivers/block/floppy.c | raw_cmd->track=0; |
track | 2915 | drivers/block/floppy.c | ptr->track = old_raw_cmd.track; |
track | 3001 | drivers/block/floppy.c | DRS->track = NO_TRACK; |
track | 3033 | drivers/block/floppy.c | g->track <= 0 || |
track | 3034 | drivers/block/floppy.c | g->track > UDP->tracks>>STRETCH(g) || |
track | 3889 | drivers/block/floppy.c | FDCS->track[unit] = 0; |
track | 696 | drivers/block/hd.c | unsigned int dev, block, nsect, sec, track, head, cyl; |
track | 733 | drivers/block/hd.c | track = block / hd_info[dev].sect; |
track | 734 | drivers/block/hd.c | head = track % hd_info[dev].head; |
track | 735 | drivers/block/hd.c | cyl = track / hd_info[dev].head; |
track | 1803 | drivers/block/ide-cd.c | toc->ent[i].track = bcd2bin (toc->ent[i].track); |
track | 2044 | drivers/block/ide-cd.c | int cdrom_get_toc_entry (ide_drive_t *drive, int track, |
track | 2059 | drivers/block/ide-cd.c | if (track == CDROM_LEADOUT) |
track | 2061 | drivers/block/ide-cd.c | else if (track < toc->hdr.first_track || |
track | 2062 | drivers/block/ide-cd.c | track > toc->hdr.last_track) |
track | 2065 | drivers/block/ide-cd.c | *ent = &toc->ent[track - toc->hdr.first_track]; |
track | 1226 | drivers/block/ide.c | unsigned int sect,head,cyl,track; |
track | 1227 | drivers/block/ide.c | track = block / drive->sect; |
track | 1230 | drivers/block/ide.c | head = track % drive->head; |
track | 1231 | drivers/block/ide.c | cyl = track / drive->head; |
track | 187 | drivers/block/ide.h | byte track; |
track | 337 | drivers/block/xd.c | u_short track,cylinder; |
track | 348 | drivers/block/xd.c | track = block / xd_info[drive].sectors; |
track | 349 | drivers/block/xd.c | head = track % xd_info[drive].heads; |
track | 350 | drivers/block/xd.c | cylinder = track / xd_info[drive].heads; |
track | 828 | drivers/cdrom/aztcd.c | subchnl.cdsc_trk = azt_bcd2bin(qInfo.track); |
track | 1759 | drivers/cdrom/aztcd.c | qp->track=0; /* only one byte with Aztech drives */ |
track | 1771 | drivers/cdrom/aztcd.c | if (aztGetValue(&qp -> track) < 0) RETURNM("aztGetQChannelInfo 4",-1); |
track | 1938 | drivers/cdrom/aztcd.c | if ((qInfo.track==0)&&(qInfo.pointIndex)) break; /*LeadIn found*/ |
track | 1947 | drivers/cdrom/aztcd.c | printk("leadin found track %d pointIndex %x limit %d\n",qInfo.track,qInfo.pointIndex,limit); |
track | 2057 | drivers/cdrom/aztcd.c | if (px > 0 && px < MAX_TRACKS && qInfo.track == 0) |
track | 2074 | drivers/cdrom/aztcd.c | i, Toc[i].ctrl_addr, Toc[i].track, Toc[i].pointIndex, |
track | 2079 | drivers/cdrom/aztcd.c | i, Toc[i].ctrl_addr, Toc[i].track, Toc[i].pointIndex, |
track | 1908 | drivers/cdrom/cdu31a.c | find_track(int track) |
track | 1917 | drivers/cdrom/cdu31a.c | if (sony_toc.tracks[i].track == track) |
track | 145 | drivers/cdrom/cm206.c | uch track, fsm[3], q0; |
track | 722 | drivers/cdrom/cm206.c | inline uch normalize_track(uch track) |
track | 724 | drivers/cdrom/cm206.c | if (track<1) return 1; |
track | 725 | drivers/cdrom/cm206.c | if (track>LAST_TRACK) return LAST_TRACK+1; |
track | 726 | drivers/cdrom/cm206.c | return track; |
track | 732 | drivers/cdrom/cm206.c | int get_toc_lba(uch track) |
track | 741 | drivers/cdrom/cm206.c | for (i=track; i>0; i--) if (cd->toc[i].track) { |
track | 750 | drivers/cdrom/cm206.c | if (!cd->toc[ct].track) { |
track | 753 | drivers/cdrom/cm206.c | cd->toc[ct].track=q[1]; /* lead out still 0xaa */ |
track | 761 | drivers/cdrom/cm206.c | if (ct==track) return l; |
track | 765 | drivers/cdrom/cm206.c | if (ct < track) min = lba; else max = lba; |
track | 768 | drivers/cdrom/cm206.c | if(ct < track) lba += skip; |
track | 779 | drivers/cdrom/cm206.c | void update_toc_entry(uch track) |
track | 781 | drivers/cdrom/cm206.c | track = normalize_track(track); |
track | 782 | drivers/cdrom/cm206.c | if (!cd->toc[track].track) get_toc_lba(track); |
track | 792 | drivers/cdrom/cm206.c | cd->toc[1].track=1; /* fill in first track position */ |
track | 809 | drivers/cdrom/cm206.c | PLAY_TO.track = 0; /* say no track end */ |
track | 829 | drivers/cdrom/cm206.c | PLAY_TO.track = to; |
track | 867 | drivers/cdrom/cm206.c | uch track = normalize_track(ep->cdte_track); |
track | 868 | drivers/cdrom/cm206.c | update_toc_entry(track); |
track | 870 | drivers/cdrom/cm206.c | ep->cdte_addr.msf.frame = cd->toc[track].fsm[0]; |
track | 871 | drivers/cdrom/cm206.c | ep->cdte_addr.msf.second = cd->toc[track].fsm[1]; |
track | 872 | drivers/cdrom/cm206.c | ep->cdte_addr.msf.minute = cd->toc[track].fsm[2]; |
track | 874 | drivers/cdrom/cm206.c | else ep->cdte_addr.lba = fsm2lba(cd->toc[track].fsm); |
track | 875 | drivers/cdrom/cm206.c | ep->cdte_adr = cd->toc[track].q0 & 0xf; |
track | 876 | drivers/cdrom/cm206.c | ep->cdte_ctrl = cd->toc[track].q0 >> 4; |
track | 511 | drivers/cdrom/mcd.c | subchnl.cdsc_trk = bcd2bin(qInfo.track); |
track | 1443 | drivers/cdrom/mcd.c | if (getValue(&qp -> track) < 0) return -1; |
track | 1571 | drivers/cdrom/mcd.c | if (px > 0 && px < MAX_TRACKS && qInfo.track == 0) |
track | 1596 | drivers/cdrom/mcd.c | i, Toc[i].ctrl_addr, Toc[i].track, Toc[i].pointIndex, |
track | 1601 | drivers/cdrom/mcd.c | i, Toc[i].ctrl_addr, Toc[i].track, Toc[i].pointIndex, |
track | 955 | drivers/cdrom/sonycd535.c | find_track(int track) |
track | 964 | drivers/cdrom/sonycd535.c | if (sony_toc->tracks[i].track == track) { |
track | 646 | drivers/char/ftape/fdc-io.c | int fdc_seek(int track) |
track | 655 | drivers/char/ftape/fdc-io.c | out[2] = track; |
track | 660 | drivers/char/ftape/fdc-io.c | TRACEx1(4, "destination was: %d, resetting FDC...", track); |
track | 693 | drivers/char/ftape/fdc-io.c | if (pcn != track) { |
track | 166 | drivers/char/ftape/fdc-io.h | extern int fdc_seek(int track); |
track | 133 | drivers/char/ftape/ftape-ctl.c | location.track = -1; /* force seek on first access */ |
track | 877 | drivers/char/ftape/ftape-ctl.c | location.track = -1; |
track | 161 | drivers/char/ftape/ftape-io.c | int track; |
track | 282 | drivers/char/ftape/ftape-io.c | track = current_cylinder - command; |
track | 284 | drivers/char/ftape/ftape-io.c | track = current_cylinder + command; |
track | 286 | drivers/char/ftape/ftape-io.c | result = fdc_seek(track); |
track | 895 | drivers/char/ftape/ftape-io.c | int ftape_seek_head_to_track(int track) |
track | 901 | drivers/char/ftape/ftape-io.c | location.track = -1; /* remains set in case of error */ |
track | 902 | drivers/char/ftape/ftape-io.c | if (track < 0 || track >= tracks_per_tape) { |
track | 906 | drivers/char/ftape/ftape-io.c | TRACEx1(5, "seeking track %d", track); |
track | 911 | drivers/char/ftape/ftape-io.c | result = ftape_parameter_wait(track, timeout.head_seek, &status); |
track | 915 | drivers/char/ftape/ftape-io.c | location.track = track; |
track | 68 | drivers/char/ftape/ftape-io.h | extern int ftape_seek_head_to_track(int track); |
track | 245 | drivers/char/ftape/ftape-rw.c | location.bot = ((location.track & 1) == 0 ? |
track | 249 | drivers/char/ftape/ftape-rw.c | location.segment = (location.track + |
track | 471 | drivers/char/ftape/ftape-rw.c | seek_forward(location.track * segments_per_track); |
track | 532 | drivers/char/ftape/ftape-rw.c | if (location.track == -1) { |
track | 538 | drivers/char/ftape/ftape-rw.c | int lo = (location.track - 1) * segments_per_track; |
track | 539 | drivers/char/ftape/ftape-rw.c | int hi = (location.track + 2) * segments_per_track; |
track | 680 | drivers/char/ftape/ftape-rw.c | if (expected / segments_per_track != location.track) { |
track | 681 | drivers/char/ftape/ftape-rw.c | expected = location.track * segments_per_track; |
track | 846 | drivers/char/ftape/ftape-rw.c | int track = segment_id / segments_per_track; |
track | 876 | drivers/char/ftape/ftape-rw.c | if (location.track != track || (might_be_off_track && |
track | 881 | drivers/char/ftape/ftape-rw.c | ftape_seek_head_to_track(track); |
track | 910 | drivers/char/ftape/ftape-rw.c | result = ftape_command_wait((location.track & 1) ? |
track | 126 | drivers/char/ftape/ftape-rw.h | int track; /* tape head position */ |
track | 150 | include/linux/aztcd.h | unsigned char track; |
track | 220 | include/linux/cdu31a.h | unsigned char track; |
track | 280 | include/linux/cdu31a.h | unsigned char track; |
track | 16 | include/linux/fd.h | track, /* nr of tracks */ |
track | 65 | include/linux/fd.h | unsigned int device,head,track; |
track | 203 | include/linux/fd.h | short track; /* current track */ |
track | 265 | include/linux/fd.h | unsigned char track[4]; |
track | 353 | include/linux/fd.h | int track; |
track | 105 | include/linux/gscd.h | unsigned char track; |
track | 107 | include/linux/mcd.h | unsigned char track; |
track | 159 | include/linux/sjcd.h | unsigned char track; |
track | 176 | include/linux/sonycd535.h | unsigned char track; |