HomeSort by: relevance | last modified time | path
    Searched refs:ih (Results 1 - 25 of 568) 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 in function:intr_list_handler
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 in function:intr_biglock_wrapper
181 struct intrhand *ih = kmem_zalloc(sizeof(struct intrhand), KM_NOSLEEP); local in function:intrhand_alloc
298 struct intrhand *ih; local in function:sparc_softintr_establish
317 struct intrhand *ih = (struct intrhand *)cookie; local in function:sparc_softintr_schedule
332 struct intrhand *ih; local in function:softint_init_md
359 struct intrhand *ih = (struct intrhand *)machdep; local in function:softint_trigger
    [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 in function:vega10_ih_irq_init
    [all...]
  /src/sys/arch/landisk/landisk/
intr.c 76 struct intc_intrhand *ih; local in function:intc_intr
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 in function:extintr_establish
211 struct intrhand *ih = aux; local in function:extintr_disestablish
252 struct intrhand *ih = aux; local in function:extintr_enable
288 struct intrhand *ih = aux; local in function:extintr_disable
325 struct intrhand *ih; local in function:extintr_disable_by_num
351 struct intrhand *ih; local in function:extintr_intr_handler
    [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 in function:m68k_intr_establish
355 struct m68k_intrhand *ih = v; local in function:m68k_intr_disestablish
393 struct m68k_intrhand *ih; local in function:m68k_intr_autovec
425 struct m68k_intrhand *ih; local in function:m68k_intr_vectored
    [all...]
  /src/sys/arch/atari/atari/
intr.c 110 struct intrhand *ih, *cur_vec; local in function:intr_establish
115 ih = kmem_alloc(sizeof *ih, KM_SLEEP);
116 ih->ih_fun = ih_fun;
117 ih->ih_arg = ih_arg;
118 ih->ih_type = type;
119 ih->ih_pri = pri;
120 ih->ih_vector = vector;
129 kmem_free(ih, sizeof(*ih));
278 struct intrhand *ih; local in function:intr_dispatch
    [all...]
  /src/sys/arch/ews4800mips/ews4800mips/
tr2a_intr.c 129 struct tr2a_intr_handler *ih = &tr2a_intr_handler[irq]; local in function:tr2a_intr_establish
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 in function:tr2a_intr_disestablish
175 struct tr2a_intr_handler *ih; local in function:tr2a_intr
    [all...]
tr2_intr.c 115 struct tr2_intr_handler *ih = &tr2_intr_handler[irq]; local in function:tr2_intr_establish
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 in function:tr2_intr_disestablish
148 struct tr2_intr_handler *ih; local in function:tr2_intr
    [all...]
  /src/sys/arch/evbmips/mipssim/
mipssim_intr.c 112 struct intrhand *ih; local in function:evbmips_iointr
120 LIST_FOREACH(ih, list, ih_q) {
121 if (ih->ih_func) {
122 (*ih->ih_func)(ih->ih_arg);
132 struct intrhand *ih; local in function:evbmips_intr_establish
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 in function:evbmips_intr_disestablish
    [all...]
  /src/sys/arch/news68k/news68k/
isr.h 65 void *ih = m68k_intrvec_intrhand(vec); local in function:isrunlink_vectored
66 if (ih != NULL) {
67 m68k_intr_disestablish(ih);
  /src/sys/arch/alpha/common/
shared_intr.c 124 struct alpha_shared_intrhand *ih; local in function:alpha_shared_intr_dispatch
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 in function:alpha_shared_intr_wrapper
150 rv = (*ih->ih_real_fn)(ih->ih_real_arg);
161 struct alpha_shared_intrhand *ih; local in function:alpha_shared_intr_alloc_intrhand
171 ih = kmem_alloc(sizeof(*ih), KM_SLEEP)
202 struct alpha_shared_intrhand *ih = arg1; local in function:alpha_shared_intr_link_unlink_xcall
323 struct alpha_shared_intrhand *ih; local in function:alpha_shared_intr_firstactive
401 struct alpha_shared_intrhand *ih; local in function:alpha_shared_intr_q_count_handlers
    [all...]
  /src/sys/arch/mips/atheros/
arbus.c 180 struct arbus_intrhand * const ih = kmem_zalloc(sizeof(*ih), KM_NOSLEEP); local in function:arbus_intr_establish
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 in function:arbus_intr_disestablish
    [all...]
ar_intr.c 111 struct atheros_intrhand *ih; local in function:genath_cpu_intr_establish
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 in function:genath_cpu_intr_disestablish
138 LIST_REMOVE(ih, ih_q)
148 struct atheros_intrhand *ih; local in function:genath_misc_intr_establish
178 struct atheros_intrhand *ih = arg; local in function:genath_misc_intr_disestablish
210 struct atheros_intrhand *ih; local in function:genath_misc_intr
233 struct atheros_intrhand *ih; local in function:genath_iointr
    [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 in function:ifpga_intr_calculate_masks
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 in function:ifpga_intr_establish
283 struct intrhand *ih = cookie; local in function:ifpga_intr_disestablish
300 struct intrhand *ih; local in function:ifpga_intr_dispatch
    [all...]
  /src/sys/dev/acpi/
qcomipcc.c 152 struct qcipcc_intrhand *ih; local in function:qcipcc_intr
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 in function:qcipcc_intr_establish
186 ih = kmem_zalloc(sizeof(*ih), KM_SLEEP);
187 ih->ih_func = func
202 struct qcipcc_intrhand *ih = cookie; local in function:qcipcc_intr_disestablish
214 struct qcipcc_intrhand *ih = cookie; local in function:qcipcc_intr_enable
225 struct qcipcc_intrhand *ih = cookie; local in function:qcipcc_intr_disable
    [all...]
  /src/sys/arch/evbsh3/ap_ms104_sh4/
ap_ms104_sh4_intr.c 98 struct intrhand **p, *q, *ih; local in function:extintr_establish
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 in function:extintr_disestablish
274 struct intrhand *ih; local in function:extintr_intr_handler
    [all...]
  /src/sys/arch/arm/at91/
at91aic.c 130 struct intrhand *ih; local in function:at91aic_calculate_masks
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 in function:at91aic_intr_establish
310 ih = kmem_alloc(sizeof(*ih), KM_SLEEP);
311 if (ih == NULL
351 struct intrhand* ih = cookie; local in function:at91aic_intr_disestablish
370 struct intrhand* ih; local in function:intr_process
443 struct intrhand* ih = ihp; local in function:at91aic_intr_poll
    [all...]
  /src/sys/arch/mips/adm5120/
adm5120_intr.c 187 struct evbmips_intrhand *ih; local in function:adm5120_intr_establish
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 in function:adm5120_intr_disestablish
240 irq = ih->ih_irq
267 struct evbmips_intrhand *ih; local in function:evbmips_iointr
    [all...]
  /src/sys/arch/cobalt/cobalt/
interrupt.c 245 struct cobalt_intrhand *ih; local in function:icu_intr_establish
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 in function:icu_intr_disestablish
332 struct cobalt_intrhand *ih; local in function:icu_intr
375 struct cobalt_intrhand *ih; local in function:cpu_intr_establish
396 struct cobalt_intrhand *ih = cookie; local in function:cpu_intr_disestablish
408 struct cobalt_intrhand * const ih = &intr->intr_ih; local in function:intr_handle
    [all...]
  /src/sys/arch/arm/xscale/
becc_icu.c 168 struct intrhand *ih; local in function:becc_intr_calculate_masks
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 in function:becc_intr_establish
321 struct intrhand *ih = cookie; local in function:becc_intr_disestablish
338 struct intrhand *ih; local in function:becc_intr_dispatch
    [all...]
ixp425_intr.c 193 struct intrhand *ih; local in function:ixp425_intr_calculate_masks
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 in function:ixp425_intr_establish
371 struct intrhand *ih = cookie; local in function:ixp425_intr_disestablish
388 struct intrhand *ih; local in function:ixp425_intr_dispatch
    [all...]
  /src/sys/arch/x86/x86/
intr.c 256 "struct intrhand *"/*ih*/);
260 "struct intrhand *"/*ih*/,
306 int ih = 0; local in function:intr_create_intrid
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 in function:intr_wrapper
717 struct intrhand *ih = vp; local in function:intr_kdtrace_wrapper
759 struct intrhand * const ih = arg1; local in function:intr_hwunmask_xcall
790 struct intrhand *ih; local in function:intr_establish_xcall
836 struct intrhand **p, *q, *ih; local in function:intr_establish_xname
1058 struct intrhand * const ih = arg1; local in function:intr_mask_xcall
1188 struct intrhand *ih; local in function:intr_disestablish_xcall
1257 struct intrhand *ih; local in function:intr_num_handlers
1496 struct intrhand *ih; local in function:intr_printconfig
1663 struct intrhand *ih; local in function:intr_redistribute
1824 struct intrhand *ih; local in function:intr_activate_xcall
1869 struct intrhand *ih, *lih; local in function:intr_deactivate_xcall
1940 struct intrhand *ih, *lih; local in function:intr_set_affinity
2106 struct intrhand *ih; local in function:x86_intr_get_count
2145 struct intrhand *ih; local in function:x86_intr_get_assigned
2162 struct intrhand *ih; local in function:x86_intr_get_devname
2281 struct intrhand *ih = cookie; local in function:interrupt_distribute
2300 struct intrhand *ih; local in function:interrupt_distribute_handler
    [all...]

Completed in 44 milliseconds

1 2 3 4 5 6 7 8 91011>>