Home | History | Annotate | Download | only in pci

Lines Matching defs:ihp

238 pci_intr_map(const struct pci_attach_args *pa, pci_intr_handle_t *ihp)
297 *ihp = 8; /* pin C only, indeed */
306 *ihp = 2 + line;
321 *ihp = 2;
330 *ihp = (line + pin) & 03;
345 *ihp = 2;
349 *ihp = (line == 13) ? 4 : line - 11;
353 *ihp = line - 13;
357 *ihp = (line == 12) ? 4 : line - 13;
361 *ihp = (line < 15) ? line - 13 : line - 12;
363 *ihp += 1; /* USB pin C (EHCI) uses next IRQ */
367 *ihp = (line == 16) ? 2 :
373 *ihp = (line == 15) ? 0 :
378 *ihp = line - 12;
381 " mapped to irq %d\n", line, pin + '@', *ihp);
386 printf(" = EPIC %d\n", *ihp);
390 *ihp = -1;
527 pci_intr_handle_t *ihp;
529 ihp = kmem_alloc(sizeof(*ihp), KM_SLEEP);
530 if (pci_intr_map(pa, ihp)) {
531 kmem_free(ihp, sizeof(*ihp));
535 *ihpp = ihp;