Home | History | Annotate | Download | only in dev

Lines Matching defs:ihp

623 	struct sparc_vme_intr_handle *ihp = (vme_intr_handle_t)arg;
627 level = (ihp->pri << 1) | 1;
637 printf("vme: spurious interrupt at VME level %d\n", ihp->pri);
642 for (; ihp; ihp = ihp->next)
643 if (ihp->vec == vec && ihp->ih.ih_fun) {
644 splx(ihp->ih.ih_classipl);
645 rv |= (ihp->ih.ih_fun)(ihp->ih.ih_arg);
656 struct sparc_vme_intr_handle *ihp = (vme_intr_handle_t)arg;
660 level = (ihp->pri << 1) | 1;
666 (*(volatile int *)&ihp->sc->sc_reg->vmebus_afsr);
669 if ((pending & SINTR_VME(ihp->pri)) == 0) {
671 ihp->pri, pending);
677 vec = ihp->sc->sc_vec->vmebusvec[level];
682 volatile char *addr = &ihp->sc->sc_vec->vmebusvec[level];
704 printf("vme: spurious interrupt at VME level %d\n", ihp->pri);
707 ihp->sc->sc_reg->vmebus_afsr,
708 ihp->sc->sc_reg->vmebus_afar);
713 for (; ihp; ihp = ihp->next)
714 if (ihp->vec == vec && ihp->ih.ih_fun) {
715 splx(ihp->ih.ih_classipl);
716 rv |= (ihp->ih.ih_fun)(ihp->ih.ih_arg);
725 vme_intr_handle_t *ihp)
733 *ihp = ih;