Lines Matching full:ata
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.
313 * ata_dev_select - Select device 0/1 on ATA bus
314 * @ap: ATA channel to manipulate
315 * @device: ATA device (numbered from zero) to select
319 * Use the method defined in the ATA specification to
321 * ATA channel.
386 * @tf: ATA taskfile register set
388 * Outputs ATA taskfile to standard ATA host controller.
444 * ata_sff_tf_read - input device's ATA taskfile shadow registers
446 * @tf: ATA taskfile register set for storing input
448 * Reads ATA taskfile registers for currently-selected device
485 * ata_sff_exec_command - issue ATA command to host controller
487 * @tf: ATA taskfile register set
489 * Issues ATA command, with proper synchronization with interrupt
497 DPRINTK("ata%u: cmd 0x%X\n", ap->print_id, tf->command); in ata_sff_exec_command()
505 * ata_tf_to_host - issue ATA taskfile to host controller
507 * @tf: ATA taskfile register set
509 * Issues ATA taskfile register set to ATA host controller,
658 * Transfer qc->sect_size bytes of data from/to the ATA device.
687 * split still has to be dword aligned like all ATA data transfers. in ata_pio_sector()
716 * ATA device for the DRQ request.
891 VPRINTK("ata%u: xfering %d bytes\n", ap->print_id, bytes); in atapi_pio_bytes()
1005 DPRINTK("ata%u: protocol %d task_state %d (dev_stat 0x%X)\n", in ata_sff_hsm_move()
1111 /* ATA PIO protocol */ in ata_sff_hsm_move()
1131 ata_ehi_push_desc(ehi, "ST-ATA: " in ata_sff_hsm_move()
1162 ata_ehi_push_desc(ehi, "ST-ATA: " in ata_sff_hsm_move()
1207 DPRINTK("ata%u: dev %u command complete, drv_stat 0x%x\n", in ata_sff_hsm_move()
1230 WARN(true, "ata%d: SFF host state machine in invalid state %d", in ata_sff_hsm_move()
1481 VPRINTK("ata%u: protocol %d task_state %d\n", in __ata_sff_port_intr()
1616 * ata_sff_interrupt - Default SFF ATA host interrupt handler
1766 * @ap: ATA channel to examine
1770 * Hale Landis's ATADRVR (www.ata-atapi.com), and
1771 * later found its way into the ATA/ATAPI spec.
1773 * Write a pattern to the ATA shadow registers,
1776 * ATA shadow register contents.
1807 * ata_sff_dev_classify - Parse returned ATA device signature
1808 * @dev: ATA device to classify (starting at zero)
1813 * an ATA/ATAPI-defined set of values is placed in the ATA
1817 * Select the ATA device, and read the values from the ATA shadow
1855 /* determine if device is ATA or ATAPI */ in ata_sff_dev_classify()
1861 * Assume ATA device if the device seems present but in ata_sff_dev_classify()
1959 DPRINTK("ata%u: bus reset via SRST\n", ap->print_id); in ata_bus_softreset()
1976 * ata_sff_softreset - reset host port via ATA SRST
1977 * @link: ATA link to reset
1981 * Reset host port using ATA SRST.
2018 /* determine by signature whether we have ATA or ATAPI devices */ in ata_sff_softreset()
2223 * ata_pci_sff_init_host - acquire native PCI ATA resources and init host
2224 * @host: target ATA host
2226 * Acquire native PCI ATA resources for @host and initialize the
2302 * ata_pci_sff_prepare_host - helper to prepare PCI PIO-only SFF ATA host
2305 * @r_host: out argument for the initialized ATA host
2307 * Helper to allocate PIO-only SFF ATA host for @pdev, acquire
2328 dev_err(&pdev->dev, "failed to allocate ATA host\n"); in ata_pci_sff_prepare_host()
2349 * @host: target SFF ATA host
2353 * This is the counterpart of ata_host_activate() for SFF ATA
2380 * ATA spec says we should use legacy mode when one in ata_pci_sff_activate_host()
2692 * Prepare ATA taskfile for submission.
2712 * Prepare ATA taskfile for submission.
2809 VPRINTK("ata%u: host_stat 0x%X\n", ap->print_id, host_stat); in ata_bmdma_port_intr()
2836 * ata_bmdma_interrupt - Default BMDMA ATA host interrupt handler
2936 * @ap: Port associated with this ATA transaction.
2958 * @qc: Info associated with this ATA transaction.
2987 * @qc: Info associated with this ATA transaction.
3009 * without first all the MMIO ATA cards/mobos. in ata_bmdma_start()
3045 * @ap: Port associated with this ATA transaction.
3114 * Some PCI ATA devices report simplex mode but in fact can be told to
3149 * ata_pci_bmdma_init - acquire PCI BMDMA resources and init ATA host
3150 * @host: target ATA host
3206 * ata_pci_bmdma_prepare_host - helper to prepare PCI BMDMA ATA host
3209 * @r_host: out argument for the initialized ATA host
3211 * Helper to allocate BMDMA ATA host for @pdev, acquire all PCI
3265 * ata_sff_port_init - Initialize SFF/BMDMA ATA port