Lines Matching refs:ihps
82 arm_pci_msi_alloc_common(pci_intr_handle_t **ihps, int *count, const struct pci_attach_args *pa, bool exact)
98 *ihps = vectors;
104 arm_pci_msix_alloc_common(pci_intr_handle_t **ihps, u_int *table_indexes, int *count, const struct pci_attach_args *pa, bool exact)
120 *ihps = vectors;
155 pci_msi_alloc(const struct pci_attach_args *pa, pci_intr_handle_t **ihps, int *count)
157 return arm_pci_msi_alloc_common(ihps, count, pa, false);
161 pci_msi_alloc_exact(const struct pci_attach_args *pa, pci_intr_handle_t **ihps, int count)
163 return arm_pci_msi_alloc_common(ihps, &count, pa, true);
167 pci_msix_alloc(const struct pci_attach_args *pa, pci_intr_handle_t **ihps, int *count)
169 return arm_pci_msix_alloc_common(ihps, NULL, count, pa, false);
173 pci_msix_alloc_exact(const struct pci_attach_args *pa, pci_intr_handle_t **ihps, int count)
175 return arm_pci_msix_alloc_common(ihps, NULL, &count, pa, true);
179 pci_msix_alloc_map(const struct pci_attach_args *pa, pci_intr_handle_t **ihps, u_int *table_indexes, int count)
181 return arm_pci_msix_alloc_common(ihps, table_indexes, &count, pa, true);
203 pci_intr_alloc(const struct pci_attach_args *pa, pci_intr_handle_t **ihps, int *counts, pci_intr_type_t max_type)
234 if (msix_count > 0 && (error = pci_msix_alloc_exact(pa, ihps, msix_count)) == 0) {
242 if (msi_count > 0 && (error = pci_msi_alloc_exact(pa, ihps, msi_count)) == 0) {
248 if (intx_count > 0 && (error = pci_intx_alloc(pa, ihps)) == 0) {