| /OK3568_Linux_fs/kernel/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 * @port: ATA PORT to remove [all …]
|
| H A D | pata_mpc52xx.c | 2 * drivers/ata/pata_mpc52xx.c 31 #include <linux/fsl/bestcomm/ata.h> 208 u32 config; /* ATA + 0x00 Host configuration */ 209 u32 host_status; /* ATA + 0x04 Host controller status */ 210 u32 pio1; /* ATA + 0x08 PIO Timing 1 */ 211 u32 pio2; /* ATA + 0x0c PIO Timing 2 */ 212 u32 mdma1; /* ATA + 0x10 MDMA Timing 1 */ 213 u32 mdma2; /* ATA + 0x14 MDMA Timing 2 */ 214 u32 udma1; /* ATA + 0x18 UDMA Timing 1 */ 215 u32 udma2; /* ATA + 0x1c UDMA Timing 2 */ [all …]
|
| H A D | libata-sff.c | 57 * Reads ATA taskfile status register for currently-selected device 74 * Reads ATA taskfile alternate status register for 186 * Sleep until ATA Status register bit BSY clears, 248 * Sleep until ATA Status register bit BSY clears, or timeout 268 * Writes ATA taskfile device control register. 285 * ata_sff_dev_select - Select device 0/1 on ATA bus 286 * @ap: ATA channel to manipulate 287 * @device: ATA device (numbered from zero) to select 289 * Use the method defined in the ATA specification to 291 * ATA channel. Works with both PIO and MMIO. [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 | 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_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 | pata_acpi.c | 17 #include <linux/ata.h> 66 * @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 225 * pacpi_init_one - Register ACPI ATA PCI device with kernel services 278 MODULE_DESCRIPTION("SCSI low-level driver for ATA in ACPI mode");
|
| H A D | libata-acpi.c | 11 #include <linux/ata.h> 85 * @ap: ATA port ACPI event occurred 86 * @dev: ATA device ACPI event occurred (can be NULL) 249 * ata_acpi_dissociate - dissociate ATA host from ACPI objects 250 * @host: target ATA host 276 * @ap: target ATA port 336 * @ap: target ATA port 385 * @dev: target ATA device 625 * @dev: target ATA device 626 * @gtf: raw ATA taskfile register set (0x1f1 - 0x1f7) [all …]
|
| H A D | libata-scsi.c | 3 * libata-scsi.c - helper library for ATA 416 /* If we set cc then ATA pass-through will cause a in ata_cmd_ioctl() 424 /* Send userspace a few ATA registers (same as drivers/ide) */ in ata_cmd_ioctl() 426 desc[0] == 0x09) { /* code is "ATA Descriptor" */ in ata_cmd_ioctl() 497 /* If we set cc then ATA pass-through will cause a in ata_task_ioctl() 505 /* Send userspace ATA registers */ in ata_task_ioctl() 507 desc[0] == 0x09) {/* code is "ATA Descriptor" */ in ata_task_ioctl() 608 * @dev: ATA device to which the new command is attached 609 * @cmd: SCSI command that originated this ATA command 613 * ATA command sent to the hardware. [all …]
|
| H A D | pata_macio.c | 19 #include <linux/ata.h> 50 /* Models of macio ATA controller */ 54 controller_kl_ata3, /* KeyLargo ATA-3 */ 55 controller_kl_ata4, /* KeyLargo ATA-4 */ 56 controller_un_ata6, /* UniNorth2 ATA-6 */ 57 controller_k2_ata6, /* K2 ATA-6 */ 58 controller_sh_ata6, /* Shasta ATA-6 */ 62 "OHare ATA", /* OHare based */ 63 "Heathrow ATA", /* Heathrow/Paddington */ 64 "KeyLargo ATA-3", /* KeyLargo ATA-3 (MDMA only) */ [all …]
|
| H A D | sata_sx4.c | 22 engine, DIMM memory, and four ATA engines (one per SATA port). 24 handing off to one (or more) of the ATA engines. The ATA 39 transactions into a fixed DIMM memory space, from where an ATA 46 submit ATA packet to hardware 47 hardware executes ATA WRITE command, w/ data in DIMM 52 submit ATA packet to hardware 53 hardware executes ATA READ command, w/ data in DIMM 124 PDC_MASK_INT = (1 << 10), /* HDMA/ATA mask int */ 125 PDC_RESET = (1 << 11), /* HDMA/ATA reset */ 308 /* output ATA packet S/G table */ in pdc20621_ata_sg() [all …]
|
| H A D | pata_sil680.c | 2 * pata_sil680.c - SIL680 PATA for new ATA layer 40 * @ap: ATA interface 59 * @ap: ATA interface 78 * @ap: ATA port 98 * @ap: ATA interface 99 * @adev: ATA device 149 * @ap: ATA interface 150 * @adev: ATA device 200 * sil680_sff_exec_command - issue ATA command to host controller 202 * @tf: ATA taskfile register set [all …]
|
| H A D | pata_pdc202xx_old.c | 3 * pata_pdc202xx_old.c - Promise PDC202xx PATA for new ATA layer 41 DPRINTK("ata%u: cmd 0x%X\n", ap->print_id, tf->command); in pdc202xx_exec_command() 70 * @ap: ATA interface 71 * @adev: ATA device 105 * @ap: ATA interface 106 * @adev: ATA device 119 * @ap: ATA interface 120 * @adev: ATA device 168 * @qc: ATA command 218 * @qc: ATA command
|
| H A D | libata-core.c | 3 * libata-core.c - helper library for ATA 15 * http://www.t13.org (ATA standards, PCI DMA IDE spec) 20 * http://www.ce-ata.org (CE-ATA: not supported) 23 * low-level ATA host controller drivers. As such, the API/ABI is 114 MODULE_PARM_DESC(force, "Force ATA configurations including cable type, link speed and transfer mod… 139 MODULE_PARM_DESC(dma, "DMA enable/disable (0x1==ATA, 0x2==ATAPI, 0x4==CF)"); 143 MODULE_PARM_DESC(ata_probe_timeout, "Set ATA probing timeout (seconds)"); 158 MODULE_DESCRIPTION("Library module for ATA devices"); 171 * @ap: ATA port containing links to iterate 231 * @link: ATA link containing devices to iterate [all …]
|
| H A D | pata_amd.c | 3 * pata_amd.c - AMD PATA for new ATA layer 31 * @ap: ATA port being set up 125 * @link: ATA link 168 * amd_fifo_setup - set the PIO FIFO for ATA/ATAPI 169 * @ap: ATA interface 170 * @adev: ATA device 203 * @ap: ATA interface 204 * @adev: ATA device 235 * @ap: ATA interface 236 * @adev: ATA device [all …]
|
| /OK3568_Linux_fs/kernel/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 35 Disable ATA port 123 ATA command execute 131 causes an ATA command, previously loaded with ``->tf_load()``, to be 143 Allow low-level driver to filter ATA PACKET commands, returning a status [all …]
|
| /OK3568_Linux_fs/u-boot/board/freescale/m5253evbe/ |
| H A D | m5253evbe.c | 85 #include <ata.h> 93 atac_t *ata = (atac_t *) CONFIG_SYS_ATA_BASE_ADDR; in ide_set_reset() local 105 out_8(&ata->cr, 0); in ide_set_reset() 113 /*ata->ton = CALC_TIMING (180); */ in ide_set_reset() 114 out_8(&ata->t1, CALC_TIMING(piotms[2][0])); in ide_set_reset() 115 out_8(&ata->t2w, CALC_TIMING(piotms[2][1])); in ide_set_reset() 116 out_8(&ata->t2r, CALC_TIMING(piotms[2][1])); in ide_set_reset() 117 out_8(&ata->ta, CALC_TIMING(piotms[2][8])); in ide_set_reset() 118 out_8(&ata->trd, CALC_TIMING(piotms[2][7])); in ide_set_reset() 119 out_8(&ata->t4, CALC_TIMING(piotms[2][3])); in ide_set_reset() [all …]
|
| /OK3568_Linux_fs/u-boot/board/freescale/m5253demo/ |
| H A D | m5253demo.c | 92 #include <ata.h> 100 atac_t *ata = (atac_t *) CONFIG_SYS_ATA_BASE_ADDR; in ide_set_reset() local 112 out_8(&ata->cr, 0); in ide_set_reset() 120 /*ata->ton = CALC_TIMING (180); */ in ide_set_reset() 121 out_8(&ata->t1, CALC_TIMING(piotms[2][0])); in ide_set_reset() 122 out_8(&ata->t2w, CALC_TIMING(piotms[2][1])); in ide_set_reset() 123 out_8(&ata->t2r, CALC_TIMING(piotms[2][1])); in ide_set_reset() 124 out_8(&ata->ta, CALC_TIMING(piotms[2][8])); in ide_set_reset() 125 out_8(&ata->trd, CALC_TIMING(piotms[2][7])); in ide_set_reset() 126 out_8(&ata->t4, CALC_TIMING(piotms[2][3])); in ide_set_reset() [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/u-boot/board/freescale/m54455evb/ |
| H A D | m54455evb.c | 92 #include <ata.h> 118 atac_t *ata = (atac_t *) MMAP_ATA; in ide_set_reset() local 131 out_8(&ata->cr, 0); in ide_set_reset() 137 /*ata->ton = CALC_TIMING (180); */ in ide_set_reset() 138 out_8(&ata->t1, CALC_TIMING(piotms[2][0])); in ide_set_reset() 139 out_8(&ata->t2w, CALC_TIMING(piotms[2][1])); in ide_set_reset() 140 out_8(&ata->t2r, CALC_TIMING(piotms[2][1])); in ide_set_reset() 141 out_8(&ata->ta, CALC_TIMING(piotms[2][8])); in ide_set_reset() 142 out_8(&ata->trd, CALC_TIMING(piotms[2][7])); in ide_set_reset() 143 out_8(&ata->t4, CALC_TIMING(piotms[2][3])); in ide_set_reset() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/ide/ |
| H A D | Kconfig | 3 # IDE ATA ATAPI Block device driver configuration 11 tristate "ATA/ATAPI/MFM/RLL support (DEPRECATED)" 16 If you say Y here, your kernel will be able to manage ATA/(E)IDE and 21 changes applied. Users of ATA hardware are encouraged to migrate to 22 the newer ATA subsystem ("Serial ATA (prod) and Parallel ATA 53 There are two drivers for Serial ATA controllers. 57 you may take a look at "Serial ATA (prod) and Parallel ATA 72 tristate "generic ATA/ATAPI disk support" 75 Support for ATA/ATAPI disks (including ATAPI floppy drives). 83 bool "ATA disk support" [all …]
|
| H A D | pmac.c | 75 controller_kl_ata3, /* KeyLargo ATA-3 */ 76 controller_kl_ata4, /* KeyLargo ATA-4 */ 77 controller_un_ata6, /* UniNorth2 ATA-6 */ 78 controller_k2_ata6, /* K2 ATA-6 */ 79 controller_sh_ata6, /* Shasta ATA-6 */ 83 "OHare ATA", /* OHare based */ 84 "Heathrow ATA", /* Heathrow/Paddington */ 85 "KeyLargo ATA-3", /* KeyLargo ATA-3 (MDMA only) */ 86 "KeyLargo ATA-4", /* KeyLargo ATA-4 (UDMA/66) */ 87 "UniNorth ATA-6", /* UniNorth2 ATA-6 (UDMA/100) */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/dma/bestcomm/ |
| H A D | ata.c | 2 * Bestcomm ATA task driver 23 #include <linux/fsl/bestcomm/ata.h> 30 /* ata task image */ 33 /* ata task vars that need to be set before enabling the task */ 42 /* ata task incs that need to be set before enabling the task */ 64 /* Prefetch breaks ATA DMA. Turn it off for ATA DMA */ in bcom_ata_init() 148 /* Nothing special for the ATA tasks */ in bcom_ata_release() 154 MODULE_DESCRIPTION("BestComm ATA task driver");
|
| /OK3568_Linux_fs/kernel/drivers/scsi/libsas/ |
| H A D | Kconfig | 19 bool "ATA support for libsas (requires libata)" 21 depends on ATA = y || ATA = SCSI_SAS_LIBSAS 24 Builds in ATA support into libsas. Will necessitate
|