Chapter 4. libata Library

Table of Contents

ata_tf_to_fis — Convert ATA taskfile to SATA FIS structure
ata_tf_from_fis — Convert SATA FIS to ATA taskfile
ata_dev_classify — determine device type based on ATA-spec signature
ata_id_string — Convert IDENTIFY DEVICE page into string
ata_id_c_string — Convert IDENTIFY DEVICE page into C string
ata_noop_dev_select — Select device 0/1 on ATA bus
ata_std_dev_select — Select device 0/1 on ATA bus
ata_port_queue_task — Queue port_task
ata_pio_need_iordy — check if iordy needed
ata_port_probe — Mark port as enabled
__sata_phy_reset — Wake/reset a low-level SATA PHY
sata_phy_reset — Reset SATA bus.
ata_dev_pair — return other device on cable
ata_port_disable — Disable port.
ata_busy_sleep — sleep until BSY clears, or timeout
ata_bus_reset — reset host port and associated ATA channel
ata_std_probeinit — initialize probing
ata_std_softreset — reset host port via ATA SRST
sata_std_hardreset — reset host port via SATA phy reset
ata_std_postreset — standard postreset callback
ata_std_probe_reset — standard probe reset method
ata_drive_probe_reset — Perform probe reset with given methods
ata_dev_revalidate — Revalidate ATA device
ata_qc_prep — Prepare taskfile for submission
ata_sg_init_one — Associate command with memory buffer
ata_sg_init — Associate command with scatter-gather table.
ata_eng_timeout — Handle timeout of queued command
ata_qc_issue_prot — issue taskfile to device in proto-dependent manner
ata_host_intr — Handle host interrupt for given (port, task)
ata_interrupt — Default ATA host interrupt handler
ata_device_resume — wakeup a previously suspended devices
ata_device_suspend — prepare a device for suspend
ata_port_start — Set port up for dma.
ata_port_stop — Undo ata_port_start
ata_device_add — Register hardware device with ATA and SCSI layers
ata_host_set_remove — PCI layer callback for device removal
ata_scsi_release — SCSI layer callback hook for host unload
ata_std_ports — initialize ioaddr with standard port offsets.
ata_pci_remove_one — PCI layer callback for device removal