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_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_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
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.
ata_poll_qc_complete
- turn irq back on and finish qc
ata_pio_poll
- poll using PIO, depending on current state
ata_pio_complete
- check if drive is busy or idle
swap_buf_le16
- swap halves of 16-bit words in place
ata_pio_sector
- Transfer ATA_SECT_SIZE (512 bytes) of data.
__atapi_pio_bytes
- Transfer data from/to the ATAPI device.
atapi_pio_bytes
- Transfer data from/to the ATAPI device.
ata_pio_block
- start PIO on a block
atapi_packet_task
- Write CDB bytes to hardware
ata_qc_timeout
- Handle timeout of queued command
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_host_remove
- Unregister SCSI host structure with upper layers
ata_host_init
- Initialize an ata_port structure
ata_host_add
- Attach low-level ATA driver to system