Chapter 5. libata Core Internals

Table of Contents

ata_rwcmd_protocol — set taskfile r/w commands and protocol
ata_pack_xfermask — Pack pio, mwdma and udma masks into xfer_mask
ata_unpack_xfermask — Unpack xfer_mask into pio, mwdma and udma masks
ata_xfer_mask2mode — Find matching XFER_* for the given xfer_mask
ata_xfer_mode2mask — Find matching xfer_mask for XFER_*
ata_xfer_mode2shift — Find matching xfer_shift for XFER_*
ata_mode_string — convert xfer_mask to string
ata_pio_devchk — PATA device presence detection
ata_mmio_devchk — PATA device presence detection
ata_devchk — PATA device presence detection
ata_dev_try_classify — Parse returned ATA device signature
ata_dev_select — Select device 0/1 on ATA bus
ata_dump_id — IDENTIFY DEVICE info debugging output
ata_id_xfermask — Compute xfermask from the given IDENTIFY data
ata_port_flush_task — Flush port_task
ata_exec_internal — execute libata internal command
ata_do_simple_cmd — execute simple internal command
ata_dev_read_id — Read ID data from the specified device
ata_dev_configure — Configure the specified ATA/ATAPI device
ata_bus_probe — Reset and probe ATA bus
sata_print_link_status — Print SATA link status
sata_down_spd_limit — adjust SATA spd limit downward
sata_set_spd_needed — is SATA spd configuration needed
ata_down_xfermask_limit — adjust dev xfer masks downward
ata_set_mode — Program timings and issue SET FEATURES - XFER
ata_tf_to_host — issue ATA taskfile to host controller
ata_dev_same_device — Determine whether new ID matches configured device
ata_dev_xfermask — Compute supported xfermask of the given device
ata_dev_set_xfermode — Issue SET FEATURES - XFER MODE command
ata_dev_init_params — Issue INIT DEV PARAMS command
ata_sg_clean — Unmap DMA memory associated with command
ata_fill_sg — Fill PCI IDE PRD table
ata_check_atapi_dma — Check whether ATAPI DMA can be supported
ata_sg_setup_one — DMA-map the memory buffer associated with a command.
ata_sg_setup — DMA-map the scatter-gather table associated with a command.
swap_buf_le16 — swap halves of 16-bit words in place
ata_pio_sector — Transfer ATA_SECT_SIZE (512 bytes) of data.
ata_pio_sectors — Transfer one or many 512-byte sectors.
atapi_send_cdb — Write CDB bytes to hardware
__atapi_pio_bytes — Transfer data from/to the ATAPI device.
atapi_pio_bytes — Transfer data from/to the ATAPI device.
ata_hsm_ok_in_wq — Check if the qc can be handled in the workqueue.
ata_hsm_qc_complete — finish a qc running on standard HSM
ata_qc_new — Request an available ATA command, for queueing
ata_qc_new_init — Request an available ATA command, and initialize it
ata_qc_free — free unused ata_queued_cmd
ata_qc_issue — issue taskfile to device
ata_dev_init — Initialize an ata_device structure
ata_host_init — Initialize an ata_port structure
ata_host_add — Attach low-level ATA driver to system