/linux-4.1.27/arch/arm/include/asm/ |
H A D | floppy.h | 69 new_dor = (new_dor & 0x0c) | floppy_selects[fdc][new_dor & 3]; \ 109 floppy_selects[fdc][i] = floppy_selects[fdc][i + 1]; fd_scandrives() 110 floppy_selects[fdc][3] = 0; fd_scandrives()
|
/linux-4.1.27/arch/parisc/kernel/ |
H A D | pacache.S | 23 * NOTE: fdc,fic, and pdc instructions that use base register modification 874 1: fdc,m r31(%r28) 875 fdc,m r31(%r28) 876 fdc,m r31(%r28) 877 fdc,m r31(%r28) 878 fdc,m r31(%r28) 879 fdc,m r31(%r28) 880 fdc,m r31(%r28) 881 fdc,m r31(%r28) 882 fdc,m r31(%r28) 883 fdc,m r31(%r28) 884 fdc,m r31(%r28) 885 fdc,m r31(%r28) 886 fdc,m r31(%r28) 887 fdc,m r31(%r28) 888 fdc,m r31(%r28) 890 fdc,m r31(%r28) 1004 1: fdc,m %r23(%r26) 1005 fdc,m %r23(%r26) 1006 fdc,m %r23(%r26) 1007 fdc,m %r23(%r26) 1008 fdc,m %r23(%r26) 1009 fdc,m %r23(%r26) 1010 fdc,m %r23(%r26) 1011 fdc,m %r23(%r26) 1012 fdc,m %r23(%r26) 1013 fdc,m %r23(%r26) 1014 fdc,m %r23(%r26) 1015 fdc,m %r23(%r26) 1016 fdc,m %r23(%r26) 1017 fdc,m %r23(%r26) 1018 fdc,m %r23(%r26) 1020 fdc,m %r23(%r26) 1083 fdc,m %r23(%sr3, %r26) 1104 fdc,m %r23(%r26)
|
H A D | entry.S | 1321 * Non access misses can be caused by fdc,fic,pdc,lpa,probe and 1330 * emulate fdc,fic,pdc,probew,prober instructions whose base 1338 Checks for fdc,fdce,pdc,"fic,4f",prober,probeir,probew, probeiw */ 1340 /* Checks for fdc,fdce,pdc,"fic,4f" only */
|
H A D | traps.c | 666 fdc,fdce,pdc,"fic,4f",prober,probeir,probew, probeiw handle_interruption()
|
/linux-4.1.27/include/uapi/linux/ |
H A D | fdreg.h | 10 #define FD_IOPORT fdc_state[fdc].address 12 /* It would be a lot saner just to force fdc_state[fdc].address to always 34 #define STATUS_DIR 0x40 /* 0- cpu->fdc */ 82 #define FD_DUMPREGS 0x0E /* dump the contents of the fdc regs */ 95 #define FD_SAVE 0x2e /* save fdc regs for later restore */ 122 #define FDC_82078_1 0x61 /* 82078-1 (2Mbps fdc) */ 128 * Beware: the fdc type list is roughly sorted by increasing features.
|
H A D | fd.h | 106 /* set fdc error reporting threshold */ 347 #define FD_RAW_FAILURE 0x10000 /* command sent to fdc, fdc returned error */ 348 #define FD_RAW_HARDFAILURE 0x20000 /* fdc had to be reset, or timed out */ 371 /* send a raw command to the fdc. Structure size not included, because of
|
/linux-4.1.27/drivers/block/ |
H A D | floppy.c | 234 static int set_dor(int fdc, char mask, char data); 298 #define UNIT(x) ((x) & 0x03) /* drive on fdc */ 299 #define FDC(x) (((x) & 0x04) >> 2) /* fdc of drive */ 300 /* reverse mapping from unit and fdc to drive */ 301 #define REVDRIVE(fdc, unit) ((unit) + ((fdc) << 2)) 306 #define FDCS (&fdc_state[fdc]) 588 /* fdc related variables, should end up in a struct */ 590 static int fdc; /* current fdc */ variable 735 int fdc = FDC(drive); disk_change() local 740 (FDCS->dor & 3) != UNIT(drive) || fdc != FDC(drive)) { disk_change() 742 DPRINT("drive=%d fdc=%d dor=%x\n", drive, FDC(drive), disk_change() 789 static int set_dor(int fdc, char mask, char data) set_dor() argument 804 drive = REVDRIVE(fdc, unit); set_dor() 814 drive = REVDRIVE(fdc, unit); set_dor() 831 * Reset all driver information about the current fdc. 843 if (FDC(drive) == fdc && (mode || UDRS->track != NEED_1_RECAL)) reset_fdc_info() 847 /* selects the fdc and drive, and enables the fdc's input/dma. */ set_fdc() 851 fdc = FDC(drive); set_fdc() 854 if (fdc != 1 && fdc != 0) { set_fdc() 855 pr_info("bad fdc value\n"); set_fdc() 858 set_dor(fdc, ~0, 8); set_fdc() 860 set_dor(1 - fdc, ~8, 0); set_fdc() 872 "Trying to lock fdc while usage count=0\n")) lock_fdc() 880 reschedule_timeout(drive, "lock fdc"); lock_fdc() 912 int fdc = FDC(drive); floppy_off() local 951 if (!(set_dor(fdc, ~3, UNIT(drive) | (0x10 << UNIT(drive))) & scandrives() 955 set_dor(fdc, ~(0x10 << UNIT(drive)), 0); scandrives() 1089 /* waits until the fdc becomes ready */ wait_til_ready() 1103 DPRINT("Getstatus times out (%x) on fdc %d\n", status, fdc); wait_til_ready() 1110 /* sends a command byte to the fdc */ output_byte() 1129 byte, fdc, status); output_byte() 1135 /* gets the response from the fdc */ result() 1158 fdc, status, i); result() 1166 /* does the fdc need more output? */ need_more_output() 1587 set_dor(fdc, ~(0x10 << UNIT(current_drive)), 0); seek_floppy() 1686 if (fdc >= N_FDC || FDCS->address == -1) { floppy_interrupt() 1689 pr_info("floppy interrupt on bizarre fdc %d\n", fdc); floppy_interrupt() 1691 is_alive(__func__, "bizarre fdc"); floppy_interrupt() 1876 set_dor(fdc, mask, data); start_motor() 2909 /* fdc busy, this new request will be treated when the do_fd_request() 3182 if (FDC(drive) != fdc) raw_cmd_ioctl() 3904 pr_info("FDC %d is an 8272A\n", fdc); get_fdc_version() 3909 fdc, r); get_fdc_version() 3914 pr_info("FDC %d is an 82072\n", fdc); get_fdc_version() 3922 pr_info("FDC %d is an 82072A\n", fdc); get_fdc_version() 3929 pr_info("FDC %d is a pre-1991 82077\n", fdc); get_fdc_version() 3935 fdc, r); get_fdc_version() 3942 fdc, r); get_fdc_version() 3946 pr_info("FDC %d is a post-1991 82077\n", fdc); get_fdc_version() 3952 pr_info("FDC %d is an 82078.\n", fdc); get_fdc_version() 3955 pr_info("FDC %d is a 44pin 82078\n", fdc); get_fdc_version() 3958 pr_info("FDC %d is a S82078B\n", fdc); get_fdc_version() 3961 pr_info("FDC %d is a National Semiconductor PC87306\n", fdc); get_fdc_version() 3965 fdc, reply_buffer[0] >> 5); get_fdc_version() 4128 int fdc; floppy_resume() local 4130 for (fdc = 0; fdc < N_FDC; fdc++) floppy_resume() 4234 fdc = i; do_floppy_init() 4258 fdc = 0; /* reset fdc in case of unexpected interrupt */ do_floppy_init() 4285 fdc = i; do_floppy_init() 4294 floppy_release_regions(fdc); do_floppy_init() 4303 floppy_release_regions(fdc); do_floppy_init() 4317 fdc = 0; do_floppy_init() 4409 static void floppy_release_allocated_regions(int fdc, const struct io_region *p) floppy_release_allocated_regions() argument 4419 static int floppy_request_regions(int fdc) floppy_request_regions() argument 4428 floppy_release_allocated_regions(fdc, p); floppy_request_regions() 4435 static void floppy_release_regions(int fdc) floppy_release_regions() argument 4437 floppy_release_allocated_regions(fdc, ARRAY_END(io_regions)); floppy_release_regions() 4469 for (fdc = 0; fdc < N_FDC; fdc++) { floppy_grab_irq_and_dma() 4471 if (floppy_request_regions(fdc)) floppy_grab_irq_and_dma() 4475 for (fdc = 0; fdc < N_FDC; fdc++) { floppy_grab_irq_and_dma() 4481 fdc = 0; floppy_grab_irq_and_dma() 4484 for (fdc = 0; fdc < N_FDC; fdc++) floppy_grab_irq_and_dma() 4491 fdc = 0; floppy_grab_irq_and_dma() 4497 while (--fdc >= 0) floppy_grab_irq_and_dma() 4498 floppy_release_regions(fdc); floppy_grab_irq_and_dma() 4546 old_fdc = fdc; floppy_release_irq_and_dma() 4547 for (fdc = 0; fdc < N_FDC; fdc++) floppy_release_irq_and_dma() 4549 floppy_release_regions(fdc); floppy_release_irq_and_dma() 4550 fdc = old_fdc; floppy_release_irq_and_dma()
|
/linux-4.1.27/drivers/parisc/ |
H A D | sba_iommu.c | 589 asm volatile("fdc %%r0(%0)" : : "r" (pdir_ptr)); sba_io_pdir_entry() 643 asm volatile("fdc %%r0(%0)" : : "r" (pdir_ptr)); sba_mark_invalid() 663 asm volatile("fdc %%r0(%0)" : : "r" (pdir_ptr)); sba_mark_invalid() 840 /* If fdc's were issued, force fdc's to be visible now */ sba_unmap_single()
|
H A D | ccio-dma.c | 616 asm volatile("fdc %%r0(%0)" : : "r" (pdir_ptr)); ccio_io_pdir_entry() 687 asm volatile("fdc %%r0(%0)" : : "r" (pdir_ptr[7])); ccio_mark_invalid()
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | entry.S | 65 * %l3 -- base address of fdc registers 79 /* Load fdc register base */
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | setup-common.c | 647 np = of_find_node_by_type(NULL, "fdc"); check_legacy_ioport()
|
/linux-4.1.27/drivers/net/ethernet/ |
H A D | jme.c | 2677 int rc, fdc = 0; jme_set_settings() local 2690 fdc = 1; jme_set_settings() 2697 if (fdc) jme_set_settings()
|
/linux-4.1.27/drivers/tty/ |
H A D | mips_ejtag_fdc.c | 396 .name = "fdc",
|
/linux-4.1.27/drivers/hwmon/ |
H A D | w83627ehf.c | 1993 /* On NCT6775, fan4 shares pins with the fdc interface */ w83627ehf_check_fan_inputs()
|
H A D | nct6775.c | 3199 /* On NCT6775, fan4 shares pins with the fdc interface */ nct6775_check_fan_inputs()
|