Searched refs:AHCI_OFFSET (Results 1 – 2 of 2) sorted by relevance
2054 int port = (offset - AHCI_OFFSET) / AHCI_STEP; in pci_ahci_port_write()2055 offset = (offset - AHCI_OFFSET) % AHCI_STEP; in pci_ahci_port_write()2200 if (offset < AHCI_OFFSET) in pci_ahci_write()2202 else if (offset < (uint64_t)AHCI_OFFSET + sc->ports * AHCI_STEP) in pci_ahci_write()2246 int port = (offset - AHCI_OFFSET) / AHCI_STEP; in pci_ahci_port_read()2247 offset = (offset - AHCI_OFFSET) % AHCI_STEP; in pci_ahci_port_read()2297 if (offset < AHCI_OFFSET) in pci_ahci_read()2299 else if (offset < (uint64_t)AHCI_OFFSET + sc->ports * AHCI_STEP) in pci_ahci_read()2561 AHCI_OFFSET + sc->ports * AHCI_STEP); in pci_ahci_init()
218 #define AHCI_OFFSET 0x100 macro