Home
last modified time | relevance | path

Searched +full:ide +full:- +full:port (Results 1 – 25 of 238) sorted by relevance

12345678910

/Linux-v5.10/drivers/block/paride/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
9 comment "Parallel IDE high-level drivers"
13 tristate "Parallel port IDE disks"
16 This option enables the high-level driver for IDE-type disk devices
17 connected through a parallel port. If you chose to build PARIDE
19 parallel port IDE driver, otherwise you should answer M to build
21 must also have at least one parallel port protocol driver in your
23 EZ-135, EZ-230 and SparQ drives, the Avatar Shark and the backpack
27 tristate "Parallel port ATAPI CD-ROMs"
32 This option enables the high-level driver for ATAPI CD-ROM devices
[all …]
/Linux-v5.10/Documentation/m68k/
Dbuddha-driver.rst2 Amiga Buddha and Catweasel IDE Driver
5 The Amiga Buddha and Catweasel IDE Driver (part of ide.c) was written by
8 ------------------------------------------------------------------------
10 Register map of the Buddha IDE controller and the
11 Buddha-part of the Catweasel Zorro-II version
21 product number: 0 (42 for Catweasel Z-II)
23 Rom-vector: $1000
25 The card should be a Z-II board, size 64K, not for freemem
26 list, Rom-Vektor is valid, no second Autoconfig-board on the
30 as the Amiga Kickstart does: The lower nibble of the 8-Bit
[all …]
/Linux-v5.10/drivers/ide/
Dsetup-pci.c2 * Copyright (C) 1998-2000 Andre Hedrick <andre@linux-ide.org>
3 * Copyright (C) 1995-1998 Mark Lord
4 * Copyright (C) 2007-2009 Bartlomiej Zolnierkiewicz
15 #include <linux/ide.h>
16 #include <linux/dma-mapping.h>
21 * ide_setup_pci_baseregs - place a PCI IDE controller native
38 * Place both IDE interfaces into PCI "native" mode: in ide_setup_pci_baseregs()
45 return -EOPNOTSUPP; in ide_setup_pci_baseregs()
55 return -EOPNOTSUPP; in ide_setup_pci_baseregs()
73 * ide_pci_dma_base - setup BMIBA
[all …]
Dq40ide.c2 * Q40 I/O port IDE Driver
17 #include <linux/ide.h>
20 #include <asm/ide.h>
23 * Bases of the IDE interfaces
59 assumption: only DATA port is ever used in 16 bit mode */ in q40_ide_setup_ports()
60 hw->io_ports.data_addr = Q40_ISA_IO_W(base); in q40_ide_setup_ports()
61 hw->io_ports.error_addr = Q40_ISA_IO_B(base + 1); in q40_ide_setup_ports()
62 hw->io_ports.nsect_addr = Q40_ISA_IO_B(base + 2); in q40_ide_setup_ports()
63 hw->io_ports.lbal_addr = Q40_ISA_IO_B(base + 3); in q40_ide_setup_ports()
64 hw->io_ports.lbam_addr = Q40_ISA_IO_B(base + 4); in q40_ide_setup_ports()
[all …]
Djmicron.c11 #include <linux/ide.h>
23 * jmicron_cable_detect - cable detection
24 * @hwif: IDE port
31 struct pci_dev *pdev = to_pci_dev(hwif->dev); in jmicron_cable_detect()
36 int port = hwif->channel; in jmicron_cable_detect() local
43 SATA port mapped */ in jmicron_cable_detect()
52 /* The 365/366 may have this bit set to map the second PATA port in jmicron_cable_detect()
60 port = port ^ 1; in jmicron_cable_detect()
63 * Now we know which physical port we are talking about we can in jmicron_cable_detect()
67 switch (port_map[port]) { in jmicron_cable_detect()
[all …]
Dtx4938ide.c2 * TX4938 internal IDE driver
9 * (C) Copyright TOSHIBA CORPORATION 2005-2007
14 #include <linux/ide.h>
19 #include <asm/ide.h>
27 u64 cr = __raw_readq(&tx4938_ebuscptr->cr[ebus_ch]); in tx4938ide_tune_ebusc()
29 unsigned int clock = gbus_clock / (4 - sp); in tx4938ide_tune_ebusc()
34 /* Minimum DIOx- active time */ in tx4938ide_tune_ebusc()
35 wt = DIV_ROUND_UP(t->act8b, cycle) - 2; in tx4938ide_tune_ebusc()
38 /* actual wait-cycle is max(wt & ~1, 1) */ in tx4938ide_tune_ebusc()
42 /* Address-valid to DIOR/DIOW setup */ in tx4938ide_tune_ebusc()
[all …]
Dalim15x3.c2 * Copyright (C) 1998-2000 Michel Aubry, Maintainer
3 * Copyright (C) 1998-2000 Andrzej Krzysztofowicz, Maintainer
4 * Copyright (C) 1999-2000 CJ, cjtsai@ali.com.tw, Maintainer
6 * Copyright (C) 1998-2000 Andre Hedrick (andre@linux-ide.org)
11 * Copyright (C) 2007-2010 Bartlomiej Zolnierkiewicz
16 * 9/7/99 --Parts from the above author are included and need to be
34 #include <linux/ide.h>
53 struct pci_dev *pdev = to_pci_dev(hwif->dev); in ali_fifo_control()
54 int pio_fifo = 0x54 + hwif->channel; in ali_fifo_control()
56 int shift = 4 * (drive->dn & 1); in ali_fifo_control()
[all …]
Dide-4drives.c1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <linux/ide.h>
8 #define DRV_NAME "ide-4drives"
13 MODULE_PARM_DESC(probe, "probe for generic IDE chipset with 4 drives/port");
17 if (drive->hwif->channel) in ide_4drives_init_dev()
18 drive->select ^= 0x20; in ide_4drives_init_dev()
38 return -ENODEV; in ide_4drives_init()
41 printk(KERN_ERR "%s: I/O resource 0x%lX-0x%lX not free.\n", in ide_4drives_init()
43 return -EBUSY; in ide_4drives_init()
50 return -EBUSY; in ide_4drives_init()
[all …]
Dide-io-std.c1 // SPDX-License-Identifier: GPL-2.0-only
5 #include <linux/ide.h>
9 #include <asm/ide.h>
11 #include <asm-generic/ide_iops.h>
18 static u8 ide_inb(unsigned long port) in ide_inb() argument
20 return (u8) inb(port); in ide_inb()
23 static void ide_outb(u8 val, unsigned long port) in ide_outb() argument
25 outb(val, port); in ide_outb()
32 static u8 ide_mm_inb(unsigned long port) in ide_mm_inb() argument
34 return (u8) readb((void __iomem *) port); in ide_mm_inb()
[all …]
Dide_platform.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Platform IDE driver
13 #include <linux/ide.h>
25 unsigned long port = (unsigned long)base; in plat_ide_setup_ports() local
28 hw->io_ports.data_addr = port; in plat_ide_setup_ports()
30 port += (1 << pdata->ioport_shift); in plat_ide_setup_ports()
32 i++, port += (1 << pdata->ioport_shift)) in plat_ide_setup_ports()
33 hw->io_ports_array[i] = port; in plat_ide_setup_ports()
35 hw->io_ports.ctl_addr = (unsigned long)ctrl; in plat_ide_setup_ports()
37 hw->irq = irq; in plat_ide_setup_ports()
[all …]
Dumc8672.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 1995-1996 Linus Torvalds & author (see below)
10 * of the UMC 8672 IDE interface.
12 * Version 0.01 Initial version, hacked out of ide.c,
16 * Version 0.02 now configs/compiles separate from ide.c -ml
17 * Version 0.03 enhanced auto-tune, fix display bug
18 * Version 0.05 replace sti() with restore_flags() -ml
19 * add detection of possible race condition -ml
35 * are some lines present). 0 - 11 are allowed speed values. These values are
49 #include <linux/ide.h>
[all …]
Dtrm290.c2 * Copyright (c) 1997-1998 Mark Lord
7 * June 22, 2004 - get rid of check_region
8 * - Jesper Juhl
13 * This module provides support for the bus-master IDE DMA function
14 * of the Tekram TRM290 chip, used on a variety of PCI IDE add-on boards,
15 * including a "Precision Instruments" board. The TRM290 pre-dates
16 * the sff-8038 standard (ide-dma.c) by a few months, and differs
18 * while re-using others from ide-dma.c.
26 * but can be turned on manually (with "hdparm -d1") at run time.
36 * TRM-290 PCI-IDE2 Bus Master Chip
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/ata/
Dpata-common.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/ata/pata-common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
14 ATA (PATA, also known as IDE) AT attachment storage devices.
18 The PATA (IDE) controller-specific device tree bindings are responsible for
23 pattern: "^ide(@.*)?$"
26 "ide".
28 "#address-cells":
[all …]
Dfaraday,ftide010.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
13 This controller is the first Faraday IDE interface block, used in the
15 platform. The controller can do PIO modes 0 through 4, Multi-word DMA
22 The timing properties are unique per-SoC, not per-board.
27 - const: faraday,ftide010
28 - items:
29 - const: cortina,gemini-pata
[all …]
/Linux-v5.10/Documentation/ide/
Dide.rst2 Information regarding the Enhanced IDE drive
5 The hdparm utility can be used to control various IDE features on a
9 -------------------------------------------------------------------------------
13 BUGGY IDE CHIPSETS CAN CORRUPT DATA!!
21 For the CMD640, linux disables "IRQ unmasking" (hdparm -u1) on any
23 If "prefetch" is disabled (hdparm -p8), then "IRQ unmasking" can be
26 For the CMD640, linux disables "32bit I/O" (hdparm -c1) on any drive
28 If "prefetch" is enabled (hdparm -p9), then "32bit I/O" can be
37 -------------------------------------------------------------------------------
42 - 40-conductor IDE cables are capable of transferring data in DMA modes up to
[all …]
/Linux-v5.10/arch/sh/boards/mach-microdev/
Dfdc37c93xapm.c1 // SPDX-License-Identifier: GPL-2.0
9 * SuperH SH4-202 MicroDev board support.
35 #define SMSC_IDE1_DEVICE 1 /* IDE #1 logical device */
36 #define SMSC_IDE2_DEVICE 2 /* IDE #2 logical device */
37 #define SMSC_PARALLEL_DEVICE 3 /* Parallel Port logical device */
50 #define IDE1_PRIMARY_BASE 0x01f0 /* Task File Registe base for IDE #1 */
51 #define IDE1_SECONDARY_BASE 0x03f6 /* Miscellaneous AT registers for IDE #1 */
52 #define IDE2_PRIMARY_BASE 0x0170 /* Task File Registe base for IDE #2 */
53 #define IDE2_SECONDARY_BASE 0x0376 /* Miscellaneous AT registers for IDE #2 */
61 /* General-Purpose base address on CPU-board FPGA */
[all …]
Dio.c1 // SPDX-License-Identifier: GPL-2.0
9 * SuperH SH4-202 MicroDev board support.
19 * we need to have a 'safe' address to re-direct all I/O requests
24 * * reads are benign (no side-effects)
25 * * accesses of width 1, 2 and 4-bytes are all valid.
32 #define IO_IDE2_BASE 0x170ul /* I/O base for SMSC FDC37C93xAPM IDE #2 */
33 #define IO_IDE1_BASE 0x1f0ul /* I/O base for SMSC FDC37C93xAPM IDE #1 */
34 #define IO_ISP1161_BASE 0x290ul /* I/O port for Philips ISP1161x USB chip */
37 #define IO_IDE2_MISC 0x376ul /* I/O misc for SMSC FDC37C93xAPM IDE #2 */
39 #define IO_IDE1_MISC 0x3f6ul /* I/O misc for SMSC FDC37C93xAPM IDE #1 */
[all …]
/Linux-v5.10/Documentation/admin-guide/blockdev/
Dparide.rst2 Linux and parallel port IDE devices
5 PARIDE v1.03 (c) 1997-8 Grant Guenther <grant@torque.net>
10 Owing to the simplicity and near universality of the parallel port interface
11 to personal computers, many external devices such as portable hard-disk,
12 CD-ROM, LS-120 and tape drives use the parallel port to connect to their
13 host computer. While some devices (notably scanners) use ad-hoc methods
14 to pass commands and data through the parallel port interface, most
16 a parallel-port adapter chip added in. Some of the original parallel port
18 (The Iomega PPA-3 adapter used in the ZIP drives is an example of this
20 The adapter chip reproduces a small ISA or IDE bus in the external device
[all …]
/Linux-v5.10/arch/m68k/include/asm/
Dide.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 1994-1996 Linus Torvalds & authors
7 /* Based on the ide driver from 1.2.13pl8 */
12 * - Bjoern Brauel
13 * - Kars de Jong
14 * - Torsten Ebeling
15 * - Dwight Engen
16 * - Thorsten Floeck
17 * - Roman Hodek
18 * - Guenther Kelleter
[all …]
/Linux-v5.10/Documentation/admin-guide/
Ddevices.txt1 0 Unnamed devices (e.g. non-device mounts)
9 4 = /dev/port I/O port access
11 6 = /dev/core OBSOLETE - replaced by /proc/kcore
18 12 = /dev/oldmem OBSOLETE - replaced by /proc/vmcore
31 2 char Pseudo-TTY masters
37 Pseudo-tty's are named as follows:
40 the 1st through 16th series of 16 pseudo-ttys each, and
44 These are the old-style (BSD) PTY devices; Unix98
106 3 char Pseudo-TTY slaves
112 These are the old-style (BSD) PTY devices; Unix98
[all …]
/Linux-v5.10/drivers/ata/
Data_piix.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * ata_piix.c - Intel PATA/SATA controllers
6 * Please ALWAYS copy linux-ide@vger.kernel.org
9 * Copyright 2003-2005 Red Hat Inc
10 * Copyright 2003-2005 Jeff Garzik
14 * Copyright (C) 1998-1999 Andrzej Krzysztofowicz, Author and Maintainer
15 * Copyright (C) 1998-2000 Andre Hedrick <andre@linux-ide.org>
19 * as Documentation/driver-api/libata.rst
40 * PIIX4 errata #9 - Only on ultra obscure hw
41 * ICH3 errata #13 - Not observed to affect real hw
[all …]
Dpata_cmd64x.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_cmd64x.c - CMD64x PATA for new ATA layer
6 * (C) 2009-2010 Bartlomiej Zolnierkiewicz
10 * linux/drivers/ide/pci/cmd64x.c Version 1.30 Sept 10, 2002
21 * Copyright (C) 1999-2002 Andre Hedrick <andre@linux-ide.org>
75 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd648_cable_detect()
80 if (r & (1 << ap->port_no)) in cmd648_cable_detect()
86 * cmd64x_set_timing - set PIO and MWDMA timing
96 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd64x_set_timing()
103 /* Port layout is not logical so use a table */ in cmd64x_set_timing()
[all …]
/Linux-v5.10/arch/arm/include/asm/
Dide.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * arch/arm/include/asm/ide.h
5 * Copyright (C) 1994-1996 Linus Torvalds & authors
9 * This file contains the ARM architecture specific IDE code.
17 #define __ide_mm_insw(port,addr,len) readsw(port,addr,len) argument
18 #define __ide_mm_insl(port,addr,len) readsl(port,addr,len) argument
19 #define __ide_mm_outsw(port,addr,len) writesw(port,addr,len) argument
20 #define __ide_mm_outsl(port,addr,len) writesl(port,addr,len) argument
/Linux-v5.10/arch/parisc/include/asm/
Dide.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * linux/include/asm-parisc/ide.h
5 * Copyright (C) 1994-1996 Linus Torvalds & authors
9 * This file contains the PARISC architecture specific IDE code.
24 static __inline__ void __ide_mm_insw(void __iomem *port, void *addr, u32 count) in __ide_mm_insw() argument
26 while (count--) { in __ide_mm_insw()
27 *(u16 *)addr = __raw_readw(port); in __ide_mm_insw()
32 static __inline__ void __ide_mm_insl(void __iomem *port, void *addr, u32 count) in __ide_mm_insl() argument
34 while (count--) { in __ide_mm_insl()
35 *(u32 *)addr = __raw_readl(port); in __ide_mm_insl()
[all …]
/Linux-v5.10/Documentation/cdrom/
Dide-cd.rst1 IDE-CD driver documentation
9 ---------------
11 The ide-cd driver should work with all ATAPI ver 1.2 to ATAPI 2.6 compliant
12 CDROM drives which attach to an IDE interface. Note that some CDROM vendors
14 both ATAPI-compliant drives and drives which use a proprietary
18 attach to the parallel port. In addition, there is at least one drive
19 (CyCDROM CR520ie) which attaches to the IDE port but is not ATAPI;
25 - Reading from data tracks, and mounting ISO 9660 filesystems.
27 - Playing audio tracks. Most of the CDROM player programs floating
30 - Multisession support.
[all …]

12345678910