/freebsd/sys/dev/pms/RefTisa/sallsdk/spc/ |
H A D | sainit.c | 1852 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 D | saioctlcmd.c | 724 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 D | saproto.h | 70 bit8 pcibar 76 bit8 pcibar 83 bit8 pcibar);
|
H A D | mpi.h | 163 bit32 pcibar; /**< CPI Logical Bar Number */ member
|
H A D | sahw.c | 2919 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 D | hptnr_os_bsd.c | 104 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 D | os_bsd.h | 146 pcibar[6]; member
|
/freebsd/sys/dev/hpt27xx/ |
H A D | hpt27xx_os_bsd.c | 118 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 D | os_bsd.h | 144 pcibar[6]; member
|
/freebsd/sys/dev/hptrr/ |
H A D | hptrr_os_bsd.c | 94 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 D | os_bsd.h | 147 pcibar[6]; member
|
/freebsd/usr.sbin/bhyve/ |
H A D | pci_passthru.c | 84 struct pcibar psc_bar[PCI_BARMAX_WITH_ROM + 1];
|