/openbmc/linux/drivers/ata/ |
H A D | Kconfig | 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 44 bool "Verbose ATA error reporting" 47 This option adds parsing of ATA command descriptions and error bits [all …]
|
H A D | libata-transport.c | 7 * The ATA transport class contains common code to deal with ATA HBAs, 8 * an approximated representation of ATA topologies in the driver model, 21 * These objects are created when the ata host is initialized and when a PMP is 138 { ATA_DEV_ATA, "ata" }, 139 { ATA_DEV_ATA_UNSUP, "ata" }, 202 * ATA Port attributes 232 * ata_is_port -- check if a struct device represents a ATA port 236 * %1 if the device represents a ATA Port, %0 else 252 * ata_tport_delete -- remove ATA PORT 253 * @ap: ATA PORT to remove [all …]
|
H A D | pata_mpc52xx.c | 2 * drivers/ata/pata_mpc52xx.c 33 #include <linux/fsl/bestcomm/ata.h> 210 u32 config; /* ATA + 0x00 Host configuration */ 211 u32 host_status; /* ATA + 0x04 Host controller status */ 212 u32 pio1; /* ATA + 0x08 PIO Timing 1 */ 213 u32 pio2; /* ATA + 0x0c PIO Timing 2 */ 214 u32 mdma1; /* ATA + 0x10 MDMA Timing 1 */ 215 u32 mdma2; /* ATA + 0x14 MDMA Timing 2 */ 216 u32 udma1; /* ATA + 0x18 UDMA Timing 1 */ 217 u32 udma2; /* ATA + 0x1c UDMA Timing 2 */ [all …]
|
H A D | pata_acpi.c | 17 #include <linux/ata.h> 31 * @link: ATA link 66 * @ap: ATA port 67 * @adev: ATA device 108 * @ap: ATA interface 109 * @adev: ATA device 131 * @ap: ATA interface 132 * @adev: ATA device 163 * this interface so that we can load the correct ATA timings if 187 * @ap: ATA port being set up [all …]
|
H A D | pata_sl82c105.c | 3 * pata_sl82c105.c - SL82C105 PATA for new ATA layer 46 * @link: ATA link 69 * @ap: ATA interface 70 * @adev: ATA device 94 * @ap: ATA interface 95 * @adev: ATA device 108 * @ap: ATA interface 109 * @adev: ATA device 132 * @ap: ATA interface 152 * @qc: ATA command [all …]
|
H A D | pata_optidma.c | 3 * pata_optidma.c - Opti DMA PATA for new ATA layer 49 * @link: ATA link 71 * @ap: ATA port 89 * @ap: ATA port 104 * @ap: ATA interface 105 * @adev: ATA device 191 * @ap: ATA port 231 * @ap: ATA port 246 * @ap: ATA port 261 * @ap: ATA port [all …]
|
H A D | libata-sff.c | 57 * Reads ATA taskfile status register for currently-selected device 75 * Reads ATA alternate status register for currently-selected device 199 * Sleep until ATA Status register bit BSY clears, or timeout 219 * Writes ATA device control register. 242 * ata_sff_dev_select - Select device 0/1 on ATA bus 243 * @ap: ATA channel to manipulate 244 * @device: ATA device (numbered from zero) to select 246 * Use the method defined in the ATA specification to 248 * ATA channel. Works with both PIO and MMIO. 270 * ata_dev_select - Select device 0/1 on ATA bus [all …]
|
H A D | sata_inic162x.c | 31 * sata_initio162x, updated it to use IDMA for ATA DMA commands and 83 /* registers for ATA TF operation */ 133 PIRQ_ATA = (1 << 4), /* ATA interrupt */ 147 IDMA_CTL_RST_ATA = (1 << 2), /* hardreset ATA bus */ 150 IDMA_CTL_ATA_NIEN = (1 << 8), /* ATA IRQ disable */ 171 CPB_RESP_DONE = (1 << 0), /* ATA command complete */ 172 CPB_RESP_REL = (1 << 1), /* ATA release */ 174 CPB_RESP_ATA_ERR = (1 << 3), /* ATA command error */ 175 CPB_RESP_SPURIOUS = (1 << 4), /* ATA spurious interrupt error */ 193 u8 error; /* ATA Error */ [all …]
|
H A D | pata_sil680.c | 2 * pata_sil680.c - SIL680 PATA for new ATA layer 40 * @ap: ATA interface 57 * @ap: ATA interface 58 * @adev: ATA device 74 * @ap: ATA port 95 * @ap: ATA interface 96 * @adev: ATA device 146 * @ap: ATA interface 147 * @adev: ATA device 197 * sil680_sff_exec_command - issue ATA command to host controller [all …]
|
H A D | libata-scsi.c | 3 * libata-scsi.c - helper library for ATA 234 * ata_scsi_set_passthru_sense_fields - Set ATA fields in sense buffer 235 * @qc: ATA PASS-THROUGH command. 237 * Populates "ATA Status Return sense data descriptor" / "Fixed format 238 * sense data" with ATA taskfile fields. 252 "missing result TF: can't set ATA PT sense fields\n"); in ata_scsi_set_passthru_sense_fields() 522 /* If we set cc then ATA pass-through will cause a in ata_cmd_ioctl() 530 /* Send userspace a few ATA registers (same as drivers/ide) */ in ata_cmd_ioctl() 532 desc[0] == 0x09) { /* code is "ATA Descriptor" */ in ata_cmd_ioctl() 610 /* If we set cc then ATA pass-through will cause a in ata_task_ioctl() [all …]
|
H A D | pata_cypress.c | 3 * pata_cypress.c - Cypress PATA for new ATA layer 50 * @ap: ATA interface 51 * @adev: ATA device 99 * @ap: ATA interface 100 * @adev: ATA device 141 /* Devfn 1 is the ATA primary. The secondary is magic and on devfn2. in cy82c693_init_one()
|
H A D | pata_macio.c | 19 #include <linux/ata.h> 51 /* Models of macio ATA controller */ 55 controller_kl_ata3, /* KeyLargo ATA-3 */ 56 controller_kl_ata4, /* KeyLargo ATA-4 */ 57 controller_un_ata6, /* UniNorth2 ATA-6 */ 58 controller_k2_ata6, /* K2 ATA-6 */ 59 controller_sh_ata6, /* Shasta ATA-6 */ 63 "OHare ATA", /* OHare based */ 64 "Heathrow ATA", /* Heathrow/Paddington */ 65 "KeyLargo ATA-3", /* KeyLargo ATA-3 (MDMA only) */ [all …]
|
/openbmc/linux/Documentation/driver-api/ |
H A D | libata.rst | 10 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. 24 with the ATA and SCSI layers. 29 defining at a bare minimum the bus I/O addresses of the ATA shadow 107 ATA command execute 115 causes an ATA command, previously loaded with ``->tf_load()``, to be 127 Allow low-level driver to filter ATA PACKET commands, returning a status 134 Read specific ATA shadow registers [all …]
|
/openbmc/u-boot/board/freescale/m5253demo/ |
H A D | m5253demo.c | 91 #include <ata.h> 99 atac_t *ata = (atac_t *) CONFIG_SYS_ATA_BASE_ADDR; in ide_set_reset() local 111 out_8(&ata->cr, 0); in ide_set_reset() 119 /*ata->ton = CALC_TIMING (180); */ in ide_set_reset() 120 out_8(&ata->t1, CALC_TIMING(piotms[2][0])); in ide_set_reset() 121 out_8(&ata->t2w, CALC_TIMING(piotms[2][1])); in ide_set_reset() 122 out_8(&ata->t2r, CALC_TIMING(piotms[2][1])); in ide_set_reset() 123 out_8(&ata->ta, CALC_TIMING(piotms[2][8])); in ide_set_reset() 124 out_8(&ata->trd, CALC_TIMING(piotms[2][7])); in ide_set_reset() 125 out_8(&ata->t4, CALC_TIMING(piotms[2][3])); in ide_set_reset() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/ata/ |
H A D | ata-generic.yaml | 4 $id: http://devicetree.org/schemas/ata/ata-generic.yaml# 7 title: Generic Parallel ATA Controller 13 Generic Parallel ATA controllers supporting PIO modes only. 21 - const: ata-generic 34 ata-generic,use16bit: 39 description: Maximum ATA PIO transfer mode 53 compatible = "arm,vexpress-cf", "ata-generic";
|
H A D | cortina,gemini-sata-bridge.yaml | 4 $id: http://devicetree.org/schemas/ata/cortina,gemini-sata-bridge.yaml# 46 cortina,gemini-ata-muxmode: 54 Tell the desired multiplexing mode for the ATA controller and SATA 83 - cortina,gemini-ata-muxmode 104 cortina,gemini-ata-muxmode = <3>;
|
H A D | ahci-common.yaml | 4 $id: http://devicetree.org/schemas/ata/ahci-common.yaml# 7 title: Common Properties for Serial ATA AHCI controllers 16 conform to the technical standard defined by Intel (see Serial ATA 29 Generic AHCI registers space conforming to the Serial ATA AHCI 90 $ref: /schemas/ata/sata-common.yaml#/$defs/sata-port
|
/openbmc/linux/drivers/usb/storage/ |
H A D | isd200.c | 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. 37 #include <linux/ata.h> 118 /* ATA Vendor Specific defines */ 146 /* ATA registers offset definitions */ 152 /* ATA error definitions not in <linux/hdreg.h> */ 155 /* ATA command definitions not in <linux/hdreg.h> */ 159 /* ATA drive control definitions */ 480 union ata_cdb ata; in isd200_action() local [all …]
|
H A D | cypress_atacb.c | 3 * Support for emulating SAT (ata pass through) on devices based 4 * on the Cypress USB/ATA bridge supporting ATACB. 13 #include <linux/ata.h> 22 MODULE_DESCRIPTION("SAT support for Cypress USB/ATA bridges with ATACB"); 67 * ATACB is a protocol used on cypress usb<->ata bridge to 68 * send raw ATA command over mass storage 171 /* build the command for reading the ATA registers */ in cypress_atacb_passthrough() 195 sb[2] = 0; /* ATA PASS THROUGH INFORMATION AVAILABLE */ in cypress_atacb_passthrough() 201 * (see 11.1 Error translation ATA device error to SCSI error in cypress_atacb_passthrough()
|
/openbmc/u-boot/board/freescale/m54455evb/ |
H A D | m54455evb.c | 91 #include <ata.h> 117 atac_t *ata = (atac_t *) MMAP_ATA; in ide_set_reset() local 130 out_8(&ata->cr, 0); in ide_set_reset() 136 /*ata->ton = CALC_TIMING (180); */ in ide_set_reset() 137 out_8(&ata->t1, CALC_TIMING(piotms[2][0])); in ide_set_reset() 138 out_8(&ata->t2w, CALC_TIMING(piotms[2][1])); in ide_set_reset() 139 out_8(&ata->t2r, CALC_TIMING(piotms[2][1])); in ide_set_reset() 140 out_8(&ata->ta, CALC_TIMING(piotms[2][8])); in ide_set_reset() 141 out_8(&ata->trd, CALC_TIMING(piotms[2][7])); in ide_set_reset() 142 out_8(&ata->t4, CALC_TIMING(piotms[2][3])); in ide_set_reset() [all …]
|
/openbmc/linux/drivers/dma/bestcomm/ |
H A D | ata.c | 3 * Bestcomm ATA task driver 19 #include <linux/fsl/bestcomm/ata.h> 26 /* ata task image */ 29 /* ata task vars that need to be set before enabling the task */ 38 /* ata task incs that need to be set before enabling the task */ 60 /* Prefetch breaks ATA DMA. Turn it off for ATA DMA */ in bcom_ata_init() 144 /* Nothing special for the ATA tasks */ in bcom_ata_release() 150 MODULE_DESCRIPTION("BestComm ATA task driver");
|
/openbmc/linux/drivers/scsi/libsas/ |
H A D | Kconfig | 18 bool "ATA support for libsas (requires libata)" 20 depends on ATA = y || ATA = SCSI_SAS_LIBSAS 23 Builds in ATA support into libsas. Will necessitate
|
/openbmc/u-boot/drivers/mmc/ |
H A D | mv_sdhci.c | 49 u32 ata = (unsigned long)host->ioaddr + SD_CE_ATA_2; in mv_sdhci_writeb() local 53 writew(readw(ata) | (MMC_CARD | MMC_WIDTH), ata); in mv_sdhci_writeb() 55 writew(readw(ata) & ~(MMC_CARD | MMC_WIDTH), ata); in mv_sdhci_writeb()
|
/openbmc/linux/arch/sh/boards/mach-landisk/ |
H A D | irq.c | 27 ATA, /* ATA */ enumerator 39 INTC_IRQ(ATA, IRQ_ATA), 48 { BUTTON, POWER, FATA, ATA,
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-ata | 3 Provide a place in sysfs for storing the ATA topology of the 4 system. This allows retrieving various information about ATA 11 port. The device parent is the ata host device. 24 idle [some ata HBA only]. 67 Behind each link, up to two ata devices are created. 119 class: (RO) Device class. Can be "ata" for disk,
|