HomeSort by: relevance | last modified time | path
    Searched refs:ih (Results 1 - 25 of 588) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/sys/arch/sparc64/sparc64/
intr.c 136 struct intrhand *ih = (struct intrhand *)arg; local
139 while (ih && !claimed) {
140 claimed = (*ih->ih_fun)(ih->ih_arg);
146 ih, ih->ih_number, ih->ih_arg,
150 ih = ih->ih_next;
161 struct intrhand *ih = vp local
181 struct intrhand *ih = kmem_zalloc(sizeof(struct intrhand), KM_NOSLEEP); local
298 struct intrhand *ih; local
317 struct intrhand *ih = (struct intrhand *)cookie; local
332 struct intrhand *ih; local
359 struct intrhand *ih = (struct intrhand *)machdep; local
    [all...]
intreg.h 57 void send_softint(int cpu, int level, struct intrhand *ih);
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_ih.c 35 * amdgpu_ih_ring_init - initialize the IH state
38 * @ih: ih ring to initialize
42 * Initializes the IH state and allocates a buffer
43 * for the IH ring buffer.
46 int amdgpu_ih_ring_init(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih,
55 ih->ring_size = ring_size;
56 ih->ptr_mask = ih->ring_size - 1;
57 ih->rptr = 0
    [all...]
amdgpu_ih.h 36 * R6xx+ IH ring
64 /* provided by the ih block */
67 u32 (*get_wptr)(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih);
68 void (*decode_iv)(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih,
70 void (*set_rptr)(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih);
73 #define amdgpu_ih_get_wptr(adev, ih) (adev)->irq.ih_funcs->get_wptr((adev), (ih))
75 (adev)->irq.ih_funcs->decode_iv((adev), (ih), (iv))
76 #define amdgpu_ih_set_rptr(adev, ih) (adev)->irq.ih_funcs->set_rptr((adev), (ih))
    [all...]
amdgpu_vega10_ih.c 66 adev->irq.ih.enabled = true;
126 adev->irq.ih.enabled = false;
127 adev->irq.ih.rptr = 0;
171 static uint32_t vega10_ih_rb_cntl(struct amdgpu_ih_ring *ih, uint32_t ih_rb_cntl)
173 int rb_bufsz = order_base_2(ih->ring_size / 4);
176 MC_SPACE, ih->use_bus_addr ? 1 : 4);
194 static uint32_t vega10_ih_doorbell_rptr(struct amdgpu_ih_ring *ih)
198 if (ih->use_doorbell) {
201 ih->doorbell_index);
219 * enable the RLC, disable interrupts, enable the IH
226 struct amdgpu_ih_ring *ih; local
    [all...]
  /src/sys/arch/landisk/landisk/
intr.c 76 struct intc_intrhand *ih; local
83 ih = EVTCODE_IH(evtcode);
84 KDASSERT(ih->ih_func);
103 (*ih->ih_func)(ih->ih_arg);
109 (void)_cpu_intr_resume(ih->ih_level);
110 (*ih->ih_func)(ih->ih_arg);
114 (void)_cpu_intr_resume(ih->ih_level);
118 (*ih->ih_func)(&cf)
139 struct intrhand **p, *q, *ih; local
211 struct intrhand *ih = aux; local
252 struct intrhand *ih = aux; local
288 struct intrhand *ih = aux; local
325 struct intrhand *ih; local
351 struct intrhand *ih; local
    [all...]
  /src/sys/arch/m68k/m68k/
m68k_intr.c 138 m68k_ih_stdfree(struct m68k_intrhand *ih)
140 kmem_free(ih, sizeof(*ih));
158 m68k_ih_free(struct m68k_intrhand *ih)
161 if (__predict_true(ih != &m68k_spurintr_ih)) {
162 ih_allocfuncs->free(ih);
174 m68k_intrvec_add(struct m68k_intrhand *ih)
176 if (ih->ih_vec < MACHINE_USERVEC_START || ih->ih_vec >= NVECTORS) {
178 ih->ih_vec)
265 struct m68k_intrhand *ih; local
355 struct m68k_intrhand *ih = v; local
393 struct m68k_intrhand *ih; local
425 struct m68k_intrhand *ih; local
    [all...]
  /src/sys/arch/atari/atari/
intr.c 109 struct intrhand *ih, *cur_vec; local
114 ih = kmem_alloc(sizeof *ih, KM_SLEEP);
115 ih->ih_fun = ih_fun;
116 ih->ih_arg = ih_arg;
117 ih->ih_type = type;
118 ih->ih_pri = pri;
119 ih->ih_vector = vector;
128 kmem_free(ih, sizeof(*ih));
277 struct intrhand *ih; local
    [all...]
  /src/sys/arch/ews4800mips/ews4800mips/
tr2a_intr.c 129 struct tr2a_intr_handler *ih = &tr2a_intr_handler[irq]; local
130 struct tr2a_intc_handler *ic = &tr2a_intc_handler[ih->cpu_int];
134 ih->func = func;
135 ih->arg = arg;
136 snprintf(ih->evname, sizeof(ih->evname), "irq %d", irq);
137 evcnt_attach_dynamic(&ih->evcnt, EVCNT_TYPE_INTR,
138 NULL, "intc", ih->evname);
140 if (ih->bustype == ASOBUS)
141 *ASO_INT_MASK_REG |= ih->aso_mask
156 struct tr2a_intr_handler *ih = &tr2a_intr_handler[irq]; local
175 struct tr2a_intr_handler *ih; local
    [all...]
tr2_intr.c 115 struct tr2_intr_handler *ih = &tr2_intr_handler[irq]; local
119 ih->func = func;
120 ih->arg = arg;
121 snprintf(ih->evname, sizeof(ih->evname), "irq %d", irq);
122 evcnt_attach_dynamic(&ih->evcnt, EVCNT_TYPE_INTR, NULL,
123 "picnic", ih->evname);
125 *ih->picnic_reg |= ih->picnic_mask;
135 struct tr2_intr_handler *ih = &tr2_intr_handler[irq] local
148 struct tr2_intr_handler *ih; local
    [all...]
  /src/sys/arch/evbmips/mipssim/
mipssim_intr.c 112 struct intrhand *ih; local
120 LIST_FOREACH(ih, list, ih_q) {
121 if (ih->ih_func) {
122 (*ih->ih_func)(ih->ih_arg);
132 struct intrhand *ih; local
141 ih = kmem_alloc(sizeof(struct intrhand), KM_SLEEP);
145 ih->ih_func = func;
146 ih->ih_arg = arg;
147 ih->ih_irq = irq
162 struct intrhand *ih = cookie; local
    [all...]
  /src/sys/arch/news68k/news68k/
isr.h 65 void *ih = m68k_intrvec_intrhand(vec); local
66 if (ih != NULL) {
67 m68k_intr_disestablish(ih);
  /src/sys/arch/alpha/common/
shared_intr.c 124 struct alpha_shared_intrhand *ih; local
129 TAILQ_FOREACH(ih, &intr[num].intr_q, ih_q) {
137 rv |= (*ih->ih_fn)(ih->ih_arg);
146 struct alpha_shared_intrhand * const ih = arg; local
150 rv = (*ih->ih_real_fn)(ih->ih_real_arg);
161 struct alpha_shared_intrhand *ih; local
171 ih = kmem_alloc(sizeof(*ih), KM_SLEEP)
202 struct alpha_shared_intrhand *ih = arg1; local
323 struct alpha_shared_intrhand *ih; local
401 struct alpha_shared_intrhand *ih; local
    [all...]
  /src/sys/arch/mips/atheros/
arbus.c 180 struct arbus_intrhand * const ih = kmem_zalloc(sizeof(*ih), KM_NOSLEEP); local
181 if (ih == NULL)
184 ih->ih_cirq = ih->ih_mirq = -1;
185 ih->ih_cookie = NULL;
188 ih->ih_mirq = mirq;
189 ih->ih_cookie = atheros_misc_intr_establish(mirq, handler, arg);
191 ih->ih_cirq = cirq;
192 ih->ih_cookie = atheros_cpu_intr_establish(cirq, handler, arg)
206 struct arbus_intrhand * const ih = arg; local
    [all...]
ar_intr.c 111 struct atheros_intrhand *ih; local
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; local
138 LIST_REMOVE(ih, ih_q)
148 struct atheros_intrhand *ih; local
178 struct atheros_intrhand *ih = arg; local
210 struct atheros_intrhand *ih; local
233 struct atheros_intrhand *ih; local
    [all...]
  /src/sys/arch/arm/marvell/
mvsocgppvar.h 39 #define mvsocgpp_intr_disestablish(ih) intr_disestablish(ih)
  /src/sys/arch/evbarm/ifpga/
ifpga_intr.c 144 struct intrhand *ih; local
152 for (ih = TAILQ_FIRST(&iq->iq_list); ih != NULL;
153 ih = TAILQ_NEXT(ih, ih_list))
154 levels |= (1U << ih->ih_ipl);
188 for (ih = TAILQ_FIRST(&iq->iq_list); ih != NULL;
189 ih = TAILQ_NEXT(ih, ih_list)
252 struct intrhand *ih; local
283 struct intrhand *ih = cookie; local
300 struct intrhand *ih; local
    [all...]
  /src/sys/dev/acpi/
qcomipcc.c 152 struct qcipcc_intrhand *ih; local
163 TAILQ_FOREACH(ih, &sc->sc_intrq, ih_q) {
164 if (ih->ih_client_id != client_id ||
165 ih->ih_signal_id != signal_id)
167 ih->ih_func(ih->ih_arg);
180 struct qcipcc_intrhand *ih; local
186 ih = kmem_zalloc(sizeof(*ih), KM_SLEEP);
187 ih->ih_func = func
202 struct qcipcc_intrhand *ih = cookie; local
214 struct qcipcc_intrhand *ih = cookie; local
225 struct qcipcc_intrhand *ih = cookie; local
    [all...]
  /src/sys/arch/evbsh3/ap_ms104_sh4/
ap_ms104_sh4_intr.c 98 struct intrhand **p, *q, *ih; local
105 ih = kmem_alloc(sizeof(*ih), KM_SLEEP);
145 memset(ih, 0, sizeof(*ih));
146 ih->ih_fun = ih_fun;
147 ih->ih_arg = ih_arg;
148 ih->ih_next = NULL;
149 ih->ih_enable = 1;
150 ih->ih_level = level
200 struct intrhand *ih = (struct intrhand *)cookie; local
274 struct intrhand *ih; local
    [all...]
  /src/sys/arch/arm/at91/
at91aic.c 130 struct intrhand *ih; local
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; local
310 ih = kmem_alloc(sizeof(*ih), KM_SLEEP);
311 if (ih == NULL
351 struct intrhand* ih = cookie; local
370 struct intrhand* ih; local
443 struct intrhand* ih = ihp; local
    [all...]
  /src/sys/arch/mips/adm5120/
adm5120_intr.c 187 struct evbmips_intrhand *ih; local
194 ih = kmem_alloc(sizeof(*ih), KM_SLEEP);
195 ih->ih_func = func;
196 ih->ih_arg = arg;
197 ih->ih_irq = irq;
209 LIST_INSERT_HEAD(&adm5120_cpuintrs[cpu_int].cintr_list, ih, ih_q);
230 return ih;
236 struct evbmips_intrhand *ih = cookie; local
240 irq = ih->ih_irq
267 struct evbmips_intrhand *ih; local
    [all...]
  /src/sys/arch/cobalt/cobalt/
interrupt.c 245 struct cobalt_intrhand *ih; local
268 ih = kmem_alloc(sizeof(*ih), KM_SLEEP);
269 ih->ih_func = func;
270 ih->ih_arg = arg;
271 ih->ih_irq = irq;
272 ih->ih_cookie_type = COBALT_COOKIE_TYPE_ICU;
277 LIST_INSERT_HEAD(&icu_intrtab[irq].intr_q, ih, ih_q);
290 return ih;
296 struct cobalt_intrhand *ih = cookie local
332 struct cobalt_intrhand *ih; local
375 struct cobalt_intrhand *ih; local
396 struct cobalt_intrhand *ih = cookie; local
408 struct cobalt_intrhand * const ih = &intr->intr_ih; local
    [all...]
  /src/sys/arch/arm/xscale/
becc_icu.c 168 struct intrhand *ih; local
176 for (ih = TAILQ_FIRST(&iq->iq_list); ih != NULL;
177 ih = TAILQ_NEXT(ih, ih_list))
178 levels |= (1U << ih->ih_ipl);
212 for (ih = TAILQ_FIRST(&iq->iq_list); ih != NULL;
213 ih = TAILQ_NEXT(ih, ih_list)
290 struct intrhand *ih; local
321 struct intrhand *ih = cookie; local
338 struct intrhand *ih; local
    [all...]
ixp425_intr.c 193 struct intrhand *ih; local
201 for (ih = TAILQ_FIRST(&iq->iq_list); ih != NULL;
202 ih = TAILQ_NEXT(ih, ih_list))
203 levels |= (1U << ih->ih_ipl);
251 for (ih = TAILQ_FIRST(&iq->iq_list); ih != NULL;
252 ih = TAILQ_NEXT(ih, ih_list)
336 struct intrhand *ih; local
371 struct intrhand *ih = cookie; local
388 struct intrhand *ih; local
    [all...]
  /src/sys/arch/x86/x86/
intr.c 256 "struct intrhand *"/*ih*/);
260 "struct intrhand *"/*ih*/,
306 int ih = 0; local
330 ih = pin; /* Port == pin */
335 * If the device is pci, "legacy_irq" is always -1. Least 8 bit of "ih"
341 ih = legacy_irq;
342 return legacy_intr_string(ih, buf, len, pic);
346 ih = ((pic->pic_apicid << APIC_INT_APIC_SHIFT) & APIC_INT_APIC_MASK)
349 ih |= APIC_INT_VIA_APIC;
351 ih |= pin
673 struct intrhand *ih = vp; local
717 struct intrhand *ih = vp; local
759 struct intrhand * const ih = arg1; local
790 struct intrhand *ih; local
836 struct intrhand **p, *q, *ih; local
1058 struct intrhand * const ih = arg1; local
1188 struct intrhand *ih; local
1257 struct intrhand *ih; local
1496 struct intrhand *ih; local
1663 struct intrhand *ih; local
1824 struct intrhand *ih; local
1869 struct intrhand *ih, *lih; local
1940 struct intrhand *ih, *lih; local
2106 struct intrhand *ih; local
2145 struct intrhand *ih; local
2162 struct intrhand *ih; local
2281 struct intrhand *ih = cookie; local
2300 struct intrhand *ih; local
    [all...]

Completed in 34 milliseconds

1 2 3 4 5 6 7 8 91011>>