Lines Matching refs:dma_wd
316 dma_wd.dma_mode_status = 0x80 | (reg); \
318 __val = dma_wd.fdc_acces_seccount; \
328 dma_wd.dma_mode_status = 0x80 | (reg); \
330 dma_wd.fdc_acces_seccount = (val); \
531 dma_wd.fdc_speed = UDT->fdc_speed; in fd_select_drive()
860 dma_wd.fdc_speed = 0; /* always seek with 8 Mhz */ in fd_calibrate()
880 dma_wd.fdc_speed = SUDT->fdc_speed; in fd_calibrate_done()
904 dma_wd.fdc_speed = 0; /* always seek witch 8 Mhz */ in fd_seek()
928 dma_wd.fdc_speed = SUDT->fdc_speed; in fd_seek_done()
996 dma_wd.dma_lo = (unsigned char)paddr; in fd_rwsec()
999 dma_wd.dma_md = (unsigned char)paddr; in fd_rwsec()
1005 dma_wd.dma_hi = (unsigned char)paddr; in fd_rwsec()
1010 dma_wd.dma_mode_status = 0x90 | rwflag; in fd_rwsec()
1012 dma_wd.dma_mode_status = 0x90 | (rwflag ^ 0x100); in fd_rwsec()
1014 dma_wd.dma_mode_status = 0x90 | rwflag; in fd_rwsec()
1018 dma_wd.fdc_acces_seccount = read_track ? SUDT->spt : 1; in fd_rwsec()
1023 dma_wd.dma_mode_status = FDCSELREG_STP | rwflag; in fd_rwsec()
1026 dma_wd.fdc_acces_seccount = in fd_rwsec()
1072 addr = dma_wd.dma_lo & 0xff; in fd_readtrack_check()
1074 addr |= (dma_wd.dma_md & 0xff) << 8; in fd_readtrack_check()
1079 addr |= (dma_wd.dma_hi & 0xff) << 16; in fd_readtrack_check()
1135 dma_wd.dma_mode_status = 0x90; in fd_rwsec_done1()
1137 if (!(dma_wd.dma_mode_status & 0x01)) { in fd_rwsec_done1()
1179 dma_wd.fdc_speed = SUDT->fdc_speed; in fd_rwsec_done1()
1260 dma_wd.dma_lo = (unsigned char)paddr; in fd_writetrack()
1263 dma_wd.dma_md = (unsigned char)paddr; in fd_writetrack()
1269 dma_wd.dma_hi = (unsigned char)paddr; in fd_writetrack()
1274 dma_wd.dma_mode_status = 0x190; in fd_writetrack()
1276 dma_wd.dma_mode_status = 0x90; in fd_writetrack()
1278 dma_wd.dma_mode_status = 0x190; in fd_writetrack()
1282 dma_wd.fdc_acces_seccount = BUFFER_SIZE/512; in fd_writetrack()
1286 dma_wd.dma_mode_status = FDCSELREG_STP | 0x100; in fd_writetrack()
1289 dma_wd.fdc_acces_seccount = FDCCMD_WRTRA | get_head_settle_flag(); in fd_writetrack()
1853 dma_wd.fdc_speed = 0; in config_types()