| /OK3568_Linux_fs/kernel/drivers/block/paride/ |
| H A D | Kconfig | 1 # 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/m68k/ |
| H A D | buddha-driver.rst | 2 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/ide/ |
| H A D | setup-pci.c | 2 * 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 …]
|
| H A D | tx4938ide.c | 2 * 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 …]
|
| H A D | jmicron.c | 11 #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 …]
|
| H A D | q40ide.c | 2 * 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 …]
|
| H A D | alim15x3.c | 2 * 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 …]
|
| H A D | ide-io-std.c | 1 // 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 …]
|
| H A D | trm290.c | 2 * 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 …]
|
| H A D | qd65xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 1996-2001 Linus Torvalds & author (see below) 7 * Version 0.03 Cleaned auto-tune, added probe 20 * Samuel Thibault <samuel.thibault@ens-lyon.org> 31 #include <linux/ide.h> 40 * I/O ports are 0x30-0x31 (and 0x32-0x33 for qd6580) 41 * or 0xb0-0xb1 (and 0xb2-0xb3 for qd6580) 42 * -- qd6500 is a single IDE interface 43 * -- qd6580 is a dual IDE interface 56 * bit 0: ide baseport: 1 = 0x1f0 ; 0 = 0x170 (only useful for qd6500) [all …]
|
| H A D | ide-4drives.c | 1 // 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 …]
|
| H A D | ide_platform.c | 1 // 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 …]
|
| H A D | umc8672.c | 1 // 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/ata/ |
| H A D | pata-common.yaml | 1 # 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/blockdev/ |
| H A D | paride.rst | 2 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/ |
| H A D | devices.txt | 1 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/ide/ |
| H A D | ide.rst | 2 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 …]
|
| /OK3568_Linux_fs/kernel/arch/sh/boards/mach-microdev/ |
| H A D | fdc37c93xapm.c | 1 // 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 …]
|
| /OK3568_Linux_fs/kernel/arch/m68k/include/asm/ |
| H A D | ide.h | 1 /* 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/ata/ |
| H A D | ata_piix.c | 1 // 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 …]
|
| H A D | pata_cmd64x.c | 1 // 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 …]
|
| /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/ata/ |
| H A D | intel-sata.txt | 8 - compatible = "intel,pantherpoint-ahci" 9 - intel,sata-mode : string, one of: 11 "combined" : Use combined IDE + legacy mode 12 "plain-ide" : Use plain IDE mode 13 - intel,sata-port-map : Which SATA ports are enabled, bit 0=enable first port, 14 bit 1=enable second port, etc. 15 - intel,sata-port0-gen3-tx : Value for the IOBP_SP0G3IR register 16 - intel,sata-port1-gen3-tx : Value for the IOBP_SP1G3IR register 19 ------- 22 compatible = "intel,pantherpoint-ahci"; [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/include/asm/ |
| H A D | ide.h | 1 /* 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
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | gemini.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/clock/cortina,gemini-clock.h> 8 #include <dt-bindings/reset/cortina,gemini-reset.h> 9 #include <dt-bindings/gpio/gpio.h> 13 #address-cells = <1>; 14 #size-cells = <1>; 16 compatible = "simple-bus"; 17 interrupt-parent = <&intcon>; 20 compatible = "cortina,gemini-flash", "cfi-flash"; [all …]
|
| /OK3568_Linux_fs/kernel/arch/parisc/include/asm/ |
| H A D | ide.h | 1 /* 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 …]
|