Home | History | Annotate | Download | only in at91

Lines Matching refs:ih

130 	struct intrhand *ih;
138 for (ih = TAILQ_FIRST(&iq->iq_list); ih != NULL;
139 ih = TAILQ_NEXT(ih, ih_list))
140 levels |= (1U << ih->ih_ipl);
282 struct intrhand* ih;
310 ih = kmem_alloc(sizeof(*ih), KM_SLEEP);
311 if (ih == NULL)
314 ih->ih_func = ih_func;
315 ih->ih_arg = arg;
316 ih->ih_irq = irq;
317 ih->ih_ipl = ipl;
325 TAILQ_INSERT_TAIL(&iq->iq_list, ih, ih_list);
341 kmem_free(ih, sizeof(*ih));
342 ih = NULL;
345 return (ih);
351 struct intrhand* ih = cookie;
352 struct intrq* iq = &intrq[ih->ih_irq];
356 TAILQ_REMOVE(&iq->iq_list, ih, ih_list);
370 struct intrhand* ih;
388 for (ih = TAILQ_FIRST(&iq->iq_list); ih != NULL;
389 ih = TAILQ_NEXT(ih, ih_list)) {
390 set_curcpl(ih->ih_ipl);
391 at91_set_intrmask(aic_imask[ih->ih_ipl]);
393 (void) (*ih->ih_func)(ih->ih_arg ? ih->ih_arg : frame);
443 struct intrhand* ih = ihp;
444 u_int oldirqstate, irq = ih->ih_irq;
452 set_curcpl(ih->ih_ipl);
453 at91_set_intrmask(aic_imask[ih->ih_ipl]);
455 (void)(*ih->ih_func)(ih->ih_arg ? ih->ih_arg : NULL);