Searched refs:FDC (Results 1 - 35 of 35) sorted by relevance

/linux-4.1.27/arch/alpha/kernel/
H A Dsmc37c93x.c36 #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 Dsmc37c669.c239 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 Dmips_ejtag_fdc.c38 #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 Dfdreg.h32 #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 Dfd.h97 * 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 Dkn02ca.h30 #define KN02CA_IO_INR_FLOPPY 15 /* 82077 FDC */
70 #define KN03CA_IO_SSR_FLOPPY_RST (1<<7) /* ~FDC (82077) reset */
H A Dinterrupts.h32 #define DEC_IRQ_FLOPPY 5 /* 82077 FDC */
53 #define DEC_IRQ_FLOPPY_ERR 24 /* FDC error */
H A Dioasic_addrs.h40 #define IOASIC_FLOPPY (11*IOASIC_SLOT_SIZE) /* FDC (maxine) */
42 #define IOASIC_FDC_DMA (13*IOASIC_SLOT_SIZE) /* FDC DMA (maxine) */
H A Dioasic_ints.h53 #define IO_INR_FLOPPY_ERR 23 /* FDC error */
/linux-4.1.27/arch/arm/include/asm/
H A Dfloppy.h97 * Set up FDC fd_scandrives()
101 * Tell FDC to recalibrate fd_scandrives()
/linux-4.1.27/arch/m68k/include/asm/
H A Datafdreg.h63 #define FDCSTAT_BUSY (0x01) /* FDC is busy */
H A Datarihw.h85 ATARIHW_DECLARE(FDCSPEED); /* 8/16 MHz switch for FDC */
/linux-4.1.27/arch/mips/kernel/
H A Didle.c182 * 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 Dcevt-r4k.c94 * such as perf counter and FDC interrupts.
/linux-4.1.27/arch/mips/include/asm/mach-generic/
H A Dfloppy.h27 * How to access the FDC's registers.
/linux-4.1.27/drivers/block/
H A Dataflop.c32 * 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 Dfloppy.c45 * 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 Damiflop.c153 /* Synchronization of FDC access */
/linux-4.1.27/arch/sh/boards/mach-se/770x/
H A Dsetup.c33 /* FDC */ smsc_setup()
/linux-4.1.27/arch/parisc/mm/
H A Dfault.c74 * 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 Dconfig.c416 * 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 Dlasi.c82 gsc_writel(0xFFFFFFFF, lasi_base+0xA000); /* FDC */ lasi_init_irq()
H A Dsuperio.c58 * 0x5A: FDC, SP1, IDE1, SP2, IDE2, PAR, Reserved, P92
H A Dccio-dma.c605 /* 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 Dsba_iommu.c769 /* 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 Dprobe.c26 { "FDC", "Floppy disk" },
/linux-4.1.27/drivers/irqchip/
H A Dirq-mips-gic.c254 /* 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 Deurotechwdt.c45 * of the on-board SUPER I/O device SMSC FDC 37B782.
/linux-4.1.27/arch/mips/jazz/
H A Djazzdma.c431 * to set a PC-style DMA controller. For the SCSI and FDC
/linux-4.1.27/arch/arm/mach-footbridge/
H A Dnetwinder-hw.c148 * Power down FDC (not used) wb977_init_global()
/linux-4.1.27/drivers/net/irda/
H A Dsmsc-ircc2.c2151 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 Dmips_cdmm.c423 * example to configure an early FDC console device.
/linux-4.1.27/arch/m68k/fpsp040/
H A Dsetox.S665 | MOVE.W #$3FDC,L2 ...prefetch L2 in CB mode
/linux-4.1.27/drivers/scsi/
H A Dfdomain.c137 "TMC-1800 SCSI Chip Specification (FDC-1800T)", Future Domain Corporation,
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_type.h715 #define IXGBE_RNBC(_i) (0x03FC0 + ((_i) * 4)) /* 8 of these 3FC0-3FDC*/

Completed in 3803 milliseconds