/src/sys/arch/sgimips/sgimips/ |
cpu.c | 107 uint32_t pending; local in function:cpu_intr 119 while (ppl < (ipl = splintr(&pending))) { 122 if (pending & MIPS_INT_MASK_5) { 123 (void)(*platform.intr5)(pc, status, pending); 127 if (pending & MIPS_INT_MASK_4) { 128 (void)(*platform.intr4)(pc, status, pending); 132 if (pending & MIPS_INT_MASK_3) { 133 (void)(*platform.intr3)(pc, status, pending); 137 if (pending & MIPS_INT_MASK_2) { 138 (void)(*platform.intr2)(pc, status, pending); [all...] |
/src/sys/arch/evbmips/evbmips/ |
interrupt.c | 54 uint32_t pending; local in function:cpu_intr 65 while (ppl < (ipl = splintr(&pending))) { 72 KASSERT(pending != 0); 81 if (pending & MIPS_INT_MASK_5) { 88 pending ^= MIPS_INT_MASK_5; 92 if (pending != 0) { 94 evbmips_iointr(ipl, pending, &cf);
|
/src/sys/external/bsd/drm2/dist/drm/qxl/ |
qxl_irq.c | 41 uint32_t pending; local in function:qxl_irq_handler 43 pending = xchg(&qdev->ram_header->int_pending, 0); 45 if (!pending) 50 if (pending & QXL_INTERRUPT_DISPLAY) { 55 if (pending & QXL_INTERRUPT_CURSOR) { 59 if (pending & QXL_INTERRUPT_IO_CMD) { 63 if (pending & QXL_INTERRUPT_ERROR) { 71 if (pending & QXL_INTERRUPT_CLIENT_MONITORS_CONFIG) {
|
/src/sys/arch/algor/algor/ |
algor_intr.c | 105 evbmips_iointr(int ipl, uint32_t pending, struct clockframe *cf) 107 (*algor_iointr)(ipl, cf->pc, pending); 125 uint32_t pending; local in function:cpu_intr 130 while (ppl < (ipl = splintr(&pending))) { 132 if (pending & MIPS_INT_MASK_5) { 141 if (pending & (MIPS_INT_MASK_0|MIPS_INT_MASK_1|MIPS_INT_MASK_2| 144 (*algor_iointr)(ipl, pc, pending);
|
/src/sys/arch/pmax/pmax/ |
interrupt.c | 90 uint32_t pending; local in function:cpu_intr 94 while (ppl < (ipl = splintr(&pending))) { 96 if (pending & (MIPS_INT_MASK_0|MIPS_INT_MASK_1|MIPS_INT_MASK_2| 98 (*platform.iointr)(status, pc, pending); 102 if (pending & MIPS_INT_MASK_5) {
|
/src/sys/arch/arm/marvell/ |
mvsoc_intr.c | 133 uint32_t pending; local in function:mvsoc_bridge_pic_find_pending_irqs 135 pending = 138 if (pending == 0) 141 return pic_mark_pending_sources(pic, 0, pending);
|
mv78xx0.c | 185 uint32_t pending; local in function:mv78xx0_find_pending_irqs 188 pending = read_mlmbreg(MV78XX0_ICI_MICR(0)) & 190 if (pending != 0) 191 ipl = pic_mark_pending_sources(&mv78xx0_pic, 0, pending); 193 pending = read_mlmbreg(MV78XX0_ICI_MICR(1)) & 195 if (pending != 0) 196 ipl |= pic_mark_pending_sources(&mv78xx0_pic, 32, pending);
|
orion.c | 165 uint32_t pending; local in function:orion_find_pending_irqs 167 pending = 169 if (pending == 0) 172 return pic_mark_pending_sources(&orion_pic, 0, pending);
|
/src/sys/external/bsd/drm2/include/linux/ |
timer.h | 64 int pending; local in function:mod_timer 66 pending = callout_pending(&timer->tl_callout); 68 return pending; 88 * callout was EXPIRED.', meaning it is no longer pending. 103 * pending timer or not.' 106 * callout was EXPIRED.', meaning it is no longer pending.
|
/src/sys/arch/riscv/riscv/ |
interrupt.c | 150 csr_sip_clear(SIP_SSIP); /* clean pending interrupt status */ 152 unsigned long pending; local in function:riscv_ipi_intr 153 while ((pending = atomic_swap_ulong(&ci->ci_request_ipis, 0)) != 0) { 155 atomic_or_ulong(&ci->ci_active_ipis, pending); 157 ipi_process(ci, pending); 159 atomic_and_ulong(&ci->ci_active_ipis, pending);
|
/src/sys/arch/evbarm/lubbock/ |
obio.c | 93 int irqno, pending, mask; local in function:obio_intr 100 pending = bus_space_read_2(sc->sc_iot, sc->sc_obioreg_ioh, 109 pending &= mask; 110 while (pending) { 113 for ( ;pending; ++irqno) { 114 if (0 == (pending & (1U<<irqno))) 116 pending &= ~(1U<<irqno); 142 pending = bus_space_read_2(sc->sc_iot, sc->sc_obioreg_ioh, 147 pending &= mask; 152 still pending */ [all...] |
/src/sys/arch/epoc32/windermere/ |
windermere.c | 197 uint16_t pending; local in function:windermere_find_pending_irqs 199 pending = *(intr + INTSR); 200 if (pending & ~pic_mask) { 201 *(intr + INTENC) = pending & ~pic_mask; 202 printf("stray interrupt pending: 0x%04x\n", 203 pending & ~pic_mask); 204 pending &= pic_mask; 206 if (pending == 0) 209 return pic_mark_pending_sources(&windermere_pic, 0, pending);
|
/src/sys/arch/playstation2/ee/ |
intc.c | 88 u_int32_t r, dispatch, pending; local in function:intc_intr 92 pending = r & mask & __intc_enabled_channel; 97 r, mask, pending, dispatch, __intc_enabled_channel); 100 return (pending == 0 ? 1 : 0); 126 return (pending == 0 ? 1 : 0);
|
/src/sys/arch/x86/x86/ |
ipi.c | 117 /* If no IPI already pending, send one. */ 156 uint32_t pending; local in function:x86_ipi_handler 159 pending = atomic_swap_32(&ci->ci_ipis, 0); 161 KDASSERT((pending >> X86_NIPI) == 0); 162 while ((bit = ffs(pending)) != 0) { 164 pending &= ~(1 << bit);
|
/src/sys/external/bsd/drm2/dist/drm/i915/ |
i915_sw_fence.c | 221 atomic_set_release(&fence->pending, -1); /* 0 -> -1 [done] */ 255 if (!atomic_dec_and_test(&fence->pending)) 284 WARN_ON(atomic_inc_return(&fence->pending) <= 1); 309 atomic_set(&fence->pending, 1); 393 int pending; local in function:__i915_sw_fence_await_sw_fence 409 pending = 0; 421 pending |= I915_SW_FENCE_FLAG_ALLOC; 425 wq->flags = pending; 438 pending = 1; 441 pending = 0 634 int ret = 0, pending; local in function:i915_sw_fence_await_reservation [all...] |
i915_sw_fence.h | 36 atomic_t pending; member in struct:i915_sw_fence 113 return atomic_read(&fence->pending) <= 0; 118 return atomic_read(&fence->pending) < 0;
|
/src/sys/arch/arm/s3c2xx0/ |
s3c2410_extint.c | 234 uint32_t pending_mask, pending; local in function:ssextio_cascaded_intr 257 pending = pending_mask & bus_space_read_4(iot, ioh, GPIO_EINTPEND); 258 pending &= ~ssextio_softc->sc_mask; 259 ssextio_softc->sc_pending |= pending; 264 for (i=int_min; pending; ++i) { 265 if (pending & (1<<i)) { 270 pending &= ~ (1<<i); 285 /* clear hardware pending bits */
|
s3c2440_extint.c | 266 uint32_t pending_mask, pending; local in function:ssextio_cascaded_intr 289 pending = pending_mask & bus_space_read_4(iot, ioh, GPIO_EINTPEND); 290 pending &= ~ssextio_softc->sc_mask; 291 ssextio_softc->sc_pending |= pending; 296 for (i=int_min; pending; ++i) { 297 if (pending & (1<<i)) { 302 pending &= ~ (1<<i); 317 /* clear hardware pending bits */
|
/src/sys/arch/hpcarm/hpcarm/ |
softintr.c | 104 register int pending, saved_cpsr; local in function:softintr_schedule 106 pending = 1; 107 __asm("swp %0, %0, [%1]" : "+r" (pending) : "r" (&sh->sh_pending)); 109 if (pending)
|
/src/sys/external/bsd/drm2/dist/drm/i915/gt/uc/ |
intel_guc_ct.h | 56 spinlock_t lock; /* protects pending requests list */ 57 struct list_head pending; /* requests waiting for response */ member in struct:intel_guc_ct::__anona7001fdc0108
|
/src/tests/lib/libc/sys/ |
t_aio_rw.c | 77 int pending, rv, error; local in function:wait_all 80 pending = 0; 89 pending = 1; 93 if (!pending) {
|
/src/bin/dd/ |
dd.c | 81 static off_t pending = 0; /* pending seek if sparse */ variable in typeref:typename:off_t 485 /* If there are pending sparse blocks, make sure 488 if ((out.dbcnt == 0) && pending) { 492 pending -= out.dbsz; 551 pending += cnt; 557 if (pending != 0) { 559 out.fd, pending, SEEK_CUR) == -1) 574 if (pending) { 575 st.bytes += pending; [all...] |
/src/sys/arch/arm/imx/ |
imx31_gpio.c | 127 uint32_t pending; local in function:gpio_pic_find_pending_irqs 130 pending = (v & gpio->gpio_enable_mask); 131 if (pending == 0) 135 * Disable the pending interrupts. 137 gpio->gpio_enable_mask &= ~pending; 148 * Now find all the pending bits and mark them as pending. 152 KASSERT(pending != 0); 153 irq = 31 - __builtin_clz(pending); 154 pending &= ~__BIT(irq) [all...] |
imx51_tzic.c | 196 uint32_t pending = 0; local in function:find_pending_irqs 200 pending = INTC_READ(tzic, TZIC_PND(group)); 202 KASSERT((tzic->sc_enabled_mask[group] & pending) == pending); 204 if (pending == 0) 207 return pic_mark_pending_sources(&tzic->sc_pic, group * 32, pending);
|
/src/sys/arch/cobalt/cobalt/ |
interrupt.c | 418 uint32_t pending; local in function:cpu_intr 423 while (ppl < (ipl = splintr(&pending))) { 425 if (pending & MIPS_INT_MASK_5) { 434 if (__predict_false(pending & MIPS_INT_MASK_0)) { 445 if (pending & MIPS_INT_MASK_3) { 450 if (pending & MIPS_INT_MASK_1) { 455 if (pending & MIPS_INT_MASK_2) { 460 if (pending & MIPS_INT_MASK_4) {
|