Lines Matching defs:pih
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;
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;
258 pci_intr_release(pci_chipset_tag_t pc, pci_intr_handle_t *pih, int count)
262 if (pih == NULL || count == 0)
265 if ((pih[0] & (ARM_PCI_INTR_MSIX|ARM_PCI_INTR_MSI)) != 0) {
266 msi = arm_pci_msi_find_frame(pih[0]);
268 msi->msi_intr_release(msi, pih, count);
271 kmem_free(pih, sizeof(*pih) * count);