Chapter 4. libata Library
Prev |  | Next

## 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_dev_try_classify — Parse returned ATA device signature
ata_id_string — Convert IDENTIFY DEVICE page into string
ata_id_c_string — Convert IDENTIFY DEVICE page into C string
ata_id_to_dma_mode — Identify DMA mode from id block
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_cable_40wire — return 40 wire cable type
ata_cable_80wire — return 80 wire cable type
ata_cable_unknown — return unknown PATA cable.
ata_cable_sata — return SATA cable type
ata_port_probe — Mark port as enabled
sata_print_link_status — Print SATA link status
__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_do_set_mode — Program timings and issue SET FEATURES - XFER
ata_busy_sleep — sleep until BSY clears, or timeout
ata_wait_ready — 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_port_hardreset — reset port via SATA phy reset
sata_std_hardreset — reset host port via SATA phy reset
ata_std_postreset — standard postreset callback
ata_qc_prep — Prepare taskfile for submission
ata_dumb_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_data_xfer — Transfer data by PIO
ata_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_suspend — suspend host
ata_host_resume — resume host
ata_port_start — Set port up for dma.
ata_host_alloc — allocate and init basic ATA host resources
ata_host_alloc_pinfo — alloc host and init with port_info array
ata_host_start — start and freeze ports of an ATA host
ata_host_init — Initialize a host struct
ata_host_register — register initialized ATA host
ata_host_activate — start host, request IRQ and register it
ata_host_detach — Detach all ports of an ATA host
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

Prev |  | Next
Problems with the current EH | Home | ata_tf_to_fis