/src/sys/dev/pci/ |
pwdog.c | 84 pcireg_t memtype; local in function:pwdog_attach 87 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_MAPREG_START); 88 if (pci_mapreg_map(pa, PCI_MAPREG_START, memtype, 0, &sc->sc_iot, 92 memtype == PCI_MAPREG_TYPE_IO ? "I/O" : "memory");
|
siop_pci_common.c | 242 pcireg_t memtype; local in function:siop_pci_attach_common 278 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, 0x14); 279 switch (memtype) { 282 memh_valid = (pci_mapreg_map(pa, 0x14, memtype, 0, 308 switch (memtype) { 318 memtype); 321 if (pci_mapreg_map(pa, bar, memtype, 0,
|
if_eqos_pci.c | 112 pcireg_t memtype; local in function:eqos_pci_attach 120 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_BAR0); 121 if (pci_mapreg_map(pa, PCI_BAR0, memtype, 0, &memt, &memh, NULL,
|
ciss_pci.c | 158 int cfg_bar, memtype; local in function:ciss_pci_attach 179 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, CISS_BAR); 180 if (memtype != (PCI_MAPREG_TYPE_MEM | PCI_MAPREG_MEM_TYPE_32BIT) && 181 memtype != (PCI_MAPREG_TYPE_MEM | PCI_MAPREG_MEM_TYPE_64BIT)) { 185 if (pci_mapreg_map(pa, CISS_BAR, memtype, 0,
|
if_bwi_pci.c | 132 pcireg_t memtype, reg; local in function:bwi_pci_attach 145 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, BWI_PCI_BAR0); 146 switch (memtype) { 155 if (pci_mapreg_map(pa, BWI_PCI_BAR0, memtype, 0, &sc->sc_mem_bt,
|
pwdog.c | 84 pcireg_t memtype; local in function:pwdog_attach 87 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_MAPREG_START); 88 if (pci_mapreg_map(pa, PCI_MAPREG_START, memtype, 0, &sc->sc_iot, 92 memtype == PCI_MAPREG_TYPE_IO ? "I/O" : "memory");
|
siop_pci_common.c | 242 pcireg_t memtype; local in function:siop_pci_attach_common 278 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, 0x14); 279 switch (memtype) { 282 memh_valid = (pci_mapreg_map(pa, 0x14, memtype, 0, 308 switch (memtype) { 318 memtype); 321 if (pci_mapreg_map(pa, bar, memtype, 0,
|
if_eqos_pci.c | 112 pcireg_t memtype; local in function:eqos_pci_attach 120 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_BAR0); 121 if (pci_mapreg_map(pa, PCI_BAR0, memtype, 0, &memt, &memh, NULL,
|
ciss_pci.c | 158 int cfg_bar, memtype; local in function:ciss_pci_attach 179 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, CISS_BAR); 180 if (memtype != (PCI_MAPREG_TYPE_MEM | PCI_MAPREG_MEM_TYPE_32BIT) && 181 memtype != (PCI_MAPREG_TYPE_MEM | PCI_MAPREG_MEM_TYPE_64BIT)) { 185 if (pci_mapreg_map(pa, CISS_BAR, memtype, 0,
|
if_bwi_pci.c | 132 pcireg_t memtype, reg; local in function:bwi_pci_attach 145 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, BWI_PCI_BAR0); 146 switch (memtype) { 155 if (pci_mapreg_map(pa, BWI_PCI_BAR0, memtype, 0, &sc->sc_mem_bt,
|
ibmcd.c | 103 pcireg_t memtype; local in function:ibmcd_attach 106 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_MAPREG_START); 107 if (pci_mapreg_map(pa, PCI_MAPREG_START, memtype, 0, &sc->sc_iot, 111 memtype == PCI_MAPREG_TYPE_IO ? "I/O" : "memory");
|
mpt_pci.c | 133 pcireg_t reg, memtype; local in function:mpt_pci_attach 150 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, MPT_PCI_MMBA); 151 switch (memtype) { 155 memtype, 0, &memt, &memh, NULL, NULL) == 0);
|
if_athn_pci.c | 134 pcireg_t memtype, reg; local in function:athn_pci_attach 185 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, ATHN_PCI_MMBA); 186 if (memtype != PCI_MAPREG_TYPE_MEM && 187 memtype != PCI_MAPREG_MEM_TYPE_64BIT) { 189 (int)memtype); 192 error = pci_mapreg_map(pa, ATHN_PCI_MMBA, memtype, 0, &psc->psc_iot,
|
if_ral_pci.c | 169 pcireg_t memtype, reg; local in function:ral_pci_attach 204 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, RAL_PCI_BAR0); 205 error = pci_mapreg_map(pa, RAL_PCI_BAR0, memtype, 0, &sc->sc_st,
|
xhci_pci.c | 127 pcireg_t csr, memtype, usbrev; local in function:xhci_pci_attach 156 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_CBMEM); 157 if (PCI_MAPREG_TYPE(memtype) != PCI_MAPREG_TYPE_MEM) { 164 if (pci_mapreg_info(pa->pa_pc, pa->pa_tag, PCI_CBMEM, memtype,
|
if_re_pci.c | 190 pcireg_t command, memtype; local in function:re_pci_attach 210 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, RTK_PCI_LOMEM); 211 switch (memtype) { 216 memtype, 0, &memt, &memh, NULL, &memsize) == 0) ||
|
ibmcd.c | 103 pcireg_t memtype; local in function:ibmcd_attach 106 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_MAPREG_START); 107 if (pci_mapreg_map(pa, PCI_MAPREG_START, memtype, 0, &sc->sc_iot, 111 memtype == PCI_MAPREG_TYPE_IO ? "I/O" : "memory");
|
mpt_pci.c | 133 pcireg_t reg, memtype; local in function:mpt_pci_attach 150 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, MPT_PCI_MMBA); 151 switch (memtype) { 155 memtype, 0, &memt, &memh, NULL, NULL) == 0);
|
if_athn_pci.c | 134 pcireg_t memtype, reg; local in function:athn_pci_attach 185 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, ATHN_PCI_MMBA); 186 if (memtype != PCI_MAPREG_TYPE_MEM && 187 memtype != PCI_MAPREG_MEM_TYPE_64BIT) { 189 (int)memtype); 192 error = pci_mapreg_map(pa, ATHN_PCI_MMBA, memtype, 0, &psc->psc_iot,
|
if_ral_pci.c | 169 pcireg_t memtype, reg; local in function:ral_pci_attach 204 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, RAL_PCI_BAR0); 205 error = pci_mapreg_map(pa, RAL_PCI_BAR0, memtype, 0, &sc->sc_st,
|
xhci_pci.c | 127 pcireg_t csr, memtype, usbrev; local in function:xhci_pci_attach 156 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_CBMEM); 157 if (PCI_MAPREG_TYPE(memtype) != PCI_MAPREG_TYPE_MEM) { 164 if (pci_mapreg_info(pa->pa_pc, pa->pa_tag, PCI_CBMEM, memtype,
|
if_re_pci.c | 190 pcireg_t command, memtype; local in function:re_pci_attach 210 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, RTK_PCI_LOMEM); 211 switch (memtype) { 216 memtype, 0, &memt, &memh, NULL, &memsize) == 0) ||
|
nvme_pci.c | 153 pcireg_t memtype, reg; local in function:nvme_pci_attach 172 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, NVME_PCI_BAR); 173 if (PCI_MAPREG_TYPE(memtype) != PCI_MAPREG_TYPE_MEM) { 174 aprint_error_dev(self, "invalid type (type=0x%x)\n", memtype); 191 memtype, &memaddr, &sc->sc_ios, &flags);
|
/src/sys/arch/x86/pci/ |
dwiic_pci.c | 220 pcireg_t memtype; local in function:pci_dwiic_attach 236 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_BAR0); 237 if (pci_mapreg_map(pa, PCI_BAR0, memtype, 0, &sc->sc_dwiic.sc_iot,
|
dwiic_pci.c | 220 pcireg_t memtype; local in function:pci_dwiic_attach 236 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_BAR0); 237 if (pci_mapreg_map(pa, PCI_BAR0, memtype, 0, &sc->sc_dwiic.sc_iot,
|