Home | History | Annotate | Download | only in atheros

Lines Matching refs:ih

111 	struct atheros_intrhand	*ih;
113 ih = kmem_alloc(sizeof(*ih), KM_SLEEP);
114 ih->ih_func = func;
115 ih->ih_arg = arg;
116 ih->ih_irq = intr;
120 LIST_INSERT_HEAD(&cpu_intrs[intr].intr_qh, ih, ih_q);
128 return (ih);
134 struct atheros_intrhand * const ih = arg;
138 LIST_REMOVE(ih, ih_q);
141 kmem_free(ih, sizeof(*ih));
148 struct atheros_intrhand *ih;
153 ih = kmem_alloc(sizeof(*ih), KM_SLEEP);
154 ih->ih_func = func;
155 ih->ih_arg = arg;
156 ih->ih_irq = irq;
162 LIST_INSERT_HEAD(&intr->intr_qh, ih, ih_q);
172 return ih;
178 struct atheros_intrhand *ih = arg;
179 struct atheros_intr * const intr = &misc_intrs[ih->ih_irq];
183 LIST_REMOVE(ih, ih_q);
185 const uint32_t mask = misc_intmask_get() & ~__BIT(ih->ih_irq);
191 kmem_free(ih, sizeof(*ih));
210 struct atheros_intrhand *ih;
215 LIST_FOREACH(ih, &intr->intr_qh, ih_q) {
216 rv |= (*ih->ih_func)(ih->ih_arg);
233 struct atheros_intrhand *ih;
242 LIST_FOREACH(ih, &intr->intr_qh, ih_q) {
243 (*ih->ih_func)(ih->ih_arg);