Lines Matching refs:dor
739 if (!(fdc_state[fdc].dor & (0x10 << UNIT(drive))) || in disk_change()
740 (fdc_state[fdc].dor & 3) != UNIT(drive) || fdc != FDC(drive)) { in disk_change()
743 (unsigned int)fdc_state[fdc].dor); in disk_change()
782 static inline int is_selected(int dor, int unit) in is_selected() argument
784 return ((dor & (0x10 << unit)) && (dor & 3) == unit); in is_selected()
803 olddor = fdc_state[fdc].dor; in set_dor()
813 fdc_state[fdc].dor = newdor; in set_dor()
829 fdc_outb(fdc_state[fdc].dor & ~(0x10 << UNIT(drive)), in twaddle()
831 fdc_outb(fdc_state[fdc].dor, fdc, FD_DOR); in twaddle()
938 if (!(fdc_state[fdc].dor & (0x10 << UNIT(drive)))) in floppy_off()
1728 pr_info("DOR0=%x\n", fdc_state[0].dor); in floppy_interrupt()
1820 fdc_outb(fdc_state[current_fdc].dor & ~0x04, current_fdc, FD_DOR); in reset_fdc()
1822 fdc_outb(fdc_state[current_fdc].dor, current_fdc, FD_DOR); in reset_fdc()
1906 if (!(fdc_state[current_fdc].dor & (0x10 << UNIT(current_drive)))) { in start_motor()
1914 } else if (fdc_state[current_fdc].dor & (0x10 << UNIT(current_drive))) in start_motor()
3629 unsigned char dor; member
3830 v32.dor = v.dor; in compat_getfdcstat()
4626 fdc_state[i].dor = 0x4; in do_floppy_init()
4867 fdc_outb(fdc_state[fdc].dor, fdc, FD_DOR); in floppy_grab_irq_and_dma()
4875 fdc_outb(fdc_state[fdc].dor, fdc, FD_DOR); in floppy_grab_irq_and_dma()