Home
last modified time | relevance | path

Searched refs:pcibar (Results 1 – 12 of 12) sorted by relevance

/freebsd/sys/dev/pms/RefTisa/sallsdk/spc/
H A Dsainit.c1852 bit8 pcibar; in mpiInitialize() local
1920 pcibar = (bit8)mpiGetPCIBarIndex(agRoot, MSGUCfgTblBase); in mpiInitialize()
2141 ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_IQNPPD_HPPD_OFFSET), in mpiInitialize()
2150 ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_IO_ABORT_DELAY), in mpiInitialize()
2164 ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_OB_HW_EVENT_PID03_OFFSET), in mpiInitialize()
2166 ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_OB_HW_EVENT_PID47_OFFSET), in mpiInitialize()
2168 ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_OB_NCQ_EVENT_PID03_OFFSET), in mpiInitialize()
2170 ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_OB_NCQ_EVENT_PID47_OFFSET), in mpiInitialize()
2172 ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_TITNX_EVENT_PID03_OFFSET), in mpiInitialize()
2174 ossaHwRegWriteExt(agRoot, pcibar, (bit32)(MSGUCfgTblDWIdx + MAIN_TITNX_EVENT_PID47_OFFSET), in mpiInitialize()
[all …]
H A Dsaioctlcmd.c724 bit8 pcibar; in saGetControllerInfo() local
890 pcibar = (bit8)mpiGetPCIBarIndex(agRoot, MSGUCfgTblBase); in saGetControllerInfo()
893 controllerInfo->signature = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx); in saGetControllerInfo()
894 …controllerInfo->fwInterfaceRev = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_INT… in saGetControllerInfo()
895 …controllerInfo->fwRevision = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_FW_… in saGetControllerInfo()
896 …controllerInfo->ilaRevision = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_ILA… in saGetControllerInfo()
897 …controllerInfo->maxPendingIO = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_MAX… in saGetControllerInfo()
898 …controllerInfo->maxDevices = (ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_MAX… in saGetControllerInfo()
900 …controllerInfo->maxSgElements = (ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_MAX… in saGetControllerInfo()
920 …ContrlCapFlag = ossaHwRegReadExt(agRoot, pcibar, (bit32)CfgTblDWIdx + MAIN_CNT… in saGetControllerInfo()
[all …]
H A Dsaproto.h70 bit8 pcibar
76 bit8 pcibar
83 bit8 pcibar);
H A Dmpi.h163 bit32 pcibar; /**< CPI Logical Bar Number */ member
H A Dsahw.c2919 bit32 pcibar = 0; in siGetPciBar() local
2921 pcibar = (MSGUCfgTblBase & SCRATCH_PAD0_BAR_MASK) >> SHIFT26; in siGetPciBar()
2923 pcibar = (bit8)mpiGetPCIBarIndex(agRoot, pcibar); in siGetPciBar()
2925 return(pcibar); in siGetPciBar()
/freebsd/sys/dev/hptnr/
H A Dhptnr_os_bsd.c104 hba->pcibar[index].rid = 0x10 + index * 4; in os_map_pci_bar()
105 base = pci_read_config(hba->pcidev, hba->pcibar[index].rid, 4); in os_map_pci_bar()
108 hba->pcibar[index].type = SYS_RES_IOPORT; in os_map_pci_bar()
109 hba->pcibar[index].res = bus_alloc_resource_any(hba->pcidev, in os_map_pci_bar()
110 hba->pcibar[index].type, &hba->pcibar[index].rid, RF_ACTIVE); in os_map_pci_bar()
111 hba->pcibar[index].base = (void *)(unsigned long)(base & ~0x1); in os_map_pci_bar()
113 hba->pcibar[index].type = SYS_RES_MEMORY; in os_map_pci_bar()
114 hba->pcibar[index].res = bus_alloc_resource_any(hba->pcidev, in os_map_pci_bar()
115 hba->pcibar[index].type, &hba->pcibar[index].rid, RF_ACTIVE); in os_map_pci_bar()
116 hba->pcibar[index].base = (char *)rman_get_virtual(hba->pcibar[index].res) + offset; in os_map_pci_bar()
[all …]
H A Dos_bsd.h146 pcibar[6]; member
/freebsd/sys/dev/hpt27xx/
H A Dhpt27xx_os_bsd.c118 hba->pcibar[index].rid = 0x10 + index * 4; in os_map_pci_bar()
119 base = pci_read_config(hba->pcidev, hba->pcibar[index].rid, 4); in os_map_pci_bar()
122 hba->pcibar[index].type = SYS_RES_IOPORT; in os_map_pci_bar()
123 hba->pcibar[index].res = bus_alloc_resource_any(hba->pcidev, in os_map_pci_bar()
124 hba->pcibar[index].type, &hba->pcibar[index].rid, RF_ACTIVE); in os_map_pci_bar()
125 hba->pcibar[index].base = (void *)(unsigned long)(base & ~0x1); in os_map_pci_bar()
127 hba->pcibar[index].type = SYS_RES_MEMORY; in os_map_pci_bar()
128 hba->pcibar[index].res = bus_alloc_resource_any(hba->pcidev, in os_map_pci_bar()
129 hba->pcibar[index].type, &hba->pcibar[index].rid, RF_ACTIVE); in os_map_pci_bar()
130 hba->pcibar[index].base = (char *)rman_get_virtual(hba->pcibar[index].res) + offset; in os_map_pci_bar()
[all …]
H A Dos_bsd.h144 pcibar[6]; member
/freebsd/sys/dev/hptrr/
H A Dhptrr_os_bsd.c94 hba->pcibar[index].rid = 0x10 + index * 4; in os_map_pci_bar()
96 if (pci_read_config(hba->pcidev, hba->pcibar[index].rid, 4) & 1) in os_map_pci_bar()
97 hba->pcibar[index].type = SYS_RES_IOPORT; in os_map_pci_bar()
99 hba->pcibar[index].type = SYS_RES_MEMORY; in os_map_pci_bar()
101 hba->pcibar[index].res = bus_alloc_resource_any(hba->pcidev, in os_map_pci_bar()
102 hba->pcibar[index].type, &hba->pcibar[index].rid, RF_ACTIVE); in os_map_pci_bar()
104 hba->pcibar[index].base = (char *)rman_get_virtual(hba->pcibar[index].res) + offset; in os_map_pci_bar()
105 return hba->pcibar[index].base; in os_map_pci_bar()
114 if (hba->pcibar[index].base==base) { in os_unmap_pci_bar()
115 bus_release_resource(hba->pcidev, hba->pcibar[index].type, in os_unmap_pci_bar()
[all …]
H A Dos_bsd.h147 pcibar[6]; member
/freebsd/usr.sbin/bhyve/
H A Dpci_passthru.c84 struct pcibar psc_bar[PCI_BARMAX_WITH_ROM + 1];