Home
last modified time | relevance | path

Searched +full:ata +full:- +full:generic (Results 1 – 25 of 62) sorted by relevance

123

/linux-6.8/Documentation/devicetree/bindings/ata/
Data-generic.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/ata/ata-generic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Generic Parallel ATA Controller
10 - Linus Walleij <linus.walleij@linaro.org>
13 Generic Parallel ATA controllers supporting PIO modes only.
18 - enum:
19 - arm,vexpress-cf
20 - fsl,mpc8349emitx-pata
[all …]
Dahci-common.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/ata/ahci-common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Common Properties for Serial ATA AHCI controllers
10 - Hans de Goede <hdegoede@redhat.com>
11 - Damien Le Moal <dlemoal@kernel.org>
16 conform to the technical standard defined by Intel (see Serial ATA
18 document doesn't constitute a DT-node binding by itself but merely
19 defines a set of common properties for the AHCI-compatible devices.
[all …]
Dahci-platform.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/ata/ahci-platform.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 SATA nodes are defined to describe on-chip Serial ATA controllers.
13 It is possible, but not required, to represent each port as a sub-node.
18 - Hans de Goede <hdegoede@redhat.com>
19 - Jens Axboe <axboe@kernel.dk>
26 - brcm,iproc-ahci
27 - cavium,octeon-7130-ahci
[all …]
Drenesas,rcar-sata.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/ata/renesas,rcar-sata.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Renesas R-Car Serial-ATA Interface
10 - Geert Uytterhoeven <geert+renesas@glider.be>
15 - items:
16 - enum:
17 - renesas,sata-r8a7779 # R-Car H1
18 - items:
[all …]
Dsnps,dwc-ahci.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/ata/snps,dwc-ahci.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Serge Semin <fancer.lancer@gmail.com>
13 This document defines device tree bindings for the generic Synopsys DWC
20 - snps,dwc-ahci
21 - snps,spear-ahci
23 - compatible
26 - $ref: snps,dwc-ahci-common.yaml#
[all …]
Dsnps,dwc-ahci-common.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/ata/snps,dwc-ahci-common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Serge Semin <fancer.lancer@gmail.com>
13 This document defines device tree schema for the generic Synopsys DWC
19 - $ref: ahci-common.yaml#
31 PM-alive clock, RxOOB detection clock, embedded PHYs reference (Rx/Tx)
36 clock-names:
41 - description: Application APB/AHB/AXI BIU clock
[all …]
Dqcom-sata.txt3 SATA nodes are defined to describe on-chip Serial ATA controllers.
7 - compatible : compatible list, must contain "generic-ahci"
8 - interrupts : <interrupt mapping for SATA IRQ>
9 - reg : <registers mapping>
10 - phys : Must contain exactly one entry as specified
11 in phy-bindings.txt
12 - phy-names : Must be "sata-phy"
14 Required properties for "qcom,ipq806x-ahci" compatible:
15 - clocks : Must contain an entry for each entry in clock-names.
16 - clock-names : Shall be:
[all …]
/linux-6.8/drivers/usb/storage/
Disd200.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Transport & Protocol Driver for In-System Design, Inc. ISD200 ASIC
6 * (C) 2001-2002 Björn Stenberg (bjorn@haxx.se)
12 * (C) 2000 In-System Design, Inc. (support@in-system.com)
14 * The ISD200 ASIC does not natively support ATA devices. The chip
15 * does implement an interface, the ATA Command Block (ATACB) which provides
16 * a means of passing ATA commands and ATA register accesses to a device.
20 * 2002-10-19: Removed the specialized transfer routines.
22 * 2001-02-24: Removed lots of duplicate code and simplified the structure.
24 * 2002-01-16: Fixed endianness bug so it works on the ppc arch.
[all …]
/linux-6.8/drivers/ata/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
10 uses pata-platform driver to enable the relevant driver in the
14 menuconfig ATA config
15 tristate "Serial ATA and Parallel ATA drivers (libata)"
21 If you want to use an ATA hard disk, ATA tape drive, ATA CD-ROM or
22 any other ATA device under Linux, say Y and make sure that you know
23 the name of your ATA host adapter (the card inside your computer
24 that "speaks" the ATA protocol, also called ATA controller),
27 NOTE: ATA enables basic SCSI support; *however*,
32 if ATA
[all …]
Data_generic.c2 * ata_generic.c - Generic PATA/SATA controller driver.
5 * Elements from ide/pci/generic.c
6 * Copyright (C) 2001-2002 Andre Hedrick <andre@linux-ide.org>
31 * A generic parallel ATA driver using libata
41 * generic_set_mode - mode setting
53 struct ata_port *ap = link->ap; in generic_set_mode()
54 const struct pci_device_id *id = ap->host->private_data; in generic_set_mode()
58 if (id->driver_data & ATA_GEN_FORCE_DMA) { in generic_set_mode()
60 } else if (ap->ioaddr.bmdma_addr) { in generic_set_mode()
62 dma_enabled = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_STATUS); in generic_set_mode()
[all …]
Dpata_of_platform.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * OF-platform PATA driver
25 struct device_node *dn = ofdev->dev.of_node; in pata_of_platform_probe()
37 dev_err(&ofdev->dev, "can't get IO address from " in pata_of_platform_probe()
39 return -EINVAL; in pata_of_platform_probe()
44 dev_err(&ofdev->dev, "can't get CTL address from " in pata_of_platform_probe()
46 return -EINVAL; in pata_of_platform_probe()
52 if (irq < 0 && irq != -ENXIO) in pata_of_platform_probe()
59 of_property_read_u32(dn, "reg-shift", &reg_shift); in pata_of_platform_probe()
61 if (!of_property_read_u32(dn, "pio-mode", &pio_mode)) { in pata_of_platform_probe()
[all …]
Dpata_isapnp.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * pata-isapnp.c - ISA PnP PATA controller driver.
7 * Based in part on ide-pnp.c by Andrey Panin <pazke@donpac.ru>
17 #include <linux/ata.h>
40 * isapnp_init_one - attach an isapnp interface
57 return -ENODEV; in isapnp_init_one()
65 host = ata_host_alloc(&idev->dev, 1); in isapnp_init_one()
67 return -ENOMEM; in isapnp_init_one()
70 cmd_addr = devm_ioport_map(&idev->dev, pnp_port_start(idev, 0), 8); in isapnp_init_one()
72 return -ENOMEM; in isapnp_init_one()
[all …]
Dpata_triflex.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_triflex.c - Compaq PATA for new ATA layer
15 * Copyright (C) 2002 Hewlett-Packard Development Group, L.P.
36 * triflex_prereset - probe begin
37 * @link: ATA link
40 * Set up cable type and use generic probe init
50 struct ata_port *ap = link->ap; in triflex_prereset()
51 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in triflex_prereset()
53 if (!pci_test_config_bits(pdev, &triflex_enable_bits[ap->port_no])) in triflex_prereset()
54 return -ENOENT; in triflex_prereset()
[all …]
Dpata_sl82c105.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_sl82c105.c - SL82C105 PATA for new ATA layer
45 * sl82c105_pre_reset - probe begin
46 * @link: ATA link
49 * Set up cable type and use generic probe init
58 struct ata_port *ap = link->ap; in sl82c105_pre_reset()
59 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sl82c105_pre_reset()
61 if (ap->port_no && !pci_test_config_bits(pdev, &sl82c105_enable_bits[ap->port_no])) in sl82c105_pre_reset()
62 return -ENOENT; in sl82c105_pre_reset()
68 * sl82c105_configure_piomode - set chip PIO timing
[all …]
Dpata_opti.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_opti.c - ATI PATA for new ATA layer
9 * Copyright (C) 1996-1998 Linus Torvalds & authors (see below)
47 * opti_pre_reset - probe begin
48 * @link: ATA link
51 * Set up cable type and use generic probe init
56 struct ata_port *ap = link->ap; in opti_pre_reset()
57 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in opti_pre_reset()
63 if (!pci_test_config_bits(pdev, &opti_enable_bits[ap->port_no])) in opti_pre_reset()
64 return -ENOENT; in opti_pre_reset()
[all …]
Dpata_piccolo.c2 * pata_piccolo.c - Toshiba Piccolo PATA/SATA controller driver.
9 * Elements from ide/pci/generic.c
10 * Copyright (C) 2001-2002 Andre Hedrick <andre@linux-ide.org>
36 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in tosh_set_piomode()
40 conf |= pio[adev->pio_mode - XFER_PIO_0]; in tosh_set_piomode()
46 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in tosh_set_dmamode()
50 if (adev->dma_mode >= XFER_UDMA_0) { in tosh_set_dmamode()
51 int udma = adev->dma_mode - XFER_UDMA_0; in tosh_set_dmamode()
54 conf |= (2 - udma) * 0x111; /* spread into three nibbles */ in tosh_set_dmamode()
59 conf |= mwdma[adev->dma_mode - XFER_MW_DMA_0]; in tosh_set_dmamode()
[all …]
Dpata_optidma.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_optidma.c - Opti DMA PATA for new ATA layer
11 * This driver should support Viper-N+, FireStar, FireStar Plus.
48 * optidma_pre_reset - probe begin
49 * @link: ATA link
52 * Set up cable type and use generic probe init
57 struct ata_port *ap = link->ap; in optidma_pre_reset()
58 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in optidma_pre_reset()
63 if (ap->port_no && !pci_test_config_bits(pdev, &optidma_enable_bits)) in optidma_pre_reset()
64 return -ENOENT; in optidma_pre_reset()
[all …]
Dpata_rz1000.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (C) 1995-1998 Linus Torvalds & author (see below)
11 * This file provides support for disabling the buggy read-ahead
28 * rz1000_set_mode - mode setting function
29 * @link: ATA link
33 * would prefer to be BIOS generic but for the fact our hardware is
43 dev->pio_mode = XFER_PIO_0; in rz1000_set_mode()
44 dev->xfer_mode = XFER_PIO_0; in rz1000_set_mode()
45 dev->xfer_shift = ATA_SHIFT_PIO; in rz1000_set_mode()
46 dev->flags |= ATA_DFLAG_PIO; in rz1000_set_mode()
[all …]
Dpata_ninja32.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_ninja32.c - Ninja32 PATA for new ATA layer
12 * The Ninja32 Cardbus is not a generic SFF controller. Instead it is
32 * bit 4-6 wait bits
51 * ninja32_set_piomode - set initial PIO mode data
52 * @ap: ATA interface
53 * @adev: ATA device
64 iowrite8(pio_timing[adev->pio_mode - XFER_PIO_0], in ninja32_set_piomode()
65 ap->ioaddr.bmdma_addr + 0x1f); in ninja32_set_piomode()
66 ap->private_data = adev; in ninja32_set_piomode()
[all …]
Dpata_mpiix.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_mpiix.c - Intel MPIIX PATA for new ATA layer
4 * (C) 2005-2006 Red Hat Inc
13 * ISA IDE and PCI IDE. Although the ATA timings are PCI configured the actual
15 * be IDE class PCI. This requires slightly non-standard probe logic compared
25 * are decoded by the PCMCIA bridge and therefore are for a generic IDE driver
51 struct ata_port *ap = link->ap; in mpiix_pre_reset()
52 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in mpiix_pre_reset()
56 return -ENOENT; in mpiix_pre_reset()
62 * mpiix_set_piomode - set initial PIO mode data
[all …]
Dpata_oldpiix.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_oldpiix.c - Intel PATA/SATA controllers
25 #include <linux/ata.h>
31 * oldpiix_pre_reset - probe begin
32 * @link: ATA link
35 * Set up cable type and use generic probe init
40 struct ata_port *ap = link->ap; in oldpiix_pre_reset()
41 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in oldpiix_pre_reset()
47 if (!pci_test_config_bits(pdev, &oldpiix_enable_bits[ap->port_no])) in oldpiix_pre_reset()
48 return -ENOENT; in oldpiix_pre_reset()
[all …]
Dlibata-scsi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * libata-scsi.c - helper library for ATA
5 * Copyright 2003-2004 Red Hat, Inc. All rights reserved.
6 * Copyright 2003-2004 Jeff Garzik
9 * as Documentation/driver-api/libata.rst
12 * - http://www.t10.org/
13 * - http://www.t13.org/
38 #include "libata-transport.h"
66 RW_RECOVERY_MPAGE_LEN - 2,
76 CACHE_MPAGE_LEN - 2,
[all …]
Dpata_pxa.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Generic PXA PATA driver
11 #include <linux/ata.h>
20 #include <linux/platform_data/ata-pxa.h>
39 status = dmaengine_tx_status(pd->dma_chan, pd->dma_cookie, NULL); in pxa_ata_dma_irq()
41 complete(&pd->dma_done); in pxa_ata_dma_irq()
49 struct pata_pxa_data *pd = qc->ap->private_data; in pxa_qc_prep()
53 if (!(qc->flags & ATA_QCFLAG_DMAMAP)) in pxa_qc_prep()
56 dir = (qc->dma_dir == DMA_TO_DEVICE ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM); in pxa_qc_prep()
57 tx = dmaengine_prep_slave_sg(pd->dma_chan, qc->sg, qc->n_elem, dir, in pxa_qc_prep()
[all …]
/linux-6.8/Documentation/admin-guide/laptops/
Ddisk-shock-protection.rst7 Last modified: 2008-10-03
19 --------
21 ATA/ATAPI-7 specifies the IDLE IMMEDIATE command with unload feature.
29 implement a generic disk head parking interface in the Linux kernel.
37 ----------------
39 For each ATA device, the kernel exports the file
42 -EOPNOTSUPP if the device does not support the unload feature.
49 -EOVERFLOW, but heads will be parked anyway and the timeout will be
55 immediately by specifying a timeout of 0. Values below -2 are rejected
56 with -EINVAL (see below for the special meaning of -1 and -2). If the
[all …]
/linux-6.8/Documentation/driver-api/
Dlibata.rst10 libATA is a library used inside the Linux kernel to support ATA host
11 controllers and devices. libATA provides an ATA driver API, class
12 transports for ATA and ATAPI devices, and SCSI<->ATA translation for ATA
16 internals, and a couple sample ATA low-level drivers.
22 is defined for every low-level libata
23 hardware driver, and it controls how the low-level driver interfaces
24 with the ATA and SCSI layers.
26 FIS-based drivers will hook into the system with ``->qc_prep()`` and
27 ``->qc_issue()`` high-level hooks. Hardware which behaves in a manner
28 similar to PCI IDE hardware may utilize several generic helpers,
[all …]

123