/src/sys/dev/pci/ |
pci_stub.c | 82 pci_intr_release(pci_chipset_tag_t pc, pci_intr_handle_t *pih, int count) 85 kmem_free(pih, sizeof(*pih)); 91 pci_intr_handle_t *pih; local in function:pci_intx_alloc 96 pih = kmem_alloc(sizeof(*pih), KM_SLEEP); 97 if (pci_intr_map(pa, pih)) { 98 kmem_free(pih, sizeof(*pih)); 102 *ihp = pih; [all...] |
/src/sys/arch/xen/x86/ |
xen_intr.c | 174 struct pintrhand *pih; local in function:xen_intr_establish_xname 213 pih = pirq_establish(gsi, evtchn, handler, arg, level, 215 pih->pic = pic; 218 return pih; 264 struct pintrhand *pih = (struct pintrhand *)ih; local in function:xen_intr_disestablish 266 int pirq = pih->pirq; 267 int port = pih->evtch; 270 pirq_disestablish(pih); 281 KASSERT(port == pih->evtch); 464 uint64_t pih; local in function:xen_intr_create_intrid [all...] |
/src/sys/arch/arm/pci/ |
pci_msi_machdep.c | 138 arm_pci_msi_intr_establish(pci_chipset_tag_t pc, pci_intr_handle_t pih, 143 msi = arm_pci_msi_find_frame(pih); 147 return msi->msi_intr_establish(msi, pih, ipl, func, arg, xname); 187 pci_intr_handle_t *pih; local in function:pci_intx_alloc 192 pih = kmem_alloc(sizeof(*pih), KM_SLEEP); 193 if (pci_intr_map(pa, pih) != 0) { 194 kmem_free(pih, sizeof(*pih)); 197 *ihp = pih; [all...] |
/src/sys/arch/x86/pci/ |
pci_msi_machdep.c | 73 pci_intr_handle_t pih; local in function:pci_msi_calculate_handle 77 pih = __SHIFTIN((uint64_t)msipic_get_devid(msi_pic), MSI_INT_DEV_MASK) 81 MSI_INT_MAKE_MSI(pih); 83 MSI_INT_MAKE_MSIX(pih); 88 return pih; 96 pci_intr_handle_t *vectors, pih; local in function:pci_msi_alloc_vectors 111 pih = pci_msi_calculate_handle(msi_pic, table_index); 113 intrstr = x86_pci_msi_string(NULL, pih, intrstr_buf, 123 vectors[i] = pih; 134 pci_intr_handle_t pih; local in function:pci_msi_free_vectors [all...] |
/src/sys/arch/mips/rmi/ |
rmixl_pcie.c | 1027 rmixl_pcie_intr_map(const struct pci_attach_args *pa, pci_intr_handle_t *pih) 1085 *pih = rmixl_pcie_make_pih(link, pa->pa_intrpin - 1, irq); 1087 *pih = ~0; 1093 rmixl_pcie_intr_string(void *v, pci_intr_handle_t pih, char *buf, size_t len) 1098 rmixl_pcie_decompose_pih(pih, &link, &bitno, &irq); 1147 rmixl_pcie_intr_evcnt(void *v, pci_intr_handle_t pih) 1155 pci_intr_handle_t pih; local in function:rmixl_pcie_make_pih 1161 pih = (irq << 10); 1162 pih |= (bitno << 4); 1163 pih |= link [all...] |
rmixl_pcix.c | 762 rmixl_pcix_intr_map(const struct pci_attach_args *pa, pci_intr_handle_t *pih) 774 *pih = rmixl_pcix_make_pih(pa->pa_intrpin - 1, irq); 776 *pih = ~0; 782 rmixl_pcix_intr_string(void *v, pci_intr_handle_t pih, char *buf, size_t len) 786 rmixl_pcix_decompose_pih(pih, &bitno, &irq); 797 rmixl_pcix_intr_evcnt(void *v, pci_intr_handle_t pih) 805 pci_intr_handle_t pih; local in function:rmixl_pcix_make_pih 810 pih = (irq << 6); 811 pih |= bitno; 813 return pih; [all...] |
/src/sys/arch/x86/x86/ |
intr.c | 311 uint64_t pih; local in function:intr_create_intrid 316 pih = __SHIFTIN((uint64_t)dev, MSI_INT_DEV_MASK) 320 MSI_INT_MAKE_MSI(pih); 322 MSI_INT_MAKE_MSIX(pih); 324 return x86_pci_msi_string(NULL, pih, buf, len);
|
/src/sys/arch/powerpc/booke/pci/ |
pq3pci.c | 251 #define PIH_IST(pih) (((pih) >> 0) & 0xff) 252 #define PIH_IRQ(pih) (((pih) >> 8) & 0xfff) 253 #define PIH_NMSI(pih) (((pih) >> 20) & 0xff) 649 struct pq3pci_intrhand *pih; local in function:pq3pci_pis_intr 654 SIMPLEQ_FOREACH(pih, &pis->pis_ihands, pih_link) { 655 struct pq3pci_softc * const sc = pih->pih_ih.ih_sc; 656 int s = splraise(pih->pih_ipl) 1535 struct pq3pci_intrhand * const pih = local in function:pq3pci_intr_establish 1557 struct pq3pci_intrhand * const pih = ih; local in function:pq3pci_intr_disestablish [all...] |