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.
sata_set_spd — set SATA spd according to spd limit
ata_busy_sleep — sleep until BSY clears, or timeout
ata_bus_reset — reset host port and associated ATA channel
sata_phy_debounce — debounce SATA phy status
sata_phy_resume — resume SATA phy
ata_std_prereset — prepare for reset
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_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_mmio_data_xfer — Transfer data by MMIO
ata_pio_data_xfer — Transfer data by PIO
ata_pio_data_xfer_noirq — Transfer data by PIO
ata_hsm_move — move the HSM to the next state.
ata_qc_complete — Complete an active ATA command
ata_qc_complete_multiple — Complete multiple qcs successfully
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
sata_scr_valid — test whether SCRs are accessible
sata_scr_read — read SCR register of the specified port
sata_scr_write — write SCR register of the specified port
sata_scr_write_flush — write SCR register of the specified port and flush
ata_port_online — test whether the given port is online
ata_port_offline — test whether the given port is offline
ata_host_set_suspend — suspend host_set
ata_host_set_resume — resume host_set
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_port_detach — Detach ATA port in prepration of device removal
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
ata_wait_register — wait until register value changes