Lines Matching refs:base
118 HPT_U32 base;
121 base = pci_read_config(hba->pcidev, hba->pcibar[index].rid, 4);
123 if (base & 1) {
127 hba->pcibar[index].base = (void *)(unsigned long)(base & ~0x1);
132 hba->pcibar[index].base = (char *)rman_get_virtual(hba->pcibar[index].res) + offset;
135 return hba->pcibar[index].base;
138 void os_unmap_pci_bar(void *osext, void *base)
144 if (hba->pcibar[index].base==base) {
147 hba->pcibar[index].base = 0;