Chapter 4. libata Library
Prev
Next
Chapter 4. libata Library
Table of Contents
ata_tf_load
- send taskfile registers to host controller
ata_exec_command
- issue ATA command to host controller
ata_tf_read
- input device's ATA taskfile shadow registers
ata_check_status
- Read device status reg & clear interrupt
ata_altstatus
- Read device alternate status reg
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_id_string
- Convert IDENTIFY DEVICE page into string
ata_noop_dev_select
- Select device 0/1 on ATA bus
ata_std_dev_select
- Select device 0/1 on ATA bus
ata_dev_config
- Run device specific handlers and check for
ata_port_probe
- Mark port as enabled
__sata_phy_reset
- Wake/reset a low-level SATA PHY
sata_phy_reset
- Reset SATA bus.
ata_port_disable
- Disable port.
ata_bus_reset
- reset host port and associated ATA channel
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_eng_timeout
- Handle timeout of queued command
ata_qc_complete
- Complete an active ATA command
ata_qc_issue_prot
- issue taskfile to device in proto-dependent manner
ata_bmdma_start
- Start a PCI IDE BMDMA transaction
ata_bmdma_setup
- Set up PCI IDE BMDMA transaction
ata_bmdma_irq_clear
- Clear PCI IDE BMDMA interrupt.
ata_bmdma_status
- Read PCI IDE BMDMA status
ata_bmdma_stop
- Stop PCI IDE BMDMA transfer
ata_host_intr
- Handle host interrupt for given (port, task)
ata_interrupt
- Default ATA host interrupt handler
ata_device_resume
- wakeup a previously suspended devices
ata_device_suspend
- prepare a device for suspend
ata_port_stop
- Undo ata_port_start
ata_device_add
- Register hardware device with ATA and SCSI layers
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_init_native_mode
- Initialize native-mode driver
ata_pci_init_one
- Initialize/register PCI IDE host controller
ata_pci_remove_one
- PCI layer callback for device removal