Chapter 5. libata Core Internals
Prev |  | Next

## Chapter 5. libata Core Internals

Table of Contents

ata_rwcmd_protocol — set taskfile r/w commands and protocol
ata_tf_read_block — Read block address from ATA taskfile
ata_build_rw_tf — Build ATA taskfile for given read/write request
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_dev_enable_pm — enable SATA interface power management
ata_dev_disable_pm — disable SATA interface power management
ata_devchk — PATA device presence detection
ata_read_native_max_address — Read native max address
ata_set_max_sectors — Set max sectors
ata_hpa_resize — Resize a device with an HPA set
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_sg — execute libata internal command
ata_exec_internal — execute libata internal command
ata_do_simple_cmd — execute simple internal command
ata_pio_mask_no_iordy — Return the non IORDY mask
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_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_reread_id — Re-read IDENTIFY data
ata_dev_revalidate — Revalidate ATA device
ata_is_40wire — check drive side detection
ata_dev_xfermask — Compute supported xfermask of the given device
ata_dev_set_xfermode — Issue SET FEATURES - XFER MODE command
ata_dev_set_feature — Issue SET FEATURES - SATA FEATURES
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_fill_sg_dumb — Fill PCI IDE PRD table
ata_check_atapi_dma — Check whether ATAPI DMA can be supported
atapi_qc_may_overflow — Check whether data transfer may overflow
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 a sector of data.
ata_pio_sectors — Transfer one or many 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_link_init — Initialize an ata_link structure
sata_link_init_spd — Initialize link->sata_spd_limit
ata_port_alloc — allocate and initialize basic ATA port resources
ata_port_detach — Detach ATA port in prepration of device removal

Prev |  | Next
ata_wait_register | Home | ata_rwcmd_protocol