Searched refs:ATA (Results 1 - 200 of 223) sorted by relevance

12

/linux-4.1.27/drivers/block/aoe/
H A DMakefile2 # Makefile for ATA over Ethernet
H A Daoe.h72 DEVFL_UP = 1, /* device is installed in system and ready for AoE->ATA commands */
H A Daoecmd.c1019 /* NOTE: obsolete in ATA 6 */ ataid_complete()
/linux-4.1.27/arch/sh/boards/mach-landisk/
H A Dirq.c30 ATA, /* ATA */ enumerator in enum:__anon2555
42 INTC_IRQ(ATA, IRQ_ATA),
51 { BUTTON, POWER, FATA, ATA,
/linux-4.1.27/drivers/ata/
H A Dpata_mpc52xx.c208 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 */
216 u32 udma3; /* ATA + 0x20 UDMA Timing 3 */
217 u32 udma4; /* ATA + 0x24 UDMA Timing 4 */
218 u32 udma5; /* ATA + 0x28 UDMA Timing 5 */
219 u32 share_cnt; /* ATA + 0x2c ATA share counter */
223 u32 fifo_data; /* ATA + 0x3c */
224 u8 fifo_status_frame; /* ATA + 0x40 */
225 u8 fifo_status; /* ATA + 0x41 */
227 u8 fifo_control; /* ATA + 0x44 */
229 u16 fifo_alarm; /* ATA + 0x4a */
231 u16 fifo_rdp; /* ATA + 0x4e */
233 u16 fifo_wrp; /* ATA + 0x52 */
235 u16 fifo_lfrdp; /* ATA + 0x56 */
237 u16 fifo_lfwrp; /* ATA + 0x5a */
240 u8 tf_control; /* ATA + 0x5c TASKFILE Control/Alt Status */
242 u16 tf_data; /* ATA + 0x60 TASKFILE Data */
244 u8 tf_features; /* ATA + 0x64 TASKFILE Features/Error */
246 u8 tf_sec_count; /* ATA + 0x68 TASKFILE Sector Count */
248 u8 tf_sec_num; /* ATA + 0x6c TASKFILE Sector Number */
250 u8 tf_cyl_low; /* ATA + 0x70 TASKFILE Cylinder Low */
252 u8 tf_cyl_high; /* ATA + 0x74 TASKFILE Cylinder High */
254 u8 tf_dev_head; /* ATA + 0x78 TASKFILE Device/Head */
256 u8 tf_command; /* ATA + 0x7c TASKFILE Command/Status */
257 u8 dma_mode; /* ATA + 0x7d ATA Host DMA Mode configuration */
718 * ATA device tree node to find out what DMA modes work on the board. mpc52xx_ata_probe()
722 * The MPC5200 ATA controller supports MWDMA modes 0, 1 and 2 and mpc52xx_ata_probe()
771 "ATA task", priv); mpc52xx_ata_probe()
789 dev_err(&op->dev, "error registering with ATA layer\n"); mpc52xx_ata_probe()
810 /* Deregister the ATA interface */ mpc52xx_ata_remove()
873 MODULE_DESCRIPTION("Freescale MPC52xx IDE/ATA libata driver");
H A Dlibata-transport.c7 * The ATA transport class contains common code to deal with ATA HBAs,
8 * an approximated representation of ATA topologies in the driver model,
202 * ATA Port attributes
231 * ata_is_port -- check if a struct device represents a ATA port
235 * %1 if the device represents a ATA Port, %0 else
251 * ata_tport_delete -- remove ATA PORT
252 * @port: ATA PORT to remove
254 * Removes the specified ATA PORT. Remove the associated link as well.
268 /** ata_tport_add - initialize a transport ATA port structure
273 * Initialize a ATA port structure for sysfs. It will be added to the device
323 * ATA link attributes
355 * ata_is_link -- check if a struct device represents a ATA link
359 * %1 if the device represents a ATA link, %0 else
376 * ata_tlink_delete -- remove ATA LINK
377 * @port: ATA LINK to remove
379 * Removes the specified ATA LINK. remove associated ATA device(s) as well.
397 * ata_tlink_add -- initialize a transport ATA link structure
400 * Initialize an ATA LINK structure for sysfs. It will be added in the
401 * device tree below the ATA PORT it belongs to.
450 * ATA device attributes
595 * ata_is_ata_dev -- check if a struct device represents a ATA device
599 * %1 if the device represents a ATA device, %0 else
616 * ata_tdev_free -- free a ATA LINK
617 * @dev: ATA PHY to free
619 * Frees the specified ATA PHY.
632 * ata_tdev_delete -- remove ATA device
633 * @port: ATA PORT to remove
635 * Removes the specified ATA device.
648 * ata_tdev_add -- initialize a transport ATA device structure.
651 * Initialize an ATA device structure for sysfs. It will be added in the
652 * device tree below the ATA LINK device it belongs to.
706 * ata_attach_transport -- instantiate ATA transport template
767 * ata_release_transport -- release ATA transport template instance
H A Dpata_cypress.c2 * pata_cypress.c - Cypress PATA for new ATA layer
45 * @ap: ATA interface
46 * @adev: ATA device
94 * @ap: ATA interface
95 * @adev: ATA device
134 /* Devfn 1 is the ATA primary. The secondary is magic and on devfn2. cy82c693_init_one()
H A Dpata_at32.c59 * ATA PIO modes
89 * Setup SMC for the given ATA timing.
135 /* Do some debugging output of ATA and SMC timings */ pata_at32_setup_timing()
136 dev_dbg(dev, "ATA: C=%d S=%d P=%d R=%d\n", pata_at32_setup_timing()
157 /* Compute ATA timing */ pata_at32_set_piomode()
160 dev_warn(ap->dev, "Failed to compute ATA timing %d\n", ret); pata_at32_set_piomode()
164 /* Setup SMC to ATA timing */ pata_at32_set_piomode()
167 dev_warn(ap->dev, "Failed to setup ATA timing %d\n", ret); pata_at32_set_piomode()
194 /* Setup ATA bindings */ pata_at32_init_one()
225 /* Set info as private data of ATA host */ pata_at32_init_one()
228 /* Register ATA device and return */ pata_at32_init_one()
328 /* Setup SMC to ATA timing */ pata_at32_probe()
333 /* Map ATA address space */ pata_at32_probe()
344 /* Setup and register ATA device */ pata_at32_probe()
H A Dsata_inic162x.c32 * sata_initio162x, updated it to use IDMA for ATA DMA commands and
84 /* registers for ATA TF operation */
134 PIRQ_ATA = (1 << 4), /* ATA interrupt */
148 IDMA_CTL_RST_ATA = (1 << 2), /* hardreset ATA bus */
151 IDMA_CTL_ATA_NIEN = (1 << 8), /* ATA IRQ disable */
172 CPB_RESP_DONE = (1 << 0), /* ATA command complete */
173 CPB_RESP_REL = (1 << 1), /* ATA release */
175 CPB_RESP_ATA_ERR = (1 << 3), /* ATA command error */
176 CPB_RESP_SPURIOUS = (1 << 4), /* ATA spurious interrupt error */
194 u8 error; /* ATA Error */
195 u8 status; /* ATA Status */
201 u8 feature; /* ATA Feature */
202 u8 hob_feature; /* ATA Ex. Feature */
203 u8 device; /* ATA Device/Head */
205 u8 nsect; /* ATA Sector Count */
206 u8 hob_nsect; /* ATA Ex. Sector Count */
207 u8 lbal; /* ATA Sector Number */
208 u8 hob_lbal; /* ATA Ex. Sector Number */
209 u8 lbam; /* ATA Cylinder Low */
210 u8 hob_lbam; /* ATA Ex. Cylinder Low */
211 u8 lbah; /* ATA Cylinder High */
212 u8 hob_lbah; /* ATA Ex. Cylinder High */
213 u8 command; /* ATA Command */
214 u8 ctl; /* ATA Control */
215 u8 slave_error; /* Slave ATA Error */
216 u8 slave_status; /* Slave ATA Status */
H A Dpata_sl82c105.c2 * pata_sl82c105.c - SL82C105 PATA for new ATA layer
45 * @link: ATA link
68 * @ap: ATA interface
69 * @adev: ATA device
93 * @ap: ATA interface
94 * @adev: ATA device
107 * @ap: ATA interface
108 * @adev: ATA device
131 * @ap: ATA interface
151 * @qc: ATA command
176 * @qc: ATA command
257 * @pdev: PCI device for the ATA function
259 * Locates the PCI bridge associated with the ATA function and
H A Dpata_acpi.c65 * @adev: ATA device
107 * @ap: ATA interface
108 * @adev: ATA device
130 * @ap: ATA interface
131 * @adev: ATA device
162 * this interface so that we can load the correct ATA timings if
186 * @ap: ATA port being set up
224 * pacpi_init_one - Register ACPI ATA PCI device with kernel services
277 MODULE_DESCRIPTION("SCSI low-level driver for ATA in ACPI mode");
H A Dpata_amd.c2 * pata_amd.c - AMD PATA for new ATA layer
30 * @ap: ATA port being set up
124 * @link: ATA link
167 * amd_fifo_setup - set the PIO FIFO for ATA/ATAPI
168 * @ap: ATA interface
169 * @adev: ATA device
202 * @ap: ATA interface
203 * @adev: ATA device
234 * @ap: ATA interface
235 * @adev: ATA device
323 * @lin: ATA link
347 * @ap: ATA interface
348 * @adev: ATA device
365 * @ap: ATA interface
366 * @adev: ATA device
H A Dpata_optidma.c2 * pata_optidma.c - Opti DMA PATA for new ATA layer
48 * @link: ATA link
70 * @ap: ATA port
88 * @ap: ATA port
103 * @ap: ATA interface
104 * @adev: ATA device
190 * @ap: ATA port
230 * @ap: ATA port
245 * @ap: ATA port
260 * @ap: ATA port
275 * @ap: ATA port
290 * @adev: ATA device
292 * Turn the ATA device setup into PCI configuration bits
356 * @pdev; ATA controller
383 /* Check the ATA arbitration/timing is suitable */ optiplus_with_udma()
H A Dpata_cmd64x.c2 * pata_cmd64x.c - CMD64x PATA for new ATA layer
86 * @ap: ATA interface
87 * @adev: ATA device
170 * @ap: ATA interface
171 * @adev: ATA device
184 * @ap: ATA interface
185 * @adev: ATA device
233 * @ap: ATA interface
253 * @ap: ATA interface
272 * @ap: ATA interface
289 * @ap: ATA interface
H A Dpata_sil680.c2 * 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
204 * Issues ATA command, with proper synchronization with interrupt
H A Dpata_atiixp.c2 * pata_atiixp.c - ATI PATA for new ATA layer
68 * @link: ATA link
93 * @ap: ATA interface
94 * @adev: ATA device
124 * @ap: ATA interface
125 * @adev: ATA device
141 * @ap: ATA interface
142 * @adev: ATA device
H A Dpata_hpt3x2n.c2 * Libata driver for the HighPoint 371N, 372N, and 302N UDMA66 ATA controllers.
58 * 21 CLK frequency for UDMA: 0=ATA clock, 1=dual ATA clock.
94 * @ap: ATA port
118 * @adev: ATA device
134 * @ap: ATA port to detect on
162 * @link: ATA link to reset
214 * @ap: ATA interface
227 * @ap: ATA interface
240 * @qc: ATA command
261 * @ap: ATA port
264 * Switch the ATA bus clock between the PLL and PCI clock sources
595 * On HPT371N, if ATA clock is 66 MHz we must set bit 2 in hpt3x2n_init_one()
602 /* Now kick off ATA set up */ hpt3x2n_init_one()
H A Dpata_ns87410.c2 * pata_ns87410.c - National Semiconductor 87410 PATA for new ATA layer
33 * @link: ATA link
56 * @ap: ATA interface
57 * @adev: ATA device
110 * this interface so that we can load the correct ATA timings if
H A Dpata_opti.c2 * pata_opti.c - ATI PATA for new ATA layer
47 * @link: ATA link
70 * @ap: ATA port
98 * @ap: ATA interface
99 * @adev: ATA device
H A Dpata_serverworks.c2 * pata_serverworks.c - Serverworks PATA for new ATA layer
48 /* Seagate Barracuda ATA IV Family drives in UDMA mode 5
61 * @ap: ATA port to do cable detect
96 * @ap: ATA port
144 * @adev: ATA device
162 * @adev: ATA device
190 * @ap: ATA interface
191 * @adev: ATA device
218 * @ap: ATA interface
219 * @adev: ATA device
H A Dlibata-sff.c77 * Reads ATA taskfile status register for currently-selected device
94 * Reads ATA taskfile alternate status register for
206 * Sleep until ATA Status register bit BSY clears,
268 * Sleep until ATA Status register bit BSY clears, or timeout
288 * Writes ATA taskfile device control register.
305 * ata_sff_dev_select - Select device 0/1 on ATA bus
306 * @ap: ATA channel to manipulate
307 * @device: ATA device (numbered from zero) to select
309 * Use the method defined in the ATA specification to
311 * ATA channel. Works with both PIO and MMIO.
333 * ata_dev_select - Select device 0/1 on ATA bus
334 * @ap: ATA channel to manipulate
335 * @device: ATA device (numbered from zero) to select
339 * Use the method defined in the ATA specification to
341 * ATA channel.
406 * @tf: ATA taskfile register set
408 * Outputs ATA taskfile to standard ATA host controller.
464 * ata_sff_tf_read - input device's ATA taskfile shadow registers
466 * @tf: ATA taskfile register set for storing input
468 * Reads ATA taskfile registers for currently-selected device
505 * ata_sff_exec_command - issue ATA command to host controller
507 * @tf: ATA taskfile register set
509 * Issues ATA command, with proper synchronization with interrupt
525 * ata_tf_to_host - issue ATA taskfile to host controller
527 * @tf: ATA taskfile register set
529 * Issues ATA taskfile register set to ATA host controller,
693 * Transfer qc->sect_size bytes of data from/to the ATA device.
754 * ATA device for the DRQ request.
1163 /* ATA PIO protocol */ ata_sff_hsm_move()
1183 ata_ehi_push_desc(ehi, "ST-ATA: " ata_sff_hsm_move()
1214 ata_ehi_push_desc(ehi, "ST-ATA: " ata_sff_hsm_move()
1668 * ata_sff_interrupt - Default SFF ATA host interrupt handler
1818 * @ap: ATA channel to examine
1823 * later found its way into the ATA/ATAPI spec.
1825 * Write a pattern to the ATA shadow registers,
1828 * ATA shadow register contents.
1859 * ata_sff_dev_classify - Parse returned ATA device signature
1860 * @dev: ATA device to classify (starting at zero)
1865 * an ATA/ATAPI-defined set of values is placed in the ATA
1869 * Select the ATA device, and read the values from the ATA shadow
1907 /* determine if device is ATA or ATAPI */ ata_sff_dev_classify()
1913 * Assume ATA device if the device seems present but ata_sff_dev_classify()
2028 * ata_sff_softreset - reset host port via ATA SRST
2029 * @link: ATA link to reset
2033 * Reset host port using ATA SRST.
2070 /* determine by signature whether we have ATA or ATAPI devices */ ata_sff_softreset()
2275 * ata_pci_sff_init_host - acquire native PCI ATA resources and init host
2276 * @host: target ATA host
2278 * Acquire native PCI ATA resources for @host and initialize the
2354 * ata_pci_sff_prepare_host - helper to prepare PCI PIO-only SFF ATA host
2357 * @r_host: out argument for the initialized ATA host
2359 * Helper to allocate PIO-only SFF ATA host for @pdev, acquire
2380 dev_err(&pdev->dev, "failed to allocate ATA host\n"); ata_pci_sff_prepare_host()
2401 * @host: target SFF ATA host
2405 * This is the counterpart of ata_host_activate() for SFF ATA
2734 * Prepare ATA taskfile for submission.
2752 * Prepare ATA taskfile for submission.
2874 * ata_bmdma_interrupt - Default BMDMA ATA host interrupt handler
2974 * @ap: Port associated with this ATA transaction.
2996 * @qc: Info associated with this ATA transaction.
3025 * @qc: Info associated with this ATA transaction.
3047 * without first all the MMIO ATA cards/mobos. ata_bmdma_start()
3083 * @ap: Port associated with this ATA transaction.
3152 * Some PCI ATA devices report simplex mode but in fact can be told to
3187 * ata_pci_bmdma_init - acquire PCI BMDMA resources and init ATA host
3188 * @host: target ATA host
3250 * ata_pci_bmdma_prepare_host - helper to prepare PCI BMDMA ATA host
3253 * @r_host: out argument for the initialized ATA host
3255 * Helper to allocate BMDMA ATA host for @pdev, acquire all PCI
3309 * ata_sff_port_init - Initialize SFF/BMDMA ATA port
H A Dpata_cs5520.c62 * @ap: ATA port
63 * @adev: ATA device
93 * @ap: ATA port
94 * @adev: ATA device
140 /* Check if the ATA ports are enabled */ cs5520_init_one()
264 * the 5520 is a bit odd and not just a pure ATA device. As a result
284 core ATA code can handle it */
H A Dpata_triflex.c2 * pata_triflex.c - Compaq PATA for new ATA layer
49 * @link: ATA link
75 * @ap: ATA interface
131 * @ap: ATA interface
132 * @adev: ATA device
162 * @ap: ATA interface
163 * @adev: ATA device
H A Dpata_pdc202xx_old.c2 * pata_pdc202xx_old.c - Promise PDC202xx PATA for new ATA layer
69 * @ap: ATA interface
70 * @adev: ATA device
104 * @ap: ATA interface
105 * @adev: ATA device
118 * @ap: ATA interface
119 * @adev: ATA device
167 * @qc: ATA command
217 * @qc: ATA command
H A Dpata_isapnp.c104 * Remove a previously configured PnP ATA port. Called only on module
117 /* Generic ESDI/IDE/ATA compatible hard disk controller */
133 MODULE_DESCRIPTION("low-level driver for ISA PnP ATA");
H A Dpata_rz1000.c28 * @link: ATA link
76 * rz1000_init_one - Register RZ1000 ATA PCI device with kernel services
145 MODULE_DESCRIPTION("low-level driver for RZ1000 PCI ATA");
H A Dpata_ninja32.c2 * pata_ninja32.c - Ninja32 PATA for new ATA layer
51 * @ap: ATA interface
52 * @adev: ATA device
194 MODULE_DESCRIPTION("low-level driver for Ninja32 ATA");
H A Dlibata-acpi.c84 * @ap: ATA port ACPI event occurred
85 * @dev: ATA device ACPI event occurred (can be NULL)
248 * ata_acpi_dissociate - dissociate ATA host from ACPI objects
249 * @host: target ATA host
275 * @ap: target ATA port
335 * @ap: target ATA port
384 * @dev: target ATA device
624 * @dev: target ATA device
625 * @gtf: raw ATA taskfile register set (0x1f1 - 0x1f7)
627 * Outputs ATA taskfile to standard ATA host controller.
713 * @dev: target ATA device
756 * @dev: target ATA device
808 * ata_acpi_on_suspend - ATA ACPI hook called on suspend
809 * @ap: target ATA port
829 * ata_acpi_on_resume - ATA ACPI hook called on resume
830 * @ap: target ATA port
949 * @ap: target ATA port
964 * ata_acpi_on_devcfg - ATA ACPI hook called on device donfiguration
965 * @dev: target ATA device
1043 * ata_acpi_on_disable - ATA ACPI hook called when a device is disabled
1044 * @dev: target ATA device
H A Dlibata-core.c2 * libata-core.c - helper library for ATA
34 * http://www.t13.org (ATA standards, PCI DMA IDE spec)
39 * http://www.ce-ata.org (CE-ATA: not supported)
129 MODULE_PARM_DESC(force, "Force ATA configurations including cable type, link speed and transfer mode (see Documentation/kernel-parameters.txt for details)");
153 MODULE_PARM_DESC(dma, "DMA enable/disable (0x1==ATA, 0x2==ATAPI, 0x4==CF)");
157 MODULE_PARM_DESC(ata_probe_timeout, "Set ATA probing timeout (seconds)");
172 MODULE_DESCRIPTION("Library module for ATA devices");
185 * @ap: ATA port containing links to iterate
244 * @link: ATA link containing devices to iterate
296 * @dev: ATA device to look up physical link for
321 * @ap: ATA port of interest
353 * @link: ATA link of interest
405 * @dev: ATA device of interest
459 * @dev: ATA device of interest
539 * ata_tf_to_fis - Convert ATA taskfile to SATA FIS structure
545 * Converts a standard ATA taskfile to a Serial ATA
583 * ata_tf_from_fis - Convert SATA FIS to ATA taskfile
587 * Converts a serial ATA FIS structure to a standard ATA taskfile.
683 * ata_tf_read_block - Read block address from ATA taskfile
684 * @tf: ATA taskfile of interest
685 * @dev: ATA device @tf belongs to
732 * ata_build_rw_tf - Build ATA taskfile for given read/write request
733 * @tf: Target ATA taskfile
734 * @dev: ATA device @tf belongs to
743 * Build ATA taskfile @tf for read/write request described by
1038 * ata_dev_classify - determine device type based on ATA-spec signature
1039 * @tf: ATA taskfile register set for device to be identified
1042 * ATA or ATAPI, as per "Signature and persistence" section
1043 * of ATA/PI spec (volume 1, sect 5.14).
1058 * ATA/ATAPI-7 (d1532v1r1: Feb. 19, 2003) specified separate ata_dev_classify()
1059 * signatures for ATA and ATAPI devices attached on SerialATA, ata_dev_classify()
1062 * for ATA/ATAPI devices. Then, Serial ATA II: Port ata_dev_classify()
1065 * ATA/ATAPI-7 dropped descriptions about 0x3c/0xc3 and ata_dev_classify()
1076 DPRINTK("found ATA device by sig\n"); ata_dev_classify()
1091 DPRINTK("found SEMB device by sig (could be ATA device)\n"); ata_dev_classify()
1757 * @adev: ATA device
1790 * @adev: ATA device
1818 * identify data. For some RAID controllers and for pre ATA devices
1836 * performed on ATA devices and ATA_CMD_ID_ATAPI on ATAPI
1969 "host indicates ignore ATA devices, ignored\n"); ata_dev_read_id()
2003 * IDENTIFY (optional in early ATA) ata_dev_read_id()
2004 * INITIALIZE DEVICE PARAMETERS (later IDE and ATA) ata_dev_read_id()
2151 * ata_dev_configure - Configure the specified ATA/ATAPI device
2247 * common ATA, ATAPI feature tests ata_dev_configure()
2256 /* SCSI only uses 4-char revisions, dump full 8 chars from ATA */ ata_dev_configure()
2263 /* ATA-specific feature tests */ ata_dev_configure()
2272 snprintf(revbuf, 7, "ATA-%d", ata_id_major_version(id)); ata_dev_configure()
2564 * ata_bus_probe - Reset and probe ATA bus
2567 * Master ATA bus probing function. Initiates a hardware-dependent
2590 /* If we issue an SRST then an ATA drive (not ATAPI) ata_bus_probe()
2593 * this is true for ATA or ATAPI. Until we've set a ata_bus_probe()
2904 * These were taken from ATA/ATAPI-6 standard, rev 0a, except
3242 ATA devices */ ata_dev_set_mode()
3290 * ATA device disk transfer mode (PIO3, UDMA6, etc.). If
3494 * @link: ATA link to debounce SATA phy status for
3564 * @link: ATA link to resume SATA
3629 * @link: ATA link to manipulate SControl for
3701 * @link: ATA link to be reset
3961 * @dev: target ATA device
3993 * ata_dev_revalidate - Revalidate ATA device
4017 /* fail early if !ATA && !ATAPI to avoid issuing [P]IDENTIFY to PMP */ ata_dev_revalidate()
4125 { " 2GB ATA Flash Disk", "ADMA428M", ATA_HORKAGE_NODMA },
4241 * (Return Zero After Trim) flags in the ATA Command Set are
4619 * Allow low-level driver to filter ATA PACKET commands, returning
4648 * @qc: ATA command in question
4754 * ata_qc_new_init - Request an available ATA command, and initialize it
4876 * ata_qc_complete - Complete an active ATA command
4879 * Indicate to the mid and upper layers that an ATA command has
5032 * Prepare an ATA command to submission to device.
5104 * @link: ATA link to test SCR accessibility for
5123 * @link: ATA link to read SCR for
5150 * @link: ATA link to write SCR for
5177 * @link: ATA link to write SCR for
5209 * @link: ATA link to test
5233 * @link: ATA link to test
5257 * @link: ATA link to test
5283 * @link: ATA link to test
5549 * @ap: ATA port link is attached to
5618 * ata_port_alloc - allocate and initialize basic ATA port resources
5619 * @host: ATA host this allocated port belongs to
5621 * Allocate and initialize basic ATA port resources.
5624 * Allocate ATA port on success, NULL on failure.
5702 * ata_host_alloc - allocate and init basic ATA host resources
5704 * @max_ports: maximum number of ATA ports associated with this host
5706 * Allocate and initialize basic ATA host resources. LLD calls
5716 * Allocate ATA host on success, NULL on failure.
5732 /* alloc a container for our list of ATA ports (buses) */ ata_host_alloc()
5734 /* alloc a container for our list of ATA ports (buses) */ ata_host_alloc()
5770 * @ppi: array of ATA port_info to initialize host with
5771 * @n_ports: number of ATA ports attached to this host
5773 * Allocate ATA host and initialize with info from @ppi. If NULL
5778 * Allocate ATA host on success, NULL on failure.
5946 * ata_host_start - start and freeze ports of an ATA host
5947 * @host: ATA host to start ports for
6100 * ata_host_register - register initialized ATA host
6101 * @host: ATA host to register
6104 * Register initialized ATA host. @host is allocated using
6106 * starts ports, registers @host with ATA and SCSI layers and
6199 * @host: target ATA host
6205 * After allocating an ATA host and initializing it, most libata
6253 * ata_port_detach - Detach ATA port in prepration of device removal
6254 * @ap: ATA port to be detached
6256 * Detach all ATA devices and the associated SCSI devices of @ap;
6305 * ata_host_detach - Detach all ports of an ATA host
6682 * ata_msleep - ATA EH owner aware msleep
6683 * @ap: ATA port to attribute the sleep to
6710 * @ap: ATA port to wait register for, can be NULL
6718 * operation for ATA controllers. This function reads 32bit LE
6880 * low-level ATA host controller drivers. As such, the API/ABI is
H A Dpata_hpt366.c2 * Libata driver for the highpoint 366 and 368 UDMA66 ATA controllers.
115 * @ap: ATA port
196 * @adev: ATA device
260 * @ap: ATA interface
273 * @ap: ATA interface
372 /* PCI clocking determines the ATA timing values to use */ hpt36x_init_one()
385 /* Now kick off ATA set up */ hpt36x_init_one()
H A Dlibata-scsi.c2 * libata-scsi.c - helper library for ATA
544 /* If we set cc then ATA pass-through will cause a ata_cmd_ioctl()
555 /* Send userspace a few ATA registers (same as drivers/ide) */ ata_cmd_ioctl()
557 desc[0] == 0x09) { /* code is "ATA Descriptor" */ ata_cmd_ioctl()
630 /* If we set cc then ATA pass-through will cause a ata_task_ioctl()
641 /* Send userspace ATA registers */ ata_task_ioctl()
643 desc[0] == 0x09) {/* code is "ATA Descriptor" */ ata_task_ioctl()
736 * @dev: ATA device to which the new command is attached
737 * @cmd: SCSI command that originated this ATA command
741 * ATA command sent to the hardware.
786 * Decode and dump the ATA error/status registers for the user so
828 * ata_to_sense_error - convert ATA error to SCSI error
829 * @id: ATA device number
830 * @drv_stat: value contained in ATA status register
831 * @drv_err: value contained in ATA error register
837 * Converts an ATA error into a SCSI error. Fill out pointers to
953 printk(KERN_ERR "ata%u: translated ATA stat/err 0x%02x/%02x " ata_to_sense_error()
963 * This function is specific to the ATA descriptor format sense
964 * block specified for the ATA pass through commands. Regardless
967 * block. If there was no error, we get the request from an ATA
970 * asc,ascq = ATA PASS-THROUGH INFORMATION AVAILABLE
1043 * Generate sense block for a failed ATA command @qc. Descriptor
1230 * Clear dev->sdev, schedule the device for ATA detach and invoke
1263 * @ap: ATA port to which the device change the queue depth
1328 * @qc: Storage for translated ATA taskfile
1330 * Sets up an ATA taskfile to issue STANDBY (to stop) or READ VERIFY
1390 /* Issue ATA STANDBY IMMEDIATE command */ ata_scsi_start_stop_xlat()
1415 * @qc: Storage for translated ATA taskfile
1417 * Sets up an ATA taskfile to issue FLUSH CACHE or
1536 * ata_scsi_verify_xlat - Translate SCSI VERIFY command into an ATA one
1537 * @qc: Storage for translated ATA taskfile
1539 * Converts SCSI VERIFY command to an ATA READ VERIFY command.
1658 * ata_scsi_rw_xlat - Translate SCSI r/w command into an ATA one
1659 * @qc: Storage for translated ATA taskfile
1662 * ATA counterpart, including starting sector (LBA),
1722 /* Check and compose ATA command */ ata_scsi_rw_xlat()
1726 * However, for ATA R/W commands, sector count 0 means ata_scsi_rw_xlat()
1729 * WARNING: one or two older ATA drives treat 0 as 0... ata_scsi_rw_xlat()
1766 /* For ATA pass thru (SAT) commands, generate a sense block if ata_scsi_qc_complete()
1769 * condition is generated and the ATA register values are returned ata_scsi_qc_complete()
1773 * asc,ascq = ATA PASS-THROUGH INFORMATION AVAILABLE ata_scsi_qc_complete()
1801 * ata_scsi_translate - Translate then issue SCSI command to ATA device
1802 * @dev: ATA device to which the command is addressed
1804 * @xlat_func: Actor which translates @cmd to an ATA taskfile
1807 * command issued can be directly translated into an ATA
1814 * ATA command, else 1 to finish translation. If 1 is returned
2027 memcpy(&rbuf[8], "ATA ", 8); ata_scsiop_inq_std()
2078 * Returns ATA device serial number.
2104 * - vendor specific ASCII containing the ATA serial number
2106 * name ("ATA "), model and serial numbers.
2133 memcpy(rbuf + num, "ATA ", 8); ata_scsiop_inq_83()
2158 * ata_scsiop_inq_89 - Simulate INQUIRY VPD page 89, ATA info
2162 * Yields SAT-specified ATA VPD page.
2181 /* we don't store the ATA device signature, so we fake it */ ata_scsiop_inq_89()
2216 * The ATA spec doesn't even know about a granularity or alignment ata_scsiop_inq_b0()
2591 * correct for ATA, not ATAPI atapi_sense_complete()
2670 * correct for ATA, not ATAPI atapi_qc_complete()
2706 * correct for ATA, not ATAPI atapi_qc_complete()
2868 * @ap: ATA port to which the device is attached
2869 * @scsidev: SCSI device from which we derive the ATA device
2872 * map that onto an ATA bus, and using that mapping
2880 * Associated ATA device, or %NULL if not found.
2931 * ata_scsi_pass_thru - convert ATA pass-thru CDB to taskfile
3190 * @qc: Storage for translated ATA taskfile
3236 * @qc: Storage for translated ATA taskfile
3238 * Converts a MODE SELECT command to an ATA SET FEATURES taskfile.
3371 * ata_get_xlat_func - check if SCSI to ATA translation is possible
3372 * @dev: ATA device
3424 * @ap: ATA port to which the command was being sent
3471 /* ATA_16 passthru, treat as an ATA command */ __ata_scsi_queuecmd()
3500 * ATA taskfiles, and queues the taskfiles to be sent to
3504 * ATA and ATAPI devices appearing as SCSI devices.
3507 * ATA host lock
3541 * ata_scsi_simulate - simulate SCSI command on ATA device
3789 * @dev: ATA device to offline attached SCSI device for
3813 * @dev: ATA device to remove attached SCSI device for
3911 * @work: Pointer to ATA port to perform SCSI hotplug on
4044 * @work: Pointer to ATA port to perform scsi_rescan_device()
4046 * After ATA pass thru (SAT) commands are executed successfully,
4085 * @host: ATA host container for all SAS ports
4217 * @ap: ATA port to which SCSI device is attached
4234 * @ap: ATA port to which the command is being sent
H A Data_generic.c31 * A generic parallel ATA driver using libata
119 * IDE-R devices have PCI offset 0xF8.L as zero, later Intel ATA has
120 * it non zero. All Intel ATA has 0x40 writable (timing), but it is
160 * specific hacks then let the ATA layer do the heavy lifting.
253 MODULE_DESCRIPTION("low-level driver for generic ATA");
H A Dpata_legacy.c19 * An ATA driver for the legacy ATA ports.
41 * The Cyrix 5510/5520 where a pre SFF ATA device is on the bridge and
165 * Add an entry into the probe list for ATA controllers. This is used
608 * this interface so that we can load the correct ATA timings. The
686 * this interface so that we can load the correct ATA timings.
865 * Probe an ATA port and identify the type of controller. We don't
903 printk(KERN_INFO "PDC20230-C/20630 VLB ATA controller" probe_chip_type()
914 printk(KERN_INFO "PDC20230-B VLB ATA " probe_chip_type()
1021 * legacy_check_special_cases - ATA special cases
1023 * @master: set this if we find an ATA master
1024 * @master: set this if we find an ATA secondary
1026 * A small number of vendors implemented early PCI ATA interfaces
1027 * on bridge logic without the ATA interface being PCI visible.
1036 /* Cyrix CS5510 pre SFF MWDMA ATA on the bridge */ legacy_check_special_cases()
1041 /* Cyrix CS5520 pre SFF MWDMA ATA on the bridge */ legacy_check_special_cases()
1046 /* Intel MPIIX - PIO ATA on non PCI side of bridge */ legacy_check_special_cases()
1051 /* ATA port enabled */ legacy_check_special_cases()
1194 /* Check for any overlap of the system ATA mappings. Native for_each_pci_dev()
1258 MODULE_DESCRIPTION("low-level driver for legacy ATA");
H A Dpata_mpiix.c2 * pata_mpiix.c - Intel MPIIX PATA for new ATA layer
12 * ISA IDE and PCI IDE. Although the ATA timings are PCI configured the actual
62 * @ap: ATA interface
63 * @adev: ATA device
116 * this interface so that we can load the correct ATA timings if
H A Dpata_radisys.c8 * A PIIX relative, this device has a single ATA channel and no
11 * although no other modes/timings. Also lacking is 32bit I/O on the ATA
30 * @ap: ATA port
161 * this interface so that we can load the correct ATA timings if
199 * radisys_init_one - Register PIIX ATA PCI device with kernel services
H A Dsata_sx4.c38 engine, DIMM memory, and four ATA engines (one per SATA port).
40 handing off to one (or more) of the ATA engines. The ATA
55 transactions into a fixed DIMM memory space, from where an ATA
62 submit ATA packet to hardware
63 hardware executes ATA WRITE command, w/ data in DIMM
68 submit ATA packet to hardware
69 hardware executes ATA READ command, w/ data in DIMM
140 PDC_MASK_INT = (1 << 10), /* HDMA/ATA mask int */
141 PDC_RESET = (1 << 11), /* HDMA/ATA reset */
324 /* output ATA packet S/G table */ pdc20621_ata_sg()
327 VPRINTK("ATA sg addr 0x%x, %d\n", addr, addr); pdc20621_ata_sg()
331 VPRINTK("ATA PSG @ %x == (0x%x, 0x%x)\n", pdc20621_ata_sg()
375 * Set up ATA packet pdc20621_ata_pkt()
484 * Build ATA, host DMA packets pdc20621_dma_prep()
656 /* if writing, we (1) DMA to DIMM, then (2) do ATA command */ pdc20621_packet_start()
728 /* step one - exec ATA command */ pdc20621_host_intr()
757 /* step two - execute ATA command */ pdc20621_host_intr()
858 /* FIXME: if all 4 ATA engines are stopped, also stop HDMA engine */ pdc_freeze()
872 /* FIXME: start HDMA engine, if zero ATA engines running */ pdc_thaw()
H A Dpata_ali.c2 * pata_ali.c - ALI 15x3 PATA for new ATA layer
84 * @ap: ATA port
111 * @ap: ALi ATA port
137 * ALi FIFO works it provides a boost on ATA disk but can be confused by
148 /* ATA - FIFO on set nibble to 0x05, ATAPI - FIFO off, set nibble to ali_fifo_control()
201 * @ap: ATA interface
202 * @adev: ATA device
224 /* PIO FIFO is only permitted on ATA disk */ ali_set_piomode()
235 * @ap: ATA interface
236 * @adev: ATA device
425 * @pdev: PCI device of ATA controller
488 * and perform configuration work before handing it to the ATA layer
H A Dpata_jmicron.c2 * pata_jmicron.c - JMicron ATA driver for non AHCI mode. This drives the
31 * @link: ATA link
120 * jmicron_init_one - Register Jmicron ATA PCI device with kernel services
H A Dpata_sch.c101 * @adev: ATA device
130 * @adev: ATA device
160 * sch_init_one - Register SCH ATA PCI device with kernel services
H A Dpata_bf54x.c500 * Description: Writes to ATA Device Resgister
537 *Description: Reads from ATA Device Resgister
575 * Description: Writes to ATA Device Resgister
620 * Description: Reads from ATA Device Resgister
664 * @tf: ATA taskfile register set
733 * bfin_tf_read - input device's ATA taskfile shadow registers
735 * @tf: ATA taskfile register set for storing input
763 * bfin_exec_command - issue ATA command to host controller
765 * @tf: ATA taskfile register set
792 * bfin_dev_select - Select device 0/1 on ATA bus
793 * @ap: ATA channel to manipulate
794 * @device: ATA device (numbered from zero) to select
827 * @qc: Info associated with this ATA transaction.
873 /* Enable ATA DMA operation*/ bfin_bmdma_setup()
881 /* Send ATA DMA command */ bfin_bmdma_setup()
885 /* set ATA DMA write direction */ bfin_bmdma_setup()
889 /* set ATA DMA read direction */ bfin_bmdma_setup()
906 * @qc: Info associated with this ATA transaction.
959 * @ap: ATA channel to examine
1060 * between when the ATA command register is written, and then bfin_bus_softreset()
1082 * bfin_softreset - reset host port via ATA SRST
1114 /* determine by signature whether we have ATA or ATAPI devices */ bfin_softreset()
1126 * @ap: Port associated with this ATA transaction.
1188 * @ap: Port associated with this ATA transaction.
H A Dpata_macio.c49 /* Models of macio ATA controller */
53 controller_kl_ata3, /* KeyLargo ATA-3 */
54 controller_kl_ata4, /* KeyLargo ATA-4 */
55 controller_un_ata6, /* UniNorth2 ATA-6 */
56 controller_k2_ata6, /* K2 ATA-6 */
57 controller_sh_ata6, /* Shasta ATA-6 */
61 "OHare ATA", /* OHare based */
62 "Heathrow ATA", /* Heathrow/Paddington */
63 "KeyLargo ATA-3", /* KeyLargo ATA-3 (MDMA only) */
64 "KeyLargo ATA-4", /* KeyLargo ATA-4 (UDMA/66) */
65 "UniNorth ATA-6", /* UniNorth2 ATA-6 (UDMA/100) */
66 "K2 ATA-6", /* K2 ATA-6 (UDMA/100) */
67 "Shasta ATA-6", /* Shasta ATA-6 (UDMA/133) */
76 /* Kauai (U2) ATA has different register setup */
1059 dev_err(priv->dev, "Failed to allocate ATA port structure\n"); pata_macio_common_init()
1069 dev_err(priv->dev, "Failed to map ATA ports\n"); pata_macio_common_init()
1079 dev_warn(priv->dev, "Failed to map ATA DMA registers\n"); pata_macio_common_init()
1086 dev_err(priv->dev, "Failed to map ATA FCR register\n"); pata_macio_common_init()
1337 .name = "ATA",
H A Dpata_piccolo.c83 * specific hacks then let the ATA layer do the heavy lifting.
122 MODULE_DESCRIPTION("Low level driver for Toshiba Piccolo ATA");
H A Dsata_promise.h109 /* ATA command block registers */ pdc_prep_lba28()
132 /* ATA command block registers */ pdc_prep_lba48()
H A Dpata_hpt37x.c2 * Libata driver for the highpoint 37x and 30x UDMA66 ATA controllers.
52 * 21 CLK frequency for UDMA: 0=ATA clock, 1=dual ATA clock.
203 * @ap: ATA port
279 * @adev: ATA device
297 * @adev: ATA device
313 * @adev: ATA device
329 * @ap: ATA port to detect on
357 * @ap: ATA port to detect on
385 * @link: ATA link to reset
443 * @ap: ATA interface
456 * @ap: ATA interface
469 * @qc: ATA command
537 * @ap: ATA interface
550 * @ap: ATA interface
563 * @qc: ATA command
1039 /* Now kick off ATA set up */ hpt37x_init_one()
H A Dpata_cmd640.c2 * pata_cmd640.c - CMD640 PCI PATA for new ATA layer
45 * @ap: ATA port
46 * @adev: ATA device
144 * @ap: ATA port being set up
H A Dpata_efar.c29 * @link: ATA link
32 * Perform cable detection for the EFAR ATA interface. This is
55 * Perform cable detection for the EFAR ATA interface. This is
250 * efar_init_one - Register EFAR ATA PCI device with kernel services
H A Dpata_sc1200.c2 * New ATA layer SC1200 driver Alan Cox <alan@lxorguk.ukuu.org.uk>
79 * @ap: ATA interface
112 * @ap: ATA interface
160 * this interface so that we can load the correct ATA timings if
H A Dpdc_adma.c27 * Supports ATA disks in single-packet ADMA mode.
49 /* macro to calculate base address for ATA regs */
106 /* ATA register flags */
110 /* ATA register addresses */
209 /* mask/clear ATA interrupts */ adma_reinit_engine()
244 /* mask/clear ATA interrupts */ adma_freeze()
341 /* ATA registers; must be a multiple of 4 */ adma_qc_prep()
H A Dpata_via.c2 * pata_via.c - VIA PATA for new ATA layer
170 * @ap: ATA port
231 * @ap: ATA interface
232 * @adev: ATA device
233 * @mode: ATA mode being programmed
347 * @dev: ATA device
381 * @tf: ATA taskfile register set
383 * Outputs ATA taskfile to standard ATA host controller.
538 * and perform configuration work before handing it to the ATA layer
H A Dpata_cs5530.c2 * pata-cs5530.c - CS5530 PATA for new ATA layer
47 * @ap: ATA interface
77 * @ap: ATA interface
138 * this interface so that we can load the correct ATA timings if
323 /* Now kick off ATA set up */ cs5530_init_one()
H A Dpata_ns87415.c253 * ns87560_tf_read - input device's ATA taskfile shadow registers
255 * @tf: ATA taskfile register set for storing input
257 * Reads ATA taskfile registers for currently-selected device
336 * ns87415_init_one - Register 87415 ATA PCI device with kernel services
419 MODULE_DESCRIPTION("ATA low-level driver for NS87415 controllers");
H A Dpata_it821x.c2 * pata_it821x.c - IT821x PATA for new ATA layer
117 * @ap: ATA port
144 * @ap: ATA port
145 * @adev: ATA device to update
178 * @ap: ATA interface
179 * @adev: ATA device being updated
248 * @ap: ATA interface
249 * @adev: ATA device
275 * @ap: ATA interface
276 * @adev: ATA device
361 * @qc: ATA command
383 * @ap: ATA port
665 /* This isn't quite a normal ATA command as we are talking to the it821x_firmware_command()
727 * @ap: ATA port being set up
H A Dpata_arasan_cf.c16 * operation: PC card ATA using I/O mode, PC card ATA using memory mode, PC card
17 * ATA using true IDE modes. This driver supports only True IDE mode currently.
151 /* ATA Data Port */
154 /* ATA Error/Features */
156 /* ATA Sector Count */
158 /* ATA Sector Number */
160 /* ATA Cylinder Low */
162 /* ATA Cylinder High */
164 /* ATA Select Card/Head */
166 /* ATA Status-Command */
168 /* ATA Alternate Status/Device Control */
972 MODULE_DESCRIPTION("Arasan ATA Compact Flash driver");
H A Dpata_marvell.c110 * marvell_init_one - Register Marvell ATA PCI device with kernel services
183 MODULE_DESCRIPTION("SCSI low-level driver for Marvell ATA in legacy mode");
H A Dpata_at91.c92 * @dev: ATA device
199 * @ata: ATA timings
268 /* Compute ATA timing and set it to SMC */ pata_at91_set_piomode()
271 dev_warn(ap->dev, "Failed to compute ATA timing %d, " pata_at91_set_piomode()
H A Dpata_netcell.c44 * netcell_init_one - Register Netcell ATA PCI device with kernel services
H A Dpata_cs5535.c2 * pata-cs5535.c - CS5535 PATA for new ATA layer
91 * @ap: ATA interface
131 * @ap: ATA interface
H A Dpata_cs5536.c2 * pata_cs5536.c - CS5536 PATA for new ATA layer
156 * @ap: ATA interface
199 * @ap: ATA interface
H A Dpata_oldpiix.c31 * @link: ATA link
186 * this interface so that we can load the correct ATA timings if
221 * oldpiix_init_one - Register PIIX ATA PCI device with kernel services
H A Dpata_pdc2027x.c78 * ATA Timing Tables based on 133MHz controller clock.
232 * pdc2027x_port_enabled - Check PDC ATA control register to see whether the port is enabled.
261 * @adev: ATA device
474 * @host: target ATA host
515 * @host: target ATA host
600 * @host: target ATA host
649 * @host: target ATA host
H A Dlibata-eh.c245 * @ap: target ATA port
274 * @ap: target ATA port
470 * @ap: ATA port to acquire EH ownership for
488 * @ap: ATA port to release EH ownership for
617 * @ap: ATA port within the host
715 * @ap: the ATA port
924 * @ap: target ATA port
992 * @ap: ATA port to schedule EH for
1013 * @ap: ATA port to end EH for
1034 * @ap: ATA port to schedule EH for
1075 * @link: ATA link to abort qc's for
1092 * @ap: ATA port to abort qc's for
1109 * @ap: ATA port to freeze
1139 * @ap: ATA port to freeze
1165 * @ap: ATA port where async notification is received
1238 * @ap: ATA port to freeze
1259 * @ap: ATA port to thaw
1306 * ata_eh_qc_complete - Complete an active ATA command from EH
1309 * Indicate to the mid and upper layers that an ATA command has
1320 * ata_eh_qc_retry - Tell midlayer to retry an ATA command after EH
1323 * Indicate to the mid and upper layers that an ATA command
1339 * ata_dev_disable - disable ATA device
1340 * @dev: ATA device to disable
1365 * ata_eh_detach_dev - detach ATA device
1366 * @dev: ATA device to detach
1402 * @link: target ATA link
1403 * @dev: target ATA dev for per-dev action (can be NULL)
1436 * @ap: target ATA port
1437 * @dev: target ATA dev for per-dev action (can be NULL)
1473 return "ATA bus error"; ata_err_string()
1685 * @link: ATA link to analyze SError for
1734 * @link: ATA link to analyze NCQ error for
2084 * SATA ATA devices. Consider it only for PATA and SATAPI. ata_eh_speed_down()
2292 * ata_get_cmd_descript - get description for ATA command
2293 * @command: ATA command code to get description for
2413 * @link: ATA link EH is going on
2590 * @ap: ATA port to report EH about
2678 /* If we issue an SRST then an ATA drive (not ATAPI) ata_for_each_dev()
2681 * this is true for ATA or ATAPI. Until we've set a ata_for_each_dev()
3227 * Set ATA device disk transfer mode (PIO3, UDMA6, etc.). If
3324 * @dev: ATA device which may need FLUSH retry
H A Dpata_rdc.c5 * INCITS 370-2004 (1510D): ATA Host Adapter Standards
46 * Read 80c cable indicator from ATA PCI device's PCI config
309 * rdc_init_one - Register PIIX ATA PCI device with kernel services
H A Dpata_atp867x.c2 * pata_atp867x.c - ARTOP 867X 64bit 4-channel UDMA133 ATA controller driver
506 printk(KERN_INFO "ATP867X: ATP867 ATA UDMA133 controller (rev %02X)", atp867x_init_one()
511 dev_err(&pdev->dev, "failed to allocate ATA host\n"); atp867x_init_one()
570 MODULE_DESCRIPTION("low level driver for Artop/Acard 867x ATA controller");
H A Dsata_svw.c240 * @qc: Info associated with this ATA transaction.
264 /* issue r/w command if this is not a ATA DMA command*/ k2_bmdma_setup_mmio()
271 * @qc: Info associated with this ATA transaction.
308 /* issue r/w command if the access is to ATA */ k2_bmdma_start_mmio()
H A Dpata_hpt3x3.c29 * @ap: ATA interface
57 * @ap: ATA interface
H A Dpata_it8213.c49 * Perform cable detection for the 8213 ATA interface. This is
245 * it8213_init_one - Register 8213 ATA PCI device with kernel services
H A Dpata_sis.c2 * pata_sis.c - SiS ATA driver
158 * @link: ATA link
207 /* Enable for ATA (disk) only */ sis_set_fifo()
522 * @adev: ATA device
708 * sis_init_one - Register SiS ATA PCI device with kernel services
741 { 0x0730, &sis_info100_early }, /* 100 with ATA 66 layout */ sis_init_one()
742 { 0x0550, &sis_info100_early }, /* 100 with ATA 66 layout */ sis_init_one()
911 MODULE_DESCRIPTION("SCSI low-level driver for SiS ATA");
H A Dpata_samsung_cf.c212 * pata_s3c_tf_read - input device's ATA taskfile shadow registers
238 * pata_s3c_exec_command - issue ATA command to host controller
297 * pata_s3c_dev_select - Select device on ATA bus
380 * pata_s3c_softreset - reset host port via ATA SRST
405 /* determine by signature whether we have ATA or ATAPI devices */ pata_s3c_softreset()
H A Dsata_via.c2 * sata_via.c - VIA Serial ATA controllers
283 * @tf: ATA taskfile register set
285 * Outputs ATA taskfile to standard ATA host controller.
314 * @link: target ATA link
H A Data_piix.c467 MODULE_DESCRIPTION("SCSI low-level driver for Intel PIIX/ICH ATA controllers");
514 * Read 80c cable indicator from ATA PCI device's PCI config
779 * Serial ATA Index/Data Pair Superset Registers access
1422 * Samsung DB-P70 only has three ATA ports exposed and piix_no_sidpr()
1589 "Prefer Hyper-V paravirtualization drivers instead of ATA, "
1590 "0 - Use ATA drivers, "
1602 * Request we ignore ATA devices on this host. piix_ignore_devices_quirk()
1636 dev_info(host->dev, "%s detected, ATA device ignore set\n", piix_ignore_devices_quirk()
1643 * piix_init_one - Register PIIX ATA PCI device with kernel services
H A Dpata_pcmcia.c257 * Having done the PCMCIA plumbing the ATA side is relatively pcmcia_init_one()
297 * A PCMCIA ATA device has been unplugged. Perform the needed
392 MODULE_DESCRIPTION("low-level driver for PCMCIA ATA");
H A Dpata_ixp4xx_cf.c6 * An ATA driver to handle a Compact Flash connected
H A Dpata_pxa.c134 * DMA controller yet. Only issue the ATA command.
361 * Activate the ATA host pxa_ata_probe()
H A Dlibata-pmp.c99 * @qc: ATA command in question
129 * @link: ATA link to read PSCR for
160 * @link: ATA link to write PSCR for
735 * @ap: ATA port PMP is attached to
910 * @ap: ATA port to recover
H A Dpata_octeon_cf.c126 * @ap: ATA port information
127 * @dev: ATA device
140 /* These names are timing parameters from the ATA spec */ octeon_cf_set_piomode()
465 /* determine by signature whether we have ATA or ATAPI devices */ octeon_cf_softreset16()
520 * Issue ATA command to host controller. The device_addr is also sent
H A Dsata_dwc_460ex.c222 return "ATA no data"; get_prot_descript()
224 return "ATA PIO"; get_prot_descript()
226 return "ATA DMA"; get_prot_descript()
228 return "ATA NCQ"; get_prot_descript()
602 dev_dbg(ap->dev, "%s ATA status register=0x%x\n", __func__, status); sata_dwc_isr()
H A Dsata_rcar.c25 /* SH-Navi2G/ATAPI-ATA compatible task registers */
90 /* Serial-ATA HOST control registers */
362 /* determine by signature whether we have ATA or ATAPI devices */ sata_rcar_softreset()
642 * ATA SFF.
716 /* be sure to clear ATA interrupt */ sata_rcar_ata_interrupt()
H A Dsata_sil.c179 therefore the DMA limits are more relaxed than standard ATA SFF. */
237 unsigned long tf; /* ATA taskfile register block */
238 unsigned long ctl; /* ATA control/altstatus register block */
H A Dpata_artop.c2 * pata_artop.c - ARTOP ATA controller driver
344 * artop_init_one - Register ARTOP ATA PCI device with kernel services
H A Dpata_ep93xx.c28 * An ATA driver for the Cirrus Logic EP93xx PATA controller.
221 * According to ATA specification, IORDY pin can be first sampled ep93xx_pata_wait_for_iordy()
829 /* determine by signature whether we have ATA or ATAPI devices */ ep93xx_pata_softreset()
868 * Set timings to safe values at startup (= number of ns from ATA ep93xx_pata_port_start()
H A Dpata_platform.c237 MODULE_DESCRIPTION("low-level driver for platform device ATA");
H A Dlibata.h2 * libata.h - helper library for ATA
H A Dahci_xgene.c113 * @ap : ATA port of interest.
140 * @ap : ATA port of interest
683 /* Select ATA */ xgene_ahci_probe()
H A Dsata_sil24.c70 /* This will give us one unused SGEs for ATA. This extra SGE
216 PRB_CTRL_PROTOCOL = (1 << 0), /* override def. ATA protocol */
819 * - Passthrough ATA commands which always have ATA_QCFLAG_RESULT_TF sil24_qc_defer()
H A Dsata_nv.c34 * This allows the use of NCQ. Non-DMA-mapped ATA commands are still
852 ata_ehi_push_desc(ehi, "ATA error"); nv_adma_check_cpb()
930 /* if in ATA register mode, check for standard interrupts */ nv_adma_interrupt()
1449 /* use ATA register mode */ nv_adma_qc_issue()
1450 VPRINTK("using ATA register mode: 0x%lx\n", qc->flags); nv_adma_qc_issue()
H A Dsata_mv.c1709 * @ap: ATA channel to manipulate
1773 * @ap: ATA channel to manipulate
1846 * @ap: Port associated with this ATA transaction.
2210 * @ap: ATA port to fetch status from
2214 * ATA status (shadow) register. This can confuse libata!
2219 * The rest of the time, it simply returns the ATA status register.
2283 * Note that the ATA shadow registers are not updated
2642 * @ap: ATA channel to manipulate
2795 * MSB is saved ATA status from command completion. mv_process_crpb_response()
3930 * @host: ATA host to initialize
4352 * @host: ATA host to print info about
H A Dacard-ahci.c309 * After a successful execution of an ATA PIO data-in command, acard_ahci_qc_fill_rtf()
H A Dahci.c924 * controller and emulate a single ATA device (can be RAID 0/1 or some
928 * 4726, "Config Disk" appears, which is a pseudo ATA device to
929 * configure the 4726. However, ATA emulation of the device is very
935 * afterward. If signature FIS isn't received soon, ATA class is
H A Dpata_icside.c164 * mode being requested. We take the advice of the ATA standards, and
H A Dsata_promise.c65 /* per-port ATA register offsets (from ap->ioaddr.cmd_addr) */
1265 MODULE_DESCRIPTION("Promise ATA TX2/TX4/TX4000 low-level driver");
H A Dlibahci.c520 * @host: target ATA host
1929 * After a successful execution of an ATA PIO data-in command, ahci_qc_fill_rtf()
2467 * @host: target ATA host
/linux-4.1.27/arch/powerpc/include/asm/
H A Dmediabay.h15 #define MB_CD 3 /* media bay contains ATA drive such as CD or ZIP */
29 /* The ATA driver uses the calls below to temporarily hold on the
H A Duninorth.h116 #define UNI_N_CLOCK_CNTL_ATA100 0x00000010 /* ATA-100 clock control (U2) */
/linux-4.1.27/drivers/dma/bestcomm/
H A Data.c2 * Bestcomm ATA task driver
64 /* Prefetch breaks ATA DMA. Turn it off for ATA DMA */ bcom_ata_init()
148 /* Nothing special for the ATA tasks */ bcom_ata_release()
154 MODULE_DESCRIPTION("BestComm ATA task driver");
H A Dbcom_ata_task.c2 * Bestcomm ATA task microcode
/linux-4.1.27/include/linux/platform_data/
H A Data-samsung_cf.h5 * Samsung CF-ATA platform_device info
H A Ddma-imx.h30 IMX_DMATYPE_ATA, /* ATA */
/linux-4.1.27/arch/arm/plat-samsung/include/plat/
H A Data-core.h6 * Samsung CF-ATA Controller core functions
/linux-4.1.27/include/linux/fsl/bestcomm/
H A Data.h2 * Header for Bestcomm ATA task driver
H A Dbestcomm_priv.h247 * ATA DMA and the original MPC5200 need this due to silicon bugs. At the
/linux-4.1.27/arch/sh/include/mach-landisk/mach/
H A Diodata_landisk.h17 #define PA_ATARST 0xb0000000 /* ATA/FATA Access Control Register */
33 #define IRQ_ATA evt2irq(0x320) /* ATA IRQ */
/linux-4.1.27/arch/cris/include/arch-v32/mach-fs/mach/
H A Ddma.h14 #define ATA_TX_DMA_NBR 2 /* ATA interface out. */
15 #define ATA_RX_DMA_NBR 3 /* ATA interface in. */
/linux-4.1.27/include/linux/
H A Dioc4.h42 * 8: ATA/ATAPI
66 uint32_t ata_int:1; /* ATA port passthru */
67 uint32_t ata_memerr:1; /* ATA halted by mem error */
85 uint32_t ata_diag_idle:1; /* Active ATA req? */
86 uint32_t ata_diag_active:1; /* ATA req is winner */
H A Data.h170 /* bits in ATA command block registers */
201 /* ATA command block registers */
218 /* ATA device commands */
305 /* marked obsolete in the ATA/ATAPI-7 spec */
478 /* ATA taskfile protocols */
710 * ata_id_major_version - get ATA level of drive
714 * ATA-1 considers identify optional
715 * ATA-2 introduces mandatory identify
716 * ATA-3 introduces word 80 and accurate reporting
738 * See if word 93 is 0 AND drive is at least ATA-5 compatible ata_id_is_sata()
741 * 0x0000 and 0xffff along with the earlier ATA revisions... ata_id_is_sata()
760 /* ATA 8 reuses this flag for "trusted" computing */ ata_id_has_dword_io()
833 /* For ATA-1 devices, if the INITIALIZE DEVICE PARAMETERS command ata_id_current_chs_valid()
850 * they forbid to report the ATA version in the word 80 and require the ata_id_is_cfa()
931 * The ATA spec tells large drives to return ata_id_is_lba_capacity_ok()
H A Dlibata.h186 ATA_DEV_ATA = 1, /* ATA device */
187 ATA_DEV_ATA_UNSUP = 2, /* ATA device (unsupported) */
200 ATA_LFLAG_ASSUME_ATA = (1 << 3), /* assume ATA class */
276 ATA_HOST_IGNORE_ATA = (1 << 3), /* Ignore ATA devices on this host. */
297 * the period of time between when the ATA command register is
319 /* ATA bus states */
440 ATA_DMA_MASK_ATA = (1 << 0), /* DMA on ATA Disk */
504 AC_ERR_ATA_BUS = (1 << 4), /* ATA bus error */
579 /* ATA-8 ACS-3 */
692 u64 n_sectors; /* size of device, if ATA */
693 u64 n_native_sectors; /* native size, if ATA */
821 struct ata_ioports ioaddr; /* ATA cmd/ctl/dma register blocks */
822 u8 ctl; /* cache of ATA control register */
1007 unsigned short mode; /* ATA mode */
1339 * sff : SFF ATA controllers w/o BMDMA support.
1340 * bmdma : SFF ATA controllers w/ BMDMA support.
1346 * PIO : SFF ATA controllers w/ only PIO support.
1347 * BMDMA : SFF ATA controllers w/ BMDMA support. sg_tablesize and
1621 * @dev: ATA device to test for
H A Disdn.h321 int dialing; /* Dial in progress or ATA */
/linux-4.1.27/drivers/usb/storage/
H A Disd200.c12 * The ISD200 ASIC does not natively support ATA devices. The chip
13 * does implement an interface, the ATA Command Block (ATACB) which provides
14 * a means of passing ATA commands and ATA register accesses to a device.
127 /* ATA Vendor Specific defines */
155 /* ATA registers offset definitions */
161 /* ATA error definitions not in <linux/hdreg.h> */
164 /* ATA command definitions not in <linux/hdreg.h> */
168 /* ATA drive control definitions */
582 * Read ATA Registers
598 usb_stor_dbg(us, " Error reading ATA registers\n"); isd200_read_regs()
602 usb_stor_dbg(us, " Got ATA Register[ATA_REG_ERROR_OFFSET] = 0x%x\n", isd200_read_regs()
720 usb_stor_dbg(us, " ATA Init Timeout: 0x%x\n", isd200_log_config()
728 usb_stor_dbg(us, " ATA Timing: 0x%x\n", isd200_log_config()
730 usb_stor_dbg(us, " ATA Major Command: 0x%x\n", isd200_log_config()
732 usb_stor_dbg(us, " ATA Minor Command: 0x%x\n", isd200_log_config()
740 usb_stor_dbg(us, " ATA 3 State Suspend: 0x%x\n", isd200_log_config()
811 /* determine what the special ATA CDB bytes are. */ isd200_read_config()
953 /* ATA_DF (workaround ATA Zip drive) and */ isd200_try_enum()
959 /* check for DRDY, ATA devices set DRDY after SRST */ isd200_try_enum()
961 usb_stor_dbg(us, " Identified ATA device\n"); isd200_try_enum()
993 usb_stor_dbg(us, " Not ATA, not ATAPI - Weird\n"); isd200_try_enum()
1013 * Determines if the drive attached is an ATA or ATAPI and if it is a
1124 /* check for an ATA device */ isd200_get_inquiry_data()
1126 /* this must be an ATA device */ isd200_get_inquiry_data()
1127 /* perform an ATA Command Identify */ isd200_get_inquiry_data()
1131 /* Error issuing ATA Command Identify */ isd200_get_inquiry_data()
1132 usb_stor_dbg(us, " Error issuing ATA Command Identify\n"); isd200_get_inquiry_data()
1135 /* ATA Command Identify successful */ isd200_get_inquiry_data()
1214 * Translate SCSI commands to ATA commands.
1237 usb_stor_dbg(us, " ATA OUT - INQUIRY\n"); isd200_scsi_to_ata()
1247 usb_stor_dbg(us, " ATA OUT - SCSIOP_MODE_SENSE\n"); isd200_scsi_to_ata()
1268 usb_stor_dbg(us, " ATA OUT - SCSIOP_TEST_UNIT_READY\n"); isd200_scsi_to_ata()
1290 usb_stor_dbg(us, " ATA OUT - SCSIOP_READ_CAPACITY\n"); isd200_scsi_to_ata()
1309 usb_stor_dbg(us, " ATA OUT - SCSIOP_READ\n"); isd200_scsi_to_ata()
1341 usb_stor_dbg(us, " ATA OUT - SCSIOP_WRITE\n"); isd200_scsi_to_ata()
1373 usb_stor_dbg(us, " ATA OUT - SCSIOP_MEDIUM_REMOVAL\n"); isd200_scsi_to_ata()
1394 usb_stor_dbg(us, " ATA OUT - SCSIOP_START_STOP_UNIT\n"); isd200_scsi_to_ata()
1511 * This protocol and transport are for ATA devices connected to an ISD200
1551 us->protocol_name = "ISD200 ATA/ATAPI"; isd200_probe()
H A Dcypress_atacb.c3 * on the Cypress USB/ATA bridge supporting ATACB.
33 MODULE_DESCRIPTION("SAT support for Cypress USB/ATA bridges with ATACB");
78 * send raw ATA command over mass storage
178 * reading the ATA registers */ cypress_atacb_passthrough()
202 sb[2] = 0; /* ATA PASS THROUGH INFORMATION AVAILABLE */ cypress_atacb_passthrough()
207 * (see 11.1 Error translation ATA device error to SCSI error cypress_atacb_passthrough()
H A Dshuttle_usbat.c100 /* USBAT ATA registers */
119 #define USBAT_UIO_EPP_ATA 0x08 /* 1=EPP mode, 0=ATA mode */
122 #define USBAT_UIO_INTR_ACK 0x01 /* Interrupt (ATA/ISA)/Acknowledge (EPP) */
203 * Convenience function to produce an ATA read/write sectors command
360 * The only bit relevant to ATA access is bit 6 usbat_set_shuttle_features()
399 * Block, waiting for an ATA device to become not busy or to report
695 /* Write to multiple registers, ATA access */ usbat_multiple_write()
999 * execute the IDENTIFY PACKET DEVICE command. On ATA devices (i.e. flash usbat_identify_device()
1078 /* ATA command : IDENTIFY DEVICE */ usbat_flash_get_sector_count()
1141 * we're working in LBA mode. according to the ATA spec, usbat_flash_read_data()
1171 /* ATA command 0x20 (READ SECTORS) */ usbat_flash_read_data()
1174 /* Write/execute ATA read command */ usbat_flash_read_data()
1232 * we're working in LBA mode. according to the ATA spec, usbat_flash_write_data()
1266 /* ATA command 0x30 (WRITE SECTORS) */ usbat_flash_write_data()
1269 /* Write/execute ATA write command */ usbat_flash_write_data()
1570 /* Send A0 (ATA PACKET COMMAND). usbat_hp8200e_transport()
1571 Note: I guess we're never going to get any of the ATA usbat_hp8200e_transport()
1572 commands... just ATA Packet Commands. usbat_hp8200e_transport()
1588 data[6] = 0xA0; /* (command) = ATA PACKET COMMAND */ usbat_hp8200e_transport()
1712 /* hard coded 512 byte sectors as per ATA spec */ usbat_flash_transport()
H A Ddatafab.c38 * based on Datafab USB-to-ATA chips. It was specifically developed for the
156 // we're working in LBA mode. according to the ATA spec, datafab_read_data()
240 // we're working in LBA mode. according to the ATA spec, datafab_write_data()
392 // this is a variation of the ATA "IDENTIFY DEVICE" command...according datafab_id_device()
393 // to the ATA spec, 'Sector Count' isn't used but the Windows driver datafab_id_device()
585 info->ssize = 0x200; // hard coded 512 byte sectors as per ATA spec datafab_transport()
H A Djumpshot.c40 * a USB-to-ATA chip.
175 // we're working in LBA mode. according to the ATA spec, jumpshot_read_data()
252 // we're working in LBA mode. according to the ATA spec, jumpshot_write_data()
511 info->ssize = 0x200; // hard coded 512 byte sectors as per ATA spec jumpshot_transport()
H A Dunusual_devs.h487 "eUSB ATA/ATAPI Adapter",
1992 "USB to ATA/ATAPI Bridge",
2001 "USB to ATA/ATAPI Bridge",
2008 "USB to ATA/ATAPI Bridge",
H A Dscsiglue.c259 /* A few buggy USB-ATA bridges don't understand FUA */ slave_configure()
/linux-4.1.27/drivers/ide/
H A Dide-generic.c65 /* Cyrix CS55{1,2}0 pre SFF MWDMA ATA on the bridge */ for_each_pci_dev()
71 /* Intel MPIIX - PIO ATA on non PCI side of bridge */ for_each_pci_dev()
76 /* ATA port enabled */ for_each_pci_dev()
H A Dpmac.c81 controller_kl_ata3, /* KeyLargo ATA-3 */
82 controller_kl_ata4, /* KeyLargo ATA-4 */
83 controller_un_ata6, /* UniNorth2 ATA-6 */
84 controller_k2_ata6, /* K2 ATA-6 */
85 controller_sh_ata6, /* Shasta ATA-6 */
89 "OHare ATA", /* OHare based */
90 "Heathrow ATA", /* Heathrow/Paddington */
91 "KeyLargo ATA-3", /* KeyLargo ATA-3 (MDMA only) */
92 "KeyLargo ATA-4", /* KeyLargo ATA-4 (UDMA/66) */
93 "UniNorth ATA-6", /* UniNorth2 ATA-6 (UDMA/100) */
94 "K2 ATA-6", /* K2 ATA-6 (UDMA/100) */
95 "Shasta ATA-6", /* Shasta ATA-6 (UDMA/133) */
104 /* Kauai (U2) ATA has different register setup */
273 /* KeyLargo ATA-4 Ultra DMA timings (rounded) */
287 /* UniNorth 2 ATA/100 timings */
578 * Calculate KeyLargo ATA/66 UDMA timings
606 * Calculate Kauai ATA/100 UDMA timings
624 * Calculate Shasta ATA/133 UDMA timings
1267 printk(KERN_ERR "ide-pmac: cannot find MacIO node for Kauai ATA interface\n"); pmac_ide_pci_attach()
1283 if (pci_request_regions(pdev, "Kauai ATA")) { pmac_ide_pci_attach()
1379 .name = "ATA",
1532 * a read on KeyLargo ATA/66 and mark us as waiting for DMA completion
H A Dsis5513.c41 * ID, while the now ATA-133 capable 5513 still has the same PCI ID.
177 "ATA", "ATA 16",
178 "ATA 33", "ATA 66",
179 "ATA 100 (1st gen)", "ATA 100 (2nd gen)",
180 "ATA 133 (1st gen)", "ATA 133 (2nd gen)"
H A Dcs5536.c128 * @hwif: ATA port
129 * @drive: ATA device
176 * @hwif: ATA port
177 * @drive: ATA device
H A Dide-pio-blacklist.c56 according to Seagate's FIND-ATA program */
H A Dide-pnp.c26 /* Generic ESDI/IDE/ATA compatible hard disk controller */
H A Dide-lib.c123 * ide_dump_status - translate ATA/ATAPI error
H A Dide-timings.c30 * These were taken from ATA/ATAPI-6 standard, rev 0a, except
H A Dhpt366.c38 * fix ATA Cable signal detection, fix incorrect /proc info
40 * per-channel ATA-33/66 Cable detect.
229 * - 21 CLK frequency: 0=ATA clock, 1=dual ATA clock.
374 /* Supported ATA clock frequencies */
402 u8 clock; /* ATA clock selected */
1034 /* Let's assume we'll use PCI clock for the ATA clock... */ init_chipset_hpt366()
1141 * On HPT371N, if ATA clock is 66 MHz we must set bit 2 in init_chipset_hpt366()
H A Dide-cs.c3 A driver for PCMCIA IDE/ATA disk cards
57 MODULE_DESCRIPTION("PCMCIA ATA/IDE card driver");
H A Dpalm_bk3710.c226 * REVISIT: the ATA reset signal needs to be managed through a palm_bk3710_chipinit()
245 * UDMACTL Ultra-ATA DMA Control palm_bk3710_chipinit()
H A Dide-probe.c120 is_cfa ? "CFA" : "ATA"); ide_classify_ata_dev()
237 * ide_dev_read_id - send ATA/ATAPI IDENTIFY command
243 * Sends an ATA(PI) IDENTIFY request to a drive and waits for a response.
395 (cmd == ATA_CMD_ID_ATA) ? "ATA" : "ATAPI"); do_probe()
1263 * is pre ATA or refuses ATA/ATAPI identify we ide_port_alloc_devices()
H A Dide-io-std.c14 * Conventional PIO operations for ATA devices
H A Dide-disk.c3 * Copyright (C) 1998-2002 Linux ATA Development
14 * This is the IDE/ATA disk driver, as evolved from hd.c and ide.c.
H A Dide-gd.c449 MODULE_DESCRIPTION("generic ATA/ATAPI disk driver");
H A Dide.c16 * There can be up to two drives per interface, as per the ATA-2 spec.
H A Dserverworks.c45 /* Seagate Barracuda ATA IV Family drives in UDMA mode 5
H A Dsl82c105.c218 * ATA reset will clear the 16 bits mode in the control
H A Dalim15x3.c124 * PIO mode => ATA FIFO on, ATAPI FIFO off ali_set_pio_mode()
H A Dicside.c214 * mode being requested. We take the advice of the ATA standards, and
H A Dide-taskfile.c369 /* Deal with unexpected ATA data phase. */ task_pio_intr()
H A Dpdc202xx_new.c95 * ATA Timing Tables based on 133 MHz PLL output clock.
H A Dtx4939ide.c25 /* ATA Shadow Registers (8-bit except for Data which is 16-bit) */
/linux-4.1.27/arch/sh/include/mach-common/mach/
H A Dsdk7780.h65 #define FPGA_ATAESR (PA_FPGA + 0x170) /* ATA extended bus status */
70 /* IDE/ATA interrupt */
H A Durquell.h17 * CS6 | ATA, NAND FLASH
52 #define ATACNR_OFS 0x1020 /* ATA-CN Control/status register */
/linux-4.1.27/arch/sh/boards/mach-se/7206/
H A Dirq.c139 make_se7206_irq(IRQ1_IRQ); /* ATA */ init_se7206_IRQ()
148 /* IRQ0=LAN, IRQ1=ATA, IRQ3=SLT,PCM */ init_se7206_IRQ()
/linux-4.1.27/arch/mips/txx9/rbtx4938/
H A Dirq.c61 * RBTX4938_IRQ_IOC+05 ATA
79 /* must use fls so onboard ATA has priority */ toshiba_rbtx4938_irq_nested()
H A Dsetup.c172 pr_info("PIOSEL: disabling both ATA and NAND selection\n"); rbtx4938_mem_setup()
184 pr_info("PIOSEL: enabling ATA selection\n"); rbtx4938_mem_setup()
191 pr_info("PIOSEL: NAND %s, ATA %s\n", rbtx4938_mem_setup()
/linux-4.1.27/arch/sh/boards/mach-se/7780/
H A Dirq.c55 * CPU || SLOT1 | SLOT2 | S-ATA | USB init_se7780_IRQ()
H A Dsetup.c93 * REQ2/GNT2 -> Serial ATA se7780_setup()
/linux-4.1.27/include/linux/mmc/
H A Dsdio_ids.h20 #define SDIO_CLASS_ATA 0x08 /* Embedded SDIO-ATA std interface */
/linux-4.1.27/include/linux/usb/
H A Dstorage.h25 #define USB_SC_ISD200 0xf0 /* ISD200 ATA */
/linux-4.1.27/arch/arm/mach-imx/
H A Dmm-imx21.c46 * - ATA
H A Dmm-imx27.c46 * - ATA
/linux-4.1.27/drivers/scsi/
H A D3w-xxxx.h70 [0x009] = "WARNING: ATA port timeout: Port #",
76 [0x021] = "WARNING: ATA UDMA downgrade: Port #",
77 [0x022] = "WARNING: ATA UDMA upgrade: Port #",
101 // ATA Error SCSI Error
369 /* Command header for ATA pass-thru */
H A Deata_generic.h224 ATA:1, /* ATA device connected (not supported) */ member in struct:get_conf
H A Dconstants.c79 /* 85-89 */ "ATA command pass through(16)", "Access control in",
88 /* a0-a5 */ "Report luns", "ATA command pass through(12)/Blank",
325 {0x001D, "ATA pass through information available"},
806 {0x4471, "ATA device failed set features"},
1052 {0x670B, "ATA device feature not enabled"},
H A DNCR53c406a.c276 /*static int ATA_CMD;*//* ATA command/status reg (r/w) */
277 /*static int ATA_ERR;*//* ATA features/error register (r/w) */
H A Dipr.c374 "ATA device status error"},
4654 * ATA port with libata, else it does nothing.
4703 * ATA port, else it does nothing.
4834 * This function initializes an ATA port so that future commands
5081 * This function issues a SATA phy reset to the affected ATA link.
6545 * @qc: ATA queued command
6581 * @tf: source ATA taskfile
6644 * ipr_build_ata_ioadl64 - Build an ATA scatter/gather list
6646 * @qc: ATA queued command
6690 * ipr_build_ata_ioadl - Build an ATA scatter/gather list
6692 * @qc: ATA queued command
6873 * @qc: ATA queued command
H A D3w-9xxx.h107 {0x0030, "Unsupported ATA drive"},
H A Dipr.h676 u8 alt_status; /* ATA CTL */
1889 * ipr_is_gata - Determine if a resource is a generic ATA resource
H A Dscsi_lib.c898 /* if ATA PASS-THROUGH INFORMATION AVAILABLE skip scsi_io_completion()
899 * print since caller wants ATA registers. Only occurs on scsi_io_completion()
900 * SCSI ATA PASS_THROUGH commands when CK_COND=1 scsi_io_completion()
/linux-4.1.27/include/uapi/linux/
H A Dhdreg.h133 /* ATA/ATAPI Commands pre T13 Spec */
228 #define WIN_ACKMEDIACHANGE 0xDB /* ATA-1, ATA-2 vendor */
285 #define SETFEATURES_EN_SAME_R 0x22 /* for a region ATA-1 */
305 #define SETFEATURES_EN_REST 0xAC /* ATA-1 */
310 #define SETFEATURES_EN_SAME_M 0xDD /* for a entire device ATA-1 */
H A Dif_arcnet.h48 #define ARC_P_POWERLAN_BEACON 8 /* Probably ATA-Netbios related */
H A Dif_ether.h81 #define ETH_P_AOE 0x88A2 /* ATA over Ethernet */
/linux-4.1.27/drivers/pcmcia/
H A Dcirrus.h37 #define PD67_ATA_CTL 0x026 /* 6730: ATA control */
H A Dvg468.h51 #define VG468_ATA 0x3f /* ATA control */
H A Dricoh.h43 #define RF5C_MODE_ATA 0x01 /* ATA mode */
/linux-4.1.27/arch/mips/include/asm/mach-au1x00/
H A Dau1xxx_ide.h67 /* Static Bus Spec ATA Spec */
/linux-4.1.27/arch/powerpc/platforms/52xx/
H A Dlite5200.c114 port_config &= ~0x03000000; /* ATA CS is on csb_4/5 */ lite5200_fix_port_config()
H A Dmedia5200.c224 port_config &= ~0x03000000; /* ATA CS is on csb_4/5 */ media5200_setup_arch()
H A Dmpc52xx_common.c78 * (cfr errate 292. We could do this only just before ATA PIO mpc5200_setup_xlb_arbiter()
/linux-4.1.27/arch/sh/boards/
H A Dboard-urquell.c51 * 0x18000000 - 0x1C000000 (CS6) ATA/NAND-Flash
/linux-4.1.27/arch/arm/mach-davinci/
H A Dboard-neuros-osd2.c16 * from used in DM644X-EVM), internal ATA-6 3.5” HDD drive
H A Dboard-dm646x-evm.c124 /* CPLD Register 0 bits to control ATA */
149 /* Clear ATA_RSTn and ATA_PWD bits to enable ATA operation. */ cpld_reg0_probe()
H A Dboard-dm644x-evm.c412 /* U35 - various I/O signals used to manage USB, CF, ATA, etc */
/linux-4.1.27/include/xen/interface/io/
H A Dblkif.h64 * (ATA) or unmap (SCSI) - conviently called discard requests are likely
80 * underlying block device supports trim (ATA) or unmap (SCSI) operations,
/linux-4.1.27/arch/powerpc/platforms/chrp/
H A Dpci.c321 /* Fixup for Winbond ATA quirk, required for briq mostly because the
323 * ATA controller to be set to fully native mode or bad things
/linux-4.1.27/arch/arm/mach-davinci/include/mach/
H A Dmux.h33 /* ATA and HDDIR functions */
99 /* ATA function */
/linux-4.1.27/include/scsi/
H A Dlibsas.h526 * - For an ATA task task_status_struct::stat is set to
536 * for ATA task.
561 /* ATA and ATAPI task queuable to a SAS LLDD.
/linux-4.1.27/drivers/scsi/aic94xx/
H A Daic94xx_task.c362 /* ---------- ATA ---------- */
388 scb->ata_task.fis.flags |= 0x80; /* C=1: update ATA cmd reg */ asd_build_ata_ascb()
H A Daic94xx_sas.h772 /* ATA soft reset timer timeout. 5 usec. */
H A Daic94xx_tmf.c185 /* Standard mandates link reset for ATA (type 0) and asd_I_T_nexus_reset()
/linux-4.1.27/drivers/acpi/
H A Dacpi_pnp.c19 {"PNP0600"}, /* Generic ESDI/IDE/ATA compatible hard disk controller */
36 {"PNP0600"}, /* Generic ESDI/IDE/ATA compatible hard disk controller */
H A Dscan.c1888 * acpi_ata_match - see if an acpi object is an ATA device
1890 * If an acpi object has one of the ACPI ATA methods defined,
1891 * then we can safely call it an ATA device.
1904 * If an acpi object is ejectable and has one of the ACPI ATA methods defined,
/linux-4.1.27/drivers/mmc/host/
H A Datmel-mci-regs.h97 # define ATMCI_CSRCV ( 1 << 13) /* CE-ATA Completion Signal Received */
/linux-4.1.27/drivers/scsi/isci/
H A Dsas.h63 * the serial ATA specification.
H A Dphy.h65 * ATA specification required up to 30 seconds for a device to issue its
H A Disci.h161 * this status is used when multiple ATA commands are needed in a SATI translation.
/linux-4.1.27/arch/arm/mach-gemini/include/mach/
H A Dglobal_reg.h230 /* TODO: define ATA/SATA bits */
/linux-4.1.27/lib/
H A Dglob.c6 * ATA code that depends on it can be as well. In practice, they're
/linux-4.1.27/drivers/macintosh/
H A Dmediabay.c360 "an ATA device", poll_media_bay()
513 pr_debug("mediabay%d: releasing ATA reset (kind:%d)\n", media_bay_step()
H A Dmacio_asic.c224 if (!(strcmp(np->name, "IDE") && strcmp(np->name, "ATA") && macio_resource_quirks()
/linux-4.1.27/drivers/scsi/pcmcia/
H A Dsym53c500_cs.c124 /* #define ATA_CMD 0x09 */ /* ATA command/status reg (r/w) */
125 /* #define ATA_ERR 0x0A */ /* ATA features/error reg (r/w) */
/linux-4.1.27/drivers/cdrom/
H A Dgdrom.c227 * Restarts GDROM device and then applies standard ATA 3
775 pr_warning("ATA Probe for GDROM failed\n"); probe_gdrom()
/linux-4.1.27/drivers/mfd/
H A Ddm355evm_msp.c276 /* could also be a CE-ATA drive */ add_children()
/linux-4.1.27/drivers/misc/
H A Dioc4.c22 * types of device (ATA, serial, external interrupts). The normal
/linux-4.1.27/drivers/scsi/libsas/
H A Dsas_discover.c473 SAS_DPRINTK("ATA device seen but CONFIG_SCSI_SAS_ATA=N so cannot attach\n"); sas_discover_domain()
H A Dsas_ata.c43 /* Cheesy attempt to translate SAS errors into ATA. Hah! */ sas_to_ata_err()
/linux-4.1.27/drivers/block/
H A Dps3disk.c303 /* ATA helpers copied from drivers/ata/libata-core.c */
/linux-4.1.27/arch/mips/alchemy/devboards/
H A Ddb1300.c59 /* ATA CS */
/linux-4.1.27/arch/cris/arch-v10/kernel/
H A Dhead.S358 ;; disable ATA before enabling it in genconfig below
365 move.d $r0, [$r1]; assert ATA bus-reset
/linux-4.1.27/drivers/target/
H A Dtarget_core_iblock.c133 * in ATA and we need to set TPE=1 iblock_configure_device()
H A Dtarget_core_file.c171 * in ATA and we need to set TPE=1 fd_configure_device()
/linux-4.1.27/drivers/firmware/
H A Dedd.c199 } else if (!strncmp(info->params.interface_type, "ATA", 3)) { edd_show_interface()
/linux-4.1.27/drivers/scsi/mvsas/
H A Dmv_sas.c543 task->ata_task.fis.flags |= 0x80; /* C=1: update ATA cmd reg */ mvs_task_prep_ata()
1380 /* Standard mandates link reset for ATA (type 0)
/linux-4.1.27/drivers/scsi/pm8001/
H A Dpm8001_sas.c960 * Standard mandates link reset for ATA (type 0) and hard reset for

Completed in 3867 milliseconds

12