/linux-4.1.27/arch/alpha/kernel/ |
H A D | smc37c93x.c | 36 #define FDC 0 macro 61 #define DMA_CHANNEL_SEL 0x74 /* FDC/PARP only */ 190 outb(FDC, dataPort); SMCEnableFDC() 221 printk(currentControl & (1 << FDC) SMCReportDeviceStatus() 222 ? "\t+FDC Enabled\n" : "\t-FDC Disabled\n"); SMCReportDeviceStatus() 259 DBG_DEVS(("SMC FDC37C93X: FDC done\n")); SMC93x_Init()
|
H A D | smc37c669.c | 239 unsigned fdc_pwr : 1; /* 1 = supply power to FDC */ 373 unsigned swap_drv : 1; /* Swap the FDC motor selects */ 555 unsigned test_10ms : 1; /* Test 10ms autopowerdown FDC timeout */ 611 ** FDC Base Address Register 620 unsigned addr9_4 : 6; /* FDC Addr<9:4> */ 708 ** Parallel Port / FDC DMA Select Register 730 ** Parallel Port / FDC IRQ Select Register
|
/linux-4.1.27/drivers/tty/ |
H A D | mips_ejtag_fdc.c | 38 #define REG_FDACSR 0x00 /* FDC Access Control and Status Register */ 39 #define REG_FDCFG 0x08 /* FDC Configuration Register */ 40 #define REG_FDSTAT 0x10 /* FDC Status Register */ 41 #define REG_FDRX 0x18 /* FDC Receive Register */ 42 #define REG_FDTX(N) (0x20+0x8*(N)) /* FDC Transmit Register n (0..15) */ 82 * When the IRQ is unavailable, the FDC state must be polled for incoming data 90 * struct mips_ejtag_fdc_tty_port - Wrapper struct for FDC tty_port. 120 * struct mips_ejtag_fdc_tty - Driver data for FDC as a whole. 121 * @dev: FDC device (for dev_*() logging). 123 * @cpu: CPU number for this FDC. 124 * @fdc_name: FDC name (not for base of channel names). 130 * @thread: KThread for writing out data to FDC. 131 * @reg: FDC registers. 186 /* Encoding of byte stream in FDC words */ 189 * struct fdc_word - FDC word encoding some number of bytes of data. 190 * @word: Raw FDC word. 204 * | FDC Word | | 286 * struct mips_ejtag_fdc_console - Wrapper struct for FDC consoles. 326 /* Already tried and failed to find FDC on this CPU? */ mips_ejtag_fdc_console_write() 368 /* Initialise an FDC console (early or normal */ mips_ejtag_fdc_console_init() 379 /* Look for the FDC device */ mips_ejtag_fdc_console_init() 479 * mips_ejtag_fdc_put() - Kernel thread to write out channel data to FDC. 483 * channels writing out blocks of buffered data to the FDC TX FIFO. 553 * mips_ejtag_fdc_handle() - Handle FDC events. 556 * Handle FDC events, such as new incoming data which needs draining out of the 568 /* Find which channel the next FDC word is destined for */ mips_ejtag_fdc_handle() 575 /* Read out the FDC word, decode it, and pass to tty layer */ mips_ejtag_fdc_handle() 647 * It simply triggers the common FDC handler code. 649 * Returns: IRQ_HANDLED if an FDC interrupt was pending. 662 * have something with a GIC that routes the FDC IRQs (i.e. no sharing mips_ejtag_fdc_isr() 668 /* If no FDC interrupt pending, it wasn't for us */ mips_ejtag_fdc_isr() 677 * mips_ejtag_fdc_tty_timer() - Poll FDC for incoming data. 681 * FDC state is required. 683 * It simply triggers the common FDC handler code and arranges for further 915 /* Make each port's xmit FIFO big enough to fill FDC TX FIFO */ mips_ejtag_fdc_tty_probe() 969 /* Look for an FDC IRQ */ mips_ejtag_fdc_tty_probe() 977 * IRQF_SHARED, IRQF_NO_SUSPEND: The FDC IRQ may be shared with mips_ejtag_fdc_tty_probe() 981 * IRQF_NO_THREAD: The FDC IRQ isn't individually maskable so it mips_ejtag_fdc_tty_probe() 1206 /* Already tried and failed to find FDC on this CPU? */ kgdbfdc_setup() 1213 /* read a character from the read buffer, filling from FDC RX FIFO */ kgdbfdc_read_char() 1219 /* No more data, try and read another FDC word from RX FIFO */ kgdbfdc_read_char() 1249 /* push an FDC word from write buffer to TX FIFO */ kgdbfdc_push_one()
|
/linux-4.1.27/include/uapi/linux/ |
H A D | fdreg.h | 32 #define STATUS_BUSY 0x10 /* FDC busy */ 101 #define FD_POWERDOWN 0x27 /* configure FDC's powersave features */ 110 /* FDC version return types */ 115 #define FDC_765ED 0x30 /* Non-Intel 1MB-compatible FDC, can't detect */ 129 * Presence of features is tested by comparing the FDC version id with the 131 * If during FDC detection, an obscure test fails late in the sequence, don't 132 * assign FDC_UNKNOWN. Else the FDC will be treated as a dumb 8272a, or worse.
|
H A D | fd.h | 97 * Threshold for reporting FDC errors to the console. 171 * used in succession to try to read the disk. If the FDC cannot lock onto 241 * reset FDC 252 * FDC state 258 unsigned char version; /* FDC version code */ 276 /* Position of the heads of the 4 units attached to this FDC, 277 * as stored on the FDC. In the future, the position as stored 278 * on the FDC might not agree with the actual physical 280 * disagreement, it will be possible to reset the FDC without
|
/linux-4.1.27/arch/mips/include/asm/dec/ |
H A D | kn02ca.h | 30 #define KN02CA_IO_INR_FLOPPY 15 /* 82077 FDC */ 70 #define KN03CA_IO_SSR_FLOPPY_RST (1<<7) /* ~FDC (82077) reset */
|
H A D | interrupts.h | 32 #define DEC_IRQ_FLOPPY 5 /* 82077 FDC */ 53 #define DEC_IRQ_FLOPPY_ERR 24 /* FDC error */
|
H A D | ioasic_addrs.h | 40 #define IOASIC_FLOPPY (11*IOASIC_SLOT_SIZE) /* FDC (maxine) */ 42 #define IOASIC_FDC_DMA (13*IOASIC_SLOT_SIZE) /* FDC DMA (maxine) */
|
H A D | ioasic_ints.h | 53 #define IO_INR_FLOPPY_ERR 23 /* FDC error */
|
/linux-4.1.27/arch/arm/include/asm/ |
H A D | floppy.h | 97 * Set up FDC fd_scandrives() 101 * Tell FDC to recalibrate fd_scandrives()
|
/linux-4.1.27/arch/m68k/include/asm/ |
H A D | atafdreg.h | 63 #define FDCSTAT_BUSY (0x01) /* FDC is busy */
|
H A D | atarihw.h | 85 ATARIHW_DECLARE(FDCSPEED); /* 8/16 MHz switch for FDC */
|
/linux-4.1.27/arch/mips/kernel/ |
H A D | idle.c | 182 * Incoming Fast Debug Channel (FDC) data during a wait check_wait() 184 * interrupt is received. Avoid using wait at all if FDC data is check_wait()
|
H A D | cevt-r4k.c | 94 * such as perf counter and FDC interrupts.
|
/linux-4.1.27/arch/mips/include/asm/mach-generic/ |
H A D | floppy.h | 27 * How to access the FDC's registers.
|
/linux-4.1.27/drivers/block/ |
H A D | ataflop.c | 32 * the FDC will otherwise wait forever when no disk is inserted... 35 * - MFPDELAY() after each FDC access -> atari 303 /* Synchronization of FDC access. */ 425 /* Select a drive, update the FDC's track register and set the correct 477 /* This timer function deselects the drives when the FDC switched the 478 * motor off. The deselection cannot happen earlier because the FDC 496 /* motor already turned off by FDC -> deselect drives */ fd_motor_off_timer() 505 * in the drive and the FDC will leave the motor on forever (or, fd_motor_off_timer() 594 DPRINT(("FDC irq, status = %02x handler = %08lx\n",status,(unsigned long)handler)); floppy_irq() 598 DPRINT(("FDC irq, no handler\n")); floppy_irq() 956 * then check if all sectors are read. The FDC will even fd_rwsec() 1003 /* already read enough data, force an FDC interrupt to stop fd_readtrack_check() 1013 /* No error until now -- the FDC would have interrupted fd_readtrack_check() 1068 /* RECNF is no error after a multiple read when the FDC fd_rwsec_done1() 1262 * FDC status register accessible for check_change. If the last disk 1773 /* force interrupt to abort restore operation (FDC would try fd_test_drive_present() 1802 /* for probing drives, set the FDC speed to 8 MHz */ config_types() 1816 /* If FDC is still busy from probing, give it another FORCI config_types() 1817 * command to abort the operation. If this isn't done, the FDC config_types()
|
H A D | floppy.c | 45 * FDC data overrun bug, added some preliminary stuff for vertical 299 #define FDC(x) (((x) & 0x04) >> 2) /* fdc of drive */ macro 311 #define UFDCS (&fdc_state[FDC(drive)]) 508 /* Synchronization of FDC access. */ 735 int fdc = FDC(drive); disk_change() 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() 843 if (FDC(drive) == fdc && (mode || UDRS->track != NEED_1_RECAL)) reset_fdc_info() 851 fdc = FDC(drive); set_fdc() 889 DPRINT("FDC access conflict!\n"); unlock_fdc() 905 set_dor(FDC(nr), mask, 0); motor_off_callback() 912 int fdc = FDC(drive); floppy_off() 1128 DPRINT("Unable to send byte %x to FDC. Fdc=%x Status=%x\n", output_byte() 1216 DPRINT("perpendicular mode not supported by this FDC.\n"); perpendicular_mode() 1243 * FDC types. This parameter is ignored for other types of FDCs (i.e. 1333 /* Set the FDC's data transfer rate on behalf of the specified drive. 1346 /* TODO: some FDC/drive combinations (C&T 82C711 with TEAC 1.2MB) fdc_dtr() 1403 DPRINT("-- FDC reply error\n"); interpret_errors() 1433 DPRINT("Invalid FDC command given!\n"); interpret_errors() 1687 /* we don't even know which FDC is the culprit */ floppy_interrupt() 3182 if (FDC(drive) != fdc) raw_cmd_ioctl() 3902 return FDC_NONE; /* No FDC present ??? */ get_fdc_version() 3904 pr_info("FDC %d is an 8272A\n", fdc); get_fdc_version() 3908 pr_info("FDC %d init: DUMPREGS: unexpected return of %d bytes.\n", 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() 3934 pr_info("FDC %d init: UNLOCK: unexpected return of %d bytes.\n", get_fdc_version() 3941 pr_info("FDC %d init: PARTID: unexpected return of %d bytes.\n", 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() 3964 pr_info("FDC %d init: 82078 variant with unknown PARTID=%d.\n", get_fdc_version() 4155 if (fdc_state[FDC(drive)].version == FDC_NONE) floppy_available() 4312 * properly, so force a reset for the standard FDC clones, do_floppy_init() 4606 fdc_state[FDC(drive)].version == FDC_NONE) floppy_module_exit()
|
H A D | amiflop.c | 153 /* Synchronization of FDC access */
|
/linux-4.1.27/arch/sh/boards/mach-se/770x/ |
H A D | setup.c | 33 /* FDC */ smsc_setup()
|
/linux-4.1.27/arch/parisc/mm/ |
H A D | fault.c | 74 * It resembles an FDC instruction, except for bits parisc_acctyp() 81 * The significance of bits 20,21 in the FDC parisc_acctyp()
|
/linux-4.1.27/arch/m68k/atari/ |
H A D | config.c | 416 * inhibit, read and write, FDC mask = 3, config_atari() 417 * FDC val = 4 -> Supervisor only */ config_atari() 644 ATARIHW_ANNOUNCE(FDCSPEED, "8/16 Mhz Switch for FDC"); atari_get_hardware_list()
|
/linux-4.1.27/drivers/parisc/ |
H A D | lasi.c | 82 gsc_writel(0xFFFFFFFF, lasi_base+0xA000); /* FDC */ lasi_init_irq()
|
H A D | superio.c | 58 * 0x5A: FDC, SP1, IDE1, SP2, IDE2, PAR, Reserved, P92
|
H A D | ccio-dma.c | 605 /* FIXME: PCX_W platforms don't need FDC/SYNC. (eg C360) ccio_io_pdir_entry() 680 ** FIXME: PCX_W platforms don't need FDC/SYNC. (eg C360) ccio_mark_invalid() 685 ** FDC/SYNC out at boot time. ccio_mark_invalid()
|
H A D | sba_iommu.c | 769 /* force FDC ops in io_pdir_entry() to be visible to IOMMU */ sba_map_single() 988 /* force FDC ops in io_pdir_entry() to be visible to IOMMU */ sba_map_sg() 1760 printk(KERN_INFO MODULE_NAME " FDC/SYNC required.\n"); sba_common_init()
|
/linux-4.1.27/drivers/parport/ |
H A D | probe.c | 26 { "FDC", "Floppy disk" },
|
/linux-4.1.27/drivers/irqchip/ |
H A D | irq-mips-gic.c | 254 /* Is the FDC IRQ even present? */ gic_get_c0_fdc_int() 261 * Some cores claim the FDC is routable but it doesn't actually seem to gic_get_c0_fdc_int()
|
/linux-4.1.27/drivers/watchdog/ |
H A D | eurotechwdt.c | 45 * of the on-board SUPER I/O device SMSC FDC 37B782.
|
/linux-4.1.27/arch/mips/jazz/ |
H A D | jazzdma.c | 431 * to set a PC-style DMA controller. For the SCSI and FDC
|
/linux-4.1.27/arch/arm/mach-footbridge/ |
H A D | netwinder-hw.c | 148 * Power down FDC (not used) wb977_init_global()
|
/linux-4.1.27/drivers/net/irda/ |
H A D | smsc-ircc2.c | 2151 type = "FDC"; smsc_ircc_look_for_chips() 2359 if (!smsc_superio_flat(fdc_chips_flat, cfg_base, "FDC") || smsc_superio_fdc() 2360 !smsc_superio_paged(fdc_chips_paged, cfg_base, "FDC")) smsc_superio_fdc() 2601 outb(LPC47N227_FDCPOWERVALIDCONF_REG, iobase); // CR00 - FDC Power/valid config cycle preconfigure_smsc_chip()
|
/linux-4.1.27/drivers/bus/ |
H A D | mips_cdmm.c | 423 * example to configure an early FDC console device.
|
/linux-4.1.27/arch/m68k/fpsp040/ |
H A D | setox.S | 665 | MOVE.W #$3FDC,L2 ...prefetch L2 in CB mode
|
/linux-4.1.27/drivers/scsi/ |
H A D | fdomain.c | 137 "TMC-1800 SCSI Chip Specification (FDC-1800T)", Future Domain Corporation,
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_type.h | 715 #define IXGBE_RNBC(_i) (0x03FC0 + ((_i) * 4)) /* 8 of these 3FC0-3FDC*/
|