| /freebsd-14.2/sys/dev/hptnr/ |
| H A D | hptnr_os_bsd.c | 104 hba->pcibar[index].rid = 0x10 + index * 4; in os_map_pci_bar() 108 hba->pcibar[index].type = SYS_RES_IOPORT; in os_map_pci_bar() 110 hba->pcibar[index].type, &hba->pcibar[index].rid, RF_ACTIVE); in os_map_pci_bar() 113 hba->pcibar[index].type = SYS_RES_MEMORY; 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() 119 return hba->pcibar[index].base; in os_map_pci_bar() 128 if (hba->pcibar[index].base==base) { in os_unmap_pci_bar() 129 bus_release_resource(hba->pcidev, hba->pcibar[index].type, in os_unmap_pci_bar() 130 hba->pcibar[index].rid, hba->pcibar[index].res); in os_unmap_pci_bar() [all …]
|
| H A D | os_bsd.h | 146 pcibar[6]; member
|
| /freebsd-14.2/sys/dev/pms/RefTisa/sallsdk/spc/ |
| H A D | sainit.c | 1852 bit8 pcibar; in mpiInitialize() local 2518 bit32 pcibar = 0; in mpiInitialize() local 2542 bit32 pcibar = 0; in mpiInitialize() local 2913 bit8 pcibar; in mpiWaitForConfigTable() local 3440 bit8 pcibar; in mpiUnInitConfigTable() local 3704 bit8 i, pcibar; in mpiReadGSTable() local 4070 bit8 pcibar; in mpiReadCALTable() local 4126 bit8 pcibar; in mpiWriteCALTable() local 4200 bit8 pcibar; in mpiWrAnalogSetupTable() local 4295 pcibar, in mpiWrIntVecTable() [all …]
|
| H A D | saioctlcmd.c | 724 bit8 pcibar; in saGetControllerInfo() local 890 pcibar = (bit8)mpiGetPCIBarIndex(agRoot, MSGUCfgTblBase); in saGetControllerInfo() 2359 LOCAL bit32 siWaitForNonFatalTransfer( agsaRoot_t *agRoot,bit32 pcibar) in siWaitForNonFatalTransfer() argument 2395 LOCAL bit32 siWaitForFatalTransfer( agsaRoot_t *agRoot,bit32 pcibar) in siWaitForFatalTransfer() argument 2447 bit32 pcibar; in siFatalErrorBuffer() local 2474 pcibar = siGetPciBar(agRoot); in siFatalErrorBuffer() 2478 ossaHwRegReadExt(agRoot,pcibar ,ErrorTableOffset+MPI_FATAL_EDUMP_TABLE_STATUS), in siFatalErrorBuffer() 2609 siWaitForFatalTransfer( agRoot,pcibar); in siFatalErrorBuffer() 2680 bit32 pcibar; in siNonFatalErrorBuffer() local 2700 pcibar = siGetPciBar(agRoot); in siNonFatalErrorBuffer() [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-14.2/sys/dev/hpt27xx/ |
| H A D | hpt27xx_os_bsd.c | 118 hba->pcibar[index].rid = 0x10 + index * 4; in os_map_pci_bar() 122 hba->pcibar[index].type = SYS_RES_IOPORT; in os_map_pci_bar() 124 hba->pcibar[index].type, &hba->pcibar[index].rid, RF_ACTIVE); in os_map_pci_bar() 127 hba->pcibar[index].type = SYS_RES_MEMORY; 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() 133 return hba->pcibar[index].base; in os_map_pci_bar() 142 if (hba->pcibar[index].base==base) { in os_unmap_pci_bar() 143 bus_release_resource(hba->pcidev, hba->pcibar[index].type, in os_unmap_pci_bar() 144 hba->pcibar[index].rid, hba->pcibar[index].res); in os_unmap_pci_bar() [all …]
|
| H A D | os_bsd.h | 144 pcibar[6]; member
|
| /freebsd-14.2/sys/dev/hptrr/ |
| H A D | hptrr_os_bsd.c | 94 hba->pcibar[index].rid = 0x10 + index * 4; 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() 116 hba->pcibar[index].rid, hba->pcibar[index].res); in os_unmap_pci_bar() [all …]
|
| H A D | os_bsd.h | 147 pcibar[6]; member
|
| /freebsd-14.2/usr.sbin/bhyve/ |
| H A D | pci_emul.h | 95 struct pcibar { struct 166 struct pcibar pi_bar[PCI_BARMAX_WITH_ROM + 1];
|
| H A D | pci_passthru.c | 85 struct pcibar psc_bar[PCI_BARMAX_WITH_ROM + 1];
|