Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/block/
Dfloppy.c583 static struct floppy_fdc_state fdc_state[N_FDC]; variable
597 return fd_inb(fdc_state[fdc].address, reg); in fdc_inb()
602 fd_outb(value, fdc_state[fdc].address, reg); in fdc_outb()
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()
800 if (fdc_state[fdc].address == -1) in set_dor()
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()
[all …]