taglinefilesource code
raw_cmd190drivers/block/floppy.c#define COMMAND raw_cmd.cmd[0]
raw_cmd191drivers/block/floppy.c#define DR_SELECT raw_cmd.cmd[1]
raw_cmd192drivers/block/floppy.c#define TRACK raw_cmd.cmd[2]
raw_cmd193drivers/block/floppy.c#define HEAD raw_cmd.cmd[3]
raw_cmd194drivers/block/floppy.c#define SECTOR raw_cmd.cmd[4]
raw_cmd195drivers/block/floppy.c#define SIZECODE raw_cmd.cmd[5]
raw_cmd196drivers/block/floppy.c#define SECT_PER_TRACK raw_cmd.cmd[6]
raw_cmd197drivers/block/floppy.c#define GAP raw_cmd.cmd[7]
raw_cmd198drivers/block/floppy.c#define SIZECODE2 raw_cmd.cmd[8]
raw_cmd202drivers/block/floppy.c#define F_SIZECODE raw_cmd.cmd[2]
raw_cmd203drivers/block/floppy.c#define F_SECT_PER_TRACK raw_cmd.cmd[3]
raw_cmd204drivers/block/floppy.c#define F_GAP raw_cmd.cmd[4]
raw_cmd205drivers/block/floppy.c#define F_FILL raw_cmd.cmd[5]
raw_cmd297drivers/block/floppy.cstatic struct floppy_raw_cmd raw_cmd;
raw_cmd849drivers/block/floppy.craw_cmd.length > 512 * CURRENT->nr_sectors) &&
raw_cmd851drivers/block/floppy.ccurrent_addr + raw_cmd.length >
raw_cmd854drivers/block/floppy.ccurrent_addr, raw_cmd.length, floppy_track_buffer);
raw_cmd871drivers/block/floppy.c((long)(current_addr + raw_cmd.length-1)  & ~(64*1024-1))){
raw_cmd873drivers/block/floppy.ccurrent_addr, current_addr + raw_cmd.length);
raw_cmd884drivers/block/floppy.c(raw_cmd.flags & FD_RAW_READ)?
raw_cmd887drivers/block/floppy.cset_dma_count(FLOPPY_DMA, raw_cmd.length);
raw_cmd960drivers/block/floppy.cswitch(raw_cmd.rate){
raw_cmd1036drivers/block/floppy.cswitch (raw_cmd.rate & 0x03) {
raw_cmd1092drivers/block/floppy.cif ( raw_cmd.rate == FDCS->dtr)
raw_cmd1096drivers/block/floppy.coutb_p(raw_cmd.rate, FD_DCR);
raw_cmd1103drivers/block/floppy.cFDCS->dtr = raw_cmd.rate;
raw_cmd1201drivers/block/floppy.cflags = raw_cmd.flags;
raw_cmd1230drivers/block/floppy.cfor(i=0; i< raw_cmd.cmd_count; i++)
raw_cmd1231drivers/block/floppy.cr|=output_byte( raw_cmd.cmd[i] );
raw_cmd1319drivers/block/floppy.c(raw_cmd.flags & FD_RAW_NEED_DISK)){
raw_cmd1333drivers/block/floppy.c(raw_cmd.flags & FD_RAW_NEED_DISK) &&
raw_cmd1334drivers/block/floppy.c(DRS->track <= NO_TRACK || DRS->track == raw_cmd.track)) {
raw_cmd1337drivers/block/floppy.cif ( raw_cmd.track )
raw_cmd1338drivers/block/floppy.ctrack = raw_cmd.track - 1;
raw_cmd1343drivers/block/floppy.craw_cmd.flags |= FD_RAW_NEED_SEEK;
raw_cmd1349drivers/block/floppy.cif (raw_cmd.track != DRS->track &&
raw_cmd1350drivers/block/floppy.c(raw_cmd.flags & FD_RAW_NEED_SEEK))
raw_cmd1351drivers/block/floppy.ctrack = raw_cmd.track;
raw_cmd1588drivers/block/floppy.cif (!(raw_cmd.flags & FD_RAW_NO_MOTOR)){
raw_cmd1622drivers/block/floppy.cif(!(raw_cmd.flags & FD_RAW_NO_MOTOR) &&
raw_cmd1628drivers/block/floppy.cif ( raw_cmd.flags & (FD_RAW_NEED_SEEK | FD_RAW_NEED_DISK)){
raw_cmd1821drivers/block/floppy.craw_cmd.flags = FD_RAW_WRITE | FD_RAW_INTR | FD_RAW_SPIN |
raw_cmd1823drivers/block/floppy.craw_cmd.rate = floppy->rate & 0x3;
raw_cmd1824drivers/block/floppy.craw_cmd.cmd_count = NR_F;
raw_cmd1833drivers/block/floppy.craw_cmd.length = 4 * F_SECT_PER_TRACK;
raw_cmd1873drivers/block/floppy.craw_cmd.track = format_req.track << floppy->stretch;
raw_cmd2043drivers/block/floppy.cbuffer_track = raw_cmd.track;
raw_cmd2199drivers/block/floppy.craw_cmd.flags = FD_RAW_SPIN | FD_RAW_NEED_DISK | FD_RAW_NEED_DISK |
raw_cmd2201drivers/block/floppy.craw_cmd.cmd_count = NR_RW;
raw_cmd2203drivers/block/floppy.craw_cmd.flags |= FD_RAW_READ;
raw_cmd2206drivers/block/floppy.craw_cmd.flags |= FD_RAW_WRITE;
raw_cmd2235drivers/block/floppy.craw_cmd.rate = floppy->rate & 3;
raw_cmd2238drivers/block/floppy.craw_cmd.rate == 2)
raw_cmd2239drivers/block/floppy.craw_cmd.rate = 1;
raw_cmd2245drivers/block/floppy.craw_cmd.track = TRACK << floppy->stretch;
raw_cmd2270drivers/block/floppy.cif ((raw_cmd.track == buffer_track) && (current_drive == buffer_drive) &&
raw_cmd2285drivers/block/floppy.craw_cmd.flags &= ~FD_RAW_WRITE;
raw_cmd2286drivers/block/floppy.craw_cmd.flags |= FD_RAW_READ;
raw_cmd2317drivers/block/floppy.craw_cmd.length = current_count_sectors << 9;
raw_cmd2326drivers/block/floppy.cif (buffer_track != raw_cmd.track ||  /* bad track */
raw_cmd2350drivers/block/floppy.cbuffer_track = raw_cmd.track;
raw_cmd2358drivers/block/floppy.craw_cmd.length = sector_t+current_count_sectors-aligned_sector_t;
raw_cmd2359drivers/block/floppy.craw_cmd.length = ((raw_cmd.length -1)|(ssize-1))+1;
raw_cmd2360drivers/block/floppy.craw_cmd.length <<= 9;
raw_cmd2362drivers/block/floppy.cif ((raw_cmd.length < current_count_sectors << 9) ||
raw_cmd2365drivers/block/floppy.c(aligned_sector_t + (raw_cmd.length >> 9) > buffer_max ||
raw_cmd2367drivers/block/floppy.craw_cmd.length % ( 128 << SIZECODE ) ||
raw_cmd2368drivers/block/floppy.craw_cmd.length <= 0 || current_count_sectors <= 0){
raw_cmd2370drivers/block/floppy.craw_cmd.length, current_count_sectors);
raw_cmd2390drivers/block/floppy.craw_cmd.length < 0 ||
raw_cmd2391drivers/block/floppy.ccurrent_addr + raw_cmd.length >
raw_cmd2396drivers/block/floppy.craw_cmd.length >> 9 );
raw_cmd2405drivers/block/floppy.c} else if (raw_cmd.length > CURRENT->nr_sectors << 9 ||
raw_cmd2409drivers/block/floppy.c} else if ( raw_cmd.length < current_count_sectors << 9 ){
raw_cmd2411drivers/block/floppy.cprintk("bytes=%ld\n", raw_cmd.length >> 9 );
raw_cmd2532drivers/block/floppy.craw_cmd.flags= flag;
raw_cmd2533drivers/block/floppy.craw_cmd.track=0;
raw_cmd2534drivers/block/floppy.craw_cmd.cmd_count=0;
raw_cmd2649drivers/block/floppy.cCOPYIN(raw_cmd);
raw_cmd2650drivers/block/floppy.craw_cmd.rate &= 0x03;  
raw_cmd2651drivers/block/floppy.ccount = raw_cmd.length;
raw_cmd2652drivers/block/floppy.cif (raw_cmd.flags & (FD_RAW_WRITE | FD_RAW_READ)){
raw_cmd2657drivers/block/floppy.cif ( raw_cmd.flags & FD_RAW_WRITE ){
raw_cmd2658drivers/block/floppy.ci = verify_area(VERIFY_READ, raw_cmd.data, count );
raw_cmd2661drivers/block/floppy.cmemcpy_fromfs(floppy_track_buffer, raw_cmd.data, count);
raw_cmd2673drivers/block/floppy.craw_cmd.flags |= FD_RAW_DISK_CHANGE;
raw_cmd2675drivers/block/floppy.craw_cmd.flags &= ~FD_RAW_DISK_CHANGE;
raw_cmd2676drivers/block/floppy.cif(raw_cmd.flags & FD_RAW_NO_MOTOR_AFTER)
raw_cmd2680drivers/block/floppy.craw_cmd.reply_count = inr;
raw_cmd2681drivers/block/floppy.cfor( i=0; i< raw_cmd.reply_count; i++)
raw_cmd2682drivers/block/floppy.craw_cmd.reply[i] = reply_buffer[i];
raw_cmd2683drivers/block/floppy.cif ( raw_cmd.flags & ( FD_RAW_READ | FD_RAW_WRITE ))
raw_cmd2684drivers/block/floppy.craw_cmd.length = get_dma_residue(FLOPPY_DMA);
raw_cmd2691drivers/block/floppy.cif ( raw_cmd.flags & FD_RAW_READ ){
raw_cmd2692drivers/block/floppy.ci=fd_copyout( raw_cmd.data, floppy_track_buffer, count);
raw_cmd2697drivers/block/floppy.creturn COPYOUT(raw_cmd);