Home
last modified time | relevance | path

Searched refs:fdc_state (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/block/
Dfloppy.c584 static struct floppy_fdc_state fdc_state[N_FDC]; variable
598 return fd_inb(fdc_state[fdc].address, reg); in fdc_inb()
603 fd_outb(value, fdc_state[fdc].address, reg); in fdc_outb()
740 if (!(fdc_state[fdc].dor & (0x10 << UNIT(drive))) || in disk_change()
741 (fdc_state[fdc].dor & 3) != UNIT(drive) || fdc != FDC(drive)) { in disk_change()
744 (unsigned int)fdc_state[fdc].dor); in disk_change()
801 if (fdc_state[fdc].address == -1) in set_dor()
804 olddor = fdc_state[fdc].dor; in set_dor()
814 fdc_state[fdc].dor = newdor; in set_dor()
830 fdc_outb(fdc_state[fdc].dor & ~(0x10 << UNIT(drive)), in twaddle()
[all …]