Lines Matching refs:dma_wd

248     dma_wd.dma_mode_status = 0x80 | (reg);	\
250 __val = dma_wd.fdc_acces_seccount; \
260 dma_wd.dma_mode_status = 0x80 | (reg); \
262 dma_wd.fdc_acces_seccount = (val); \
473 dma_wd.fdc_speed = UDT->fdc_speed; in fd_select_drive()
794 dma_wd.fdc_speed = 0; /* always seek with 8 Mhz */; in fd_calibrate()
814 dma_wd.fdc_speed = SUDT->fdc_speed; in fd_calibrate_done()
838 dma_wd.fdc_speed = 0; /* always seek witch 8 Mhz */ in fd_seek()
862 dma_wd.fdc_speed = SUDT->fdc_speed; in fd_seek_done()
931 dma_wd.dma_lo = (unsigned char)paddr; in fd_rwsec()
934 dma_wd.dma_md = (unsigned char)paddr; in fd_rwsec()
940 dma_wd.dma_hi = (unsigned char)paddr; in fd_rwsec()
945 dma_wd.dma_mode_status = 0x90 | rwflag; in fd_rwsec()
947 dma_wd.dma_mode_status = 0x90 | (rwflag ^ 0x100); in fd_rwsec()
949 dma_wd.dma_mode_status = 0x90 | rwflag; in fd_rwsec()
953 dma_wd.fdc_acces_seccount = read_track ? SUDT->spt : 1; in fd_rwsec()
958 dma_wd.dma_mode_status = FDCSELREG_STP | rwflag; in fd_rwsec()
961 dma_wd.fdc_acces_seccount = in fd_rwsec()
1008 addr = dma_wd.dma_lo & 0xff; in fd_readtrack_check()
1010 addr |= (dma_wd.dma_md & 0xff) << 8; in fd_readtrack_check()
1015 addr |= (dma_wd.dma_hi & 0xff) << 16; in fd_readtrack_check()
1071 dma_wd.dma_mode_status = 0x90; in fd_rwsec_done1()
1073 if (!(dma_wd.dma_mode_status & 0x01)) { in fd_rwsec_done1()
1113 dma_wd.fdc_speed = SUDT->fdc_speed; in fd_rwsec_done1()
1198 dma_wd.dma_lo = (unsigned char)paddr; in fd_writetrack()
1201 dma_wd.dma_md = (unsigned char)paddr; in fd_writetrack()
1207 dma_wd.dma_hi = (unsigned char)paddr; in fd_writetrack()
1212 dma_wd.dma_mode_status = 0x190; in fd_writetrack()
1214 dma_wd.dma_mode_status = 0x90; in fd_writetrack()
1216 dma_wd.dma_mode_status = 0x190; in fd_writetrack()
1220 dma_wd.fdc_acces_seccount = BUFFER_SIZE/512; in fd_writetrack()
1224 dma_wd.dma_mode_status = FDCSELREG_STP | 0x100; in fd_writetrack()
1227 dma_wd.fdc_acces_seccount = FDCCMD_WRTRA | get_head_settle_flag(); in fd_writetrack()
1852 dma_wd.fdc_speed = 0; in config_types()