Lines Matching +full:hba +full:- +full:cap
30 #include "malloc-pc.h"
44 /*** AHCI/HBA Register Offsets and Bitmasks ***/
320 #define ATA_DEVICE_MAGIC 0xA0 /* used in ata1-3 */
342 uint32_t cap; member
358 * Register device-to-host FIS structure.
380 * Register device-to-host FIS structure;
405 * Register host-to-device FIS structure.
428 * Register host-to-device FIS structure, for NCQ commands.
455 * The command list contains between 1-32 of these structures.
458 uint16_t flags; /* Cmd-Fis-Len, PMP#, and flags. */
472 uint32_t dbc; /* Data Byte Count (0-indexed) & Interrupt Flag (bit 2^31) */
481 unsigned prd_size; /* Size per-each PRD */
505 /* Helpers for reading/writing AHCI HBA register values */
509 return qpci_io_readl(ahci->dev, ahci->hba_bar, offset); in ahci_mread()
514 qpci_io_writel(ahci->dev, ahci->hba_bar, offset, value); in ahci_mwrite()
620 /* Command: Fine-grained lifecycle */