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,
644 * Transfer qc->sect_size bytes of data from/to the ATA device.
697 * ATA device for the DRQ request.
872 VPRINTK("ata%u: xfering %d bytes\n", ap->print_id, bytes); in atapi_pio_bytes()
986 DPRINTK("ata%u: protocol %d task_state %d (dev_stat 0x%X)\n", in ata_sff_hsm_move()
1092 /* ATA PIO protocol */ in ata_sff_hsm_move()
1112 ata_ehi_push_desc(ehi, "ST-ATA: " in ata_sff_hsm_move()
1143 ata_ehi_push_desc(ehi, "ST-ATA: " in ata_sff_hsm_move()
1188 DPRINTK("ata%u: dev %u command complete, drv_stat 0x%x\n", in ata_sff_hsm_move()
1211 WARN(true, "ata%d: SFF host state machine in invalid state %d", in ata_sff_hsm_move()
1462 VPRINTK("ata%u: protocol %d task_state %d\n", in __ata_sff_port_intr()
1597 * ata_sff_interrupt - Default SFF ATA host interrupt handler
1747 * @ap: ATA channel to examine
1751 * Hale Landis's ATADRVR (www.ata-atapi.com), and
1752 * later found its way into the ATA/ATAPI spec.
1754 * Write a pattern to the ATA shadow registers,
1757 * ATA shadow register contents.
1788 * ata_sff_dev_classify - Parse returned ATA device signature
1789 * @dev: ATA device to classify (starting at zero)
1794 * an ATA/ATAPI-defined set of values is placed in the ATA
1798 * Select the ATA device, and read the values from the ATA shadow
1836 /* determine if device is ATA or ATAPI */ in ata_sff_dev_classify()
1842 * Assume ATA device if the device seems present but in ata_sff_dev_classify()
1940 DPRINTK("ata%u: bus reset via SRST\n", ap->print_id); in ata_bus_softreset()
1957 * ata_sff_softreset - reset host port via ATA SRST
1958 * @link: ATA link to reset
1962 * Reset host port using ATA SRST.
1999 /* determine by signature whether we have ATA or ATAPI devices */ in ata_sff_softreset()
2204 * ata_pci_sff_init_host - acquire native PCI ATA resources and init host
2205 * @host: target ATA host
2207 * Acquire native PCI ATA resources for @host and initialize the
2283 * ata_pci_sff_prepare_host - helper to prepare PCI PIO-only SFF ATA host
2286 * @r_host: out argument for the initialized ATA host
2288 * Helper to allocate PIO-only SFF ATA host for @pdev, acquire
2309 dev_err(&pdev->dev, "failed to allocate ATA host\n"); in ata_pci_sff_prepare_host()
2330 * @host: target SFF ATA host
2334 * This is the counterpart of ata_host_activate() for SFF ATA
2361 * ATA spec says we should use legacy mode when one in ata_pci_sff_activate_host()
2673 * Prepare ATA taskfile for submission.
2693 * Prepare ATA taskfile for submission.
2790 VPRINTK("ata%u: host_stat 0x%X\n", ap->print_id, host_stat); in ata_bmdma_port_intr()
2817 * ata_bmdma_interrupt - Default BMDMA ATA host interrupt handler
2917 * @ap: Port associated with this ATA transaction.
2939 * @qc: Info associated with this ATA transaction.
2968 * @qc: Info associated with this ATA transaction.
2990 * without first all the MMIO ATA cards/mobos. in ata_bmdma_start()
3026 * @ap: Port associated with this ATA transaction.
3095 * Some PCI ATA devices report simplex mode but in fact can be told to
3130 * ata_pci_bmdma_init - acquire PCI BMDMA resources and init ATA host
3131 * @host: target ATA host
3187 * ata_pci_bmdma_prepare_host - helper to prepare PCI BMDMA ATA host
3190 * @r_host: out argument for the initialized ATA host
3192 * Helper to allocate BMDMA ATA host for @pdev, acquire all PCI
3246 * ata_sff_port_init - Initialize SFF/BMDMA ATA port