tag | line | file | source code |
fdc | 214 | drivers/block/floppy.c | #define REVDRIVE(fdc, unit) ((unit) + ((fdc) << 2)) |
fdc | 219 | drivers/block/floppy.c | #define FDCS (&fdc_state[fdc]) |
fdc | 508 | drivers/block/floppy.c | static int fdc; /* current fdc */ |
fdc | 649 | drivers/block/floppy.c | int fdc=FDC(drive); |
fdc | 655 | drivers/block/floppy.c | fdc != FDC(drive)){ |
fdc | 702 | drivers/block/floppy.c | static int set_dor(int fdc, char mask, char data) |
fdc | 714 | drivers/block/floppy.c | drive = REVDRIVE(fdc,unit); |
fdc | 727 | drivers/block/floppy.c | drive = REVDRIVE(fdc,unit); |
fdc | 758 | drivers/block/floppy.c | if (FDC(drive) == fdc && |
fdc | 767 | drivers/block/floppy.c | fdc = FDC(drive); |
fdc | 770 | drivers/block/floppy.c | if (fdc != 1 && fdc != 0) { |
fdc | 774 | drivers/block/floppy.c | set_dor(fdc,~0,8); |
fdc | 775 | drivers/block/floppy.c | set_dor(1-fdc, ~8, 0); |
fdc | 850 | drivers/block/floppy.c | register int fdc=FDC(drive); |
fdc | 886 | drivers/block/floppy.c | if (!(set_dor(fdc, ~3, UNIT(drive) | (0x10 << UNIT(drive))) & |
fdc | 890 | drivers/block/floppy.c | set_dor(fdc, ~(0x10 << UNIT(drive)), 0); |
fdc | 1082 | drivers/block/floppy.c | status, fdc, i); |
fdc | 1473 | drivers/block/floppy.c | set_dor(fdc, ~(0x10 << UNIT(current_drive)), 0); |
fdc | 1598 | drivers/block/floppy.c | if (fdc >= N_FDC || FDCS->address == -1){ |
fdc | 1601 | drivers/block/floppy.c | printk("floppy interrupt on bizarre fdc %d\n",fdc); |
fdc | 1767 | drivers/block/floppy.c | set_dor(fdc, mask, data); |
fdc | 2966 | drivers/block/floppy.c | if (FDC(drive) != fdc) |
fdc | 3630 | drivers/block/floppy.c | printk("FDC %d is a 8272A\n",fdc); |
fdc | 3635 | drivers/block/floppy.c | fdc, r); |
fdc | 3641 | drivers/block/floppy.c | printk("FDC %d is a 82072\n",fdc); |
fdc | 3646 | drivers/block/floppy.c | fdc, r); |
fdc | 3652 | drivers/block/floppy.c | printk("FDC %d is a pre-1991 82077\n", fdc); |
fdc | 3657 | drivers/block/floppy.c | fdc, r); |
fdc | 3664 | drivers/block/floppy.c | fdc, r); |
fdc | 3668 | drivers/block/floppy.c | printk("FDC %d is a post-1991 82077\n",fdc); |
fdc | 3676 | drivers/block/floppy.c | printk("FDC %d init: SAVE: unexpected return of %d bytes.\n", fdc, r); |
fdc | 3680 | drivers/block/floppy.c | printk("FDC %d is a 3Volt 82078SL.\n",fdc); |
fdc | 3684 | drivers/block/floppy.c | printk("FDC %d is a 82078-1.\n",fdc); |
fdc | 3687 | drivers/block/floppy.c | printk("FDC %d is a 44pin 82078\n",fdc); |
fdc | 3690 | drivers/block/floppy.c | printk("FDC %d is a S82078B\n", fdc); |
fdc | 3693 | drivers/block/floppy.c | printk("FDC %d is a National Semiconductor PC87306\n", fdc); |
fdc | 3697 | drivers/block/floppy.c | fdc, reply_buffer[0] >> 5); |
fdc | 3858 | drivers/block/floppy.c | fdc = i; |
fdc | 3885 | drivers/block/floppy.c | fdc = i; |
fdc | 3916 | drivers/block/floppy.c | fdc=0; |
fdc | 3941 | drivers/block/floppy.c | fdc = i; |
fdc | 3959 | drivers/block/floppy.c | for (fdc = 0; fdc < N_FDC; fdc++) |
fdc | 3962 | drivers/block/floppy.c | fdc = 0; |
fdc | 4078 | drivers/block/floppy.c | int fdc; |
fdc | 4080 | drivers/block/floppy.c | for (fdc=0; fdc<2; fdc++) |
fdc | 11 | include/linux/fdreg.h | #define FD_IOPORT fdc_state[fdc].address |