tag | line | file | source code |
fdc | 213 | drivers/block/floppy.c | #define REVDRIVE(fdc, unit) ((unit) + ((fdc) << 2)) |
fdc | 218 | drivers/block/floppy.c | #define FDCS (&fdc_state[fdc]) |
fdc | 507 | drivers/block/floppy.c | static int fdc; /* current fdc */ |
fdc | 648 | drivers/block/floppy.c | int fdc=FDC(drive); |
fdc | 654 | drivers/block/floppy.c | fdc != FDC(drive)){ |
fdc | 701 | drivers/block/floppy.c | static int set_dor(int fdc, char mask, char data) |
fdc | 713 | drivers/block/floppy.c | drive = REVDRIVE(fdc,unit); |
fdc | 726 | drivers/block/floppy.c | drive = REVDRIVE(fdc,unit); |
fdc | 757 | drivers/block/floppy.c | if (FDC(drive) == fdc && |
fdc | 766 | drivers/block/floppy.c | fdc = FDC(drive); |
fdc | 769 | drivers/block/floppy.c | if (fdc != 1 && fdc != 0) { |
fdc | 773 | drivers/block/floppy.c | set_dor(fdc,~0,8); |
fdc | 774 | drivers/block/floppy.c | set_dor(1-fdc, ~8, 0); |
fdc | 849 | drivers/block/floppy.c | register int fdc=FDC(drive); |
fdc | 885 | drivers/block/floppy.c | if (!(set_dor(fdc, ~3, UNIT(drive) | (0x10 << UNIT(drive))) & |
fdc | 889 | drivers/block/floppy.c | set_dor(fdc, ~(0x10 << UNIT(drive)), 0); |
fdc | 1081 | drivers/block/floppy.c | status, fdc, i); |
fdc | 1472 | drivers/block/floppy.c | set_dor(fdc, ~(0x10 << UNIT(current_drive)), 0); |
fdc | 1597 | drivers/block/floppy.c | if (fdc >= N_FDC || FDCS->address == -1){ |
fdc | 1600 | drivers/block/floppy.c | printk("floppy interrupt on bizarre fdc %d\n",fdc); |
fdc | 1766 | drivers/block/floppy.c | set_dor(fdc, mask, data); |
fdc | 2965 | drivers/block/floppy.c | if (FDC(drive) != fdc) |
fdc | 3632 | drivers/block/floppy.c | printk("FDC %d is a 8272A\n",fdc); |
fdc | 3637 | drivers/block/floppy.c | fdc, r); |
fdc | 3643 | drivers/block/floppy.c | printk("FDC %d is a 82072\n",fdc); |
fdc | 3648 | drivers/block/floppy.c | fdc, r); |
fdc | 3654 | drivers/block/floppy.c | printk("FDC %d is a pre-1991 82077\n", fdc); |
fdc | 3659 | drivers/block/floppy.c | fdc, r); |
fdc | 3666 | drivers/block/floppy.c | fdc, r); |
fdc | 3670 | drivers/block/floppy.c | printk("FDC %d is a post-1991 82077\n",fdc); |
fdc | 3678 | drivers/block/floppy.c | printk("FDC %d init: SAVE: unexpected return of %d bytes.\n",fdc,r); |
fdc | 3682 | drivers/block/floppy.c | printk("FDC %d is a 3Volt 82078SL.\n",fdc); |
fdc | 3686 | drivers/block/floppy.c | printk("FDC %d is a 82078-1.\n",fdc); |
fdc | 3689 | drivers/block/floppy.c | printk("FDC %d is a 44pin 82078\n",fdc); |
fdc | 3692 | drivers/block/floppy.c | printk("FDC %d is a National Semiconductor PC87306\n",fdc); |
fdc | 3696 | drivers/block/floppy.c | fdc, reply_buffer[0] >> 5); |
fdc | 3857 | drivers/block/floppy.c | fdc = i; |
fdc | 3884 | drivers/block/floppy.c | fdc = i; |
fdc | 3915 | drivers/block/floppy.c | fdc=0; |
fdc | 3940 | drivers/block/floppy.c | fdc = i; |
fdc | 3958 | drivers/block/floppy.c | for (fdc = 0; fdc < N_FDC; fdc++) |
fdc | 3961 | drivers/block/floppy.c | fdc = 0; |
fdc | 4077 | drivers/block/floppy.c | int fdc; |
fdc | 4079 | drivers/block/floppy.c | for (fdc=0; fdc<2; fdc++) |
fdc | 11 | include/linux/fdreg.h | #define FD_IOPORT fdc_state[fdc].address |