Lines Matching refs:base
104 HPT_U32 base;
107 base = pci_read_config(hba->pcidev, hba->pcibar[index].rid, 4);
109 if (base & 1) {
113 hba->pcibar[index].base = (void *)(unsigned long)(base & ~0x1);
118 hba->pcibar[index].base = (char *)rman_get_virtual(hba->pcibar[index].res) + offset;
121 return hba->pcibar[index].base;
124 void os_unmap_pci_bar(void *osext, void *base)
130 if (hba->pcibar[index].base==base) {
133 hba->pcibar[index].base = 0;