taglinefilesource code
raw_cmd182drivers/block/floppy.c#define COMMAND raw_cmd.cmd[0]
raw_cmd183drivers/block/floppy.c#define DR_SELECT raw_cmd.cmd[1]
raw_cmd184drivers/block/floppy.c#define TRACK raw_cmd.cmd[2]
raw_cmd185drivers/block/floppy.c#define HEAD raw_cmd.cmd[3]
raw_cmd186drivers/block/floppy.c#define SECTOR raw_cmd.cmd[4]
raw_cmd187drivers/block/floppy.c#define SIZECODE raw_cmd.cmd[5]
raw_cmd188drivers/block/floppy.c#define SECT_PER_TRACK raw_cmd.cmd[6]
raw_cmd189drivers/block/floppy.c#define GAP raw_cmd.cmd[7]
raw_cmd190drivers/block/floppy.c#define SIZECODE2 raw_cmd.cmd[8]
raw_cmd194drivers/block/floppy.c#define F_SIZECODE raw_cmd.cmd[2]
raw_cmd195drivers/block/floppy.c#define F_SECT_PER_TRACK raw_cmd.cmd[3]
raw_cmd196drivers/block/floppy.c#define F_GAP raw_cmd.cmd[4]
raw_cmd197drivers/block/floppy.c#define F_FILL raw_cmd.cmd[5]
raw_cmd285drivers/block/floppy.cstatic struct floppy_raw_cmd raw_cmd;
raw_cmd751drivers/block/floppy.craw_cmd.length > 512 * CURRENT->nr_sectors) &&
raw_cmd753drivers/block/floppy.ccurrent_addr + raw_cmd.length >
raw_cmd756drivers/block/floppy.ccurrent_addr, raw_cmd.length, floppy_track_buffer);
raw_cmd773drivers/block/floppy.c((long)(current_addr + raw_cmd.length-1)  & ~(64*1024-1))){
raw_cmd775drivers/block/floppy.ccurrent_addr, current_addr + raw_cmd.length);
raw_cmd786drivers/block/floppy.c(raw_cmd.flags & FD_RAW_READ)?
raw_cmd789drivers/block/floppy.cset_dma_count(FLOPPY_DMA, raw_cmd.length);
raw_cmd861drivers/block/floppy.cswitch(raw_cmd.rate){
raw_cmd937drivers/block/floppy.cswitch (raw_cmd.rate & 0x03) {
raw_cmd993drivers/block/floppy.cif ( raw_cmd.rate == FDCS->dtr)
raw_cmd997drivers/block/floppy.coutb_p(raw_cmd.rate, FD_DCR);
raw_cmd1005drivers/block/floppy.cFDCS->dtr = raw_cmd.rate;
raw_cmd1101drivers/block/floppy.cflags = raw_cmd.flags;
raw_cmd1130drivers/block/floppy.cfor(i=0; i< raw_cmd.cmd_count; i++)
raw_cmd1131drivers/block/floppy.cr|=output_byte( raw_cmd.cmd[i] );
raw_cmd1206drivers/block/floppy.cif ((raw_cmd.flags & FD_RAW_NEED_DISK) &&
raw_cmd1220drivers/block/floppy.c(raw_cmd.flags & FD_RAW_NEED_DISK) &&
raw_cmd1221drivers/block/floppy.c(DRS->track <= NO_TRACK || DRS->track == raw_cmd.track)) {
raw_cmd1224drivers/block/floppy.cif ( raw_cmd.track )
raw_cmd1225drivers/block/floppy.ctrack = raw_cmd.track - 1;
raw_cmd1235drivers/block/floppy.cif (raw_cmd.track != DRS->track)
raw_cmd1236drivers/block/floppy.ctrack = raw_cmd.track;
raw_cmd1472drivers/block/floppy.cif (!(raw_cmd.flags & FD_RAW_NO_MOTOR)){
raw_cmd1488drivers/block/floppy.cif( raw_cmd.flags & FD_RAW_NO_MOTOR)
raw_cmd1509drivers/block/floppy.cif ( raw_cmd.flags & FD_RAW_NEED_SEEK ){
raw_cmd1693drivers/block/floppy.craw_cmd.flags = FD_RAW_WRITE | FD_RAW_INTR | FD_RAW_SPIN |
raw_cmd1695drivers/block/floppy.craw_cmd.rate = floppy->rate & 0x3;
raw_cmd1696drivers/block/floppy.craw_cmd.cmd_count = NR_F;
raw_cmd1705drivers/block/floppy.craw_cmd.length = 4 * F_SECT_PER_TRACK;
raw_cmd1745drivers/block/floppy.craw_cmd.track = format_req.track << floppy->stretch;
raw_cmd1911drivers/block/floppy.cbuffer_track = raw_cmd.track;
raw_cmd2076drivers/block/floppy.craw_cmd.flags = FD_RAW_SPIN | FD_RAW_NEED_DISK | FD_RAW_NEED_DISK |
raw_cmd2078drivers/block/floppy.craw_cmd.cmd_count = NR_RW;
raw_cmd2080drivers/block/floppy.craw_cmd.flags |= FD_RAW_READ;
raw_cmd2083drivers/block/floppy.craw_cmd.flags |= FD_RAW_WRITE;
raw_cmd2112drivers/block/floppy.craw_cmd.rate = floppy->rate & 3;
raw_cmd2115drivers/block/floppy.craw_cmd.rate == 2)
raw_cmd2116drivers/block/floppy.craw_cmd.rate = 1;
raw_cmd2122drivers/block/floppy.craw_cmd.track = TRACK << floppy->stretch;
raw_cmd2147drivers/block/floppy.cif ((raw_cmd.track == buffer_track) && (current_drive == buffer_drive) &&
raw_cmd2162drivers/block/floppy.craw_cmd.flags &= ~FD_RAW_WRITE;
raw_cmd2163drivers/block/floppy.craw_cmd.flags |= FD_RAW_READ;
raw_cmd2194drivers/block/floppy.craw_cmd.length = current_count_sectors << 9;
raw_cmd2203drivers/block/floppy.cif (buffer_track != raw_cmd.track ||  /* bad track */
raw_cmd2226drivers/block/floppy.cbuffer_track = raw_cmd.track;
raw_cmd2234drivers/block/floppy.craw_cmd.length = sector_t+current_count_sectors-aligned_sector_t;
raw_cmd2235drivers/block/floppy.craw_cmd.length = ((raw_cmd.length -1)|(ssize-1))+1;
raw_cmd2236drivers/block/floppy.craw_cmd.length <<= 9;
raw_cmd2238drivers/block/floppy.cif ((raw_cmd.length < current_count_sectors << 9) ||
raw_cmd2241drivers/block/floppy.c(aligned_sector_t + (raw_cmd.length >> 9) > buffer_max ||
raw_cmd2243drivers/block/floppy.craw_cmd.length % ( 128 << SIZECODE ) ||
raw_cmd2244drivers/block/floppy.craw_cmd.length <= 0 || current_count_sectors <= 0){
raw_cmd2246drivers/block/floppy.craw_cmd.length, current_count_sectors);
raw_cmd2266drivers/block/floppy.craw_cmd.length < 0 ||
raw_cmd2267drivers/block/floppy.ccurrent_addr + raw_cmd.length >
raw_cmd2272drivers/block/floppy.craw_cmd.length >> 9 );
raw_cmd2281drivers/block/floppy.c} else if (raw_cmd.length > CURRENT->nr_sectors << 9 ||
raw_cmd2285drivers/block/floppy.c} else if ( raw_cmd.length < current_count_sectors << 9 ){
raw_cmd2287drivers/block/floppy.cprintk("bytes=%ld\n", raw_cmd.length >> 9 );
raw_cmd2328drivers/block/floppy.craw_cmd.flags=0;
raw_cmd2489drivers/block/floppy.cCOPYIN(raw_cmd);
raw_cmd2490drivers/block/floppy.craw_cmd.rate &= 0x03;  
raw_cmd2491drivers/block/floppy.ccount = raw_cmd.length;
raw_cmd2492drivers/block/floppy.cif (raw_cmd.flags & (FD_RAW_WRITE | FD_RAW_READ)){
raw_cmd2497drivers/block/floppy.cif ( raw_cmd.flags & FD_RAW_WRITE ){
raw_cmd2498drivers/block/floppy.ci = verify_area(VERIFY_READ, raw_cmd.data, count );
raw_cmd2501drivers/block/floppy.cmemcpy_fromfs(floppy_track_buffer, raw_cmd.data, count);
raw_cmd2508drivers/block/floppy.craw_cmd.flags |= FD_RAW_DISK_CHANGE;
raw_cmd2510drivers/block/floppy.craw_cmd.flags &= ~FD_RAW_DISK_CHANGE;
raw_cmd2511drivers/block/floppy.cif(raw_cmd.flags & FD_RAW_NO_MOTOR_AFTER)
raw_cmd2515drivers/block/floppy.craw_cmd.reply_count = inr;
raw_cmd2516drivers/block/floppy.cfor( i=0; i< raw_cmd.reply_count; i++)
raw_cmd2517drivers/block/floppy.craw_cmd.reply[i] = reply_buffer[i];
raw_cmd2518drivers/block/floppy.cif ( raw_cmd.flags & ( FD_RAW_READ | FD_RAW_WRITE ))
raw_cmd2519drivers/block/floppy.craw_cmd.length = get_dma_residue(FLOPPY_DMA);
raw_cmd2526drivers/block/floppy.cif ( raw_cmd.flags & FD_RAW_READ ){
raw_cmd2527drivers/block/floppy.ci=fd_copyout( raw_cmd.data, floppy_track_buffer, count);
raw_cmd2532drivers/block/floppy.creturn COPYOUT(raw_cmd);
raw_cmd2679drivers/block/floppy.craw_cmd.flags = 0;
raw_cmd2970drivers/block/floppy.craw_cmd.flags=FD_RAW_NEED_SEEK|FD_RAW_NEED_DISK;
raw_cmd2971drivers/block/floppy.craw_cmd.track=0;
raw_cmd2972drivers/block/floppy.craw_cmd.cmd_count=0;