/linux-4.4.14/arch/mips/cobalt/ |
H A D | irq.c | 25 unsigned pending = read_c0_status() & read_c0_cause() & ST0_IM; plat_irq_dispatch() local 28 if (pending & CAUSEF_IP2) plat_irq_dispatch() 30 else if (pending & CAUSEF_IP6) { plat_irq_dispatch() 36 } else if (pending & CAUSEF_IP3) plat_irq_dispatch() 38 else if (pending & CAUSEF_IP4) plat_irq_dispatch() 40 else if (pending & CAUSEF_IP5) plat_irq_dispatch() 42 else if (pending & CAUSEF_IP7) plat_irq_dispatch()
|
/linux-4.4.14/include/linux/ |
H A D | async.h | 21 struct list_head pending; member in struct:async_domain 29 struct async_domain _name = { .pending = LIST_HEAD_INIT(_name.pending), \ 33 * domain is free to go out of scope as soon as all pending work is 37 struct async_domain _name = { .pending = LIST_HEAD_INIT(_name.pending), \
|
H A D | sem.h | 17 struct list_head pending_alter; /* pending operations */ 19 struct list_head pending_const; /* pending complex operations */ 23 int complex_count; /* pending complex operations */
|
H A D | irq_work.h | 10 * claimed NULL, 3 -> {pending} : claimed to be enqueued 11 * pending next, 3 -> {busy} : queued, pending callback
|
H A D | udp.h | 48 int pending; /* Any pending frames ? */ member in struct:udp_sock 57 __u16 len; /* total length of pending frames */
|
H A D | shrinker.h | 37 * deadlock condition is no longer pending. 61 /* objs pending delete, per node */
|
H A D | lguest.h | 41 * Interrupt pending set by the Host. The Guest should do a hypercall 52 /* 0xFF == done (set by Host), 0 == pending (set by Guest). */
|
/linux-4.4.14/arch/mips/pmcs-msp71xx/ |
H A D | msp_irq.c | 57 u32 pending; plat_irq_dispatch() local 59 pending = read_c0_status() & read_c0_cause(); plat_irq_dispatch() 68 if (pending & C_IRQ4) /* do the peripherals first, that's the timer */ plat_irq_dispatch() 71 else if (pending & C_IRQ0) plat_irq_dispatch() 74 else if (pending & C_IRQ1) plat_irq_dispatch() 77 else if (pending & C_IRQ2) plat_irq_dispatch() 80 else if (pending & C_IRQ3) plat_irq_dispatch() 83 else if (pending & C_IRQ5) plat_irq_dispatch() 87 if (pending & C_IRQ5) plat_irq_dispatch() 90 else if (pending & C_IRQ0) plat_irq_dispatch() 93 else if (pending & C_IRQ1) plat_irq_dispatch() 96 else if (pending & C_IRQ3) plat_irq_dispatch() 99 else if (pending & C_IRQ4) plat_irq_dispatch() 103 else if (pending & C_SW0) /* do software after hardware */ plat_irq_dispatch() 106 else if (pending & C_SW1) plat_irq_dispatch()
|
H A D | msp_irq_slp.c | 85 u32 pending; msp_slp_irq_dispatch() local 89 pending = *SLP_INT_STS_REG & *SLP_INT_MSK_REG; msp_slp_irq_dispatch() 92 if (pending == (1 << (MSP_INT_PER - MSP_SLP_INTBASE))) { msp_slp_irq_dispatch() 94 pending = *PER_INT_STS_REG & *PER_INT_MSK_REG; msp_slp_irq_dispatch() 98 if (pending == 0x00000000) { msp_slp_irq_dispatch() 105 do_IRQ(ffs(pending) + intbase - 1); msp_slp_irq_dispatch()
|
H A D | msp_irq_per.c | 123 u32 pending; msp_per_irq_dispatch() local 125 pending = per_status & per_mask; msp_per_irq_dispatch() 126 if (pending) { msp_per_irq_dispatch() 127 do_IRQ(ffs(pending) + MSP_PER_INTBASE - 1); msp_per_irq_dispatch()
|
H A D | msp_irq_cic.c | 197 u32 pending; msp_cic_irq_dispatch() local 200 pending = cic_status & cic_mask; msp_cic_irq_dispatch() 201 if (pending & (1 << (MSP_INT_VPE0_TIMER - MSP_CIC_INTBASE))) { msp_cic_irq_dispatch() 203 } else if (pending & (1 << (MSP_INT_VPE1_TIMER - MSP_CIC_INTBASE))) { msp_cic_irq_dispatch() 205 } else if (pending & (1 << (MSP_INT_PER - MSP_CIC_INTBASE))) { msp_cic_irq_dispatch() 207 } else if (pending) { msp_cic_irq_dispatch() 208 do_IRQ(ffs(pending) + MSP_CIC_INTBASE - 1); msp_cic_irq_dispatch()
|
/linux-4.4.14/arch/mips/sni/ |
H A D | pcit.c | 183 u32 pending = *(volatile u32 *)SNI_PCIT_INT_REG; pcit_hwint1() local 187 irq = ffs((pending >> 16) & 0x7f); pcit_hwint1() 196 u32 pending = *(volatile u32 *)SNI_PCIT_INT_REG; pcit_hwint0() local 200 irq = ffs((pending >> 16) & 0x3f); pcit_hwint0() 209 u32 pending = read_c0_cause() & read_c0_status(); sni_pcit_hwint() local 211 if (pending & C_IRQ1) sni_pcit_hwint() 213 else if (pending & C_IRQ2) sni_pcit_hwint() 215 else if (pending & C_IRQ3) sni_pcit_hwint() 217 else if (pending & C_IRQ5) sni_pcit_hwint() 223 u32 pending = read_c0_cause() & read_c0_status(); sni_pcit_hwint_cplus() local 225 if (pending & C_IRQ0) sni_pcit_hwint_cplus() 227 else if (pending & C_IRQ1) sni_pcit_hwint_cplus() 229 else if (pending & C_IRQ2) sni_pcit_hwint_cplus() 231 else if (pending & C_IRQ3) sni_pcit_hwint_cplus() 233 else if (pending & C_IRQ5) sni_pcit_hwint_cplus()
|
H A D | pcimt.c | 278 u32 pending = read_c0_cause() & read_c0_status(); sni_pcimt_hwint() local 280 if (pending & C_IRQ5) sni_pcimt_hwint() 282 else if (pending & C_IRQ4) sni_pcimt_hwint() 284 else if (pending & C_IRQ3) sni_pcimt_hwint() 286 else if (pending & C_IRQ1) sni_pcimt_hwint() 288 else if (pending & C_IRQ0) { sni_pcimt_hwint()
|
/linux-4.4.14/arch/mips/loongson32/common/ |
H A D | irq.c | 77 /* Get pending sources, masked by current enables */ ls1x_irq_dispatch() 89 unsigned int pending; plat_irq_dispatch() local 91 pending = read_c0_cause() & read_c0_status() & ST0_IM; plat_irq_dispatch() 93 if (pending & CAUSEF_IP7) plat_irq_dispatch() 95 else if (pending & CAUSEF_IP2) plat_irq_dispatch() 97 else if (pending & CAUSEF_IP3) plat_irq_dispatch() 99 else if (pending & CAUSEF_IP4) plat_irq_dispatch() 101 else if (pending & CAUSEF_IP5) plat_irq_dispatch() 103 else if (pending & CAUSEF_IP6) plat_irq_dispatch() 120 /* Disable interrupts and clear pending, ls1x_irq_init()
|
/linux-4.4.14/arch/mips/ralink/ |
H A D | irq.c | 101 u32 pending = rt_intc_r32(INTC_REG_STATUS0); ralink_intc_irq_handler() local 103 if (pending) { ralink_intc_irq_handler() 105 generic_handle_irq(irq_find_mapping(domain, __ffs(pending))); ralink_intc_irq_handler() 113 unsigned long pending; plat_irq_dispatch() local 115 pending = read_c0_status() & read_c0_cause() & ST0_IM; plat_irq_dispatch() 117 if (pending & STATUSF_IP7) plat_irq_dispatch() 120 else if (pending & STATUSF_IP5) plat_irq_dispatch() 123 else if (pending & STATUSF_IP6) plat_irq_dispatch() 126 else if (pending & STATUSF_IP4) plat_irq_dispatch() 129 else if (pending & STATUSF_IP2) plat_irq_dispatch()
|
/linux-4.4.14/arch/mips/vr41xx/common/ |
H A D | irq.c | 98 unsigned int pending = read_c0_cause() & read_c0_status() & ST0_IM; plat_irq_dispatch() local 100 if (pending & CAUSEF_IP7) plat_irq_dispatch() 102 else if (pending & 0x7800) { plat_irq_dispatch() 103 if (pending & CAUSEF_IP3) plat_irq_dispatch() 105 else if (pending & CAUSEF_IP4) plat_irq_dispatch() 107 else if (pending & CAUSEF_IP5) plat_irq_dispatch() 109 else if (pending & CAUSEF_IP6) plat_irq_dispatch() 111 } else if (pending & CAUSEF_IP2) plat_irq_dispatch() 113 else if (pending & CAUSEF_IP0) plat_irq_dispatch() 115 else if (pending & CAUSEF_IP1) plat_irq_dispatch()
|
/linux-4.4.14/drivers/staging/fwserial/ |
H A D | dma_fifo.c | 50 INIT_LIST_HEAD(&fifo->pending); dma_fifo_init() 107 struct dma_pending *pending, *next; dma_fifo_free() local 112 list_for_each_entry_safe(pending, next, &fifo->pending, link) dma_fifo_free() 113 list_del_init(&pending->link); dma_fifo_free() 124 struct dma_pending *pending, *next; dma_fifo_reset() local 129 list_for_each_entry_safe(pending, next, &fifo->pending, link) dma_fifo_reset() 130 list_del_init(&pending->link); dma_fifo_reset() 231 list_add_tail(&pended->link, &fifo->pending); dma_fifo_out_pend() 253 struct dma_pending *pending, *next, *tmp; dma_fifo_out_complete() local 259 if (list_empty(&fifo->pending) && fifo->open == 0) dma_fifo_out_complete() 262 if (FAIL(fifo, list_empty(&fifo->pending) != (fifo->open == 0), dma_fifo_out_complete() 263 "pending list disagrees with open count:%d", dma_fifo_out_complete() 273 list_for_each_entry_safe(pending, next, &fifo->pending, link) { dma_fifo_out_complete() 274 if (!dp_is_completed(pending)) { dma_fifo_out_complete() 275 df_trace("still pending: saved out: %u len: %d", dma_fifo_out_complete() 276 pending->out, pending->len); dma_fifo_out_complete() 280 if (FAIL(fifo, pending->out != fifo->done || dma_fifo_out_complete() 281 addr_check(fifo->in, fifo->done, pending->next), dma_fifo_out_complete() 283 fifo->in, fifo->out, fifo->done, pending->out, dma_fifo_out_complete() 284 pending->next)) dma_fifo_out_complete() 287 list_del_init(&pending->link); dma_fifo_out_complete() 288 fifo->done = pending->next; dma_fifo_out_complete() 289 fifo->avail += pending->len; dma_fifo_out_complete() 293 fifo->out, fifo->done, pending->len, fifo->avail); dma_fifo_out_complete()
|
/linux-4.4.14/arch/mips/loongson64/fuloong-2e/ |
H A D | irq.c | 28 asmlinkage void mach_irq_dispatch(unsigned int pending) mach_irq_dispatch() argument 30 if (pending & CAUSEF_IP7) mach_irq_dispatch() 32 else if (pending & CAUSEF_IP6) /* perf counter loverflow */ mach_irq_dispatch() 34 else if (pending & CAUSEF_IP5) mach_irq_dispatch() 36 else if (pending & CAUSEF_IP2) mach_irq_dispatch()
|
/linux-4.4.14/drivers/gpu/drm/qxl/ |
H A D | qxl_irq.c | 32 uint32_t pending; qxl_irq_handler() local 34 pending = xchg(&qdev->ram_header->int_pending, 0); qxl_irq_handler() 36 if (!pending) qxl_irq_handler() 41 if (pending & QXL_INTERRUPT_DISPLAY) { qxl_irq_handler() 46 if (pending & QXL_INTERRUPT_CURSOR) { qxl_irq_handler() 50 if (pending & QXL_INTERRUPT_IO_CMD) { qxl_irq_handler() 54 if (pending & QXL_INTERRUPT_ERROR) { qxl_irq_handler() 62 if (pending & QXL_INTERRUPT_CLIENT_MONITORS_CONFIG) { qxl_irq_handler()
|
/linux-4.4.14/arch/x86/kvm/ |
H A D | irq.c | 31 * check if there are pending timer events 41 * check if there is a pending userspace external interrupt 49 * check if there is pending interrupt from 74 return v->arch.interrupt.pending; kvm_cpu_has_injectable_intr() 86 * check if there is pending interrupt without 92 return v->arch.interrupt.pending; kvm_cpu_has_interrupt() 102 * Read pending interrupt(from non-APIC source) 120 * Read pending interrupt vector and intack.
|
H A D | x86.h | 11 vcpu->arch.exception.pending = false; kvm_clear_exception_queue() 17 vcpu->arch.interrupt.pending = true; kvm_queue_interrupt() 24 vcpu->arch.interrupt.pending = false; kvm_clear_interrupt_queue() 29 return vcpu->arch.exception.pending || vcpu->arch.interrupt.pending || kvm_event_needs_reinjection()
|
H A D | i8254.h | 30 atomic_t pending; /* accumulated triggered timers */ member in struct:kvm_kpit_state
|
/linux-4.4.14/drivers/target/ |
H A D | target_core_iblock.h | 10 atomic_t pending; member in struct:iblock_req
|
/linux-4.4.14/arch/mips/loongson64/common/ |
H A D | irq.c | 29 /* Get pending sources, masked by current enables */ bonito_irqdispatch() 40 unsigned int pending; plat_irq_dispatch() local 42 pending = read_c0_cause() & read_c0_status() & ST0_IM; plat_irq_dispatch() 45 mach_irq_dispatch(pending); plat_irq_dispatch()
|
/linux-4.4.14/arch/mips/txx9/rbtx4939/ |
H A D | irq.c | 53 static int rbtx4939_irq_dispatch(int pending) rbtx4939_irq_dispatch() argument 57 if (pending & CAUSEF_IP7) rbtx4939_irq_dispatch() 67 } else if (pending & CAUSEF_IP0) rbtx4939_irq_dispatch() 69 else if (pending & CAUSEF_IP1) rbtx4939_irq_dispatch()
|
/linux-4.4.14/arch/avr32/include/asm/ |
H A D | irq.h | 19 * Returns a bitmask of pending interrupts in a group.
|
H A D | thread_info.h | 65 * - pending work-to-be-done flags are in LSW 69 #define TIF_SIGPENDING 1 /* signal pending */
|
/linux-4.4.14/drivers/irqchip/ |
H A D | irq-keystone.c | 90 unsigned long pending; keystone_irq_handler() local 97 pending = keystone_irq_readl(kirq); keystone_irq_handler() 98 keystone_irq_writel(kirq, pending); keystone_irq_handler() 100 dev_dbg(kirq->dev, "pending 0x%lx, mask 0x%x\n", pending, kirq->mask); keystone_irq_handler() 102 pending = (pending >> BIT_OFS) & ~kirq->mask; keystone_irq_handler() 104 dev_dbg(kirq->dev, "pending after mask 0x%lx\n", pending); keystone_irq_handler() 107 if (BIT(src) & pending) { keystone_irq_handler()
|
H A D | irq-mips-cpu.c | 105 unsigned long pending = read_c0_cause() & read_c0_status() & ST0_IM; plat_irq_dispatch() local 108 if (!pending) { plat_irq_dispatch() 113 pending >>= CAUSEB_IP; plat_irq_dispatch() 114 while (pending) { plat_irq_dispatch() 115 irq = fls(pending) - 1; plat_irq_dispatch() 117 pending &= ~BIT(irq); plat_irq_dispatch()
|
H A D | irq-sun4i.c | 114 /* Clear all the pending interrupts */ sun4i_of_init() 142 * 1) no more irqs pending sun4i_handle_irq() 143 * 2) irq 0 pending sun4i_handle_irq() 145 * So if we immediately get a reading of 0, check the irq-pending reg sun4i_handle_irq()
|
H A D | irq-mips-gic.c | 321 DECLARE_BITMAP(pending, GIC_MAX_INTRS); gic_handle_shared_int() 331 pending[i] = gic_read(pending_reg); gic_handle_shared_int() 339 pending[i] |= (u64)gic_read(pending_reg) << 32; gic_handle_shared_int() 345 bitmap_and(pending, pending, intrmask, gic_shared_intrs); gic_handle_shared_int() 346 bitmap_and(pending, pending, pcpu_mask, gic_shared_intrs); gic_handle_shared_int() 348 intr = find_first_bit(pending, gic_shared_intrs); gic_handle_shared_int() 357 /* go to next pending bit */ gic_handle_shared_int() 358 bitmap_clear(pending, intr, 1); gic_handle_shared_int() 359 intr = find_first_bit(pending, gic_shared_intrs); gic_handle_shared_int() 486 unsigned long pending, masked; gic_handle_local_int() local 489 pending = gic_read32(GIC_REG(VPE_LOCAL, GIC_VPE_PEND)); gic_handle_local_int() 492 bitmap_and(&pending, &pending, &masked, GIC_NUM_LOCAL_INTRS); gic_handle_local_int() 494 intr = find_first_bit(&pending, GIC_NUM_LOCAL_INTRS); gic_handle_local_int() 503 /* go to next pending bit */ gic_handle_local_int() 504 bitmap_clear(&pending, intr, 1); gic_handle_local_int() 505 intr = find_first_bit(&pending, GIC_NUM_LOCAL_INTRS); gic_handle_local_int()
|
H A D | irq-bcm2835.c | 15 * Quirk 1: Shortcut interrupts don't set the bank 1/2 register pending bits 25 * Quirk 2: You can't mask the register 1/2 pending interrupts 90 void __iomem *pending[NR_BANKS]; member in struct:armctrl_ic 160 intc.pending[b] = base + reg_pending[b]; armctrl_of_init() 209 u32 stat = readl_relaxed(intc.pending[bank]); armctrl_translate_bank() 221 u32 stat = readl_relaxed(intc.pending[0]) & BANK0_VALID_MASK; get_next_armctrl_hwirq()
|
/linux-4.4.14/arch/mips/loongson64/lemote-2f/ |
H A D | irq.c | 76 void mach_irq_dispatch(unsigned int pending) mach_irq_dispatch() argument 78 if (pending & CAUSEF_IP7) mach_irq_dispatch() 80 else if (pending & CAUSEF_IP6) { /* North Bridge, Perf counter */ mach_irq_dispatch() 83 } else if (pending & CAUSEF_IP3) /* CPU UART */ mach_irq_dispatch() 85 else if (pending & CAUSEF_IP2) /* South Bridge */ mach_irq_dispatch()
|
/linux-4.4.14/arch/mips/loongson64/loongson-3/ |
H A D | irq.c | 27 void mach_irq_dispatch(unsigned int pending) mach_irq_dispatch() argument 29 if (pending & CAUSEF_IP7) mach_irq_dispatch() 32 else if (pending & CAUSEF_IP6) mach_irq_dispatch() 35 else if (pending & CAUSEF_IP3) mach_irq_dispatch() 37 else if (pending & CAUSEF_IP2) mach_irq_dispatch()
|
/linux-4.4.14/arch/x86/xen/ |
H A D | xen-asm.S | 21 * Enable events. This clears the event mask and tests the pending 22 * event status with one and operation. If there are pending events, 31 * pending interrupts. The pending check may end up being run 35 /* Test for pending */ 81 * interrupt mask state, it checks for unmasked pending events and 93 * pending interrupts. The pending check may end up being run 97 /* check for unmasked and pending */
|
H A D | spinlock.c | 44 /* clear pending */ xen_qlock_wait() 49 * We check the byte value after clearing pending IRQ to make sure xen_qlock_wait() 60 * pending, which will cause xen_poll_irq() to return xen_qlock_wait() 64 /* Block until irq becomes pending (or perhaps a spurious wakeup) */ xen_qlock_wait() 198 /* clear pending */ xen_lock_spinning() 201 /* Only check lock once pending cleared */ xen_lock_spinning() 228 * pending, which will cause xen_poll_irq() to return xen_lock_spinning() 232 /* Block until irq becomes pending (or perhaps a spurious wakeup) */ xen_lock_spinning()
|
H A D | xen-asm_32.S | 57 * This attempts to make sure that any pending events are dealt with 60 * interrupt ends up setting one of the TIF_WORK_MASK pending work 62 * usermode. This means that a process can end up with pending work, 65 * means that a pending signal or reschedule event could be 72 * all pending work will be dealt with appropriately. 121 /* check for unmasked and pending */ 125 * If there's something pending, mask events again so we can
|
H A D | irq.c | 19 * down into Xen. The pending flag will be checked by Xen on return. 92 pending event will get dealt with anyway. */ xen_irq_enable()
|
H A D | multicalls.h | 38 /* Flush all pending multicalls */
|
/linux-4.4.14/arch/mips/ath79/ |
H A D | irq.c | 32 u32 pending; ath79_misc_irq_handler() local 34 pending = __raw_readl(base + AR71XX_RESET_REG_MISC_INT_STATUS) & ath79_misc_irq_handler() 37 if (!pending) { ath79_misc_irq_handler() 42 while (pending) { ath79_misc_irq_handler() 43 int bit = __ffs(pending); ath79_misc_irq_handler() 46 pending &= ~BIT(bit); ath79_misc_irq_handler() 239 unsigned long pending; plat_irq_dispatch() local 242 pending = read_c0_status() & read_c0_cause() & ST0_IM; plat_irq_dispatch() 244 if (!pending) { plat_irq_dispatch() 249 pending >>= CAUSEB_IP; plat_irq_dispatch() 250 while (pending) { plat_irq_dispatch() 251 irq = fls(pending) - 1; plat_irq_dispatch() 255 pending &= ~BIT(irq); plat_irq_dispatch()
|
/linux-4.4.14/drivers/xen/events/ |
H A D | events_2l.c | 97 * Need to clear the mask before checking pending to evtchn_2l_unmask() 98 * avoid a race with an event becoming pending. evtchn_2l_unmask() 114 * an hvm domain and an event is pending (hvm domains don't have evtchn_2l_unmask() 154 * Search the CPU's pending events bitmasks. For each one found, map 158 * a bitset of words which contain pending event bits. The second 159 * level is a bitset of pending events themselves. 220 * pending again it would just be scanned on evtchn_2l_handle_events() 279 int pending; for_each_online_cpu() local 281 pending = (get_irq_regs() && i == cpu) for_each_online_cpu() 284 printk("%d: masked=%d pending=%d event_sel %0*"PRI_xen_ulong"\n ", i, for_each_online_cpu() 285 pending, v->evtchn_upcall_pending, for_each_online_cpu() 319 xen_ulong_t pending = sh->evtchn_pending[i] local 324 pending, i % 8 == 0 ? "\n " : " ");
|
/linux-4.4.14/drivers/gpu/drm/atmel-hlcdc/ |
H A D | atmel_hlcdc_layer.c | 98 if (upd->pending < 0 || upd->pending > 1) atmel_hlcdc_layer_update_apply() 101 slot = &upd->slots[upd->pending]; atmel_hlcdc_layer_update_apply() 172 atmel_hlcdc_layer_update_reset(layer, upd->pending); atmel_hlcdc_layer_update_apply() 174 upd->pending = -1; atmel_hlcdc_layer_update_apply() 317 /* Clear all pending interrupts */ atmel_hlcdc_layer_disable() 332 * Then discard the pending update request (if any) to prevent atmel_hlcdc_layer_disable() 336 if (upd->pending >= 0) { atmel_hlcdc_layer_disable() 337 atmel_hlcdc_layer_update_reset(layer, upd->pending); atmel_hlcdc_layer_disable() 338 upd->pending = -1; atmel_hlcdc_layer_disable() 368 upd->next = upd->pending ? 0 : 1; atmel_hlcdc_layer_update_start() 395 if (upd->pending >= 0) { atmel_hlcdc_layer_update_start() 397 upd->slots[upd->pending].configs, atmel_hlcdc_layer_update_start() 400 upd->slots[upd->pending].updated_configs, atmel_hlcdc_layer_update_start() 404 slot->fb_flip->fb = upd->slots[upd->pending].fb_flip->fb; atmel_hlcdc_layer_update_start() 405 if (upd->slots[upd->pending].fb_flip->fb) { atmel_hlcdc_layer_update_start() 407 upd->slots[upd->pending].fb_flip->fb; atmel_hlcdc_layer_update_start() 409 upd->slots[upd->pending].fb_flip->ngems; atmel_hlcdc_layer_update_start() 510 * Release pending update request and replace it by the new one. atmel_hlcdc_layer_update_commit() 512 if (upd->pending >= 0) atmel_hlcdc_layer_update_commit() 513 atmel_hlcdc_layer_update_reset(layer, upd->pending); atmel_hlcdc_layer_update_commit() 515 upd->pending = upd->next; atmel_hlcdc_layer_update_commit() 594 upd->pending = -1; atmel_hlcdc_layer_update_init()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
H A D | priv.h | 16 /* read and ack pending interrupts, returning only data 18 * performing the ack for anything that was pending.
|
/linux-4.4.14/drivers/mtd/tests/ |
H A D | mtd_test.h | 8 pr_info("aborting test due to pending signal!\n"); mtdtest_relax()
|
/linux-4.4.14/arch/um/os-Linux/ |
H A D | signal.c | 145 unsigned long pending = 1UL << sig; hard_handler() local 151 * pending comes back with one bit set for each hard_handler() 160 bail = to_irq_stack(&pending); hard_handler() 164 nested = pending & 1; hard_handler() 165 pending &= ~1; hard_handler() 167 while ((sig = ffs(pending)) != 0){ hard_handler() 169 pending &= ~(1 << sig); hard_handler() 174 * Again, pending comes back with a mask of signals hard_handler() 180 pending = from_irq_stack(nested); hard_handler() 181 } while (pending); hard_handler() 271 * We have pending interrupts, so disable signals, as the unblock_signals() 280 * schedule, leaving the pending SIGIO stranded until we come unblock_signals()
|
/linux-4.4.14/crypto/ |
H A D | michael_mic.c | 25 u8 pending[4]; member in struct:michael_mic_desc_ctx 72 memcpy(&mctx->pending[mctx->pending_len], data, flen); michael_update() 80 src = (const __le32 *)mctx->pending; michael_update() 96 memcpy(mctx->pending, src, len); michael_update() 106 u8 *data = mctx->pending; michael_final()
|
/linux-4.4.14/arch/mips/jazz/ |
H A D | irq.c | 63 r4030_read_reg16(JAZZ_IO_IRQ_SOURCE); /* clear pending IRQs */ init_r4030_ints() 95 unsigned int pending = read_c0_cause() & read_c0_status(); plat_irq_dispatch() local 98 if (pending & IE_IRQ4) { plat_irq_dispatch() 101 } else if (pending & IE_IRQ2) { plat_irq_dispatch() 104 } else if (pending & IE_IRQ1) { plat_irq_dispatch()
|
/linux-4.4.14/arch/mips/txx9/rbtx4938/ |
H A D | irq.c | 110 static int rbtx4938_irq_dispatch(int pending) rbtx4938_irq_dispatch() argument 114 if (pending & STATUSF_IP7) rbtx4938_irq_dispatch() 116 else if (pending & STATUSF_IP2) { rbtx4938_irq_dispatch() 120 } else if (pending & STATUSF_IP1) rbtx4938_irq_dispatch() 122 else if (pending & STATUSF_IP0) rbtx4938_irq_dispatch()
|
/linux-4.4.14/kernel/ |
H A D | futex_compat.c | 53 struct robust_list __user *entry, *next_entry, *pending; compat_exit_robust_list() local 75 * Fetch any possibly pending lock-add first, and handle it compat_exit_robust_list() 78 if (fetch_robust_entry(&upending, &pending, compat_exit_robust_list() 91 * A pending lock might already be on the list, so compat_exit_robust_list() 94 if (entry != pending) { compat_exit_robust_list() 113 if (pending) { compat_exit_robust_list() 114 void __user *uaddr = futex_uaddr(pending, futex_offset); compat_exit_robust_list()
|
H A D | async.c | 67 static LIST_HEAD(async_global_pending); /* pending from all registered doms */ 87 struct list_head *pending; lowest_in_progress() local 94 pending = &domain->pending; lowest_in_progress() 96 pending = &async_global_pending; lowest_in_progress() 98 if (!list_empty(pending)) lowest_in_progress() 99 ret = list_first_entry(pending, struct async_entry, lowest_in_progress() 107 * pick the first pending entry and run it 133 /* 2) remove self from the pending queues */ async_run_entry_fn() 159 * pending already, we execute synchronously. __async_schedule() 183 list_add_tail(&entry->domain_list, &domain->pending); __async_schedule() 255 WARN_ON(!domain->registered || !list_empty(&domain->pending)); async_unregister_domain()
|
H A D | task_work.c | 44 * task_work_cancel - cancel a pending work added by task_work_add() 48 * Find the last queued pending work with ->func == @func and remove 82 * Flush the pending works. Should be used by the core kernel code.
|
H A D | softirq.c | 68 * to the pending events, so lets the scheduler to balance 139 * without processing still-pending softirqs: 167 * Run softirq if any pending. And do it in its own stack __local_bh_enable_ip() 237 __u32 pending; __do_softirq() local 247 pending = local_softirq_pending(); __do_softirq() 254 /* Reset the pending bitmask before enabling irqs */ __do_softirq() 261 while ((softirq_bit = ffs(pending))) { __do_softirq() 282 pending >>= softirq_bit; __do_softirq() 288 pending = local_softirq_pending(); __do_softirq() 289 if (pending) { __do_softirq() 306 __u32 pending; do_softirq() local 314 pending = local_softirq_pending(); do_softirq() 316 if (pending) do_softirq()
|
H A D | irq_work.c | 61 * Enqueue the irq_work @work on @cpu unless it's already pending 74 /* Only queue if not already pending */ irq_work_queue_on() 89 /* Only queue if not already pending */ irq_work_queue()
|
/linux-4.4.14/arch/mips/kvm/ |
H A D | interrupt.c | 38 * Cause bits to reflect the pending timer interrupt, kvm_mips_queue_timer_int_cb() 61 * Cause bits to reflect the pending IO interrupt, kvm_mips_queue_io_int_cb() 206 unsigned long *pending = &vcpu->arch.pending_exceptions; kvm_mips_deliver_interrupts() local 210 if (!(*pending) && !(*pending_clr)) kvm_mips_deliver_interrupts() 225 priority = __ffs(*pending); kvm_mips_deliver_interrupts() 232 priority = find_next_bit(pending, kvm_mips_deliver_interrupts() 233 BITS_PER_BYTE * sizeof(*pending), kvm_mips_deliver_interrupts()
|
/linux-4.4.14/arch/arm/mach-ux500/ |
H A D | pm.c | 81 * This function checks if there are pending irq on the gic. It only 86 * becoming pending, or active and pending if it is already 87 * active. Hence, we have to check the interrupt is pending *and* is 103 return true; /* There is a pending interrupt */ prcmu_gic_pending_irq() 110 * This function checks if there are pending interrupt on the 123 return true; /* There is a pending interrupt */ prcmu_pending_irq()
|
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/ |
H A D | mdp5_smp.c | 40 * pending: 55 * configured nor pending by any other client are added to client's 56 * pending set. 57 * For shrinking, blocks in pending but not in configured can be freed 63 * are configured for the union(pending, inuse) 64 * Current pending is copied to configured. 76 * client's pending blocks become it's in-use blocks (and no-longer 87 * inuse and pending state of all clients.. 137 /* step #1: update # of blocks pending for the client: */ smp_request_block() 164 cur_nblks = bitmap_weight(ps->pending, cnt); smp_request_block() 166 /* grow the existing pending reservation: */ smp_request_block() 169 set_bit(blk, ps->pending); smp_request_block() 173 /* shrink the existing pending reservation: */ smp_request_block() 175 int blk = find_first_bit(ps->pending, cnt); smp_request_block() 176 clear_bit(blk, ps->pending); smp_request_block() 289 bitmap_andnot(smp->state, smp->state, ps->pending, cnt); mdp5_smp_release() 293 bitmap_zero(ps->pending, cnt); mdp5_smp_release() 336 /* step #2: configure hw for union(pending, inuse): */ mdp5_smp_configure() 354 bitmap_copy(ps->configured, ps->pending, cnt); mdp5_smp_configure()
|
H A D | mdp5_crtc.c | 46 /* if there is a pending flip, these will be non-null: */ 56 atomic_t pending; member in struct:mdp5_crtc 87 static void request_pending(struct drm_crtc *crtc, uint32_t pending) request_pending() argument 91 atomic_or(pending, &mdp5_crtc->pending); request_pending() 458 * It is better to request pending before FLUSH and START trigger mdp5_crtc_atomic_flush() 651 unsigned pending; mdp5_crtc_vblank_irq() local 655 pending = atomic_xchg(&mdp5_crtc->pending, 0); mdp5_crtc_vblank_irq() 657 if (pending & PENDING_FLIP) { mdp5_crtc_vblank_irq() 661 if (pending & PENDING_CURSOR) mdp5_crtc_vblank_irq()
|
H A D | mdp5_smp.h | 27 mdp5_smp_state_t pending; member in struct:mdp5_client_smp_state
|
/linux-4.4.14/drivers/hid/ |
H A D | hid-sensor-hub.c | 35 * @lock: Spin lock to protect pending request structure. 299 memset(&hsdev->pending, 0, sizeof(hsdev->pending)); sensor_hub_input_attr_get_raw_value() 300 init_completion(&hsdev->pending.ready); sensor_hub_input_attr_get_raw_value() 301 hsdev->pending.usage_id = usage_id; sensor_hub_input_attr_get_raw_value() 302 hsdev->pending.attr_usage_id = attr_usage_id; sensor_hub_input_attr_get_raw_value() 303 hsdev->pending.raw_size = 0; sensor_hub_input_attr_get_raw_value() 306 hsdev->pending.status = true; sensor_hub_input_attr_get_raw_value() 314 &hsdev->pending.ready, HZ*5); sensor_hub_input_attr_get_raw_value() 315 switch (hsdev->pending.raw_size) { sensor_hub_input_attr_get_raw_value() 317 ret_val = *(u8 *)hsdev->pending.raw_data; sensor_hub_input_attr_get_raw_value() 320 ret_val = *(u16 *)hsdev->pending.raw_data; sensor_hub_input_attr_get_raw_value() 323 ret_val = *(u32 *)hsdev->pending.raw_data; sensor_hub_input_attr_get_raw_value() 328 kfree(hsdev->pending.raw_data); sensor_hub_input_attr_get_raw_value() 329 hsdev->pending.status = false; sensor_hub_input_attr_get_raw_value() 500 if (hsdev->pending.status && (hsdev->pending.attr_usage_id == sensor_hub_raw_event() 502 hsdev->pending.attr_usage_id == sensor_hub_raw_event() 504 hid_dbg(hdev, "data was pending ...\n"); sensor_hub_raw_event() 505 hsdev->pending.raw_data = kmemdup(ptr, sz, GFP_ATOMIC); sensor_hub_raw_event() 506 if (hsdev->pending.raw_data) sensor_hub_raw_event() 507 hsdev->pending.raw_size = sz; sensor_hub_raw_event() 509 hsdev->pending.raw_size = 0; sensor_hub_raw_event() 510 complete(&hsdev->pending.ready); sensor_hub_raw_event() 754 if (hsdev->pending.status) sensor_hub_remove() 755 complete(&hsdev->pending.ready); sensor_hub_remove()
|
/linux-4.4.14/fs/btrfs/ |
H A D | async-thread.c | 44 atomic_t pending; member in struct:__btrfs_workqueue 106 atomic_set(&ret->pending, 0); __btrfs_alloc_workqueue() 184 atomic_inc(&wq->pending); thresh_queue_hook() 195 long pending; thresh_exec_hook() local 201 atomic_dec(&wq->pending); thresh_exec_hook() 214 * pending may be changed later, but it's OK since we really thresh_exec_hook() 217 pending = atomic_read(&wq->pending); thresh_exec_hook() 218 if (pending > wq->thresh) thresh_exec_hook() 220 if (pending < wq->thresh / 2) thresh_exec_hook()
|
H A D | transaction.c | 68 printk(KERN_ERR "pending csums is %llu\n", btrfs_put_transaction() 1296 * the creation of the pending snapshots, just return 0. 1300 struct btrfs_pending_snapshot *pending) create_pending_snapshot() 1305 struct btrfs_root *root = pending->root; create_pending_snapshot() 1324 pending->error = -ENOMEM; create_pending_snapshot() 1330 pending->error = -ENOMEM; create_pending_snapshot() 1334 pending->error = btrfs_find_free_objectid(tree_root, &objectid); create_pending_snapshot() 1335 if (pending->error) create_pending_snapshot() 1344 btrfs_reloc_pre_snapshot(pending, &to_reserve); create_pending_snapshot() 1347 pending->error = btrfs_block_rsv_add(root, create_pending_snapshot() 1348 &pending->block_rsv, create_pending_snapshot() 1351 if (pending->error) create_pending_snapshot() 1360 trans->block_rsv = &pending->block_rsv; create_pending_snapshot() 1363 dentry = pending->dentry; create_pending_snapshot() 1364 parent_inode = pending->dir; create_pending_snapshot() 1380 pending->error = -EEXIST; create_pending_snapshot() 1407 if (pending->readonly) create_pending_snapshot() 1478 pending->snap = btrfs_read_fs_root_no_name(root->fs_info, &key); create_pending_snapshot() 1479 if (IS_ERR(pending->snap)) { create_pending_snapshot() 1480 ret = PTR_ERR(pending->snap); create_pending_snapshot() 1485 ret = btrfs_reloc_post_snapshot(trans, pending); create_pending_snapshot() 1550 objectid, pending->inherit); create_pending_snapshot() 1557 pending->error = ret; create_pending_snapshot() 1576 struct btrfs_pending_snapshot *pending, *next; create_pending_snapshots() local 1580 list_for_each_entry_safe(pending, next, head, list) { list_for_each_entry_safe() 1581 list_del(&pending->list); list_for_each_entry_safe() 1582 ret = create_pending_snapshot(trans, fs_info, pending); list_for_each_entry_safe() 1936 /* some pending stuffs might be added after the previous flush. */ btrfs_commit_transaction() 2040 * Since the transaction is done, we can apply the pending changes btrfs_commit_transaction() 2252 btrfs_debug(fs_info, "pending commit done"); btrfs_apply_pending_changes() 2257 "unknown pending changes left 0x%lx, ignoring", prev); btrfs_apply_pending_changes() 1298 create_pending_snapshot(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_pending_snapshot *pending) create_pending_snapshot() argument
|
/linux-4.4.14/kernel/locking/ |
H A D | qspinlock.c | 47 * unlock the next pending (next->locked), we compress both these: {tail, 116 * By using the whole 2nd least significant byte for the pending bit, we 117 * can allow better optimization of the lock acquisition for the pending 129 u8 pending; member in struct:__qspinlock::__anon14805::__anon14806 142 u8 pending; member in struct:__qspinlock::__anon14805::__anon14809 151 * clear_pending_set_locked - take ownership and clear the pending bit. 185 * clear_pending_set_locked - take ownership and clear the pending bit. 265 * (queue tail, pending bit, lock value) 272 * pending : (0,1,1) +--> (0,1,0) \ | : 296 * wait for in-progress pending->locked hand-overs queued_spin_lock_slowpath() 306 * trylock || pending queued_spin_lock_slowpath() 309 * 0,0,1 -> 0,1,1 ; pending queued_spin_lock_slowpath() 336 * we're pending, wait for the owner to go away. queued_spin_lock_slowpath() 349 * take ownership and clear the pending bit. queued_spin_lock_slowpath() 357 * End of pending bit optimistic spinning and beginning of MCS queued_spin_lock_slowpath() 380 * pending stuff. queued_spin_lock_slowpath() 399 * we're at the head of the waitqueue, wait for the owner & pending to queued_spin_lock_slowpath()
|
/linux-4.4.14/drivers/scsi/libsas/ |
H A D | sas_event.c | 36 /* add it to the defer list, if not already pending */ sas_queue_work() 43 static void sas_queue_event(int event, unsigned long *pending, sas_queue_event() argument 47 if (!test_and_set_bit(event, pending)) { sas_queue_event() 111 if (!test_and_clear_bit(ev, &d->pending)) sas_enable_revalidation() 114 sas_queue_event(ev, &d->pending, &d->disc_work[ev].work, ha); sas_enable_revalidation() 123 sas_queue_event(event, &sas_ha->pending, notify_ha_event()
|
H A D | sas_discover.c | 221 clear_bit(DISCE_PROBE, &port->disc.pending); sas_probe_devices() 252 clear_bit(DISCE_SUSPEND, &port->disc.pending); sas_suspend_devices() 279 clear_bit(DISCE_RESUME, &port->disc.pending); sas_resume_devices() 362 clear_bit(DISCE_DESTRUCT, &port->disc.pending); sas_destruct_devices() 446 clear_bit(DISCE_DISCOVER_DOMAIN, &port->disc.pending); sas_discover_domain() 513 clear_bit(DISCE_REVALIDATE_DOMAIN, &port->disc.pending); sas_revalidate_domain() 540 static void sas_chain_event(int event, unsigned long *pending, sas_chain_event() argument 544 if (!test_and_set_bit(event, pending)) { sas_chain_event() 563 sas_chain_event(ev, &disc->pending, &disc->disc_work[ev].work, port->ha); sas_discover_event() 587 disc->pending = 0; sas_init_disc()
|
/linux-4.4.14/arch/mips/sgi-ip27/ |
H A D | ip27-irq.c | 168 unsigned long pending = read_c0_cause() & read_c0_status(); plat_irq_dispatch() local 171 if (pending & CAUSEF_IP4) plat_irq_dispatch() 173 else if (pending & CAUSEF_IP2) /* PI_INT_PEND_0 or CC_PEND_{A|B} */ plat_irq_dispatch() 175 else if (pending & CAUSEF_IP3) /* PI_INT_PEND_1 */ plat_irq_dispatch() 177 else if (pending & CAUSEF_IP5) plat_irq_dispatch() 179 else if (pending & CAUSEF_IP6) plat_irq_dispatch()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sp.h | 31 /* Wait until all pending commands complete */ 41 * pending commands list. 44 /* If there is another pending ramrod, wait until it finishes and 88 int state; /* "ramrod is pending" state bit */ 193 /* Commands pending for an execution. */ 196 /* Commands pending for an completion. */ 216 * Called before removing pending commands, cleaning allocated 222 * This will try to cancel the current pending commands list 302 unsigned long saved_ramrod_flags; /* Ramrods of pending execution */ 379 * vlan_mac_flags specification. Assumes no pending for 391 * if there are pending for completion commands, 425 * pending commands will be executed. 429 * @return 0 if there are neither pending nor waiting for 431 * pending for execution or for completion commands. 525 * - Add a new command type for handling pending commands 529 * pending commands. 566 /* A state that is set in raw.pstate, when there are pending commands */ 572 /* Total number of currently pending MACs to configure: both 573 * in the pending commands list and in the current command. 610 * command is still pending. 621 /* Wait until all pending commands complete */ 1059 * pending" paradigm but for debug and tracing purposes it's 1063 unsigned long pending; member in struct:bnx2x_queue_sp_obj 1078 * Sets the pending bit according to the requested transition. 1091 * Completes the pending command. 1321 * pending" paradigm but for debug and tracing purposes it's 1325 unsigned long pending; member in struct:bnx2x_func_sp_obj 1338 /* this mutex validates that when pending flag is taken, the next 1339 * ramrod to be sent will be the one set the pending bit 1362 * Completes the pending command. 1447 * Return: 0 - if operation was successful and there is no pending completions, 1448 * positive number - if there are pending completions, 1471 * configuration, continue to execute the pending commands 1474 * If previous command is still pending or if number of MACs to 1477 * pending commands list. 1479 * Return: 0 is operation was successful and there are no pending completions, 1480 * negative if there were errors, positive if there are pending
|
H A D | bnx2x_sp.c | 186 * 'pending' list. bnx2x_exe_queue_step() 197 /* Run through the pending commands list and create a next bnx2x_exe_queue_step() 230 /* If zero is returned, means there are no outstanding pending bnx2x_exe_queue_step() 231 * completions and we may dismiss the pending list. bnx2x_exe_queue_step() 457 DP(BNX2X_MSG_SP, "vlan_mac_lock execute pending command with ramrod flags %lu\n", __bnx2x_vlan_mac_h_exec_pending() 463 BNX2X_ERR("execution of pending commands failed with rc %d\n", __bnx2x_vlan_mac_h_exec_pending() 486 DP(BNX2X_MSG_SP, "Placing pending execution with ramrod flags %lu\n", __bnx2x_vlan_mac_h_pend() 496 * @details Should be called under execution queue lock. Notice if a pending 503 /* It's possible a new pending execution was added since this writer __bnx2x_vlan_mac_h_write_unlock() 507 DP(BNX2X_MSG_SP, "vlan_mac_lock - writer release encountered a pending request\n"); __bnx2x_vlan_mac_h_write_unlock() 559 * @details Should be called under execution queue lock. Notice if a pending 577 /* It's possible a new pending execution was added, and that this reader __bnx2x_vlan_mac_h_read_unlock() 581 DP(BNX2X_MSG_SP, "vlan_mac_lock - reader release encountered a pending request\n"); __bnx2x_vlan_mac_h_read_unlock() 594 * @details Notice if a pending execution exists, it would be performed if this 1277 /* Check pending for execution commands */ bnx2x_exeq_get_mac() 1294 /* Check pending for execution commands */ bnx2x_exeq_get_vlan() 1312 /* Check pending for execution commands */ bnx2x_exeq_get_vlan_mac() 1351 /* Check if there is a pending ADD command for this bnx2x_validate_vlan_mac_add() 1355 DP(BNX2X_MSG_SP, "There is a pending ADD command already\n"); bnx2x_validate_vlan_mac_add() 1359 /* TODO: Check the pending MOVE from other objects where this bnx2x_validate_vlan_mac_add() 1402 /* Check if there are pending DEL or MOVE commands for this bnx2x_validate_vlan_mac_del() 1410 BNX2X_ERR("There is a pending MOVE command already\n"); bnx2x_validate_vlan_mac_del() 1416 DP(BNX2X_MSG_SP, "There is a pending DEL command already\n"); bnx2x_validate_vlan_mac_del() 1462 /* Check if there is an already pending DEL or MOVE command for the bnx2x_validate_vlan_mac_move() 1471 BNX2X_ERR("There is a pending DEL command on the source queue already\n"); bnx2x_validate_vlan_mac_move() 1477 DP(BNX2X_MSG_SP, "There is a pending MOVE command already\n"); bnx2x_validate_vlan_mac_move() 1484 BNX2X_ERR("There is a pending ADD command on the destination queue already\n"); bnx2x_validate_vlan_mac_move() 1570 /* Wait until there are no pending commands */ bnx2x_wait_vlan_mac() 1595 * and the case in which there is already a pending ramrod __bnx2x_vlan_mac_execute_step() 1623 /* Clearing the pending list & raw state should be made bnx2x_complete_vlan_mac() 1628 /* Reset pending list */ bnx2x_complete_vlan_mac() 1631 /* Clear pending */ bnx2x_complete_vlan_mac() 1640 /* Run the next bulk of pending commands if requested */ bnx2x_complete_vlan_mac() 1797 /* Set pending */ bnx2x_execute_vlan_mac() 1925 /* Try to add a new command to the pending list */ bnx2x_vlan_mac_push_new_cmd() 1955 * return PENDING if there are pending commands bnx2x_config_vlan_mac() 1961 DP(BNX2X_MSG_SP, "RAMROD_DRV_CLR_ONLY requested: clearing a pending bit.\n"); bnx2x_config_vlan_mac() 1979 * one (for the current pending command). bnx2x_config_vlan_mac() 2031 /* Clear pending commands first */ bnx2x_vlan_mac_del_all() 2542 /* Ramrod completion is pending */ bnx2x_set_rx_mode_e2() 2613 * practically used in 57712 handling only, where one pending 2642 /* If the command is empty ("handle pending commands only"), break */ bnx2x_mcast_enqueue_cmd() 2668 /* Push the MACs of the current command into the pending command bnx2x_mcast_enqueue_cmd() 2693 /* Push the new pending command to the tail of the pending list: FIFO */ bnx2x_mcast_enqueue_cmd() 3093 * handle all pending commands. bnx2x_mcast_validate_e2() 3103 /* Increase the total number of MACs pending to be configured */ bnx2x_mcast_validate_e2() 3183 /* If there are no more pending commands - clear SCHEDULED state */ bnx2x_mcast_setup_e2() 3188 * data for all pending commands and for the current bnx2x_mcast_setup_e2() 3190 * to the pending commands and p->mcast_list_len would have been bnx2x_mcast_setup_e2() 3207 /* Update a registry size if there are no more pending operations. bnx2x_mcast_setup_e2() 3210 * pending operations because we want it to always be equal to the bnx2x_mcast_setup_e2() 3247 /* Ramrod completion is pending */ bnx2x_mcast_setup_e2() 3323 * and clear a pending bit. bnx2x_mcast_setup_e1h() 3676 /* Handle pending commands first */ bnx2x_mcast_setup_e1() 3679 /* If there are no more pending commands - clear SCHEDULED state */ bnx2x_mcast_setup_e1() 3683 /* The below may be true iff there were no pending commands */ bnx2x_mcast_setup_e1() 3731 /* Ramrod completion is pending */ bnx2x_mcast_setup_e1() 3783 /* Enqueue the current command to the pending list if we can't complete bnx2x_config_mcast() 3800 /* Set 'pending' state */ bnx2x_config_mcast() 4433 * to that is still pending (possible only if RAMROD_COMP_WAIT is 4442 unsigned long *pending = &o->pending; bnx2x_queue_state_change() local 4451 /* Set "pending" bit */ bnx2x_queue_state_change() 4452 DP(BNX2X_MSG_SP, "pending bit was=%lx\n", o->pending); bnx2x_queue_state_change() 4454 DP(BNX2X_MSG_SP, "pending bit now=%lx\n", o->pending); bnx2x_queue_state_change() 4464 clear_bit(pending_bit, pending); bnx2x_queue_state_change() 4478 return !!test_bit(pending_bit, pending); bnx2x_queue_state_change() 4495 set_bit(bit, &obj->pending); bnx2x_queue_set_pending() 4503 return bnx2x_state_wait(bp, cmd, &o->pending); bnx2x_queue_wait_comp() 4519 unsigned long cur_pending = o->pending; bnx2x_queue_comp_cmd() 4522 BNX2X_ERR("Bad MC reply %d for queue %d in state %d pending 0x%lx, next_state %d\n", bnx2x_queue_comp_cmd() 4548 * updated before o->pending. bnx2x_queue_comp_cmd() 4552 clear_bit(cmd, &o->pending); bnx2x_queue_comp_cmd() 5285 /* Forget all pending for completion commands if a driver only state bnx2x_queue_chk_transition() 5289 o->pending = 0; bnx2x_queue_chk_transition() 5296 if (o->pending) { bnx2x_queue_chk_transition() 5297 BNX2X_ERR("Blocking transition since pending was %lx\n", bnx2x_queue_chk_transition() 5298 o->pending); bnx2x_queue_chk_transition() 5499 if (o->pending) bnx2x_func_get_state() 5502 /* unsure the order of reading of o->pending and o->state bnx2x_func_get_state() 5503 * o->pending should be read first bnx2x_func_get_state() 5514 return bnx2x_state_wait(bp, cmd, &o->pending); bnx2x_func_wait_comp() 5531 unsigned long cur_pending = o->pending; bnx2x_func_state_change_comp() 5534 BNX2X_ERR("Bad MC reply %d for func %d in state %d pending 0x%lx, next_state %d\n", bnx2x_func_state_change_comp() 5548 * updated before o->pending. bnx2x_func_state_change_comp() 5552 clear_bit(cmd, &o->pending); bnx2x_func_state_change_comp() 5600 /* Forget all pending for completion commands if a driver only state bnx2x_func_chk_transition() 5604 o->pending = 0; bnx2x_func_chk_transition() 5611 if (o->pending) bnx2x_func_chk_transition() 5632 * if not pending for function_stop ramrod completion bnx2x_func_chk_transition() 5636 (!test_bit(BNX2X_F_CMD_STOP, &o->pending))) bnx2x_func_chk_transition() 5640 (!test_bit(BNX2X_F_CMD_STOP, &o->pending))) bnx2x_func_chk_transition() 5647 (!test_bit(BNX2X_F_CMD_STOP, &o->pending))) bnx2x_func_chk_transition() 5651 (!test_bit(BNX2X_F_CMD_STOP, &o->pending))) bnx2x_func_chk_transition() 5660 (!test_bit(BNX2X_F_CMD_STOP, &o->pending))) bnx2x_func_chk_transition() 5664 (!test_bit(BNX2X_F_CMD_STOP, &o->pending))) bnx2x_func_chk_transition() 6279 * still pending (possible only if RAMROD_COMP_WAIT is 6289 unsigned long *pending = &o->pending; bnx2x_func_state_change() local 6313 /* Set "pending" bit */ bnx2x_func_state_change() 6314 set_bit(cmd, pending); bnx2x_func_state_change() 6328 clear_bit(cmd, pending); bnx2x_func_state_change() 6342 return !!test_bit(cmd, pending); bnx2x_func_state_change()
|
/linux-4.4.14/include/uapi/linux/ |
H A D | unix_diag.h | 19 #define UDIAG_SHOW_ICONS 0x00000008 /* show pending connections */
|
H A D | rtc.h | 38 unsigned char pending; /* 0 = alarm not pending, 1 = alarm pending */ member in struct:rtc_wkalrm
|
H A D | sem.h | 28 struct sem_queue *sem_pending; /* pending operations to be processed */ 29 struct sem_queue **sem_pending_last; /* last pending operation */
|
/linux-4.4.14/arch/powerpc/kvm/ |
H A D | trace_booke.h | 202 __field( unsigned long, pending ) 208 __entry->pending = vcpu->arch.pending_exceptions; 211 TP_printk("vcpu=%x prio=%s pending=%lx", 214 __entry->pending)
|
H A D | book3s_hv_rm_xics.c | 59 /* Mark the target VCPU as having an interrupt pending */ icp_rm_set_vcpu_irq() 115 * for that is that we opportunistically remove the pending interrupt icp_rm_try_update() 117 * interrupt is still pending. icp_rm_try_update() 244 * Note: PAPR doesn't mention anything about masked pending icp_rm_deliver_irq() 335 * the case of an MFRR causing a reject of a pending irq, icp_rm_down_cppr() 354 * The logic is that we cannot have a pending interrupt icp_rm_down_cppr() 356 * know that either the pending interrupt is already an icp_rm_down_cppr() 400 * Return the pending interrupt (if any) along with the kvmppc_rm_h_xirr() 402 * pending priority kvmppc_rm_h_xirr() 457 * Besides rejecting any pending interrupts, we also kvmppc_rm_h_ipi() 458 * update XISR and pending_pri to mark IPI as pending. kvmppc_rm_h_ipi() 466 * where pending interrupt is the one that was rejected. But kvmppc_rm_h_ipi() 480 /* Reject a pending interrupt if not an IPI */ kvmppc_rm_h_ipi() 536 * in a rejection of a pending interrupt: kvmppc_rm_h_cppr() 588 * a pending interrupt, this is a SW error and PAPR sepcifies kvmppc_rm_h_eoi()
|
/linux-4.4.14/arch/s390/kernel/vdso32/ |
H A D | clock_gettime.S | 36 tml %r4,0x0001 /* pending update ? loop */ 79 tml %r4,0x0001 /* pending update ? loop */ 89 tml %r4,0x0001 /* pending update ? loop */ 99 tml %r4,0x0001 /* pending update ? loop */
|
/linux-4.4.14/arch/blackfin/kernel/ |
H A D | irqchip.c | 69 unsigned short pending, other_ints; maybe_lower_to_irq14() local 80 pending = bfin_read_IPEND() & ~0x8000; maybe_lower_to_irq14() 81 other_ints = pending & (pending - 1); maybe_lower_to_irq14()
|
/linux-4.4.14/tools/perf/scripts/python/ |
H A D | compaction-times.py | 163 self.pending = None 173 self.pending = cnode(ns(secs, nsecs)) 176 self.pending.increment(migrated, fscan, mscan) 179 self.pending.complete(secs, nsecs) 180 chead.val += self.pending 183 self.val += self.pending 186 self.list.append(self.pending) 187 self.pending = None 195 return self.pending != None
|
/linux-4.4.14/drivers/uwb/ |
H A D | drp-avail.c | 53 bitmap_fill(rc->drp_avail.pending, UWB_NUM_MAS); uwb_drp_avail_init() 59 * avail = global & local & pending 64 bitmap_and(avail->bm, avail->bm, rc->drp_avail.pending, UWB_NUM_MAS); uwb_drp_available() 82 bitmap_andnot(rc->drp_avail.pending, rc->drp_avail.pending, mas->bm, UWB_NUM_MAS); uwb_drp_avail_reserve_pending() 93 bitmap_or(rc->drp_avail.pending, rc->drp_avail.pending, mas->bm, UWB_NUM_MAS); uwb_drp_avail_reserve() 99 * uwb_drp_avail_release - release MAS from a pending or established reservation 106 bitmap_or(rc->drp_avail.pending, rc->drp_avail.pending, mas->bm, UWB_NUM_MAS); uwb_drp_avail_release() 266 * includes local and pending reservations).
|
/linux-4.4.14/arch/mips/sibyte/bcm1480/ |
H A D | irq.c | 156 u64 pending; ack_bcm1480_irq() local 170 pending = __raw_readq(IOADDR(A_BCM1480_IMR_REGISTER(bcm1480_irq_owner[irq], ack_bcm1480_irq() 172 pending &= ((u64)1 << (irq_dirty)); ack_bcm1480_irq() 173 if (pending) { ack_bcm1480_irq() 181 __raw_writeq(pending, IOADDR(A_BCM1480_IMR_REGISTER(cpu_logical_map(i), ack_bcm1480_irq() 185 __raw_writeq(pending, IOADDR(A_BCM1480_IMR_REGISTER(0, R_BCM1480_IMR_LDT_INTERRUPT_CLR_H + (k*BCM1480_IMR_HL_SPACING)))); ack_bcm1480_irq() 348 unsigned int pending; plat_irq_dispatch() local 350 pending = read_c0_cause() & read_c0_status(); plat_irq_dispatch() 352 if (pending & CAUSEF_IP4) plat_irq_dispatch() 355 else if (pending & CAUSEF_IP3) plat_irq_dispatch() 359 else if (pending & CAUSEF_IP2) plat_irq_dispatch()
|
/linux-4.4.14/arch/mips/sibyte/sb1250/ |
H A D | irq.c | 144 u64 pending; ack_sb1250_irq() local 152 pending = __raw_readq(IOADDR(A_IMR_REGISTER(sb1250_irq_owner[irq], ack_sb1250_irq() 154 pending &= ((u64)1 << (irq)); ack_sb1250_irq() 155 if (pending) { ack_sb1250_irq() 168 __raw_writeq(pending, ack_sb1250_irq() 309 unsigned int pending; plat_irq_dispatch() local 321 pending = read_c0_cause() & read_c0_status() & ST0_IM; plat_irq_dispatch() 323 if (pending & CAUSEF_IP7) /* CPU performance counter interrupt */ plat_irq_dispatch() 325 else if (pending & CAUSEF_IP4) plat_irq_dispatch() 329 else if (pending & CAUSEF_IP3) plat_irq_dispatch() 333 else if (pending & CAUSEF_IP2) plat_irq_dispatch()
|
/linux-4.4.14/net/vmw_vsock/ |
H A D | vmci_transport.c | 52 struct sock *pending, 474 struct sock *pending; vmci_transport_get_pending() local 485 pending = sk_vsock(vpending); vmci_transport_get_pending() 486 sock_hold(pending); vmci_transport_get_pending() 491 pending = NULL; vmci_transport_get_pending() 493 return pending; vmci_transport_get_pending() 497 static void vmci_transport_release_pending(struct sock *pending) vmci_transport_release_pending() argument 499 sock_put(pending); vmci_transport_release_pending() 898 /* Processing of pending connections for servers goes through vmci_transport_recv_pkt_work() 929 struct sock *pending; vmci_transport_recv_listen() local 940 * If it's the latter, we try to find a socket in our list of pending vmci_transport_recv_listen() 945 pending = vmci_transport_get_pending(sk, pkt); vmci_transport_recv_listen() 946 if (pending) { vmci_transport_recv_listen() 947 lock_sock(pending); vmci_transport_recv_listen() 950 vsock_sk(pending)->local_addr.svm_cid = pkt->dg.dst.context; vmci_transport_recv_listen() 952 switch (pending->sk_state) { vmci_transport_recv_listen() 955 pending, vmci_transport_recv_listen() 959 vmci_transport_send_reset(pending, pkt); vmci_transport_recv_listen() 964 vsock_remove_pending(sk, pending); vmci_transport_recv_listen() 966 release_sock(pending); vmci_transport_recv_listen() 967 vmci_transport_release_pending(pending); vmci_transport_recv_listen() 996 pending = __vsock_create(sock_net(sk), NULL, sk, GFP_KERNEL, vmci_transport_recv_listen() 998 if (!pending) { vmci_transport_recv_listen() 1003 vpending = vsock_sk(pending); vmci_transport_recv_listen() 1037 pending, &version, true)) vmci_transport_recv_listen() 1038 err = vmci_transport_send_negotiate(pending, qp_size); vmci_transport_recv_listen() 1061 pending, &active_proto_version, false)) vmci_transport_recv_listen() 1062 err = vmci_transport_send_negotiate2(pending, vmci_transport_recv_listen() 1075 sock_put(pending); vmci_transport_recv_listen() 1080 vsock_add_pending(sk, pending); vmci_transport_recv_listen() 1083 pending->sk_state = SS_CONNECTING; vmci_transport_recv_listen() 1088 vmci_trans(vpending)->notify_ops->process_request(pending); vmci_transport_recv_listen() 1101 sock_hold(pending); vmci_transport_recv_listen() 1111 struct sock *pending, vmci_transport_recv_connecting_server() 1123 vpending = vsock_sk(pending); vmci_transport_recv_connecting_server() 1129 vmci_transport_send_reset(pending, pkt); vmci_transport_recv_connecting_server() 1137 vmci_transport_send_reset(pending, pkt); vmci_transport_recv_connecting_server() 1158 vmci_transport_send_reset(pending, pkt); vmci_transport_recv_connecting_server() 1188 vmci_transport_send_reset(pending, pkt); vmci_transport_recv_connecting_server() 1198 * pending socket to the connected state before sending the attach vmci_transport_recv_connecting_server() 1202 * will find the listening socket instead of the (currently) pending vmci_transport_recv_connecting_server() 1209 * releasing the lock, so a pending slow path processing of an incoming vmci_transport_recv_connecting_server() 1212 pending->sk_state = SS_CONNECTED; vmci_transport_recv_connecting_server() 1217 err = vmci_transport_send_attach(pending, handle); vmci_transport_recv_connecting_server() 1221 vmci_transport_send_reset(pending, pkt); vmci_transport_recv_connecting_server() 1228 * listener's pending list to the accept queue so callers of accept() vmci_transport_recv_connecting_server() 1231 vsock_remove_pending(listener, pending); vmci_transport_recv_connecting_server() 1232 vsock_enqueue_accept(listener, pending); vmci_transport_recv_connecting_server() 1235 * the pending socket. vmci_transport_recv_connecting_server() 1242 pending->sk_err = skerr; vmci_transport_recv_connecting_server() 1243 pending->sk_state = SS_UNCONNECTED; vmci_transport_recv_connecting_server() 1247 * remove pending from the pending list upon our failure, the cleanup vmci_transport_recv_connecting_server() 1251 sock_put(pending); vmci_transport_recv_connecting_server() 1617 LIST_HEAD(pending); vmci_transport_cleanup() 1620 list_replace_init(&vmci_transport_cleanup_list, &pending); vmci_transport_cleanup() 1622 vmci_transport_free_resources(&pending); vmci_transport_cleanup() 1110 vmci_transport_recv_connecting_server(struct sock *listener, struct sock *pending, struct vmci_transport_packet *pkt) vmci_transport_recv_connecting_server() argument
|
/linux-4.4.14/drivers/usb/serial/ |
H A D | io_16654.h | 87 #define ISR_INT_MDM_STATUS 0x00 // Modem status int pending 88 #define ISR_INT_NONE 0x01 // No interrupt pending 89 #define ISR_INT_TXRDY 0x02 // Tx ready int pending 90 #define ISR_INT_RXRDY 0x04 // Rx ready int pending 91 #define ISR_INT_LINE_STATUS 0x06 // Line status int pending 92 #define ISR_INT_RX_TIMEOUT 0x0C // Rx timeout int pending 93 #define ISR_INT_RX_XOFF 0x10 // Rx Xoff int pending 94 #define ISR_INT_RTS_CTS 0x20 // RTS/CTS change int pending
|
H A D | kobil_sct.h | 26 /* Kill the pending/current writes to the comm port. */ 28 /* Kill the pending/current reads to the comm port. */
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
H A D | priv.h | 9 /* read and ack pending interrupts, returning only data 11 * performing the ack for anything that was pending.
|
/linux-4.4.14/include/asm-generic/ |
H A D | qspinlock_types.h | 40 * 8: pending 47 * 8: pending
|
/linux-4.4.14/arch/mips/ath25/ |
H A D | ar2315.c | 74 u32 pending = ar2315_rst_reg_read(AR2315_ISR) & ar2315_misc_irq_handler() local 78 if (pending) { ar2315_misc_irq_handler() 81 nr = __ffs(pending); ar2315_misc_irq_handler() 133 u32 pending = read_c0_status() & read_c0_cause(); ar2315_irq_dispatch() local 135 if (pending & CAUSEF_IP3) ar2315_irq_dispatch() 138 else if (pending & CAUSEF_IP5) ar2315_irq_dispatch() 141 else if (pending & CAUSEF_IP2) ar2315_irq_dispatch() 143 else if (pending & CAUSEF_IP7) ar2315_irq_dispatch()
|
H A D | ar5312.c | 78 u32 pending = ar5312_rst_reg_read(AR5312_ISR) & ar5312_misc_irq_handler() local 82 if (pending) { ar5312_misc_irq_handler() 85 nr = __ffs(pending); ar5312_misc_irq_handler() 130 u32 pending = read_c0_status() & read_c0_cause(); ar5312_irq_dispatch() local 132 if (pending & CAUSEF_IP2) ar5312_irq_dispatch() 134 else if (pending & CAUSEF_IP5) ar5312_irq_dispatch() 136 else if (pending & CAUSEF_IP6) ar5312_irq_dispatch() 138 else if (pending & CAUSEF_IP7) ar5312_irq_dispatch()
|
/linux-4.4.14/drivers/atm/ |
H A D | eni.h | 59 int rxing; /* number of pending PDUs */ 61 int txing; /* number of pending TX bytes */ 63 struct atm_vcc *next; /* next pending RX */ 72 u32 events; /* pending events */ 97 struct atm_vcc *fast,*last_fast;/* queues of VCCs with pending PDUs */
|
/linux-4.4.14/drivers/cdrom/ |
H A D | gdrom.c | 120 int pending; member in struct:gdrom_unit 256 gd.pending = 1; gdrom_preparedisk_cmd() 259 wait_event_interruptible_timeout(command_queue, gd.pending == 0, gdrom_preparedisk_cmd() 261 gd.pending = 0; gdrom_preparedisk_cmd() 293 if (gd.pending) { gdrom_readtoc_cmd() 297 gd.pending = 1; gdrom_readtoc_cmd() 299 wait_event_interruptible_timeout(command_queue, gd.pending == 0, gdrom_readtoc_cmd() 301 if (gd.pending) { gdrom_readtoc_cmd() 310 gd.pending = 0; gdrom_readtoc_cmd() 444 /* even if something is pending try to get gdrom_getsense() 446 if (gd.pending && !gdrom_wait_clrbusy()) { gdrom_getsense() 450 gd.pending = 1; gdrom_getsense() 452 wait_event_interruptible_timeout(command_queue, gd.pending == 0, gdrom_getsense() 454 if (gd.pending) gdrom_getsense() 472 gd.pending = 0; gdrom_getsense() 542 if (gd.pending != 1) gdrom_command_interrupt() 544 gd.pending = 0; gdrom_command_interrupt() 632 gd.pending = 1; gdrom_readdisk_dma() 636 /* Wait for any pending DMA to finish */ gdrom_readdisk_dma() 646 gd.pending = 0; gdrom_readdisk_dma()
|
/linux-4.4.14/arch/mips/txx9/rbtx4927/ |
H A D | irq.c | 172 static int rbtx4927_irq_dispatch(int pending) rbtx4927_irq_dispatch() argument 176 if (pending & STATUSF_IP7) /* cpu timer */ rbtx4927_irq_dispatch() 178 else if (pending & STATUSF_IP2) { /* tx4927 pic */ rbtx4927_irq_dispatch() 182 } else if (pending & STATUSF_IP0) /* user line 0 */ rbtx4927_irq_dispatch() 184 else if (pending & STATUSF_IP1) /* user line 1 */ rbtx4927_irq_dispatch()
|
/linux-4.4.14/arch/avr32/mach-at32ap/ |
H A D | extint.c | 150 unsigned long status, pending; demux_eic_irq() local 154 pending = status & eic_readl(eic, IMR); demux_eic_irq() 156 while (pending) { demux_eic_irq() 157 i = fls(pending) - 1; demux_eic_irq() 158 pending &= ~(1 << i); demux_eic_irq()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/ |
H A D | i40evf_virtchnl.c | 237 /* bail because we already have a command pending */ i40evf_configure_queues() 238 dev_err(&adapter->pdev->dev, "Cannot configure queues, command %d pending\n", i40evf_configure_queues() 291 /* bail because we already have a command pending */ i40evf_enable_queues() 292 dev_err(&adapter->pdev->dev, "Cannot enable queues, command %d pending\n", i40evf_enable_queues() 316 /* bail because we already have a command pending */ i40evf_disable_queues() 317 dev_err(&adapter->pdev->dev, "Cannot disable queues, command %d pending\n", i40evf_disable_queues() 344 /* bail because we already have a command pending */ i40evf_map_queues() 345 dev_err(&adapter->pdev->dev, "Cannot map queues to vectors, command %d pending\n", i40evf_map_queues() 396 /* bail because we already have a command pending */ i40evf_add_ether_addrs() 397 dev_err(&adapter->pdev->dev, "Cannot add filters, command %d pending\n", i40evf_add_ether_addrs() 455 /* bail because we already have a command pending */ i40evf_del_ether_addrs() 456 dev_err(&adapter->pdev->dev, "Cannot remove filters, command %d pending\n", i40evf_del_ether_addrs() 514 /* bail because we already have a command pending */ i40evf_add_vlans() 515 dev_err(&adapter->pdev->dev, "Cannot add VLANs, command %d pending\n", i40evf_add_vlans() 572 /* bail because we already have a command pending */ i40evf_del_vlans() 573 dev_err(&adapter->pdev->dev, "Cannot remove VLANs, command %d pending\n", i40evf_del_vlans() 628 /* bail because we already have a command pending */ i40evf_set_promiscuous() 629 dev_err(&adapter->pdev->dev, "Cannot set promiscuous mode, command %d pending\n", i40evf_set_promiscuous()
|
/linux-4.4.14/drivers/mmc/core/ |
H A D | sdio_irq.c | 35 unsigned char pending; process_sdio_pending_irqs() local 49 ret = mmc_io_rw_direct(card, 0, 0, SDIO_CCCR_INTx, 0, &pending); process_sdio_pending_irqs() 56 if (pending && mmc_card_broken_irq_polling(card) && process_sdio_pending_irqs() 69 if (pending & (1 << i)) { process_sdio_pending_irqs() 72 pr_warn("%s: pending IRQ for non-existent function\n", process_sdio_pending_irqs() 79 pr_warn("%s: pending IRQ with no handler\n", process_sdio_pending_irqs() 113 * asynchronous notification of pending SDIO card interrupts sdio_irq_thread()
|
/linux-4.4.14/drivers/acpi/acpica/ |
H A D | evglock.c | 144 * release interrupt occurs. If there is actually a pending 157 * If a request for the global lock is not actually pending, acpi_ev_global_lock_handler() 260 * Did not get the lock. The pending bit was set above, and acpi_ev_acquire_global_lock() 302 u8 pending = FALSE; acpi_ev_release_global_lock() local 319 ACPI_RELEASE_GLOBAL_LOCK(acpi_gbl_FACS, pending); acpi_ev_release_global_lock() 322 * If the pending bit was set, we must write GBL_RLS to the control acpi_ev_release_global_lock() 325 if (pending) { acpi_ev_release_global_lock()
|
/linux-4.4.14/drivers/char/ |
H A D | efirtc.c | 156 unsigned char enabled, pending; efi_rtc_ioctl() local 238 status = efi.get_wakeup_time((efi_bool_t *)&enabled, (efi_bool_t *)&pending, &eft); efi_rtc_ioctl() 247 || put_user(pending, &ewp->pending)) return -EFAULT; efi_rtc_ioctl() 303 efi_bool_t enabled, pending; efi_rtc_proc_show() local 313 efi.get_wakeup_time(&enabled, &pending, &alm); efi_rtc_proc_show() 342 pending == 1 ? "yes" : "no"); efi_rtc_proc_show()
|
/linux-4.4.14/arch/mips/sgi-ip22/ |
H A D | ip22-int.c | 222 * then we just return, if multiple IRQs are pending then we will just take 228 unsigned int pending = read_c0_status() & read_c0_cause(); plat_irq_dispatch() local 233 if (pending & CAUSEF_IP7) plat_irq_dispatch() 235 else if (pending & CAUSEF_IP2) plat_irq_dispatch() 237 else if (pending & CAUSEF_IP3) plat_irq_dispatch() 239 else if (pending & CAUSEF_IP6) plat_irq_dispatch() 241 else if (pending & (CAUSEF_IP4 | CAUSEF_IP5)) plat_irq_dispatch()
|
/linux-4.4.14/arch/powerpc/platforms/cell/ |
H A D | interrupt.c | 61 /* Convert between "pending" bits and hw irq number */ iic_pending_to_hwnum() 145 /* Get an IRQ number from the pending state register of the IIC */ iic_get_irq() 148 struct cbe_iic_pending_bits pending; iic_get_irq() local 153 *(unsigned long *) &pending = iic_get_irq() 155 if (!(pending.flags & CBE_IIC_IRQ_VALID)) iic_get_irq() 157 virq = irq_linear_revmap(iic_host, iic_pending_to_hwnum(pending)); iic_get_irq() 160 iic->eoi_stack[++iic->eoi_ptr] = pending.prio; iic_get_irq() 368 /* Flush pending (make sure it triggers if there is setup_iic() 369 * anything pending setup_iic()
|
/linux-4.4.14/drivers/net/wireless/rt2x00/ |
H A D | rt2x00mmio.h | 96 * Returns true if there are still rx frames pending and false if all 97 * pending rx frames were processed. 104 * @drop: True to drop all pending frames.
|
/linux-4.4.14/arch/mips/txx9/jmr3927/ |
H A D | irq.c | 83 static int jmr3927_irq_dispatch(int pending) jmr3927_irq_dispatch() argument 87 if ((pending & CAUSEF_IP7) == 0) jmr3927_irq_dispatch() 89 irq = (pending >> CAUSEB_IP2) & 0x0f; jmr3927_irq_dispatch()
|
/linux-4.4.14/arch/arm/kernel/ |
H A D | entry-v7m.S | 56 @ Check for any pending work if returning to user 66 beq 2f @ no work pending 88 @ execute the pending work, including reschedule
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/mc/ |
H A D | priv.h | 21 /* retrieve pending interrupt mask (NV_PMC_INTR) */
|
/linux-4.4.14/arch/mips/kernel/ |
H A D | signal-common.h | 27 /* Check and clear pending FPU exceptions in saved CSR */
|
/linux-4.4.14/arch/s390/kernel/vdso64/ |
H A D | clock_gettime.S | 37 tmll %r4,0x0001 /* pending update ? loop */ 63 tmll %r4,0x0001 /* pending update ? loop */ 73 tmll %r4,0x0001 /* pending update ? loop */ 83 tmll %r4,0x0001 /* pending update ? loop */
|
H A D | gettimeofday.S | 30 tmll %r4,0x0001 /* pending update ? loop */
|
/linux-4.4.14/arch/sparc/include/asm/ |
H A D | obio.h | 90 #define CC_ICLR 0x1F00606 /* Clear pending Interrupts */ 160 unsigned pending; cc_get_ipen() local 163 "=r" (pending) : cc_get_ipen() 166 return pending; cc_get_ipen()
|
/linux-4.4.14/arch/mips/ar7/ |
H A D | irq.c | 109 * Disable interrupts and clear pending ar7_irq_init() 171 unsigned int pending = read_c0_status() & read_c0_cause() & ST0_IM; plat_irq_dispatch() local 172 if (pending & STATUSF_IP7) /* cpu timer */ plat_irq_dispatch() 174 else if (pending & STATUSF_IP2) /* int0 hardware line */ plat_irq_dispatch()
|
/linux-4.4.14/arch/cris/kernel/ |
H A D | ptrace.c | 36 /* deal with pending signal delivery */ do_notify_resume()
|
/linux-4.4.14/arch/arm/mach-lpc32xx/include/mach/ |
H A D | entry-macro.S | 30 * as set if an interrupt is pending.
|
/linux-4.4.14/arch/arm/mach-pxa/include/mach/ |
H A D | mtd-xip.h | 29 * to save power and to be woken up only when some interrupts are pending.
|
/linux-4.4.14/arch/arm/mach-imx/ |
H A D | avic.c | 47 #define AVIC_NIPNDH 0x58 /* norm int pending high */ 48 #define AVIC_NIPNDL 0x5C /* norm int pending low */ 49 #define AVIC_FIPNDH 0x60 /* fast int pending high */ 50 #define AVIC_FIPNDL 0x64 /* fast int pending low */
|
/linux-4.4.14/drivers/tty/serial/ |
H A D | altera_jtaguart.c | 147 unsigned int pending, count; altera_jtaguart_tx_chars() local 157 pending = uart_circ_chars_pending(xmit); altera_jtaguart_tx_chars() 158 if (pending > 0) { altera_jtaguart_tx_chars() 162 if (count > pending) altera_jtaguart_tx_chars() 163 count = pending; altera_jtaguart_tx_chars() 165 pending -= count; altera_jtaguart_tx_chars() 172 if (pending < WAKEUP_CHARS) altera_jtaguart_tx_chars() 177 if (pending == 0) { altera_jtaguart_tx_chars()
|
/linux-4.4.14/drivers/gpu/drm/omapdrm/ |
H A D | omap_crtc.c | 52 bool pending; member in struct:omap_crtc 84 !omap_crtc->pending, omap_crtc_wait_pending() 315 WARN_ON(!omap_crtc->pending); omap_crtc_vblank_irq() 316 omap_crtc->pending = false; omap_crtc_vblank_irq() 358 WARN_ON(omap_crtc->pending); omap_crtc_enable() 359 omap_crtc->pending = true; omap_crtc_enable() 408 WARN_ON(omap_crtc->pending); omap_crtc_atomic_flush() 409 omap_crtc->pending = true; omap_crtc_atomic_flush()
|
/linux-4.4.14/drivers/net/ethernet/sun/ |
H A D | sunvnet.h | 14 /* length of time (or less) we expect pending descriptors to be marked 21 #define VNET_TX_WAKEUP_THRESH(dr) ((dr)->pending / 4)
|
/linux-4.4.14/drivers/net/ethernet/sgi/ |
H A D | meth.h | 191 #define METH_INT_TX_EMPTY BIT(0) /* 0: No interrupt pending, 1: The TX ring buffer is empty */ 192 #define METH_INT_TX_PKT BIT(1) /* 0: No interrupt pending */ 194 #define METH_INT_TX_LINK_FAIL BIT(2) /* 0: No interrupt pending, 1: PHY has reported a link failure */ 195 #define METH_INT_MEM_ERROR BIT(3) /* 0: No interrupt pending */ 197 #define METH_INT_TX_ABORT BIT(4) /* 0: No interrupt pending, 1: The TX aborted operation, DMA stopped, FATAL */ 198 #define METH_INT_RX_THRESHOLD BIT(5) /* 0: No interrupt pending, 1: Selected receive threshold condition Valid */ 199 #define METH_INT_RX_UNDERFLOW BIT(6) /* 0: No interrupt pending, 1: FIFO was empty, packet could not be queued */ 200 #define METH_INT_RX_OVERFLOW BIT(7) /* 0: No interrupt pending, 1: DMA FIFO Overflow, DMA stopped, FATAL */
|
/linux-4.4.14/arch/c6x/include/asm/ |
H A D | thread_info.h | 83 * - pending work-to-be-done flags are in LSW 88 #define TIF_SIGPENDING 2 /* signal pending */
|
/linux-4.4.14/kernel/irq/ |
H A D | resend.c | 61 * active. Clear the pending bit so suspend/resume does not check_irq_resend() 95 /* Set it pending and activate the softirq: */ check_irq_resend()
|
/linux-4.4.14/arch/s390/include/asm/ |
H A D | nmi.h | 35 u64 w : 1; /* 08 warning pending */ 36 u64 cp : 1; /* 09 channel-report pending */
|
H A D | crw.h | 45 #define CRW_ERC_EVENT 0x00 /* event information pending */
|
/linux-4.4.14/arch/score/include/asm/ |
H A D | thread_info.h | 73 * - pending work-to-be-done flags are in LSW 77 #define TIF_SIGPENDING 1 /* signal pending */
|
/linux-4.4.14/arch/sparc/kernel/ |
H A D | irq.h | 29 u32 pending; member in struct:sun4m_irq_percpu 36 u32 pending; member in struct:sun4m_irq_global
|
H A D | sun4d_irq.c | 91 * 2) For each bus showing interrupt pending from #1, read the 93 * have interrupts pending for that SBUS interrupt level. 107 /* Loop for each pending SBI */ sun4d_sbus_handler_irq() 121 /* Loop for each pending SBI slot */ sun4d_sbus_handler_irq() 497 /* Get rid of pending irqs from PROM */ sun4d_init_sbi_irq() 500 printk(KERN_ERR "Clearing pending IRQs %08x on SBI %d\n", sun4d_init_sbi_irq()
|
/linux-4.4.14/arch/m68k/include/asm/ |
H A D | m54xxsim.h | 21 #define MCFINTC_IPRH 0x00 /* Interrupt pending 32-63 */ 22 #define MCFINTC_IPRL 0x04 /* Interrupt pending 1-31 */
|
H A D | mac_oss.h | 66 __u16 irq_pending; /* [0x202-0x203] pending interrupts bits */
|
H A D | thread_info.h | 67 #define TIF_SIGPENDING 6 /* signal pending */
|
/linux-4.4.14/arch/mips/sgi-ip32/ |
H A D | ip32-irq.c | 30 /* issue a PIO read to make sure no PIO writes are pending */ flush_crime_bus() 419 unsigned int pending = read_c0_status() & read_c0_cause(); plat_irq_dispatch() local 421 if (likely(pending & IE_IRQ0)) plat_irq_dispatch() 423 else if (unlikely(pending & IE_IRQ1)) plat_irq_dispatch() 425 else if (unlikely(pending & IE_IRQ2)) plat_irq_dispatch() 427 else if (unlikely(pending & IE_IRQ3)) plat_irq_dispatch() 429 else if (unlikely(pending & IE_IRQ4)) plat_irq_dispatch() 431 else if (likely(pending & IE_IRQ5)) plat_irq_dispatch()
|
/linux-4.4.14/arch/cris/include/asm/ |
H A D | thread_info.h | 65 * - pending work-to-be-done flags are in LSW 70 #define TIF_SIGPENDING 2 /* signal pending */
|
/linux-4.4.14/arch/arm/mach-pxa/ |
H A D | pcm990-baseboard.c | 294 unsigned long pending; pcm990_irq_handler() local 296 pending = ~pcm990_cpld_readb(PCM990_CTRL_INTSETCLR); pcm990_irq_handler() 297 pending &= pcm990_irq_enabled; pcm990_irq_handler() 302 if (likely(pending)) { pcm990_irq_handler() 303 irq = PCM027_IRQ(0) + __ffs(pending); pcm990_irq_handler() 306 pending = ~pcm990_cpld_readb(PCM990_CTRL_INTSETCLR); pcm990_irq_handler() 307 pending &= pcm990_irq_enabled; pcm990_irq_handler() 308 } while (pending); pcm990_irq_handler()
|
H A D | lpd270.c | 127 unsigned long pending; lpd270_irq_handler() local 129 pending = __raw_readw(LPD270_INT_STATUS) & lpd270_irq_enabled; lpd270_irq_handler() 133 if (likely(pending)) { lpd270_irq_handler() 134 irq = LPD270_IRQ(0) + __ffs(pending); lpd270_irq_handler() 137 pending = __raw_readw(LPD270_INT_STATUS) & lpd270_irq_handler() 140 } while (pending); lpd270_irq_handler()
|
H A D | pxa_cplds_irqs.c | 41 unsigned long pending; cplds_irq_handler() local 44 pending = readl(fpga->base + FPGA_IRQ_SET_CLR) & fpga->irq_mask; cplds_irq_handler() 45 for_each_set_bit(bit, &pending, CPLDS_NB_IRQ) cplds_irq_handler()
|
/linux-4.4.14/sound/soc/intel/common/ |
H A D | sst-ipc.h | 41 bool pending; member in struct:ipc_message 70 bool pending; member in struct:sst_generic_ipc
|
/linux-4.4.14/sound/soc/txx9/ |
H A D | txx9aclc.h | 39 #define ACDMA_AUDO 0x00000001 /* AUDODMA pending */ 40 #define ACDMA_AUDI 0x00000010 /* AUDIDMA pending */
|
/linux-4.4.14/arch/arc/kernel/ |
H A D | smp.c | 238 * Only do so if there's no pending msg from other concurrent sender(s). ipi_send_msg_one() 319 unsigned long pending; do_IPI() local 332 copy = pending = xchg(this_cpu_ptr(&ipi_data), 0); do_IPI() 335 unsigned long msg = __ffs(pending); do_IPI() 344 pending &= ~(1U << msg); do_IPI() 345 } while (pending); do_IPI()
|
/linux-4.4.14/arch/mips/pci/ |
H A D | pci-ar71xx.c | 233 u32 pending; ar71xx_pci_irq_handler() local 237 pending = __raw_readl(base + AR71XX_RESET_REG_PCI_INT_STATUS) & ar71xx_pci_irq_handler() 240 if (pending & AR71XX_PCI_INT_DEV0) ar71xx_pci_irq_handler() 243 else if (pending & AR71XX_PCI_INT_DEV1) ar71xx_pci_irq_handler() 246 else if (pending & AR71XX_PCI_INT_DEV2) ar71xx_pci_irq_handler() 249 else if (pending & AR71XX_PCI_INT_CORE) ar71xx_pci_irq_handler()
|
H A D | pci-rt3883.c | 135 u32 pending; rt3883_pci_irq_handler() local 139 pending = rt3883_pci_r32(rpc, RT3883_PCI_REG_PCIINT) & rt3883_pci_irq_handler() 142 if (!pending) { rt3883_pci_irq_handler() 147 while (pending) { rt3883_pci_irq_handler() 148 unsigned irq, bit = __ffs(pending); rt3883_pci_irq_handler() 153 pending &= ~BIT(bit); rt3883_pci_irq_handler()
|
/linux-4.4.14/drivers/gpio/ |
H A D | gpio-adnp.c | 230 const char *pending = ""; adnp_gpio_dbg_show() local 242 pending = "pending"; adnp_gpio_dbg_show() 245 direction, level, interrupt, pending); adnp_gpio_dbg_show() 290 unsigned long pending; adnp_irq() local 319 pending = changed & ((adnp->irq_fall[i] & ~level) | adnp_irq() 323 pending |= (adnp->irq_high[i] & level) | adnp_irq() 326 /* mask out non-pending and disabled interrupts */ adnp_irq() 327 pending &= isr & ier; adnp_irq() 329 for_each_set_bit(bit, &pending, 8) { adnp_irq()
|
H A D | gpio-crystalcove.c | 76 * @update: pending IRQ setting update, to be written to the chip upon unlock. 265 int pending; crystalcove_gpio_irq_handler() local 276 pending = p0 | p1 << 8; crystalcove_gpio_irq_handler() 279 if (pending & BIT(gpio)) { crystalcove_gpio_irq_handler() 314 irq & BIT(offset) ? "pending" : " "); crystalcove_gpio_dbg_show()
|
H A D | gpio-zx.c | 162 unsigned long pending; zx_irq_handler() local 170 pending = readw_relaxed(chip->base + ZX_GPIO_MIS); zx_irq_handler() 171 writew_relaxed(pending, chip->base + ZX_GPIO_IC); zx_irq_handler() 172 if (pending) { zx_irq_handler() 173 for_each_set_bit(offset, &pending, ZX_GPIO_NR) zx_irq_handler()
|
/linux-4.4.14/arch/mips/include/asm/octeon/ |
H A D | cvmx-pow.h | 297 * If set, return current status rather than pending 503 /* Set when there is a pending non-NULL SWTAG or 510 * Set when there is a pending NULL SWTAG, or an 514 /* Set when there is a pending DESCHED or SWTAG_DESCHED. */ 517 * Set when there is a pending SWTAG_DESCHED and 523 /* Set when there is a pending GET_WORK. */ 530 /* Set when there is a pending NULL_RD. */ 532 /* Set when there is a pending CLR_NSCHED. */ 581 * Set when there is a pending non-NULL SWTAG or 589 * Set when there is a pending NULL SWTAG, or an 594 * Set when there is a pending DESCHED or 599 * Set when there is a pending SWTAG_DESCHED and 605 /* Set when there is a pending GET_WORK. */ 612 /* Set when there is a pending NULL_RD. */ 614 /* Set when there is a pending CLR_NSCHED. */ 898 /* There is a pending tag switch */ 1173 * NOTE: The following is the behavior of the pending switch bit at the PP 1175 * - did<2:0> == 0 => pending switch bit is set 1176 * - did<2:0> == 1 => no affect on the pending switch bit 1177 * - did<2:0> == 3 => pending switch bit is cleared 1178 * - did<2:0> == 7 => no affect on the pending switch bit 1180 * - No other loads/stores have an affect on the pending switch bit 1181 * - The switch bus from POW can clear the pending switch bit 1254 * If a tag switch is pending this routine returns the tag before 1307 * Print a warning if a tag switch is pending for this core 1309 * @function: Function name checking for a pending tag switch 1343 * so the caller must ensure that there is not a pending tag switch. 1390 /* Must not have a switch pending when requesting work */ cvmx_pow_work_request_sync() 1411 /* Must not have a switch pending when requesting work */ cvmx_pow_work_request_null_rd() 1429 * there is not a pending tag switch. 1473 /* Must not have a switch pending when requesting work */ cvmx_pow_work_request_async() 1522 * be used for switches to NULL, as the tag switch pending bit will be 1586 * be used for switches to NULL, as the tag switch pending bit will be 1613 * Ensure that there is not a pending tag switch, as a tag cvmx_pow_tag_sw() 1615 * pending. cvmx_pow_tag_sw() 1627 * be used for switches to NULL, as the tag switch pending bit will be 1701 * be used for switches to NULL, as the tag switch pending bit will be 1706 * This function waits for any pending tag switches to complete 1723 * Ensure that there is not a pending tag switch, as a tag cvmx_pow_tag_sw_full() 1725 * pending. cvmx_pow_tag_sw_full() 1774 * This function waits for any pending tag switches to complete 1783 * Ensure that there is not a pending tag switch, as a tag cvmx_pow_tag_sw_null() 1785 * pending. cvmx_pow_tag_sw_null() 1922 * - If there are no switches pending at the time that the 1931 * - If there is a pending switch to ORDERED at the time 1941 * Note that since there are never any tag switches pending 1988 * since TAG3 is used, this store will clear the local pending cvmx_pow_tag_sw_desched_nocheck() 2000 * calling code may call this function with a pending tag switch. 2005 * - If there are no switches pending at the time that the 2014 * - If there is a pending switch to ORDERED at the time 2024 * Note that since there are never any tag switches pending 2045 * Ensure that there is not a pending tag switch, as a tag cvmx_pow_tag_sw_desched() 2047 * pending. cvmx_pow_tag_sw_desched() 2088 * since TAG3 is used, this store will clear the local pending cvmx_pow_desched()
|
H A D | cvmx-mdio.h | 318 } while (smi_rd.s.pending && timeout--); cvmx_mdio_read() 361 } while (smi_wr.s.pending && --timeout); cvmx_mdio_write() 407 } while (smi_wr.s.pending && --timeout); cvmx_mdio_45_read() 424 } while (smi_rd.s.pending && --timeout); cvmx_mdio_45_read() 482 } while (smi_wr.s.pending && --timeout); cvmx_mdio_45_write() 499 } while (smi_wr.s.pending && --timeout); cvmx_mdio_45_write()
|
H A D | cvmx-smix-defs.h | 299 uint64_t pending:1; member in struct:cvmx_smix_rd_dat::cvmx_smix_rd_dat_s 305 uint64_t pending:1; 334 uint64_t pending:1; member in struct:cvmx_smix_wr_dat::cvmx_smix_wr_dat_s 340 uint64_t pending:1;
|
/linux-4.4.14/virt/kvm/arm/ |
H A D | vgic.c | 44 * something is pending on the CPU interface. 45 * - Interrupts that are pending on the distributor are stored on the 76 * - Note that level-triggered interrupts can also be set to pending from 519 /* Mark both level and edge triggered irqs as pending */ vgic_handle_set_pending_reg() 525 /* Set the soft-pending flag only for level-triggered irqs */ vgic_handle_set_pending_reg() 569 /* Clear soft-pending flags */ vgic_handle_clear_pending_reg() 685 * vgic_unqueue_irqs - move pending/active IRQs from LRs to the distributor 705 * 01: pending vgic_unqueue_irqs() 707 * 11: pending and active vgic_unqueue_irqs() 711 /* Reestablish SGI source for pending and active IRQs */ vgic_unqueue_irqs() 716 * If the LR holds an active (10) or a pending and active (11) vgic_unqueue_irqs() 724 * Reestablish the pending state on the distributor and the vgic_unqueue_irqs() 971 unsigned long *pending, *enabled, *pend_percpu, *pend_shared; compute_pending_for_cpu() local 986 pending = vgic_bitmap_get_cpu_map(&dist->irq_pending, vcpu_id); compute_pending_for_cpu() 988 bitmap_and(pend_percpu, pending, enabled, VGIC_NR_PRIVATE_IRQS); compute_pending_for_cpu() 990 pending = vgic_bitmap_get_shared_map(&dist->irq_pending); compute_pending_for_cpu() 992 bitmap_and(pend_shared, pending, enabled, nr_shared); compute_pending_for_cpu() 1004 * Update the interrupt state and determine which CPUs have pending 1087 * We must transfer the pending state back to the distributor before vgic_retire_lr() 1121 * An interrupt may have been disabled after being made pending on the 1154 kvm_debug("Set pending: 0x%x\n", vlr.state); vgic_queue_irq_to_lr() 1246 * Fill the list registers with pending interrupts before running the 1268 * We may not have any pending interrupt, or the interrupts __kvm_vgic_flush_hwstate() 1304 * us. Claim we don't have anything pending. We'll 1314 int pending = 0; process_queued_irq() local 1319 * also ACKed and we we therefore assume we can clear the soft pending process_queued_irq() 1322 * Note: if the IRQ soft pending state was set after the IRQ was process_queued_irq() 1324 * knowing that unless we start trapping ACKs when the soft-pending process_queued_irq() 1334 /* Any additional pending interrupt? */ process_queued_irq() 1337 pending = vgic_dist_irq_is_pending(vcpu, vlr.irq); process_queued_irq() 1341 pending = 1; process_queued_irq() 1356 return pending; process_queued_irq() 1404 * pending signals and vmid rollovers), then make sure we don't pick vgic_process_maintenance() 1415 * Return true if there's a pending forwarded interrupt to queue. 1440 int lr, pending; __kvm_vgic_sync_hwstate() local 1456 pending = find_first_zero_bit(elrsr_ptr, vgic->nr_lr); __kvm_vgic_sync_hwstate() 1457 if (level_pending || pending < vgic->nr_lr) __kvm_vgic_sync_hwstate()
|
/linux-4.4.14/drivers/isdn/mISDN/ |
H A D | timerdev.c | 36 struct list_head pending; member in struct:mISDNtimerdev 61 INIT_LIST_HEAD(&dev->pending); mISDN_open() 74 struct list_head *list = &dev->pending; mISDN_close() 195 list_add_tail(&timer->list, &dev->pending); misdn_add_timer() 209 list_for_each_entry(timer, &dev->pending, list) { misdn_del_timer()
|
/linux-4.4.14/drivers/net/phy/ |
H A D | mdio-octeon.c | 86 OCT_MDIO_BITFIELD_FIELD(u64 pending:1, 97 OCT_MDIO_BITFIELD_FIELD(u64 pending:1, 176 } while (smi_wr.s.pending && --timeout); octeon_mdiobus_c45_addr() 215 } while (smi_rd.s.pending && --timeout); octeon_mdiobus_read() 260 } while (smi_wr.s.pending && --timeout); octeon_mdiobus_write()
|
/linux-4.4.14/include/net/ |
H A D | af_vsock.h | 54 /* Used for pending list and accept queue during connection handshake. 56 * for connection requests are placed in the pending list until they 170 void vsock_release_pending(struct sock *pending); 171 void vsock_add_pending(struct sock *listener, struct sock *pending); 172 void vsock_remove_pending(struct sock *listener, struct sock *pending);
|
H A D | inet_connection_sock.h | 113 __u8 pending; /* ACK is pending */ member in struct:inet_connection_sock::__anon13416 176 inet_csk(sk)->icsk_ack.pending |= ICSK_ACK_SCHED; inet_csk_schedule_ack() 181 return inet_csk(sk)->icsk_ack.pending & ICSK_ACK_SCHED; inet_csk_ack_scheduled() 206 icsk->icsk_ack.blocked = icsk->icsk_ack.pending = 0; inet_csk_clear_xmit_timer() 241 icsk->icsk_ack.pending |= ICSK_ACK_TIMER; inet_csk_reset_xmit_timer()
|
H A D | atmclip.h | 39 pending */
|
/linux-4.4.14/arch/mips/dec/ |
H A D | int-handler.S | 42 * and moving across all the pending IRQ bits in the cause 44 * pending IRQ so optimize in that direction. 121 * then we just return. If multiple IRQs are pending then we will 129 * Get pending Interrupts 131 mfc0 t0,CP0_CAUSE # get pending interrupts
|
/linux-4.4.14/arch/mips/emma/markeins/ |
H A D | irq.c | 295 unsigned int pending = read_c0_status() & read_c0_cause() & ST0_IM; plat_irq_dispatch() local 297 if (pending & STATUSF_IP7) plat_irq_dispatch() 299 else if (pending & STATUSF_IP2) plat_irq_dispatch() 301 else if (pending & STATUSF_IP1) plat_irq_dispatch() 303 else if (pending & STATUSF_IP0) plat_irq_dispatch()
|
/linux-4.4.14/drivers/staging/unisys/visorhba/ |
H A D | visorhba_main.c | 122 struct scsipending pending[MAX_PENDING_REQUESTS]; member in struct:visorhba_devdata 123 /* Start search for next pending free slot here */ 180 * add_scsipending_entry - save off io command that is pending in 183 * @cmdtype: Specifies the type of command pending 201 while (devdata->pending[insert_location].sent) { add_scsipending_entry() 209 entry = &devdata->pending[insert_location]; add_scsipending_entry() 223 * del_scsipending_enty - removes an entry from the pending array 224 * @devdata: Device holding the pending array 238 sent = devdata->pending[del].sent; del_scsipending_ent() 240 devdata->pending[del].cmdtype = 0; del_scsipending_ent() 241 devdata->pending[del].sent = NULL; del_scsipending_ent() 249 * get_scsipending_cmdrsp - return the cmdrsp stored in a pending entry 250 * #ddata: Device holding the pending array 260 if (ddata->pending[ent].sent) get_scsipending_cmdrsp() 261 return &ddata->pending[ent].cmdrsp; get_scsipending_cmdrsp() 478 /* save the pending insertion location. Deletion from pending visorhba_queue_command_lck() 676 * queue, fail pending IOs. 695 pendingdel = &devdata->pending[i]; visorhba_serverdown_complete()
|
/linux-4.4.14/drivers/tty/ |
H A D | mxser.h | 110 /* GDA interrupt pending */ 116 /* received Xon/Xoff or specical interrupt pending */ 119 /* RTS/CTS change state interrupt pending */
|
/linux-4.4.14/drivers/rtc/ |
H A D | rtc-sh.c | 107 unsigned int tmp, pending; __sh_rtc_interrupt() local 110 pending = tmp & RCR1_CF; __sh_rtc_interrupt() 115 if (pending && rtc->periodic_freq & PF_OXS) __sh_rtc_interrupt() 118 return pending; __sh_rtc_interrupt() 123 unsigned int tmp, pending; __sh_rtc_alarm() local 126 pending = tmp & RCR1_AF; __sh_rtc_alarm() 130 if (pending) __sh_rtc_alarm() 133 return pending; __sh_rtc_alarm() 140 unsigned int tmp, pending; __sh_rtc_periodic() local 143 pending = tmp & RCR2_PEF; __sh_rtc_periodic() 147 if (!pending) __sh_rtc_periodic() 166 return pending; __sh_rtc_periodic()
|
H A D | rtc-pcf8563.c | 185 char pending; pcf8563_irq() local 187 err = pcf8563_get_alarm_mode(pcf8563->client, NULL, &pending); pcf8563_irq() 191 if (pending) { pcf8563_irq() 355 err = pcf8563_get_alarm_mode(client, &tm->enabled, &tm->pending); pcf8563_rtc_read_alarm() 360 " enabled=%d, pending=%d\n", __func__, tm->time.tm_min, pcf8563_rtc_read_alarm() 362 tm->enabled, tm->pending); pcf8563_rtc_read_alarm() 382 "enabled=%d pending=%d\n", __func__, pcf8563_rtc_set_alarm() 384 tm->time.tm_mday, tm->enabled, tm->pending); pcf8563_rtc_set_alarm()
|
H A D | rtc-mc13xxx.c | 162 int enabled, pending; mc13xxx_rtc_read_alarm() local 180 &enabled, &pending); mc13xxx_rtc_read_alarm() 189 alarm->pending = pending; mc13xxx_rtc_read_alarm()
|
/linux-4.4.14/drivers/isdn/hisax/ |
H A D | bkm_ax.h | 68 #define guestADI1_INT_S 0x20000000 /* ADI #1 int pending (low) */ 69 #define guestADI2_INT_S 0x40000000 /* ADI #2 int pending (low) */ 70 #define guestISDN_INT_S 0x80000000 /* ISAC int pending (low) */
|
/linux-4.4.14/drivers/misc/vmw_vmci/ |
H A D | vmci_context.h | 78 /* Doorbells pending for context. */ 109 * VMCINotificationReceiveInfo: Used to recieve pending notifications 143 int vmci_ctx_pending_datagrams(u32 cid, u32 *pending);
|
H A D | vmci_datagram.h | 29 * content is accessed while holding a spinlock. The pending datagram
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
H A D | base.c | 39 /* move any due alarms off the pending list */ nvkm_timer_alarm_trigger() 55 /* execute any pending alarm handlers */ nvkm_timer_alarm_trigger() 84 /* process pending alarms */ nvkm_timer_alarm()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_spq.c | 415 INIT_LIST_HEAD(&p_spq->pending); qed_spq_setup() 540 p_ent->queue = &p_spq->pending; qed_spq_get_entry() 566 * @brief qed_spq_add_entry - adds a new entry to the pending 569 * Addes an entry to the pending list is there is room (en empty 615 /* entry is to be placed in 'pending' queue */ qed_spq_add_entry() 618 list_add_tail(&p_ent->list, &p_spq->pending); qed_spq_add_entry() 622 list_add(&p_ent->list, &p_spq->pending); qed_spq_add_entry() 691 return qed_spq_post_list(p_hwfn, &p_spq->pending, qed_spq_pend_post() 720 /* Add the request to the pending queue */ qed_spq_post() 727 /* Since it's possible that pending failed for a different qed_spq_post() 817 "Got completion for echo %04x - doesn't match echo %04x in completion pending list\n", qed_spq_completion() 843 /* Attempt to post pending requests */ qed_spq_completion()
|
/linux-4.4.14/include/xen/ |
H A D | events.h | 72 /* Clear an irq's pending state, in preparation for polling on it */ 77 /* Poll waiting for an irq to become pending. In the usual case, the 81 /* Poll waiting for an irq to become pending with a timeout. In the usual case,
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_drv.h | 140 * @wait_update: wait all pending planes updates to finish 141 * @pending_update: number of pending plane updates in this crtc 177 * @pending: the crtcs that have pending updates to finish 178 * @lock: protect access to @pending 197 u32 pending; member in struct:exynos_drm_private
|
/linux-4.4.14/drivers/scsi/ |
H A D | sun3_scsi.h | 83 #define CSR_SDB_INT 0x200 /* sbc interrupt pending */ 84 #define CSR_DMA_INT 0x100 /* dma interrupt pending */
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
H A D | nouveau_fence.c | 96 while (!list_empty(&fctx->pending)) { nouveau_fence_context_del() 97 fence = list_entry(fctx->pending.next, typeof(*fence), head); nouveau_fence_context_del() 133 while (!list_empty(&fctx->pending)) { nouveau_fence_update() 134 fence = list_entry(fctx->pending.next, typeof(*fence), head); nouveau_fence_update() 154 if (!list_empty(&fctx->pending)) { nouveau_fence_wait_uevent_handler() 158 fence = list_entry(fctx->pending.next, typeof(*fence), head); nouveau_fence_wait_uevent_handler() 176 INIT_LIST_HEAD(&fctx->pending); nouveau_fence_context_new() 284 list_add_tail(&fence->head, &fctx->pending); nouveau_fence_emit()
|
/linux-4.4.14/arch/xtensa/include/asm/ |
H A D | thread_info.h | 104 * - pending work-to-be-done flags are in LSW 108 #define TIF_SIGPENDING 1 /* signal pending */
|
/linux-4.4.14/arch/alpha/include/asm/ |
H A D | thread_info.h | 57 * - pending work-to-be-done flags come first and must be assigned to be 64 #define TIF_SIGPENDING 2 /* signal pending */
|
/linux-4.4.14/arch/arc/include/asm/ |
H A D | thread_info.h | 80 * - pending work-to-be-done flags are in LSW 85 #define TIF_SIGPENDING 2 /* signal pending */
|
/linux-4.4.14/include/xen/interface/ |
H A D | sched.h | 38 * reenable event delivery and check for pending events before blocking the 55 * Poll a set of event-channel ports. Return when one or more are pending. An
|
/linux-4.4.14/include/net/iucv/ |
H A D | af_iucv.h | 87 /* transfer pending queue full */ 91 /* transmission of skb is pending - may interleave
|
/linux-4.4.14/include/linux/ceph/ |
H A D | mon_client.h | 34 /* a pending monitor request */ 74 /* pending generic requests */
|
/linux-4.4.14/include/linux/mtd/ |
H A D | xip.h | 42 * return non zero when any hardware interrupt is pending. 86 * to save power and to be woken up only when some interrupts are pending.
|
/linux-4.4.14/arch/mips/include/asm/sn/sn0/ |
H A D | hubpi.h | 70 #define PI_INT_PEND_MOD 0x000090 /* Write to set pending ints */ 71 #define PI_INT_PEND0 0x000098 /* Read to get pending ints */ 72 #define PI_INT_PEND1 0x0000a0 /* Read to get pending ints */ 96 #define PI_RT_PEND_A 0x000120 /* Set if RT int for A pending */ 97 #define PI_RT_PEND_B 0x000128 /* Set if RT int for B pending */ 98 #define PI_PROF_PEND_A 0x000130 /* Set if Prof int for A pending */ 99 #define PI_PROF_PEND_B 0x000138 /* Set if Prof int for B pending */ 374 /* Interrupt pending bits on R10000 */
|
/linux-4.4.14/arch/metag/include/asm/ |
H A D | thread_info.h | 102 * - pending work-to-be-done flags are in LSW 106 #define TIF_SIGPENDING 1 /* signal pending */
|
/linux-4.4.14/arch/nios2/include/asm/ |
H A D | thread_info.h | 82 * - pending work-to-be-done flags are in LSW 87 #define TIF_SIGPENDING 2 /* signal pending */
|
/linux-4.4.14/arch/openrisc/include/asm/ |
H A D | thread_info.h | 97 * - pending work-to-be-done flags are in LSW 102 #define TIF_SIGPENDING 2 /* signal pending */
|
/linux-4.4.14/arch/frv/include/asm/ |
H A D | thread_info.h | 80 * - pending work-to-be-done flags are in LSW 85 #define TIF_SIGPENDING 2 /* signal pending */
|
/linux-4.4.14/arch/hexagon/include/asm/ |
H A D | thread_info.h | 104 * - pending work-to-be-done flags are in LSW 110 #define TIF_SIGPENDING 2 /* signal pending */
|
/linux-4.4.14/arch/m32r/include/asm/ |
H A D | thread_info.h | 95 * - pending work-to-be-done flags are in LSW 99 #define TIF_SIGPENDING 1 /* signal pending */
|
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_kernel_queue.h | 42 * pending write pointer to that location so subsequent calls to 51 * packet for some reason. It just overwrites the pending wptr with the current
|
/linux-4.4.14/drivers/net/wireless/ath/ath5k/ |
H A D | dma.c | 184 * have any pending frames. Returns -EBUSY if we still have pending frames, 191 u32 tx_queue, pending; ath5k_hw_stop_tx_dma() local 226 * flush any pending frames from QCU ath5k_hw_stop_tx_dma() 246 /* Check for pending frames */ ath5k_hw_stop_tx_dma() 249 pending = ath5k_hw_reg_read(ah, ath5k_hw_stop_tx_dma() 253 } while (--i && pending); ath5k_hw_stop_tx_dma() 258 pending) { ath5k_hw_stop_tx_dma() 282 /* Re-check for pending frames */ ath5k_hw_stop_tx_dma() 285 pending = ath5k_hw_reg_read(ah, ath5k_hw_stop_tx_dma() 289 } while (--i && pending); ath5k_hw_stop_tx_dma() 294 if (pending) ath5k_hw_stop_tx_dma() 308 if (pending) { ath5k_hw_stop_tx_dma() 311 queue, pending); ath5k_hw_stop_tx_dma() 499 * ath5k_hw_is_intr_pending() - Check if we have pending interrupts 502 * Check if we have pending interrupts to process. Returns 1 if we 503 * have pending interrupts and 0 if we haven't. 909 /* Clear any pending interrupts ath5k_hw_dma_stop()
|
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/ |
H A D | config.c | 420 struct list_head pending; lnet_str2tbs_sep() local 426 INIT_LIST_HEAD(&pending); lnet_str2tbs_sep() 443 lnet_free_text_bufs(&pending); lnet_str2tbs_sep() 455 list_add_tail(<b->ltb_list, &pending); lnet_str2tbs_sep() 471 list_splice(&pending, tbs->prev); lnet_str2tbs_sep() 504 struct list_head pending; lnet_str2tbs_expand() local 516 INIT_LIST_HEAD(&pending); lnet_str2tbs_expand() 542 &pending, str, sep, sep2, lnet_str2tbs_expand() 570 if (lnet_expand1tb(&pending, str, sep, sep2, lnet_str2tbs_expand() 576 list_splice(&pending, tbs->prev); lnet_str2tbs_expand() 580 lnet_free_text_bufs(&pending); lnet_str2tbs_expand()
|
/linux-4.4.14/drivers/net/can/softing/ |
H A D | softing_main.c | 80 (card->tx.pending >= TXMAX) || softing_netdev_start_xmit() 81 (priv->tx.pending >= TX_ECHO_SKB_MAX)) softing_netdev_start_xmit() 116 ++card->tx.pending; softing_netdev_start_xmit() 117 ++priv->tx.pending; softing_netdev_start_xmit() 126 if (card->tx.pending >= TXMAX) { softing_netdev_start_xmit() 302 if (priv->tx.pending) softing_handle_1() 303 --priv->tx.pending; softing_handle_1() 304 if (card->tx.pending) softing_handle_1() 305 --card->tx.pending; softing_handle_1() 346 if (card->tx.pending >= TXMAX) softing_irq_thread() 355 if (priv->tx.pending >= TX_ECHO_SKB_MAX) softing_irq_thread()
|
/linux-4.4.14/drivers/isdn/gigaset/ |
H A D | bas-gigaset.c | 118 int pending; /* uncompleted base request */ member in struct:bas_cardstate 207 return "URB still pending"; get_usb_statmsg() 371 * check for completion of pending control request 380 switch (ucs->pending) { check_pending() 385 ucs->pending = 0; check_pending() 389 ucs->pending = 0; check_pending() 393 ucs->pending = 0; check_pending() 397 ucs->pending = 0; check_pending() 401 ucs->pending = 0; check_pending() 405 ucs->pending = 0; check_pending() 408 ucs->pending = 0; check_pending() 412 ucs->pending = 0; check_pending() 420 "unknown pending request 0x%02x cleared\n", check_pending() 421 ucs->pending); check_pending() 422 ucs->pending = 0; check_pending() 425 if (!ucs->pending) check_pending() 510 case -EINPROGRESS: /* pending */ read_ctrl_callback() 548 * -EBUSY if another request is pending 691 case -EINPROGRESS: /* pending */ read_int_callback() 1448 int pending; req_timeout() local 1454 pending = ucs->pending; req_timeout() 1455 ucs->pending = 0; req_timeout() 1458 switch (pending) { req_timeout() 1459 case 0: /* no pending request */ req_timeout() 1460 gig_dbg(DEBUG_USBREQ, "%s: no request pending", __func__); req_timeout() 1502 pending); req_timeout() 1526 switch (ucs->pending) { write_ctrl_callback() 1529 ucs->pending = 0; write_ctrl_callback() 1537 case -EINPROGRESS: /* pending */ write_ctrl_callback() 1572 /* failed, clear pending request */ write_ctrl_callback() 1575 ucs->pending = 0; write_ctrl_callback() 1590 * -EBUSY if another request is pending 1602 if (ucs->pending) { req_submit() 1606 "request 0x%02x still pending\n", req_submit() 1607 req, ucs->pending); req_submit() 1628 ucs->pending = req; req_submit() 1790 case -EINPROGRESS: /* pending */ write_command_callback() 1860 * -EBUSY if another request is pending 1991 * The subsequent AT channel close then discards any pending gigaset_write_cmd() 2221 ucs->pending = 0; gigaset_initcshw() 2498 wait_event_timeout(ucs->waitqueue, !ucs->pending, gigaset_suspend() 2503 /* kill all URBs and delayed work that might still be pending */ gigaset_suspend()
|
/linux-4.4.14/drivers/gpu/drm/sti/ |
H A D | sti_mixer.h | 31 * @pending_event: set if a flip event is pending on crtc
|
/linux-4.4.14/drivers/media/pci/cx23885/ |
H A D | cx23885-av.c | 33 then probbaly flatiron does have pending interrupts. cx23885_av_work_handler()
|
/linux-4.4.14/drivers/net/wireless/libertas/ |
H A D | if_usb.h | 55 /* bootcmdresp == 0 means command is pending
|
/linux-4.4.14/drivers/parisc/ |
H A D | gsc.h | 15 #define OFFSET_IPR 0x0008 /* Interrupt pending register */
|
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_iq.h | 110 /** This field keeps track of the instructions pending in this queue. */ 126 /** Number of instructions pending to be posted to Octeon. */ 129 /** The max. number of instructions that can be held pending by the 250 /** List structure to add delete pending entries to */
|
/linux-4.4.14/drivers/clocksource/ |
H A D | timer-atmel-st.c | 112 /* Disable and flush pending timer interrupts */ clkdev32k_disable_and_flush_irq() 171 /* Cancel any pending alarm; flush any pending IRQ */ clkevt32k_next_event() 207 /* Disable all timer interrupts, and clear any pending ones */ atmel_st_timer_init()
|
/linux-4.4.14/drivers/gpu/drm/msm/ |
H A D | msm_atomic.c | 32 /* block until specified crtcs are no longer pending update, and 33 * atomically mark them as pending update 51 /* clear specified crtcs (no longer pending update) 246 * Wait for pending updates on any of the same crtc's and then msm_atomic_commit()
|
/linux-4.4.14/arch/tile/include/hv/ |
H A D | drv_srom_intf.h | 32 /** Write this offset to flush any pending writes. */
|
/linux-4.4.14/arch/um/drivers/ |
H A D | port_kern.c | 26 struct list_head pending; member in struct:port_list 113 list_add(&conn->list, &port->pending); port_accept() 197 .pending = LIST_HEAD_INIT(port->pending), port_data()
|
/linux-4.4.14/arch/um/include/asm/ |
H A D | thread_info.h | 58 #define TIF_SIGPENDING 1 /* signal pending */
|
/linux-4.4.14/arch/alpha/kernel/ |
H A D | irq_pyxis.c | 99 /* Send -INTA pulses to clear any pending interrupts ...*/ init_pyxis_irqs()
|
/linux-4.4.14/fs/squashfs/ |
H A D | squashfs_fs_sb.h | 47 int pending; member in struct:squashfs_cache_entry
|
/linux-4.4.14/include/uapi/asm-generic/ |
H A D | resource.h | 42 #define RLIMIT_SIGPENDING 11 /* max number of pending signals */
|
/linux-4.4.14/arch/powerpc/sysdev/ |
H A D | ipic.h | 50 u8 ack; /* pending register offset from base if the irq
|
/linux-4.4.14/arch/mips/include/asm/netlogic/xlr/ |
H A D | fmn.h | 283 * Make sure that all the writes pending at the cpu are flushed. nlm_fmn_send() 284 * Any writes pending on CPU will not be see by devices. L1/L2 nlm_fmn_send() 305 pr_info("Send pending fail!\n"); nlm_fmn_send() 321 /* wait for load pending to clear */ nlm_fmn_receive()
|
/linux-4.4.14/arch/mips/include/uapi/asm/ |
H A D | termbits.h | 203 #define PENDIN 0040000 /* Retype pending input (state). */ 220 #define TCIOFLUSH 2 /* Discard all pending data. */ 224 #define TCSADRAIN TCSETSW /* Change when pending output is written. */ 225 #define TCSAFLUSH TCSETSF /* Flush pending input before changing. */
|
/linux-4.4.14/arch/s390/include/uapi/asm/ |
H A D | cmb.h | 13 * @function_pending_time: time of function pending
|
/linux-4.4.14/arch/s390/kernel/ |
H A D | vtime.c | 164 * In s390, accounting pending user time also implies 352 * returns whether it has modified a pending timer (1) or not (0) 361 * returns whether it has modified a pending timer (1) or not (0) 372 * returns whether the deleted timer was pending (1) or not (0)
|
/linux-4.4.14/arch/m68k/sun3x/ |
H A D | time.c | 84 /* Clear the pending interrupt - pulse the enable line low */
|
/linux-4.4.14/arch/parisc/include/asm/ |
H A D | thread_info.h | 47 #define TIF_SIGPENDING 1 /* signal pending */
|
/linux-4.4.14/arch/arm/mach-omap1/include/mach/ |
H A D | mtd-xip.h | 55 * to save power and to be woken up only when some interrupts are pending.
|