fdc 66 arch/arm/include/asm/floppy.h new_dor = (new_dor & 0x0c) | floppy_selects[fdc][new_dor & 3]; \ fdc 106 arch/arm/include/asm/floppy.h floppy_selects[fdc][i] = floppy_selects[fdc][i + 1]; fdc 107 arch/arm/include/asm/floppy.h floppy_selects[fdc][3] = 0; fdc 236 drivers/block/floppy.c static int set_dor(int fdc, char mask, char data); fdc 307 drivers/block/floppy.c #define REVDRIVE(fdc, unit) ((unit) + ((fdc) << 2)) fdc 312 drivers/block/floppy.c #define FDCS (&fdc_state[fdc]) fdc 596 drivers/block/floppy.c static int fdc; /* current fdc */ fdc 741 drivers/block/floppy.c int fdc = FDC(drive); fdc 746 drivers/block/floppy.c (FDCS->dor & 3) != UNIT(drive) || fdc != FDC(drive)) { fdc 795 drivers/block/floppy.c static int set_dor(int fdc, char mask, char data) fdc 810 drivers/block/floppy.c drive = REVDRIVE(fdc, unit); fdc 820 drivers/block/floppy.c drive = REVDRIVE(fdc, unit); fdc 849 drivers/block/floppy.c if (FDC(drive) == fdc && (mode || UDRS->track != NEED_1_RECAL)) fdc 856 drivers/block/floppy.c unsigned int new_fdc = fdc; fdc 866 drivers/block/floppy.c fdc = new_fdc; fdc 867 drivers/block/floppy.c set_dor(fdc, ~0, 8); fdc 869 drivers/block/floppy.c set_dor(1 - fdc, ~8, 0); fdc 925 drivers/block/floppy.c int fdc = FDC(drive); fdc 964 drivers/block/floppy.c if (!(set_dor(fdc, ~3, UNIT(drive) | (0x10 << UNIT(drive))) & fdc 968 drivers/block/floppy.c set_dor(fdc, ~(0x10 << UNIT(drive)), 0); fdc 1116 drivers/block/floppy.c DPRINT("Getstatus times out (%x) on fdc %d\n", status, fdc); fdc 1142 drivers/block/floppy.c byte, fdc, status); fdc 1171 drivers/block/floppy.c fdc, status, i); fdc 1597 drivers/block/floppy.c set_dor(fdc, ~(0x10 << UNIT(current_drive)), 0); fdc 1696 drivers/block/floppy.c if (fdc >= N_FDC || FDCS->address == -1) { fdc 1699 drivers/block/floppy.c pr_info("floppy interrupt on bizarre fdc %d\n", fdc); fdc 1886 drivers/block/floppy.c set_dor(fdc, mask, data); fdc 3185 drivers/block/floppy.c if (FDC(drive) != fdc) fdc 4267 drivers/block/floppy.c pr_info("FDC %d is an 8272A\n", fdc); fdc 4272 drivers/block/floppy.c fdc, r); fdc 4277 drivers/block/floppy.c pr_info("FDC %d is an 82072\n", fdc); fdc 4285 drivers/block/floppy.c pr_info("FDC %d is an 82072A\n", fdc); fdc 4292 drivers/block/floppy.c pr_info("FDC %d is a pre-1991 82077\n", fdc); fdc 4298 drivers/block/floppy.c fdc, r); fdc 4305 drivers/block/floppy.c fdc, r); fdc 4309 drivers/block/floppy.c pr_info("FDC %d is a post-1991 82077\n", fdc); fdc 4315 drivers/block/floppy.c pr_info("FDC %d is an 82078.\n", fdc); fdc 4318 drivers/block/floppy.c pr_info("FDC %d is a 44pin 82078\n", fdc); fdc 4321 drivers/block/floppy.c pr_info("FDC %d is a S82078B\n", fdc); fdc 4324 drivers/block/floppy.c pr_info("FDC %d is a National Semiconductor PC87306\n", fdc); fdc 4328 drivers/block/floppy.c fdc, reply_buffer[0] >> 5); fdc 4491 drivers/block/floppy.c int fdc; fdc 4493 drivers/block/floppy.c for (fdc = 0; fdc < N_FDC; fdc++) fdc 4604 drivers/block/floppy.c fdc = i; fdc 4628 drivers/block/floppy.c fdc = 0; /* reset fdc in case of unexpected interrupt */ fdc 4655 drivers/block/floppy.c fdc = i; fdc 4664 drivers/block/floppy.c floppy_release_regions(fdc); fdc 4673 drivers/block/floppy.c floppy_release_regions(fdc); fdc 4687 drivers/block/floppy.c fdc = 0; fdc 4779 drivers/block/floppy.c static void floppy_release_allocated_regions(int fdc, const struct io_region *p) fdc 4789 drivers/block/floppy.c static int floppy_request_regions(int fdc) fdc 4798 drivers/block/floppy.c floppy_release_allocated_regions(fdc, p); fdc 4805 drivers/block/floppy.c static void floppy_release_regions(int fdc) fdc 4807 drivers/block/floppy.c floppy_release_allocated_regions(fdc, ARRAY_END(io_regions)); fdc 4839 drivers/block/floppy.c for (fdc = 0; fdc < N_FDC; fdc++) { fdc 4841 drivers/block/floppy.c if (floppy_request_regions(fdc)) fdc 4845 drivers/block/floppy.c for (fdc = 0; fdc < N_FDC; fdc++) { fdc 4851 drivers/block/floppy.c fdc = 0; fdc 4854 drivers/block/floppy.c for (fdc = 0; fdc < N_FDC; fdc++) fdc 4861 drivers/block/floppy.c fdc = 0; fdc 4867 drivers/block/floppy.c while (--fdc >= 0) fdc 4868 drivers/block/floppy.c floppy_release_regions(fdc); fdc 4916 drivers/block/floppy.c old_fdc = fdc; fdc 4917 drivers/block/floppy.c for (fdc = 0; fdc < N_FDC; fdc++) fdc 4919 drivers/block/floppy.c floppy_release_regions(fdc); fdc 4920 drivers/block/floppy.c fdc = old_fdc; fdc 2606 drivers/net/ethernet/jme.c int rc, fdc = 0; fdc 2619 drivers/net/ethernet/jme.c fdc = 1; fdc 2626 drivers/net/ethernet/jme.c if (fdc) fdc 11 include/uapi/linux/fdreg.h #define FD_IOPORT fdc_state[fdc].address