/linux-4.4.14/arch/mips/pmcs-msp71xx/ |
D | msp_irq.c | 57 u32 pending; in plat_irq_dispatch() local 59 pending = read_c0_status() & read_c0_cause(); in plat_irq_dispatch() 68 if (pending & C_IRQ4) /* do the peripherals first, that's the timer */ in plat_irq_dispatch() 71 else if (pending & C_IRQ0) in plat_irq_dispatch() 74 else if (pending & C_IRQ1) in plat_irq_dispatch() 77 else if (pending & C_IRQ2) in plat_irq_dispatch() 80 else if (pending & C_IRQ3) in plat_irq_dispatch() 83 else if (pending & C_IRQ5) in plat_irq_dispatch() 87 if (pending & C_IRQ5) in plat_irq_dispatch() 90 else if (pending & C_IRQ0) in plat_irq_dispatch() [all …]
|
D | msp_irq_slp.c | 85 u32 pending; in msp_slp_irq_dispatch() local 89 pending = *SLP_INT_STS_REG & *SLP_INT_MSK_REG; in msp_slp_irq_dispatch() 92 if (pending == (1 << (MSP_INT_PER - MSP_SLP_INTBASE))) { in msp_slp_irq_dispatch() 94 pending = *PER_INT_STS_REG & *PER_INT_MSK_REG; in msp_slp_irq_dispatch() 98 if (pending == 0x00000000) { in msp_slp_irq_dispatch() 105 do_IRQ(ffs(pending) + intbase - 1); in msp_slp_irq_dispatch()
|
D | msp_irq_cic.c | 197 u32 pending; in msp_cic_irq_dispatch() local 200 pending = cic_status & cic_mask; in msp_cic_irq_dispatch() 201 if (pending & (1 << (MSP_INT_VPE0_TIMER - MSP_CIC_INTBASE))) { in msp_cic_irq_dispatch() 203 } else if (pending & (1 << (MSP_INT_VPE1_TIMER - MSP_CIC_INTBASE))) { in msp_cic_irq_dispatch() 205 } else if (pending & (1 << (MSP_INT_PER - MSP_CIC_INTBASE))) { in msp_cic_irq_dispatch() 207 } else if (pending) { in msp_cic_irq_dispatch() 208 do_IRQ(ffs(pending) + MSP_CIC_INTBASE - 1); in msp_cic_irq_dispatch()
|
D | msp_irq_per.c | 123 u32 pending; in msp_per_irq_dispatch() local 125 pending = per_status & per_mask; in msp_per_irq_dispatch() 126 if (pending) { in msp_per_irq_dispatch() 127 do_IRQ(ffs(pending) + MSP_PER_INTBASE - 1); in msp_per_irq_dispatch()
|
/linux-4.4.14/drivers/staging/fwserial/ |
D | dma_fifo.c | 50 INIT_LIST_HEAD(&fifo->pending); in dma_fifo_init() 107 struct dma_pending *pending, *next; in dma_fifo_free() local 112 list_for_each_entry_safe(pending, next, &fifo->pending, link) in dma_fifo_free() 113 list_del_init(&pending->link); in dma_fifo_free() 124 struct dma_pending *pending, *next; in dma_fifo_reset() local 129 list_for_each_entry_safe(pending, next, &fifo->pending, link) in dma_fifo_reset() 130 list_del_init(&pending->link); in dma_fifo_reset() 231 list_add_tail(&pended->link, &fifo->pending); in dma_fifo_out_pend() 253 struct dma_pending *pending, *next, *tmp; in dma_fifo_out_complete() local 259 if (list_empty(&fifo->pending) && fifo->open == 0) in dma_fifo_out_complete() [all …]
|
D | dma_fifo.h | 62 struct list_head pending; /* fifo markers for outstanding dma */ member
|
/linux-4.4.14/arch/mips/sni/ |
D | pcit.c | 183 u32 pending = *(volatile u32 *)SNI_PCIT_INT_REG; in pcit_hwint1() local 187 irq = ffs((pending >> 16) & 0x7f); in pcit_hwint1() 196 u32 pending = *(volatile u32 *)SNI_PCIT_INT_REG; in pcit_hwint0() local 200 irq = ffs((pending >> 16) & 0x3f); in pcit_hwint0() 209 u32 pending = read_c0_cause() & read_c0_status(); in sni_pcit_hwint() local 211 if (pending & C_IRQ1) in sni_pcit_hwint() 213 else if (pending & C_IRQ2) in sni_pcit_hwint() 215 else if (pending & C_IRQ3) in sni_pcit_hwint() 217 else if (pending & C_IRQ5) in sni_pcit_hwint() 223 u32 pending = read_c0_cause() & read_c0_status(); in sni_pcit_hwint_cplus() local [all …]
|
D | pcimt.c | 278 u32 pending = read_c0_cause() & read_c0_status(); in sni_pcimt_hwint() local 280 if (pending & C_IRQ5) in sni_pcimt_hwint() 282 else if (pending & C_IRQ4) in sni_pcimt_hwint() 284 else if (pending & C_IRQ3) in sni_pcimt_hwint() 286 else if (pending & C_IRQ1) in sni_pcimt_hwint() 288 else if (pending & C_IRQ0) { in sni_pcimt_hwint()
|
D | rm200.c | 452 u32 pending = read_c0_cause() & read_c0_status(); in sni_rm200_hwint() local 457 if (pending & C_IRQ5) in sni_rm200_hwint() 459 else if (pending & C_IRQ0) { in sni_rm200_hwint()
|
/linux-4.4.14/arch/mips/vr41xx/common/ |
D | irq.c | 98 unsigned int pending = read_c0_cause() & read_c0_status() & ST0_IM; in plat_irq_dispatch() local 100 if (pending & CAUSEF_IP7) in plat_irq_dispatch() 102 else if (pending & 0x7800) { in plat_irq_dispatch() 103 if (pending & CAUSEF_IP3) in plat_irq_dispatch() 105 else if (pending & CAUSEF_IP4) in plat_irq_dispatch() 107 else if (pending & CAUSEF_IP5) in plat_irq_dispatch() 109 else if (pending & CAUSEF_IP6) in plat_irq_dispatch() 111 } else if (pending & CAUSEF_IP2) in plat_irq_dispatch() 113 else if (pending & CAUSEF_IP0) in plat_irq_dispatch() 115 else if (pending & CAUSEF_IP1) in plat_irq_dispatch()
|
/linux-4.4.14/arch/mips/cobalt/ |
D | irq.c | 25 unsigned pending = read_c0_status() & read_c0_cause() & ST0_IM; in plat_irq_dispatch() local 28 if (pending & CAUSEF_IP2) in plat_irq_dispatch() 30 else if (pending & CAUSEF_IP6) { in plat_irq_dispatch() 36 } else if (pending & CAUSEF_IP3) in plat_irq_dispatch() 38 else if (pending & CAUSEF_IP4) in plat_irq_dispatch() 40 else if (pending & CAUSEF_IP5) in plat_irq_dispatch() 42 else if (pending & CAUSEF_IP7) in plat_irq_dispatch()
|
/linux-4.4.14/drivers/gpu/drm/qxl/ |
D | qxl_irq.c | 32 uint32_t pending; in qxl_irq_handler() local 34 pending = xchg(&qdev->ram_header->int_pending, 0); in qxl_irq_handler() 36 if (!pending) in qxl_irq_handler() 41 if (pending & QXL_INTERRUPT_DISPLAY) { in qxl_irq_handler() 46 if (pending & QXL_INTERRUPT_CURSOR) { in qxl_irq_handler() 50 if (pending & QXL_INTERRUPT_IO_CMD) { in qxl_irq_handler() 54 if (pending & QXL_INTERRUPT_ERROR) { in qxl_irq_handler() 62 if (pending & QXL_INTERRUPT_CLIENT_MONITORS_CONFIG) { in qxl_irq_handler()
|
/linux-4.4.14/arch/mips/ralink/ |
D | irq.c | 101 u32 pending = rt_intc_r32(INTC_REG_STATUS0); in ralink_intc_irq_handler() local 103 if (pending) { in ralink_intc_irq_handler() 105 generic_handle_irq(irq_find_mapping(domain, __ffs(pending))); in ralink_intc_irq_handler() 113 unsigned long pending; in plat_irq_dispatch() local 115 pending = read_c0_status() & read_c0_cause() & ST0_IM; in plat_irq_dispatch() 117 if (pending & STATUSF_IP7) in plat_irq_dispatch() 120 else if (pending & STATUSF_IP5) in plat_irq_dispatch() 123 else if (pending & STATUSF_IP6) in plat_irq_dispatch() 126 else if (pending & STATUSF_IP4) in plat_irq_dispatch() 129 else if (pending & STATUSF_IP2) in plat_irq_dispatch()
|
/linux-4.4.14/arch/mips/sibyte/sb1250/ |
D | irq.c | 144 u64 pending; in ack_sb1250_irq() local 152 pending = __raw_readq(IOADDR(A_IMR_REGISTER(sb1250_irq_owner[irq], in ack_sb1250_irq() 154 pending &= ((u64)1 << (irq)); in ack_sb1250_irq() 155 if (pending) { in ack_sb1250_irq() 168 __raw_writeq(pending, in ack_sb1250_irq() 309 unsigned int pending; in plat_irq_dispatch() local 321 pending = read_c0_cause() & read_c0_status() & ST0_IM; in plat_irq_dispatch() 323 if (pending & CAUSEF_IP7) /* CPU performance counter interrupt */ in plat_irq_dispatch() 325 else if (pending & CAUSEF_IP4) in plat_irq_dispatch() 329 else if (pending & CAUSEF_IP3) in plat_irq_dispatch() [all …]
|
/linux-4.4.14/arch/mips/ath79/ |
D | irq.c | 32 u32 pending; in ath79_misc_irq_handler() local 34 pending = __raw_readl(base + AR71XX_RESET_REG_MISC_INT_STATUS) & in ath79_misc_irq_handler() 37 if (!pending) { in ath79_misc_irq_handler() 42 while (pending) { in ath79_misc_irq_handler() 43 int bit = __ffs(pending); in ath79_misc_irq_handler() 46 pending &= ~BIT(bit); in ath79_misc_irq_handler() 239 unsigned long pending; in plat_irq_dispatch() local 242 pending = read_c0_status() & read_c0_cause() & ST0_IM; in plat_irq_dispatch() 244 if (!pending) { in plat_irq_dispatch() 249 pending >>= CAUSEB_IP; in plat_irq_dispatch() [all …]
|
/linux-4.4.14/arch/mips/loongson64/fuloong-2e/ |
D | irq.c | 28 asmlinkage void mach_irq_dispatch(unsigned int pending) in mach_irq_dispatch() argument 30 if (pending & CAUSEF_IP7) in mach_irq_dispatch() 32 else if (pending & CAUSEF_IP6) /* perf counter loverflow */ in mach_irq_dispatch() 34 else if (pending & CAUSEF_IP5) in mach_irq_dispatch() 36 else if (pending & CAUSEF_IP2) in mach_irq_dispatch()
|
/linux-4.4.14/include/linux/ |
D | async.h | 21 struct list_head pending; member 29 struct async_domain _name = { .pending = LIST_HEAD_INIT(_name.pending), \ 37 struct async_domain _name = { .pending = LIST_HEAD_INIT(_name.pending), \
|
D | init_task.h | 233 .pending = { \ 234 .list = LIST_HEAD_INIT(tsk.pending.list), \
|
/linux-4.4.14/arch/mips/loongson32/common/ |
D | irq.c | 89 unsigned int pending; in plat_irq_dispatch() local 91 pending = read_c0_cause() & read_c0_status() & ST0_IM; in plat_irq_dispatch() 93 if (pending & CAUSEF_IP7) in plat_irq_dispatch() 95 else if (pending & CAUSEF_IP2) in plat_irq_dispatch() 97 else if (pending & CAUSEF_IP3) in plat_irq_dispatch() 99 else if (pending & CAUSEF_IP4) in plat_irq_dispatch() 101 else if (pending & CAUSEF_IP5) in plat_irq_dispatch() 103 else if (pending & CAUSEF_IP6) in plat_irq_dispatch()
|
/linux-4.4.14/arch/mips/sibyte/bcm1480/ |
D | irq.c | 156 u64 pending; in ack_bcm1480_irq() local 170 pending = __raw_readq(IOADDR(A_BCM1480_IMR_REGISTER(bcm1480_irq_owner[irq], in ack_bcm1480_irq() 172 pending &= ((u64)1 << (irq_dirty)); in ack_bcm1480_irq() 173 if (pending) { in ack_bcm1480_irq() 181 __raw_writeq(pending, IOADDR(A_BCM1480_IMR_REGISTER(cpu_logical_map(i), in ack_bcm1480_irq() 185 …__raw_writeq(pending, IOADDR(A_BCM1480_IMR_REGISTER(0, R_BCM1480_IMR_LDT_INTERRUPT_CLR_H + (k*BCM1… in ack_bcm1480_irq() 348 unsigned int pending; in plat_irq_dispatch() local 350 pending = read_c0_cause() & read_c0_status(); in plat_irq_dispatch() 352 if (pending & CAUSEF_IP4) in plat_irq_dispatch() 355 else if (pending & CAUSEF_IP3) in plat_irq_dispatch() [all …]
|
/linux-4.4.14/drivers/irqchip/ |
D | irq-mips-cpu.c | 105 unsigned long pending = read_c0_cause() & read_c0_status() & ST0_IM; in plat_irq_dispatch() local 108 if (!pending) { in plat_irq_dispatch() 113 pending >>= CAUSEB_IP; in plat_irq_dispatch() 114 while (pending) { in plat_irq_dispatch() 115 irq = fls(pending) - 1; in plat_irq_dispatch() 117 pending &= ~BIT(irq); in plat_irq_dispatch()
|
D | irq-keystone.c | 90 unsigned long pending; in keystone_irq_handler() local 97 pending = keystone_irq_readl(kirq); in keystone_irq_handler() 98 keystone_irq_writel(kirq, pending); in keystone_irq_handler() 100 dev_dbg(kirq->dev, "pending 0x%lx, mask 0x%x\n", pending, kirq->mask); in keystone_irq_handler() 102 pending = (pending >> BIT_OFS) & ~kirq->mask; in keystone_irq_handler() 104 dev_dbg(kirq->dev, "pending after mask 0x%lx\n", pending); in keystone_irq_handler() 107 if (BIT(src) & pending) { in keystone_irq_handler()
|
D | irq-mips-gic.c | 321 DECLARE_BITMAP(pending, GIC_MAX_INTRS); in gic_handle_shared_int() 331 pending[i] = gic_read(pending_reg); in gic_handle_shared_int() 339 pending[i] |= (u64)gic_read(pending_reg) << 32; in gic_handle_shared_int() 345 bitmap_and(pending, pending, intrmask, gic_shared_intrs); in gic_handle_shared_int() 346 bitmap_and(pending, pending, pcpu_mask, gic_shared_intrs); in gic_handle_shared_int() 348 intr = find_first_bit(pending, gic_shared_intrs); in gic_handle_shared_int() 358 bitmap_clear(pending, intr, 1); in gic_handle_shared_int() 359 intr = find_first_bit(pending, gic_shared_intrs); in gic_handle_shared_int() 486 unsigned long pending, masked; in gic_handle_local_int() local 489 pending = gic_read32(GIC_REG(VPE_LOCAL, GIC_VPE_PEND)); in gic_handle_local_int() [all …]
|
D | irq-bcm2835.c | 90 void __iomem *pending[NR_BANKS]; member 160 intc.pending[b] = base + reg_pending[b]; in armctrl_of_init() 209 u32 stat = readl_relaxed(intc.pending[bank]); in armctrl_translate_bank() 221 u32 stat = readl_relaxed(intc.pending[0]) & BANK0_VALID_MASK; in get_next_armctrl_hwirq()
|
D | irq-bcm7038-l1.c | 135 unsigned long pending, flags; in bcm7038_l1_irq_handle() local 139 pending = l1_readl(cpu->map_base + reg_status(intc, idx)) & in bcm7038_l1_irq_handle() 143 for_each_set_bit(hwirq, &pending, IRQS_PER_WORD) { in bcm7038_l1_irq_handle()
|
D | irq-bcm7120-l2.c | 72 unsigned long pending; in bcm7120_l2_intc_irq_handle() local 76 pending = irq_reg_readl(gc, b->stat_offset[idx]) & in bcm7120_l2_intc_irq_handle() 81 for_each_set_bit(hwirq, &pending, IRQS_PER_WORD) { in bcm7120_l2_intc_irq_handle()
|
/linux-4.4.14/drivers/uwb/ |
D | drp-avail.c | 53 bitmap_fill(rc->drp_avail.pending, UWB_NUM_MAS); in uwb_drp_avail_init() 64 bitmap_and(avail->bm, avail->bm, rc->drp_avail.pending, UWB_NUM_MAS); in uwb_drp_available() 82 bitmap_andnot(rc->drp_avail.pending, rc->drp_avail.pending, mas->bm, UWB_NUM_MAS); in uwb_drp_avail_reserve_pending() 93 bitmap_or(rc->drp_avail.pending, rc->drp_avail.pending, mas->bm, UWB_NUM_MAS); in uwb_drp_avail_reserve() 106 bitmap_or(rc->drp_avail.pending, rc->drp_avail.pending, mas->bm, UWB_NUM_MAS); in uwb_drp_avail_release()
|
/linux-4.4.14/arch/mips/loongson64/lemote-2f/ |
D | irq.c | 76 void mach_irq_dispatch(unsigned int pending) in mach_irq_dispatch() argument 78 if (pending & CAUSEF_IP7) in mach_irq_dispatch() 80 else if (pending & CAUSEF_IP6) { /* North Bridge, Perf counter */ in mach_irq_dispatch() 83 } else if (pending & CAUSEF_IP3) /* CPU UART */ in mach_irq_dispatch() 85 else if (pending & CAUSEF_IP2) /* South Bridge */ in mach_irq_dispatch()
|
/linux-4.4.14/arch/mips/txx9/rbtx4927/ |
D | irq.c | 172 static int rbtx4927_irq_dispatch(int pending) in rbtx4927_irq_dispatch() argument 176 if (pending & STATUSF_IP7) /* cpu timer */ in rbtx4927_irq_dispatch() 178 else if (pending & STATUSF_IP2) { /* tx4927 pic */ in rbtx4927_irq_dispatch() 182 } else if (pending & STATUSF_IP0) /* user line 0 */ in rbtx4927_irq_dispatch() 184 else if (pending & STATUSF_IP1) /* user line 1 */ in rbtx4927_irq_dispatch()
|
/linux-4.4.14/arch/mips/txx9/rbtx4938/ |
D | irq.c | 110 static int rbtx4938_irq_dispatch(int pending) in rbtx4938_irq_dispatch() argument 114 if (pending & STATUSF_IP7) in rbtx4938_irq_dispatch() 116 else if (pending & STATUSF_IP2) { in rbtx4938_irq_dispatch() 120 } else if (pending & STATUSF_IP1) in rbtx4938_irq_dispatch() 122 else if (pending & STATUSF_IP0) in rbtx4938_irq_dispatch()
|
/linux-4.4.14/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_layer.c | 98 if (upd->pending < 0 || upd->pending > 1) in atmel_hlcdc_layer_update_apply() 101 slot = &upd->slots[upd->pending]; in atmel_hlcdc_layer_update_apply() 172 atmel_hlcdc_layer_update_reset(layer, upd->pending); in atmel_hlcdc_layer_update_apply() 174 upd->pending = -1; in atmel_hlcdc_layer_update_apply() 336 if (upd->pending >= 0) { in atmel_hlcdc_layer_disable() 337 atmel_hlcdc_layer_update_reset(layer, upd->pending); in atmel_hlcdc_layer_disable() 338 upd->pending = -1; in atmel_hlcdc_layer_disable() 368 upd->next = upd->pending ? 0 : 1; in atmel_hlcdc_layer_update_start() 395 if (upd->pending >= 0) { in atmel_hlcdc_layer_update_start() 397 upd->slots[upd->pending].configs, in atmel_hlcdc_layer_update_start() [all …]
|
/linux-4.4.14/net/vmw_vsock/ |
D | vmci_transport.c | 52 struct sock *pending, 474 struct sock *pending; in vmci_transport_get_pending() local 485 pending = sk_vsock(vpending); in vmci_transport_get_pending() 486 sock_hold(pending); in vmci_transport_get_pending() 491 pending = NULL; in vmci_transport_get_pending() 493 return pending; in vmci_transport_get_pending() 497 static void vmci_transport_release_pending(struct sock *pending) in vmci_transport_release_pending() argument 499 sock_put(pending); in vmci_transport_release_pending() 929 struct sock *pending; in vmci_transport_recv_listen() local 945 pending = vmci_transport_get_pending(sk, pkt); in vmci_transport_recv_listen() [all …]
|
D | af_vsock.c | 356 void vsock_add_pending(struct sock *listener, struct sock *pending) in vsock_add_pending() argument 362 vpending = vsock_sk(pending); in vsock_add_pending() 364 sock_hold(pending); in vsock_add_pending() 370 void vsock_remove_pending(struct sock *listener, struct sock *pending) in vsock_remove_pending() argument 372 struct vsock_sock *vpending = vsock_sk(pending); in vsock_remove_pending() 376 sock_put(pending); in vsock_remove_pending() 649 struct sock *pending; in __vsock_release() local 653 pending = NULL; /* Compiler warning. */ in __vsock_release() 671 while ((pending = vsock_dequeue_accept(sk)) != NULL) { in __vsock_release() 672 __vsock_release(pending); in __vsock_release() [all …]
|
/linux-4.4.14/kernel/ |
D | async.c | 87 struct list_head *pending; in lowest_in_progress() local 94 pending = &domain->pending; in lowest_in_progress() 96 pending = &async_global_pending; in lowest_in_progress() 98 if (!list_empty(pending)) in lowest_in_progress() 99 ret = list_first_entry(pending, struct async_entry, in lowest_in_progress() 183 list_add_tail(&entry->domain_list, &domain->pending); in __async_schedule() 255 WARN_ON(!domain->registered || !list_empty(&domain->pending)); in async_unregister_domain()
|
D | futex_compat.c | 53 struct robust_list __user *entry, *next_entry, *pending; in compat_exit_robust_list() local 78 if (fetch_robust_entry(&upending, &pending, in compat_exit_robust_list() 94 if (entry != pending) { in compat_exit_robust_list() 113 if (pending) { in compat_exit_robust_list() 114 void __user *uaddr = futex_uaddr(pending, futex_offset); in compat_exit_robust_list()
|
D | softirq.c | 237 __u32 pending; in __do_softirq() local 247 pending = local_softirq_pending(); in __do_softirq() 261 while ((softirq_bit = ffs(pending))) { in __do_softirq() 282 pending >>= softirq_bit; in __do_softirq() 288 pending = local_softirq_pending(); in __do_softirq() 289 if (pending) { in __do_softirq() 306 __u32 pending; in do_softirq() local 314 pending = local_softirq_pending(); in do_softirq() 316 if (pending) in do_softirq()
|
D | signal.c | 135 PENDING(&t->pending, &t->blocked) || in recalc_sigpending_tsk() 171 int next_signal(struct sigpending *pending, sigset_t *mask) in next_signal() argument 176 s = pending->signal.sig; in next_signal() 425 flush_sigqueue(&t->pending); in flush_signals() 430 static void __flush_itimer_signals(struct sigpending *pending) in __flush_itimer_signals() argument 435 signal = pending->signal; in __flush_itimer_signals() 438 list_for_each_entry_safe(q, n, &pending->list, list) { in __flush_itimer_signals() 450 sigorsets(&pending->signal, &signal, &retain); in __flush_itimer_signals() 459 __flush_itimer_signals(&tsk->pending); in flush_itimer_signals() 543 static int __dequeue_signal(struct sigpending *pending, sigset_t *mask, in __dequeue_signal() argument [all …]
|
/linux-4.4.14/arch/um/os-Linux/ |
D | signal.c | 145 unsigned long pending = 1UL << sig; in hard_handler() local 160 bail = to_irq_stack(&pending); in hard_handler() 164 nested = pending & 1; in hard_handler() 165 pending &= ~1; in hard_handler() 167 while ((sig = ffs(pending)) != 0){ in hard_handler() 169 pending &= ~(1 << sig); in hard_handler() 180 pending = from_irq_stack(nested); in hard_handler() 181 } while (pending); in hard_handler()
|
/linux-4.4.14/drivers/hid/ |
D | hid-sensor-hub.c | 299 memset(&hsdev->pending, 0, sizeof(hsdev->pending)); in sensor_hub_input_attr_get_raw_value() 300 init_completion(&hsdev->pending.ready); in sensor_hub_input_attr_get_raw_value() 301 hsdev->pending.usage_id = usage_id; in sensor_hub_input_attr_get_raw_value() 302 hsdev->pending.attr_usage_id = attr_usage_id; in sensor_hub_input_attr_get_raw_value() 303 hsdev->pending.raw_size = 0; in sensor_hub_input_attr_get_raw_value() 306 hsdev->pending.status = true; in sensor_hub_input_attr_get_raw_value() 314 &hsdev->pending.ready, HZ*5); in sensor_hub_input_attr_get_raw_value() 315 switch (hsdev->pending.raw_size) { in sensor_hub_input_attr_get_raw_value() 317 ret_val = *(u8 *)hsdev->pending.raw_data; in sensor_hub_input_attr_get_raw_value() 320 ret_val = *(u16 *)hsdev->pending.raw_data; in sensor_hub_input_attr_get_raw_value() [all …]
|
D | hid-picolcd_core.c | 110 data->pending = work; in picolcd_send_and_wait() 115 data->pending = NULL; in picolcd_send_and_wait() 370 if (data->pending) { in picolcd_raw_event() 371 memcpy(data->pending->raw_data, raw_data+1, size-1); in picolcd_raw_event() 372 data->pending->raw_size = size-1; in picolcd_raw_event() 373 data->pending->in_report = report; in picolcd_raw_event() 374 complete(&data->pending->ready); in picolcd_raw_event() 640 if (data->pending) in picolcd_remove() 641 complete(&data->pending->ready); in picolcd_remove()
|
/linux-4.4.14/drivers/cdrom/ |
D | gdrom.c | 120 int pending; member 256 gd.pending = 1; in gdrom_preparedisk_cmd() 259 wait_event_interruptible_timeout(command_queue, gd.pending == 0, in gdrom_preparedisk_cmd() 261 gd.pending = 0; in gdrom_preparedisk_cmd() 293 if (gd.pending) { in gdrom_readtoc_cmd() 297 gd.pending = 1; in gdrom_readtoc_cmd() 299 wait_event_interruptible_timeout(command_queue, gd.pending == 0, in gdrom_readtoc_cmd() 301 if (gd.pending) { in gdrom_readtoc_cmd() 310 gd.pending = 0; in gdrom_readtoc_cmd() 446 if (gd.pending && !gdrom_wait_clrbusy()) { in gdrom_getsense() [all …]
|
/linux-4.4.14/arch/mips/txx9/rbtx4939/ |
D | irq.c | 53 static int rbtx4939_irq_dispatch(int pending) in rbtx4939_irq_dispatch() argument 57 if (pending & CAUSEF_IP7) in rbtx4939_irq_dispatch() 67 } else if (pending & CAUSEF_IP0) in rbtx4939_irq_dispatch() 69 else if (pending & CAUSEF_IP1) in rbtx4939_irq_dispatch()
|
/linux-4.4.14/arch/mips/sgi-ip27/ |
D | ip27-irq.c | 168 unsigned long pending = read_c0_cause() & read_c0_status(); in plat_irq_dispatch() local 171 if (pending & CAUSEF_IP4) in plat_irq_dispatch() 173 else if (pending & CAUSEF_IP2) /* PI_INT_PEND_0 or CC_PEND_{A|B} */ in plat_irq_dispatch() 175 else if (pending & CAUSEF_IP3) /* PI_INT_PEND_1 */ in plat_irq_dispatch() 177 else if (pending & CAUSEF_IP5) in plat_irq_dispatch() 179 else if (pending & CAUSEF_IP6) in plat_irq_dispatch()
|
/linux-4.4.14/arch/mips/loongson64/loongson-3/ |
D | irq.c | 27 void mach_irq_dispatch(unsigned int pending) in mach_irq_dispatch() argument 29 if (pending & CAUSEF_IP7) in mach_irq_dispatch() 32 else if (pending & CAUSEF_IP6) in mach_irq_dispatch() 35 else if (pending & CAUSEF_IP3) in mach_irq_dispatch() 37 else if (pending & CAUSEF_IP2) in mach_irq_dispatch()
|
/linux-4.4.14/fs/btrfs/ |
D | async-thread.c | 44 atomic_t pending; member 106 atomic_set(&ret->pending, 0); in __btrfs_alloc_workqueue() 184 atomic_inc(&wq->pending); in thresh_queue_hook() 195 long pending; in thresh_exec_hook() local 201 atomic_dec(&wq->pending); in thresh_exec_hook() 217 pending = atomic_read(&wq->pending); in thresh_exec_hook() 218 if (pending > wq->thresh) in thresh_exec_hook() 220 if (pending < wq->thresh / 2) in thresh_exec_hook()
|
D | transaction.c | 1300 struct btrfs_pending_snapshot *pending) in create_pending_snapshot() argument 1305 struct btrfs_root *root = pending->root; in create_pending_snapshot() 1324 pending->error = -ENOMEM; in create_pending_snapshot() 1330 pending->error = -ENOMEM; in create_pending_snapshot() 1334 pending->error = btrfs_find_free_objectid(tree_root, &objectid); in create_pending_snapshot() 1335 if (pending->error) in create_pending_snapshot() 1344 btrfs_reloc_pre_snapshot(pending, &to_reserve); in create_pending_snapshot() 1347 pending->error = btrfs_block_rsv_add(root, in create_pending_snapshot() 1348 &pending->block_rsv, in create_pending_snapshot() 1351 if (pending->error) in create_pending_snapshot() [all …]
|
/linux-4.4.14/arch/blackfin/kernel/ |
D | irqchip.c | 69 unsigned short pending, other_ints; in maybe_lower_to_irq14() local 80 pending = bfin_read_IPEND() & ~0x8000; in maybe_lower_to_irq14() 81 other_ints = pending & (pending - 1); in maybe_lower_to_irq14()
|
/linux-4.4.14/arch/mips/ath25/ |
D | ar2315.c | 74 u32 pending = ar2315_rst_reg_read(AR2315_ISR) & in ar2315_misc_irq_handler() local 78 if (pending) { in ar2315_misc_irq_handler() 81 nr = __ffs(pending); in ar2315_misc_irq_handler() 133 u32 pending = read_c0_status() & read_c0_cause(); in ar2315_irq_dispatch() local 135 if (pending & CAUSEF_IP3) in ar2315_irq_dispatch() 138 else if (pending & CAUSEF_IP5) in ar2315_irq_dispatch() 141 else if (pending & CAUSEF_IP2) in ar2315_irq_dispatch() 143 else if (pending & CAUSEF_IP7) in ar2315_irq_dispatch()
|
D | ar5312.c | 78 u32 pending = ar5312_rst_reg_read(AR5312_ISR) & in ar5312_misc_irq_handler() local 82 if (pending) { in ar5312_misc_irq_handler() 85 nr = __ffs(pending); in ar5312_misc_irq_handler() 130 u32 pending = read_c0_status() & read_c0_cause(); in ar5312_irq_dispatch() local 132 if (pending & CAUSEF_IP2) in ar5312_irq_dispatch() 134 else if (pending & CAUSEF_IP5) in ar5312_irq_dispatch() 136 else if (pending & CAUSEF_IP6) in ar5312_irq_dispatch() 138 else if (pending & CAUSEF_IP7) in ar5312_irq_dispatch()
|
/linux-4.4.14/arch/mips/loongson64/common/ |
D | irq.c | 40 unsigned int pending; in plat_irq_dispatch() local 42 pending = read_c0_cause() & read_c0_status() & ST0_IM; in plat_irq_dispatch() 45 mach_irq_dispatch(pending); in plat_irq_dispatch()
|
/linux-4.4.14/arch/arm/mach-pxa/ |
D | pcm990-baseboard.c | 294 unsigned long pending; in pcm990_irq_handler() local 296 pending = ~pcm990_cpld_readb(PCM990_CTRL_INTSETCLR); in pcm990_irq_handler() 297 pending &= pcm990_irq_enabled; in pcm990_irq_handler() 302 if (likely(pending)) { in pcm990_irq_handler() 303 irq = PCM027_IRQ(0) + __ffs(pending); in pcm990_irq_handler() 306 pending = ~pcm990_cpld_readb(PCM990_CTRL_INTSETCLR); in pcm990_irq_handler() 307 pending &= pcm990_irq_enabled; in pcm990_irq_handler() 308 } while (pending); in pcm990_irq_handler()
|
D | lpd270.c | 127 unsigned long pending; in lpd270_irq_handler() local 129 pending = __raw_readw(LPD270_INT_STATUS) & lpd270_irq_enabled; in lpd270_irq_handler() 133 if (likely(pending)) { in lpd270_irq_handler() 134 irq = LPD270_IRQ(0) + __ffs(pending); in lpd270_irq_handler() 137 pending = __raw_readw(LPD270_INT_STATUS) & in lpd270_irq_handler() 140 } while (pending); in lpd270_irq_handler()
|
D | balloon3.c | 501 unsigned long pending = __raw_readl(BALLOON3_INT_CONTROL_REG) & in balloon3_irq_handler() local 512 while (pending) { in balloon3_irq_handler() 513 irq = BALLOON3_IRQ(0) + __ffs(pending); in balloon3_irq_handler() 515 pending &= pending - 1; in balloon3_irq_handler() 517 pending = __raw_readl(BALLOON3_INT_CONTROL_REG) & in balloon3_irq_handler() 519 } while (pending); in balloon3_irq_handler()
|
D | pxa_cplds_irqs.c | 41 unsigned long pending; in cplds_irq_handler() local 44 pending = readl(fpga->base + FPGA_IRQ_SET_CLR) & fpga->irq_mask; in cplds_irq_handler() 45 for_each_set_bit(bit, &pending, CPLDS_NB_IRQ) in cplds_irq_handler()
|
D | viper.c | 283 unsigned long pending; in viper_irq_handler() local 285 pending = viper_irq_pending(); in viper_irq_handler() 291 if (likely(pending)) { in viper_irq_handler() 292 irq = viper_bit_to_irq(__ffs(pending)); in viper_irq_handler() 295 pending = viper_irq_pending(); in viper_irq_handler() 296 } while (pending); in viper_irq_handler()
|
D | zeus.c | 111 unsigned long pending; in zeus_irq_handler() local 113 pending = zeus_irq_pending(); in zeus_irq_handler() 119 if (likely(pending)) { in zeus_irq_handler() 120 irq = zeus_bit_to_irq(__ffs(pending)); in zeus_irq_handler() 123 pending = zeus_irq_pending(); in zeus_irq_handler() 124 } while (pending); in zeus_irq_handler()
|
/linux-4.4.14/Documentation/virtual/kvm/devices/ |
D | s390_flic.txt | 6 pending interrupts. FLIC performs operations on this list. 12 - inspect currently pending interrupts (KVM_FLIC_GET_ALL_IRQS) 13 - purge all pending floating interrupts (KVM_DEV_FLIC_CLEAR_IRQS) 20 the list of pending interrupts. 33 All interrupts remain pending, i.e. are not deleted from the list of 34 currently pending interrupts. 40 Simply deletes all elements from the list of currently pending floating 48 Disables async page faults for the guest and waits until already pending
|
D | xics.txt | 27 Zero is the highest priority, 255 means no interrupt is pending. 30 Zero is the highest priority, 255 means no IPI is pending. 33 Zero means no interrupt pending, 2 means an IPI is pending 64 This bit is 1 if the source has a pending interrupt, otherwise 0.
|
/linux-4.4.14/arch/mips/jazz/ |
D | irq.c | 95 unsigned int pending = read_c0_cause() & read_c0_status(); in plat_irq_dispatch() local 98 if (pending & IE_IRQ4) { in plat_irq_dispatch() 101 } else if (pending & IE_IRQ2) { in plat_irq_dispatch() 104 } else if (pending & IE_IRQ1) { in plat_irq_dispatch()
|
/linux-4.4.14/crypto/ |
D | michael_mic.c | 25 u8 pending[4]; member 72 memcpy(&mctx->pending[mctx->pending_len], data, flen); in michael_update() 80 src = (const __le32 *)mctx->pending; in michael_update() 96 memcpy(mctx->pending, src, len); in michael_update() 106 u8 *data = mctx->pending; in michael_final()
|
/linux-4.4.14/drivers/scsi/libsas/ |
D | sas_event.c | 43 static void sas_queue_event(int event, unsigned long *pending, in sas_queue_event() argument 47 if (!test_and_set_bit(event, pending)) { in sas_queue_event() 111 if (!test_and_clear_bit(ev, &d->pending)) in sas_enable_revalidation() 114 sas_queue_event(ev, &d->pending, &d->disc_work[ev].work, ha); in sas_enable_revalidation() 123 sas_queue_event(event, &sas_ha->pending, in notify_ha_event()
|
D | sas_discover.c | 221 clear_bit(DISCE_PROBE, &port->disc.pending); in sas_probe_devices() 252 clear_bit(DISCE_SUSPEND, &port->disc.pending); in sas_suspend_devices() 279 clear_bit(DISCE_RESUME, &port->disc.pending); in sas_resume_devices() 362 clear_bit(DISCE_DESTRUCT, &port->disc.pending); in sas_destruct_devices() 446 clear_bit(DISCE_DISCOVER_DOMAIN, &port->disc.pending); in sas_discover_domain() 513 clear_bit(DISCE_REVALIDATE_DOMAIN, &port->disc.pending); in sas_revalidate_domain() 540 static void sas_chain_event(int event, unsigned long *pending, in sas_chain_event() argument 544 if (!test_and_set_bit(event, pending)) { in sas_chain_event() 563 sas_chain_event(ev, &disc->pending, &disc->disc_work[ev].work, port->ha); in sas_discover_event() 587 disc->pending = 0; in sas_init_disc()
|
/linux-4.4.14/arch/mips/kvm/ |
D | interrupt.c | 206 unsigned long *pending = &vcpu->arch.pending_exceptions; in kvm_mips_deliver_interrupts() local 210 if (!(*pending) && !(*pending_clr)) in kvm_mips_deliver_interrupts() 225 priority = __ffs(*pending); in kvm_mips_deliver_interrupts() 232 priority = find_next_bit(pending, in kvm_mips_deliver_interrupts() 233 BITS_PER_BYTE * sizeof(*pending), in kvm_mips_deliver_interrupts()
|
/linux-4.4.14/arch/arc/kernel/ |
D | smp.c | 319 unsigned long pending; in do_IPI() local 332 copy = pending = xchg(this_cpu_ptr(&ipi_data), 0); in do_IPI() 335 unsigned long msg = __ffs(pending); in do_IPI() 344 pending &= ~(1U << msg); in do_IPI() 345 } while (pending); in do_IPI()
|
/linux-4.4.14/drivers/char/ |
D | efirtc.c | 156 unsigned char enabled, pending; in efi_rtc_ioctl() local 238 status = efi.get_wakeup_time((efi_bool_t *)&enabled, (efi_bool_t *)&pending, &eft); in efi_rtc_ioctl() 247 || put_user(pending, &ewp->pending)) return -EFAULT; in efi_rtc_ioctl() 303 efi_bool_t enabled, pending; in efi_rtc_proc_show() local 313 efi.get_wakeup_time(&enabled, &pending, &alm); in efi_rtc_proc_show() 342 pending == 1 ? "yes" : "no"); in efi_rtc_proc_show()
|
/linux-4.4.14/arch/mips/sgi-ip32/ |
D | ip32-irq.c | 419 unsigned int pending = read_c0_status() & read_c0_cause(); in plat_irq_dispatch() local 421 if (likely(pending & IE_IRQ0)) in plat_irq_dispatch() 423 else if (unlikely(pending & IE_IRQ1)) in plat_irq_dispatch() 425 else if (unlikely(pending & IE_IRQ2)) in plat_irq_dispatch() 427 else if (unlikely(pending & IE_IRQ3)) in plat_irq_dispatch() 429 else if (unlikely(pending & IE_IRQ4)) in plat_irq_dispatch() 431 else if (likely(pending & IE_IRQ5)) in plat_irq_dispatch()
|
/linux-4.4.14/tools/perf/scripts/python/ |
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/Documentation/networking/ |
D | proc_net_tcp.txt | 43 0 no timer is pending 44 1 retransmit-timer is pending 45 2 another timer (e.g. delayed ack or keepalive) is pending 48 4 zero window probe timer is pending
|
/linux-4.4.14/arch/mips/txx9/jmr3927/ |
D | irq.c | 83 static int jmr3927_irq_dispatch(int pending) in jmr3927_irq_dispatch() argument 87 if ((pending & CAUSEF_IP7) == 0) in jmr3927_irq_dispatch() 89 irq = (pending >> CAUSEB_IP2) & 0x0f; in jmr3927_irq_dispatch()
|
/linux-4.4.14/arch/mips/sgi-ip22/ |
D | ip22-int.c | 228 unsigned int pending = read_c0_status() & read_c0_cause(); in plat_irq_dispatch() local 233 if (pending & CAUSEF_IP7) in plat_irq_dispatch() 235 else if (pending & CAUSEF_IP2) in plat_irq_dispatch() 237 else if (pending & CAUSEF_IP3) in plat_irq_dispatch() 239 else if (pending & CAUSEF_IP6) in plat_irq_dispatch() 241 else if (pending & (CAUSEF_IP4 | CAUSEF_IP5)) in plat_irq_dispatch()
|
/linux-4.4.14/arch/x86/kvm/ |
D | x86.h | 11 vcpu->arch.exception.pending = false; in kvm_clear_exception_queue() 17 vcpu->arch.interrupt.pending = true; in kvm_queue_interrupt() 24 vcpu->arch.interrupt.pending = false; in kvm_clear_interrupt_queue() 29 return vcpu->arch.exception.pending || vcpu->arch.interrupt.pending || in kvm_event_needs_reinjection()
|
D | irq.c | 74 return v->arch.interrupt.pending; in kvm_cpu_has_injectable_intr() 92 return v->arch.interrupt.pending; in kvm_cpu_has_interrupt()
|
D | i8254.c | 242 value = atomic_dec_return(&ps->pending); in kvm_pit_ack_irq() 247 atomic_inc(&ps->pending); in kvm_pit_ack_irq() 323 atomic_inc(&ps->pending); in pit_timer_fn() 356 atomic_set(&ps->pending, 0); in create_pit_timer() 657 atomic_set(&pit->pit_state.pending, 0); in kvm_pit_reset() 666 atomic_set(&pit->pit_state.pending, 0); in pit_mask_notifer()
|
D | i8254.h | 30 atomic_t pending; /* accumulated triggered timers */ member
|
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_smp.c | 164 cur_nblks = bitmap_weight(ps->pending, cnt); in smp_request_block() 169 set_bit(blk, ps->pending); in smp_request_block() 175 int blk = find_first_bit(ps->pending, cnt); in smp_request_block() 176 clear_bit(blk, ps->pending); in smp_request_block() 289 bitmap_andnot(smp->state, smp->state, ps->pending, cnt); in mdp5_smp_release() 293 bitmap_zero(ps->pending, cnt); in mdp5_smp_release() 354 bitmap_copy(ps->configured, ps->pending, cnt); in mdp5_smp_configure()
|
D | mdp5_crtc.c | 56 atomic_t pending; member 87 static void request_pending(struct drm_crtc *crtc, uint32_t pending) in request_pending() argument 91 atomic_or(pending, &mdp5_crtc->pending); in request_pending() 651 unsigned pending; in mdp5_crtc_vblank_irq() local 655 pending = atomic_xchg(&mdp5_crtc->pending, 0); in mdp5_crtc_vblank_irq() 657 if (pending & PENDING_FLIP) { in mdp5_crtc_vblank_irq() 661 if (pending & PENDING_CURSOR) in mdp5_crtc_vblank_irq()
|
D | mdp5_smp.h | 27 mdp5_smp_state_t pending; member
|
/linux-4.4.14/drivers/gpu/drm/omapdrm/ |
D | omap_crtc.c | 52 bool pending; member 84 !omap_crtc->pending, in omap_crtc_wait_pending() 315 WARN_ON(!omap_crtc->pending); in omap_crtc_vblank_irq() 316 omap_crtc->pending = false; in omap_crtc_vblank_irq() 358 WARN_ON(omap_crtc->pending); in omap_crtc_enable() 359 omap_crtc->pending = true; in omap_crtc_enable() 408 WARN_ON(omap_crtc->pending); in omap_crtc_atomic_flush() 409 omap_crtc->pending = true; in omap_crtc_atomic_flush()
|
D | omap_drv.c | 112 priv->commit.pending &= ~commit->crtcs; in omap_atomic_complete() 131 bool pending; in omap_atomic_is_pending() local 134 pending = priv->commit.pending & commit->crtcs; in omap_atomic_is_pending() 137 return pending; in omap_atomic_is_pending() 175 priv->commit.pending |= commit->crtcs; in omap_atomic_commit()
|
/linux-4.4.14/drivers/tty/serial/ |
D | altera_jtaguart.c | 147 unsigned int pending, count; in altera_jtaguart_tx_chars() local 157 pending = uart_circ_chars_pending(xmit); in altera_jtaguart_tx_chars() 158 if (pending > 0) { in altera_jtaguart_tx_chars() 162 if (count > pending) in altera_jtaguart_tx_chars() 163 count = pending; in altera_jtaguart_tx_chars() 165 pending -= count; in altera_jtaguart_tx_chars() 172 if (pending < WAKEUP_CHARS) in altera_jtaguart_tx_chars() 177 if (pending == 0) { in altera_jtaguart_tx_chars()
|
D | atmel_serial.c | 168 unsigned int pending; member 1186 atmel_handle_receive(struct uart_port *port, unsigned int pending) in atmel_handle_receive() argument 1198 if (pending & (ATMEL_US_ENDRX | ATMEL_US_TIMEOUT)) { in atmel_handle_receive() 1204 if (pending & (ATMEL_US_RXBRK | ATMEL_US_OVRE | in atmel_handle_receive() 1206 atmel_pdc_rxerr(port, pending); in atmel_handle_receive() 1210 if (pending & ATMEL_US_TIMEOUT) { in atmel_handle_receive() 1218 if (pending & ATMEL_US_RXRDY) in atmel_handle_receive() 1220 else if (pending & ATMEL_US_RXBRK) { in atmel_handle_receive() 1235 atmel_handle_transmit(struct uart_port *port, unsigned int pending) in atmel_handle_transmit() argument 1239 if (pending & atmel_port->tx_done_mask) { in atmel_handle_transmit() [all …]
|
D | amba-pl011.c | 761 u32 pending, bool use_buf_b, in pl011_dma_rx_chars() argument 777 if (pending >= dmataken) in pl011_dma_rx_chars() 778 pending -= dmataken; in pl011_dma_rx_chars() 782 if (pending) { in pl011_dma_rx_chars() 790 pending); in pl011_dma_rx_chars() 793 if (dma_count < pending) in pl011_dma_rx_chars() 806 if (dma_count == pending && readfifo) { in pl011_dma_rx_chars() 839 size_t pending; in pl011_dma_rx_irq() local 860 pending = sgbuf->sg.length - state.residue; in pl011_dma_rx_irq() 861 BUG_ON(pending > PL011_DMA_BUFFER_SIZE); in pl011_dma_rx_irq() [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/ath5k/ |
D | dma.c | 191 u32 tx_queue, pending; in ath5k_hw_stop_tx_dma() local 249 pending = ath5k_hw_reg_read(ah, in ath5k_hw_stop_tx_dma() 253 } while (--i && pending); in ath5k_hw_stop_tx_dma() 258 pending) { in ath5k_hw_stop_tx_dma() 285 pending = ath5k_hw_reg_read(ah, in ath5k_hw_stop_tx_dma() 289 } while (--i && pending); in ath5k_hw_stop_tx_dma() 294 if (pending) in ath5k_hw_stop_tx_dma() 308 if (pending) { in ath5k_hw_stop_tx_dma() 311 queue, pending); in ath5k_hw_stop_tx_dma()
|
D | qcu.c | 65 u32 pending; in ath5k_hw_num_tx_pending() local 76 pending = ath5k_hw_reg_read(ah, AR5K_QUEUE_STATUS(queue)); in ath5k_hw_num_tx_pending() 77 pending &= AR5K_QCU_STS_FRMPENDCNT; in ath5k_hw_num_tx_pending() 82 if (!pending && AR5K_REG_READ_Q(ah, AR5K_QCU_TXE, queue)) in ath5k_hw_num_tx_pending() 85 return pending; in ath5k_hw_num_tx_pending()
|
/linux-4.4.14/drivers/lguest/x86/ |
D | core.c | 361 cpu->pending.trap = 13; in setup_emulate_insn() 362 copy_from_guest(cpu, cpu->pending.insn, cpu->regs->eip, in setup_emulate_insn() 363 sizeof(cpu->pending.insn)); in setup_emulate_insn() 368 cpu->pending.trap = 14; in setup_iomem_insn() 369 cpu->pending.addr = iomem_addr; in setup_iomem_insn() 370 copy_from_guest(cpu, cpu->pending.insn, cpu->regs->eip, in setup_iomem_insn() 371 sizeof(cpu->pending.insn)); in setup_iomem_insn()
|
/linux-4.4.14/arch/mips/emma/markeins/ |
D | irq.c | 295 unsigned int pending = read_c0_status() & read_c0_cause() & ST0_IM; in plat_irq_dispatch() local 297 if (pending & STATUSF_IP7) in plat_irq_dispatch() 299 else if (pending & STATUSF_IP2) in plat_irq_dispatch() 301 else if (pending & STATUSF_IP1) in plat_irq_dispatch() 303 else if (pending & STATUSF_IP0) in plat_irq_dispatch()
|
/linux-4.4.14/drivers/lguest/ |
D | core.c | 229 if (cpu->pending.trap) { in run_guest() 230 if (copy_to_user(user, &cpu->pending, in run_guest() 231 sizeof(cpu->pending))) in run_guest() 233 return sizeof(cpu->pending); in run_guest()
|
D | hypercalls.c | 189 if (cpu->pending.trap) in do_async_hcalls() 279 if (!cpu->pending.trap) { in do_hypercalls()
|
D | lguest_user.c | 144 if (cpu->pending.trap) in read() 145 cpu->pending.trap = 0; in read()
|
/linux-4.4.14/arch/avr32/mach-at32ap/ |
D | extint.c | 150 unsigned long status, pending; in demux_eic_irq() local 154 pending = status & eic_readl(eic, IMR); in demux_eic_irq() 156 while (pending) { in demux_eic_irq() 157 i = fls(pending) - 1; in demux_eic_irq() 158 pending &= ~(1 << i); in demux_eic_irq()
|
/linux-4.4.14/drivers/acpi/acpica/ |
D | evglock.c | 302 u8 pending = FALSE; in acpi_ev_release_global_lock() local 319 ACPI_RELEASE_GLOBAL_LOCK(acpi_gbl_FACS, pending); in acpi_ev_release_global_lock() 325 if (pending) { in acpi_ev_release_global_lock()
|
/linux-4.4.14/arch/mips/include/asm/octeon/ |
D | cvmx-mdio.h | 318 } while (smi_rd.s.pending && timeout--); in cvmx_mdio_read() 361 } while (smi_wr.s.pending && --timeout); in cvmx_mdio_write() 407 } while (smi_wr.s.pending && --timeout); in cvmx_mdio_45_read() 424 } while (smi_rd.s.pending && --timeout); in cvmx_mdio_45_read() 482 } while (smi_wr.s.pending && --timeout); in cvmx_mdio_45_write() 499 } while (smi_wr.s.pending && --timeout); in cvmx_mdio_45_write()
|
D | cvmx-smix-defs.h | 299 uint64_t pending:1; member 305 uint64_t pending:1; 334 uint64_t pending:1; member 340 uint64_t pending:1;
|
/linux-4.4.14/drivers/atm/ |
D | ambassador.c | 569 if (cq->pending < cq->maximum) { in command_do() 578 cq->pending++; in command_do() 584 if (cq->pending > cq->high) in command_do() 585 cq->high = cq->pending; in command_do() 591 msleep(cq->pending); in command_do() 610 cq->pending--; in command_do() 638 if (txq->pending < txq->maximum) { in tx_give() 642 txq->pending++; in tx_give() 648 if (txq->pending > txq->high) in tx_give() 649 txq->high = txq->pending; in tx_give() [all …]
|
D | ambassador.h | 552 unsigned int pending; member 561 unsigned int pending; member 579 unsigned int pending; member
|
/linux-4.4.14/drivers/gpio/ |
D | gpio-max732x.c | 455 uint8_t pending; in max732x_irq_pending() local 474 pending = (old_stat & chip->irq_trig_fall) | in max732x_irq_pending() 476 pending &= trigger; in max732x_irq_pending() 478 return pending; in max732x_irq_pending() 484 uint8_t pending; in max732x_irq_handler() local 487 pending = max732x_irq_pending(chip); in max732x_irq_handler() 489 if (!pending) in max732x_irq_handler() 493 level = __ffs(pending); in max732x_irq_handler() 497 pending &= ~(1 << level); in max732x_irq_handler() 498 } while (pending); in max732x_irq_handler()
|
D | gpio-adnp.c | 230 const char *pending = ""; in adnp_gpio_dbg_show() local 242 pending = "pending"; in adnp_gpio_dbg_show() 245 direction, level, interrupt, pending); in adnp_gpio_dbg_show() 290 unsigned long pending; in adnp_irq() local 319 pending = changed & ((adnp->irq_fall[i] & ~level) | in adnp_irq() 323 pending |= (adnp->irq_high[i] & level) | in adnp_irq() 327 pending &= isr & ier; in adnp_irq() 329 for_each_set_bit(bit, &pending, 8) { in adnp_irq()
|
D | gpio-zx.c | 162 unsigned long pending; in zx_irq_handler() local 170 pending = readw_relaxed(chip->base + ZX_GPIO_MIS); in zx_irq_handler() 171 writew_relaxed(pending, chip->base + ZX_GPIO_IC); in zx_irq_handler() 172 if (pending) { in zx_irq_handler() 173 for_each_set_bit(offset, &pending, ZX_GPIO_NR) in zx_irq_handler()
|
D | gpio-msic.c | 244 unsigned long pending = 0; in msic_gpio_irq_handler() local 248 pending = pin; in msic_gpio_irq_handler() 250 if (pending) { in msic_gpio_irq_handler() 251 for_each_set_bit(bitnr, &pending, BITS_PER_BYTE) in msic_gpio_irq_handler()
|
D | gpio-pca953x.c | 458 static bool pca953x_irq_pending(struct pca953x_chip *chip, u8 *pending) in pca953x_irq_pending() argument 497 pending[i] = (old_stat[i] & chip->irq_trig_fall[i]) | in pca953x_irq_pending() 499 pending[i] &= trigger[i]; in pca953x_irq_pending() 500 if (pending[i]) in pca953x_irq_pending() 510 u8 pending[MAX_BANK]; in pca953x_irq_handler() local 515 if (!pca953x_irq_pending(chip, pending)) in pca953x_irq_handler() 519 while (pending[i]) { in pca953x_irq_handler() 520 level = __ffs(pending[i]); in pca953x_irq_handler() 523 pending[i] &= ~(1 << level); in pca953x_irq_handler()
|
D | gpio-adp5588.c | 257 unsigned status, bank, bit, pending; in adp5588_irq_handler() local 268 pending = dev->irq_stat[bank] & dev->irq_mask[bank]; in adp5588_irq_handler() 270 while (pending) { in adp5588_irq_handler() 271 if (pending & (1 << bit)) { in adp5588_irq_handler() 274 pending &= ~(1 << bit); in adp5588_irq_handler()
|
D | gpio-crystalcove.c | 265 int pending; in crystalcove_gpio_irq_handler() local 276 pending = p0 | p1 << 8; in crystalcove_gpio_irq_handler() 279 if (pending & BIT(gpio)) { in crystalcove_gpio_irq_handler()
|
D | gpio-pl061.c | 209 unsigned long pending; in pl061_irq_handler() local 217 pending = readb(chip->base + GPIOMIS); in pl061_irq_handler() 218 if (pending) { in pl061_irq_handler() 219 for_each_set_bit(offset, &pending, PL061_GPIO_NR) in pl061_irq_handler()
|
D | gpio-em.c | 180 unsigned long pending; in em_gio_irq_handler() local 183 while ((pending = em_gio_read(p, GIO_MST))) { in em_gio_irq_handler() 184 offset = __ffs(pending); in em_gio_irq_handler()
|
D | gpio-intel-mid.c | 311 unsigned long pending; in intel_mid_irq_handler() local 317 while ((pending = readl(gedr))) { in intel_mid_irq_handler() 318 gpio = __ffs(pending); in intel_mid_irq_handler()
|
D | gpio-lynxpoint.c | 244 unsigned long reg, ena, pending; in lp_gpio_irq_handler() local 251 while ((pending = (inl(reg) & inl(ena)))) { in lp_gpio_irq_handler() 254 pin = __ffs(pending); in lp_gpio_irq_handler()
|
/linux-4.4.14/drivers/rtc/ |
D | rtc-sh.c | 107 unsigned int tmp, pending; in __sh_rtc_interrupt() local 110 pending = tmp & RCR1_CF; in __sh_rtc_interrupt() 115 if (pending && rtc->periodic_freq & PF_OXS) in __sh_rtc_interrupt() 118 return pending; in __sh_rtc_interrupt() 123 unsigned int tmp, pending; in __sh_rtc_alarm() local 126 pending = tmp & RCR1_AF; in __sh_rtc_alarm() 130 if (pending) in __sh_rtc_alarm() 133 return pending; in __sh_rtc_alarm() 140 unsigned int tmp, pending; in __sh_rtc_periodic() local 143 pending = tmp & RCR2_PEF; in __sh_rtc_periodic() [all …]
|
D | rtc-mc13xxx.c | 162 int enabled, pending; in mc13xxx_rtc_read_alarm() local 180 &enabled, &pending); in mc13xxx_rtc_read_alarm() 189 alarm->pending = pending; in mc13xxx_rtc_read_alarm()
|
D | rtc-pcf8563.c | 185 char pending; in pcf8563_irq() local 187 err = pcf8563_get_alarm_mode(pcf8563->client, NULL, &pending); in pcf8563_irq() 191 if (pending) { in pcf8563_irq() 355 err = pcf8563_get_alarm_mode(client, &tm->enabled, &tm->pending); in pcf8563_rtc_read_alarm() 362 tm->enabled, tm->pending); in pcf8563_rtc_read_alarm() 384 tm->time.tm_mday, tm->enabled, tm->pending); in pcf8563_rtc_set_alarm()
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | obio.h | 160 unsigned pending; in cc_get_ipen() local 163 "=r" (pending) : in cc_get_ipen() 166 return pending; in cc_get_ipen()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
D | nouveau_fence.c | 96 while (!list_empty(&fctx->pending)) { in nouveau_fence_context_del() 97 fence = list_entry(fctx->pending.next, typeof(*fence), head); in nouveau_fence_context_del() 133 while (!list_empty(&fctx->pending)) { in nouveau_fence_update() 134 fence = list_entry(fctx->pending.next, typeof(*fence), head); in nouveau_fence_update() 154 if (!list_empty(&fctx->pending)) { in nouveau_fence_wait_uevent_handler() 158 fence = list_entry(fctx->pending.next, typeof(*fence), head); in nouveau_fence_wait_uevent_handler() 176 INIT_LIST_HEAD(&fctx->pending); in nouveau_fence_context_new() 284 list_add_tail(&fence->head, &fctx->pending); in nouveau_fence_emit()
|
/linux-4.4.14/drivers/spi/ |
D | spi-bcm2835aux.c | 107 int pending; member 144 bs->pending -= count; in bcm2835aux_rd_fifo() 167 bs->pending += count; in bcm2835aux_wr_fifo() 200 (bs->pending < 12) && in bcm2835aux_spi_interrupt() 252 (bs->pending < 12) && in bcm2835aux_spi_transfer_one_irq() 367 bs->pending = 0; in bcm2835aux_spi_transfer_one()
|
D | spi-bcm63xx-hsspi.c | 157 int pending = t->len; in bcm63xx_hsspi_do_txrx() local 183 while (pending > 0) { in bcm63xx_hsspi_do_txrx() 184 int curr_step = min_t(int, step_size, pending); in bcm63xx_hsspi_do_txrx() 214 pending -= curr_step; in bcm63xx_hsspi_do_txrx()
|
D | spi-atmel.c | 1110 u32 status, pending, imr; in atmel_spi_pio_interrupt() local 1116 pending = status & imr; in atmel_spi_pio_interrupt() 1118 if (pending & SPI_BIT(OVRES)) { in atmel_spi_pio_interrupt() 1140 } else if (pending & (SPI_BIT(RDRF) | SPI_BIT(RXFTHF))) { in atmel_spi_pio_interrupt() 1148 spi_writel(as, IDR, pending); in atmel_spi_pio_interrupt() 1155 WARN_ONCE(pending, "IRQ not handled, pending = %x\n", pending); in atmel_spi_pio_interrupt() 1157 spi_writel(as, IDR, pending); in atmel_spi_pio_interrupt() 1168 u32 status, pending, imr; in atmel_spi_pdc_interrupt() local 1173 pending = status & imr; in atmel_spi_pdc_interrupt() 1175 if (pending & SPI_BIT(OVRES)) { in atmel_spi_pdc_interrupt() [all …]
|
/linux-4.4.14/arch/mips/pci/ |
D | pci-ar71xx.c | 233 u32 pending; in ar71xx_pci_irq_handler() local 237 pending = __raw_readl(base + AR71XX_RESET_REG_PCI_INT_STATUS) & in ar71xx_pci_irq_handler() 240 if (pending & AR71XX_PCI_INT_DEV0) in ar71xx_pci_irq_handler() 243 else if (pending & AR71XX_PCI_INT_DEV1) in ar71xx_pci_irq_handler() 246 else if (pending & AR71XX_PCI_INT_DEV2) in ar71xx_pci_irq_handler() 249 else if (pending & AR71XX_PCI_INT_CORE) in ar71xx_pci_irq_handler()
|
D | pci-rt3883.c | 135 u32 pending; in rt3883_pci_irq_handler() local 139 pending = rt3883_pci_r32(rpc, RT3883_PCI_REG_PCIINT) & in rt3883_pci_irq_handler() 142 if (!pending) { in rt3883_pci_irq_handler() 147 while (pending) { in rt3883_pci_irq_handler() 148 unsigned irq, bit = __ffs(pending); in rt3883_pci_irq_handler() 153 pending &= ~BIT(bit); in rt3883_pci_irq_handler()
|
D | pci-ar724x.c | 232 u32 pending; in ar724x_pci_irq_handler() local 237 pending = __raw_readl(base + AR724X_PCI_REG_INT_STATUS) & in ar724x_pci_irq_handler() 240 if (pending & AR724X_PCI_INT_DEV0) in ar724x_pci_irq_handler()
|
D | pci-ar2315.c | 324 u32 pending = ar2315_pci_reg_read(apc, AR2315_PCI_ISR) & in ar2315_pci_irq_handler() local 328 if (pending) in ar2315_pci_irq_handler() 329 pci_irq = irq_find_mapping(apc->domain, __ffs(pending)); in ar2315_pci_irq_handler()
|
/linux-4.4.14/block/ |
D | blk-flush.c | 171 struct list_head *pending = &fq->flush_queue[fq->flush_pending_idx]; in blk_flush_complete_seq() local 186 if (list_empty(pending)) in blk_flush_complete_seq() 188 list_move_tail(&rq->flush.list, pending); in blk_flush_complete_seq() 292 struct list_head *pending = &fq->flush_queue[fq->flush_pending_idx]; in blk_kick_flush() local 294 list_first_entry(pending, struct request, flush.list); in blk_kick_flush() 298 if (fq->flush_pending_idx != fq->flush_running_idx || list_empty(pending)) in blk_kick_flush()
|
/linux-4.4.14/drivers/isdn/mISDN/ |
D | timerdev.c | 36 struct list_head pending; member 61 INIT_LIST_HEAD(&dev->pending); in mISDN_open() 74 struct list_head *list = &dev->pending; in mISDN_close() 195 list_add_tail(&timer->list, &dev->pending); in misdn_add_timer() 209 list_for_each_entry(timer, &dev->pending, list) { in misdn_del_timer()
|
/linux-4.4.14/include/net/ |
D | inet_connection_sock.h | 113 __u8 pending; /* ACK is pending */ member 176 inet_csk(sk)->icsk_ack.pending |= ICSK_ACK_SCHED; in inet_csk_schedule_ack() 181 return inet_csk(sk)->icsk_ack.pending & ICSK_ACK_SCHED; in inet_csk_ack_scheduled() 206 icsk->icsk_ack.blocked = icsk->icsk_ack.pending = 0; in inet_csk_clear_xmit_timer() 241 icsk->icsk_ack.pending |= ICSK_ACK_TIMER; in inet_csk_reset_xmit_timer()
|
D | af_vsock.h | 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);
|
/linux-4.4.14/arch/powerpc/platforms/cell/ |
D | interrupt.c | 148 struct cbe_iic_pending_bits pending; in iic_get_irq() local 153 *(unsigned long *) &pending = in iic_get_irq() 155 if (!(pending.flags & CBE_IIC_IRQ_VALID)) in iic_get_irq() 157 virq = irq_linear_revmap(iic_host, iic_pending_to_hwnum(pending)); in iic_get_irq() 160 iic->eoi_stack[++iic->eoi_ptr] = pending.prio; in iic_get_irq()
|
/linux-4.4.14/drivers/xen/events/ |
D | events_2l.c | 279 int pending; in xen_debug_interrupt() local 281 pending = (get_irq_regs() && i == cpu) in xen_debug_interrupt() 285 pending, v->evtchn_upcall_pending, in xen_debug_interrupt() 319 xen_ulong_t pending = sh->evtchn_pending[i] in xen_debug_interrupt() local 324 pending, i % 8 == 0 ? "\n " : " "); in xen_debug_interrupt()
|
/linux-4.4.14/arch/sparc/kernel/ |
D | irq.h | 29 u32 pending; member 36 u32 pending; member
|
/linux-4.4.14/arch/mips/ar7/ |
D | irq.c | 171 unsigned int pending = read_c0_status() & read_c0_cause() & ST0_IM; in plat_irq_dispatch() local 172 if (pending & STATUSF_IP7) /* cpu timer */ in plat_irq_dispatch() 174 else if (pending & STATUSF_IP2) /* int0 hardware line */ in plat_irq_dispatch()
|
/linux-4.4.14/drivers/mmc/core/ |
D | sdio_irq.c | 35 unsigned char pending; in process_sdio_pending_irqs() local 49 ret = mmc_io_rw_direct(card, 0, 0, SDIO_CCCR_INTx, 0, &pending); in process_sdio_pending_irqs() 56 if (pending && mmc_card_broken_irq_polling(card) && in process_sdio_pending_irqs() 69 if (pending & (1 << i)) { in process_sdio_pending_irqs()
|
/linux-4.4.14/drivers/net/phy/ |
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); in octeon_mdiobus_c45_addr() 215 } while (smi_rd.s.pending && --timeout); in octeon_mdiobus_read() 260 } while (smi_wr.s.pending && --timeout); in octeon_mdiobus_write()
|
/linux-4.4.14/Documentation/locking/ |
D | rt-mutex.txt | 50 are used to keep track of the "owner is pending" and "rtmutex has 59 taskpointer 0 1 task is pending owner 61 taskpointer 1 1 task is pending owner and mutex has waiters 64 pending-ownership is assigned to the first (highest priority) waiter of 70 The pending-ownership optimization is especially important for the
|
D | rt-mutex-design.txt | 548 pending ownership. This means that it's the new owner, unless a higher 551 process "steal" the mutex from the pending owner (only if it is still pending) 566 If there is contention on the lock, whether it is owned or pending owner 596 mutex doesn't have a owner, or if we can steal the mutex from a pending 599 1) Has owner that is pending 604 current task. This is because this function is also used for the pending 605 owner to grab the mutex. When a pending owner wakes up, it checks to see 610 If the pending owner is not current, we check to see if the current priority is 611 higher than the pending owner. If not, we fail the function and return. 613 There's also something special about a pending owner. That is a pending owner [all …]
|
/linux-4.4.14/drivers/isdn/gigaset/ |
D | bas-gigaset.c | 118 int pending; /* uncompleted base request */ member 380 switch (ucs->pending) { in check_pending() 385 ucs->pending = 0; in check_pending() 389 ucs->pending = 0; in check_pending() 393 ucs->pending = 0; in check_pending() 397 ucs->pending = 0; in check_pending() 401 ucs->pending = 0; in check_pending() 405 ucs->pending = 0; in check_pending() 408 ucs->pending = 0; in check_pending() 412 ucs->pending = 0; in check_pending() [all …]
|
/linux-4.4.14/sound/soc/intel/common/ |
D | sst-ipc.h | 41 bool pending; member 70 bool pending; member
|
/linux-4.4.14/arch/um/drivers/ |
D | port_kern.c | 26 struct list_head pending; member 113 list_add(&conn->list, &port->pending); in port_accept() 197 .pending = LIST_HEAD_INIT(port->pending), in port_data()
|
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp4/ |
D | mdp4_crtc.c | 61 atomic_t pending; member 77 static void request_pending(struct drm_crtc *crtc, uint32_t pending) in request_pending() argument 81 atomic_or(pending, &mdp4_crtc->pending); in request_pending() 525 unsigned pending; in mdp4_crtc_vblank_irq() local 529 pending = atomic_xchg(&mdp4_crtc->pending, 0); in mdp4_crtc_vblank_irq() 531 if (pending & PENDING_FLIP) { in mdp4_crtc_vblank_irq() 535 if (pending & PENDING_CURSOR) { in mdp4_crtc_vblank_irq()
|
/linux-4.4.14/arch/mips/pnx833x/common/ |
D | interrupts.c | 132 unsigned int pending = read_c0_status() & read_c0_cause(); in plat_irq_dispatch() local 134 if (pending & STATUSF_IP4) in plat_irq_dispatch() 136 else if (pending & STATUSF_IP7) in plat_irq_dispatch()
|
/linux-4.4.14/drivers/pci/host/ |
D | pci-keystone-dw.c | 78 u32 pending, vector; in ks_dw_pcie_handle_msi_irq() local 81 pending = readl(ks_pcie->va_app_base + MSI0_IRQ_STATUS + (offset << 4)); in ks_dw_pcie_handle_msi_irq() 88 if (BIT(src) & pending) { in ks_dw_pcie_handle_msi_irq() 230 u32 pending; in ks_dw_pcie_handle_legacy_irq() local 233 pending = readl(ks_pcie->va_app_base + IRQ_STATUS + (offset << 4)); in ks_dw_pcie_handle_legacy_irq() 235 if (BIT(0) & pending) { in ks_dw_pcie_handle_legacy_irq()
|
/linux-4.4.14/arch/arm/kernel/ |
D | entry-v7m.S | 56 @ Check for any pending work if returning to user 66 beq 2f @ no work pending
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | trace_booke.h | 202 __field( unsigned long, pending ) 208 __entry->pending = vcpu->arch.pending_exceptions; 214 __entry->pending)
|
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/ |
D | config.c | 420 struct list_head pending; in lnet_str2tbs_sep() local 426 INIT_LIST_HEAD(&pending); in lnet_str2tbs_sep() 443 lnet_free_text_bufs(&pending); in lnet_str2tbs_sep() 455 list_add_tail(<b->ltb_list, &pending); in lnet_str2tbs_sep() 471 list_splice(&pending, tbs->prev); in lnet_str2tbs_sep() 504 struct list_head pending; in lnet_str2tbs_expand() local 516 INIT_LIST_HEAD(&pending); in lnet_str2tbs_expand() 542 &pending, str, sep, sep2, in lnet_str2tbs_expand() 570 if (lnet_expand1tb(&pending, str, sep, sep2, in lnet_str2tbs_expand() 576 list_splice(&pending, tbs->prev); in lnet_str2tbs_expand() [all …]
|
/linux-4.4.14/drivers/net/can/softing/ |
D | softing_main.c | 80 (card->tx.pending >= TXMAX) || in softing_netdev_start_xmit() 81 (priv->tx.pending >= TX_ECHO_SKB_MAX)) in softing_netdev_start_xmit() 116 ++card->tx.pending; in softing_netdev_start_xmit() 117 ++priv->tx.pending; in softing_netdev_start_xmit() 126 if (card->tx.pending >= TXMAX) { in softing_netdev_start_xmit() 302 if (priv->tx.pending) in softing_handle_1() 303 --priv->tx.pending; in softing_handle_1() 304 if (card->tx.pending) in softing_handle_1() 305 --card->tx.pending; in softing_handle_1() 346 if (card->tx.pending >= TXMAX) in softing_irq_thread() [all …]
|
D | softing.h | 24 int pending; member 57 int pending; member
|
/linux-4.4.14/drivers/sn/ |
D | ioc3.c | 407 unsigned int pending; in ioc3_intr_io() local 419 pending = get_pending_intrs(idd); /* look at the IO IRQs */ in ioc3_intr_io() 423 && (pending & ioc3_submodules[id]->irq_mask) in ioc3_intr_io() 428 idd, pending & ioc3_submodules[id]->irq_mask)) in ioc3_intr_io() 429 pending &= ~ioc3_submodules[id]->irq_mask; in ioc3_intr_io() 436 if(pending) { in ioc3_intr_io() 438 "IOC3: Pending IRQs 0x%08x discarded and disabled\n",pending); in ioc3_intr_io() 439 write_ireg(idd, pending, IOC3_W_IEC); in ioc3_intr_io()
|
/linux-4.4.14/drivers/net/wimax/i2400m/ |
D | usb-rx.c | 338 size_t pending; in i2400mu_rxd() local 350 pending = 0; in i2400mu_rxd() 354 || (pending = atomic_read(&i2400mu->rx_pending_count))) in i2400mu_rxd() 358 if (pending == 0) in i2400mu_rxd()
|
/linux-4.4.14/drivers/net/wireless/cw1200/ |
D | queue.c | 179 INIT_LIST_HEAD(&queue->pending); in cw1200_queue_init() 212 list_splice_tail_init(&queue->queue, &queue->pending); in cw1200_queue_clear() 213 list_for_each_entry_safe(item, tmp, &queue->pending, head) { in cw1200_queue_clear() 357 list_move_tail(&item->head, &queue->pending); in cw1200_queue_get() 422 list_for_each_entry_safe_reverse(item, tmp, &queue->pending, head) { in cw1200_queue_requeue_all() 546 ret = !list_empty(&queue->pending); in cw1200_queue_get_xmit_timestamp() 548 list_for_each_entry(item, &queue->pending, head) { in cw1200_queue_get_xmit_timestamp()
|
D | bh.c | 479 int pending = 0; in cw1200_bh() local 491 pending += cw1200_queue_get_xmit_timestamp( in cw1200_bh() 506 if (pending && timeout < 0) { in cw1200_bh() 509 priv->hw_bufs_used, pending, in cw1200_bh()
|
/linux-4.4.14/include/acpi/platform/ |
D | acenv.h | 259 #define ACPI_RELEASE_GLOBAL_LOCK(Glptr, pending) pending = 0 argument
|
/linux-4.4.14/arch/arm/mach-omap2/ |
D | prm_common.c | 107 unsigned long pending[OMAP_PRCM_MAX_NR_PENDING_REG]; in omap_prcm_irq_handler() local 133 prcm_irq_setup->read_pending_irqs(pending); in omap_prcm_irq_handler() 136 if (find_first_bit(pending, nr_irq) >= nr_irq) in omap_prcm_irq_handler() 139 omap_prcm_events_filter_priority(pending, priority_pending); in omap_prcm_irq_handler() 151 for_each_set_bit(virtirq, pending, nr_irq) in omap_prcm_irq_handler()
|
/linux-4.4.14/net/batman-adv/ |
D | send.c | 601 bool pending; in batadv_purge_outstanding_packets() local 628 pending = cancel_delayed_work_sync(&forw_packet->delayed_work); in batadv_purge_outstanding_packets() 631 if (pending) { in batadv_purge_outstanding_packets() 658 pending = cancel_delayed_work_sync(&forw_packet->delayed_work); in batadv_purge_outstanding_packets() 661 if (pending) { in batadv_purge_outstanding_packets()
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
D | exynos_drm_drv.c | 117 priv->pending &= ~commit->crtcs; in exynos_atomic_commit_complete() 251 bool pending; in commit_is_pending() local 254 pending = priv->pending & crtcs; in commit_is_pending() 257 return pending; in commit_is_pending() 294 priv->pending |= commit->crtcs; in exynos_atomic_commit()
|
/linux-4.4.14/drivers/staging/unisys/visorhba/ |
D | visorhba_main.c | 122 struct scsipending pending[MAX_PENDING_REQUESTS]; member 201 while (devdata->pending[insert_location].sent) { in add_scsipending_entry() 209 entry = &devdata->pending[insert_location]; in add_scsipending_entry() 238 sent = devdata->pending[del].sent; in del_scsipending_ent() 240 devdata->pending[del].cmdtype = 0; in del_scsipending_ent() 241 devdata->pending[del].sent = NULL; in del_scsipending_ent() 260 if (ddata->pending[ent].sent) in get_scsipending_cmdrsp() 261 return &ddata->pending[ent].cmdrsp; in get_scsipending_cmdrsp() 695 pendingdel = &devdata->pending[i]; in visorhba_serverdown_complete()
|
/linux-4.4.14/drivers/scsi/libfc/ |
D | fc_disc.c | 173 redisc, lport->state, disc->pending); in fc_disc_recv_rscn_req() 229 if (disc->pending) in fc_disc_restart() 280 disc->pending = 0; in fc_disc_done() 346 disc->pending = 0; in fc_disc_error() 364 disc->pending = 1; in fc_disc_gpn_ft_req() 696 if (disc->pending) in fc_disc_stop()
|
/linux-4.4.14/fs/squashfs/ |
D | cache.c | 118 entry->pending = 1; in squashfs_cache_get() 131 entry->pending = 0; in squashfs_cache_get() 162 if (entry->pending) { in squashfs_cache_get() 165 wait_event(entry->wait_queue, !entry->pending); in squashfs_cache_get()
|
D | squashfs_fs_sb.h | 47 int pending; member
|
/linux-4.4.14/arch/blackfin/mach-common/ |
D | smp.c | 143 unsigned long pending; in ipi_handler_int1() local 150 while ((pending = atomic_xchg(&bfin_ipi_data->bits, 0)) != 0) { in ipi_handler_int1() 153 msg = find_next_bit(&pending, BITS_PER_LONG, msg + 1); in ipi_handler_int1()
|
/linux-4.4.14/drivers/usb/misc/ |
D | usbtest.c | 1032 unsigned pending; member 1059 ctx->pending--; in ctrl_complete() 1141 if ((status == 0) && (ctx->pending < ctx->count)) { in ctrl_complete() 1149 ctx->pending++; in ctrl_complete() 1154 if (ctx->pending == 0) in ctrl_complete() 1174 context.pending = 0; in test_ctrl_queue() 1352 context.count = context.pending; in test_ctrl_queue() 1355 context.pending++; in test_ctrl_queue() 1362 if (context.pending > 0) in test_ctrl_queue() 1487 atomic_t pending; member [all …]
|
/linux-4.4.14/net/sunrpc/ |
D | xprt.c | 480 rpc_wake_up_status(&xprt->pending, status); in xprt_wake_pending_tasks() 482 rpc_wake_up(&xprt->pending); in xprt_wake_pending_tasks() 501 rpc_sleep_on(&xprt->pending, task, action); in xprt_wait_for_buffer_space() 517 rpc_wake_up_queued_task(&xprt->pending, xprt->snd_task); in xprt_write_space() 755 rpc_sleep_on(&xprt->pending, task, xprt_connect_status); in xprt_connect() 866 rpc_wake_up_queued_task(&xprt->pending, task); in xprt_complete_rqst() 916 rpc_sleep_on(&xprt->pending, task, xprt_timer); in xprt_prepare_transmit() 990 xprt->stat.pending_u += xprt->pending.qlen; in xprt_transmit() 1001 rpc_sleep_on(&xprt->pending, task, xprt_timer); in xprt_transmit() 1327 rpc_init_wait_queue(&xprt->pending, "xprt_pending"); in xprt_init() [all …]
|
D | cache.c | 670 struct list_head pending; in cache_revisit_request() local 674 INIT_LIST_HEAD(&pending); in cache_revisit_request() 680 list_add(&dreq->recent, &pending); in cache_revisit_request() 685 while (!list_empty(&pending)) { in cache_revisit_request() 686 dreq = list_entry(pending.next, struct cache_deferred_req, recent); in cache_revisit_request() 695 struct list_head pending; in cache_clean_deferred() local 698 INIT_LIST_HEAD(&pending); in cache_clean_deferred() 704 list_add(&dreq->recent, &pending); in cache_clean_deferred() 709 while (!list_empty(&pending)) { in cache_clean_deferred() 710 dreq = list_entry(pending.next, struct cache_deferred_req, recent); in cache_clean_deferred()
|
/linux-4.4.14/drivers/md/ |
D | dm-region-hash.c | 109 atomic_t pending; member 244 BUG_ON(atomic_read(®->pending)); in dm_region_hash_destroy() 299 atomic_set(&nreg->pending, 0); in __rh_alloc() 509 atomic_inc(®->pending); in rh_inc() 547 if (atomic_dec_and_test(®->pending)) { in dm_rh_dec() 610 if (atomic_read(®->pending)) in __rh_recovery_prepare()
|
/linux-4.4.14/net/ipv6/ |
D | udp.c | 970 if (up->pending == AF_INET) in udp_v6_flush_pending_frames() 972 else if (up->pending) { in udp_v6_flush_pending_frames() 974 up->pending = 0; in udp_v6_flush_pending_frames() 1082 if (up->pending == AF_INET) in udp_v6_push_pending_frames() 1098 up->pending = 0; in udp_v6_push_pending_frames() 1147 } else if (!up->pending) { in udpv6_sendmsg() 1169 if (up->pending == AF_INET) in udpv6_sendmsg() 1179 if (up->pending) { in udpv6_sendmsg() 1185 if (likely(up->pending)) { in udpv6_sendmsg() 1186 if (unlikely(up->pending != AF_INET6)) { in udpv6_sendmsg() [all …]
|
/linux-4.4.14/drivers/usb/gadget/function/ |
D | f_uac2.c | 173 unsigned pending; in agdev_iso_complete() local 227 pending = prm->hw_ptr % prm->period_size; in agdev_iso_complete() 228 pending += req->actual; in agdev_iso_complete() 229 if (pending >= prm->period_size) in agdev_iso_complete() 238 pending = prm->dma_bytes - hw_ptr; in agdev_iso_complete() 241 if (unlikely(pending < req->actual)) { in agdev_iso_complete() 242 memcpy(req->buf, prm->dma_area + hw_ptr, pending); in agdev_iso_complete() 243 memcpy(req->buf + pending, prm->dma_area, in agdev_iso_complete() 244 req->actual - pending); in agdev_iso_complete() 249 if (unlikely(pending < req->actual)) { in agdev_iso_complete() [all …]
|
/linux-4.4.14/drivers/mmc/host/ |
D | dw_mmc.c | 2353 u32 pending; in dw_mci_interrupt() local 2356 pending = mci_readl(host, MINTSTS); /* read-only mask reg */ in dw_mci_interrupt() 2363 if (!pending && in dw_mci_interrupt() 2365 pending |= SDMMC_INT_DATA_OVER; in dw_mci_interrupt() 2368 if (pending) { in dw_mci_interrupt() 2371 (pending & SDMMC_INT_VOLT_SWITCH)) { in dw_mci_interrupt() 2375 pending &= ~SDMMC_INT_VOLT_SWITCH; in dw_mci_interrupt() 2382 dw_mci_cmd_interrupt(host, pending); in dw_mci_interrupt() 2388 if (pending & DW_MCI_CMD_ERROR_FLAGS) { in dw_mci_interrupt() 2390 host->cmd_status = pending; in dw_mci_interrupt() [all …]
|
D | atmel-mci.c | 2007 u32 status, mask, pending; in atmci_interrupt() local 2013 pending = status & mask; in atmci_interrupt() 2014 if (!pending) in atmci_interrupt() 2017 if (pending & ATMCI_DATA_ERROR_FLAGS) { in atmci_interrupt() 2031 if (pending & ATMCI_TXBUFE) { in atmci_interrupt() 2047 } else if (pending & ATMCI_ENDTX) { in atmci_interrupt() 2058 if (pending & ATMCI_RXBUFF) { in atmci_interrupt() 2074 } else if (pending & ATMCI_ENDRX) { in atmci_interrupt() 2091 if (pending & ATMCI_BLKE) { in atmci_interrupt() 2100 if (pending & ATMCI_NOTBUSY) { in atmci_interrupt() [all …]
|
/linux-4.4.14/drivers/target/ |
D | target_core_iblock.h | 10 atomic_t pending; member
|
D | target_core_iblock.c | 283 if (!atomic_dec_and_test(&ibr->pending)) in iblock_complete_cmd() 454 atomic_set(&ibr->pending, 1); in iblock_execute_write_same() 464 atomic_inc(&ibr->pending); in iblock_execute_write_same() 676 atomic_set(&ibr->pending, 1); in iblock_execute_rw() 689 atomic_set(&ibr->pending, 2); in iblock_execute_rw() 709 atomic_inc(&ibr->pending); in iblock_execute_rw()
|
/linux-4.4.14/arch/mips/paravirt/ |
D | paravirt-irq.c | 355 unsigned int pending = read_c0_cause() & read_c0_status() & ST0_IM; in plat_irq_dispatch() local 358 if (unlikely(!pending)) { in plat_irq_dispatch() 363 ip = ffs(pending) - 1 - STATUSB_IP0; in plat_irq_dispatch()
|
/linux-4.4.14/drivers/net/wireless/ti/wlcore/ |
D | ps.c | 113 bool pending = false; in wl1271_ps_elp_wakeup() local 136 pending = true; in wl1271_ps_elp_wakeup() 147 if (!pending) { in wl1271_ps_elp_wakeup()
|
/linux-4.4.14/drivers/pinctrl/spear/ |
D | pinctrl-plgpio.c | 365 unsigned long pending; in plgpio_irq_handler() local 373 pending = readl_relaxed(plgpio->base + plgpio->regs.mis + in plgpio_irq_handler() 375 if (!pending) in plgpio_irq_handler() 379 writel_relaxed(~pending, plgpio->base + plgpio->regs.mis + in plgpio_irq_handler() 390 pending &= (1 << count) - 1; in plgpio_irq_handler() 392 for_each_set_bit(offset, &pending, MAX_GPIO_PER_REG) { in plgpio_irq_handler()
|
/linux-4.4.14/fs/proc/ |
D | array.c | 260 sigset_t pending, shpending, blocked, ignored, caught; in task_sig() local 265 sigemptyset(&pending); in task_sig() 272 pending = p->pending.signal; in task_sig() 288 render_sigset_t(m, "SigPnd:\t", &pending); in task_sig() 506 seq_put_decimal_ull(m, ' ', task->pending.signal.sig[0] & 0x7fffffffUL); in do_task_stat()
|
/linux-4.4.14/drivers/misc/ |
D | hpilo.c | 650 int pending, i; in ilo_isr() local 655 pending = get_device_outbound(hw); in ilo_isr() 656 if (!pending) { in ilo_isr() 661 if (is_db_reset(pending)) { in ilo_isr() 663 pending = -1; in ilo_isr() 670 if (pending & (1 << i)) in ilo_isr() 675 clear_pending_db(hw, pending); in ilo_isr()
|
/linux-4.4.14/Documentation/misc-devices/mei/ |
D | mei-client-bus.txt | 50 In order for drivers to be notified of pending events waiting for them (e.g. 54 to call mei_recv() from the event handler in order to fetch the pending 121 the pending events:
|
/linux-4.4.14/net/bluetooth/rfcomm/ |
D | tty.c | 69 struct sk_buff_head pending; member 274 skb_queue_head_init(&dev->pending); in __rfcomm_dev_add() 288 skb_queue_tail(&dev->pending, skb); in __rfcomm_dev_add() 356 int pending = 40 - atomic_read(&dev->wmem_alloc); in rfcomm_room() local 358 return max(0, pending) * dlc->mtu; in rfcomm_room() 613 if (!skb_queue_empty(&dev->pending)) { in rfcomm_dev_data_ready() 614 skb_queue_tail(&dev->pending, skb); in rfcomm_dev_data_ready() 671 while ((skb = skb_dequeue(&dev->pending))) { in rfcomm_tty_copy_pending()
|
/linux-4.4.14/lib/zlib_deflate/ |
D | defutil.h | 77 int pending; /* nb of bytes in the pending buffer */ member 262 #define put_byte(s, c) {s->pending_buf[s->pending++] = (c);}
|
D | deflate.c | 267 s->pending = 0; in zlib_deflateReset() 308 unsigned len = s->pending; in flush_pending() 320 s->pending -= len; in flush_pending() 321 if (s->pending == 0) { in flush_pending() 374 if (s->pending != 0) { in zlib_deflate() 461 return s->pending != 0 ? Z_OK : Z_STREAM_END; in zlib_deflate()
|
/linux-4.4.14/Documentation/ |
D | io_ordering.txt | 5 chipset to flush pending writes to the device before any reads are posted. A 46 pending writes before actually posting the read to the chipset, preventing
|
D | kmemcheck.txt | 326 395 static int __dequeue_signal(struct sigpending *pending, sigset_t *mask, 330 410 collect_signal(sig, pending, info); 334 Now we need to follow the "pending" pointer, since that is being passed on to 387 kernel/signal.c:828: pending = group ? &t->signal->shared_pending : &t->pending; 388 kernel/signal.c:1339: pending = group ? &t->signal->shared_pending : &t->pending; 399 828 pending = group ? &t->signal->shared_pending : &t->pending; 405 855 list_add_tail(&q->list, &pending->list); 414 1339 pending = group ? &t->signal->shared_pending : &t->pending; 415 1340 list_add_tail(&q->list, &pending->list); 579 828 pending = group ? &t->signal->shared_pending : &t->pending; [all …]
|
/linux-4.4.14/kernel/rcu/ |
D | srcu.c | 639 bool pending = true; in srcu_reschedule() local 651 pending = false; in srcu_reschedule() 656 if (pending) in srcu_reschedule()
|
/linux-4.4.14/drivers/dma/ |
D | dma-axi-dmac.c | 270 unsigned int pending; in axi_dmac_interrupt_handler() local 272 pending = axi_dmac_read(dmac, AXI_DMAC_REG_IRQ_PENDING); in axi_dmac_interrupt_handler() 273 axi_dmac_write(dmac, AXI_DMAC_REG_IRQ_PENDING, pending); in axi_dmac_interrupt_handler() 277 if (pending & AXI_DMAC_IRQ_EOT) { in axi_dmac_interrupt_handler() 284 if (pending & AXI_DMAC_IRQ_SOT) in axi_dmac_interrupt_handler()
|
/linux-4.4.14/Documentation/dmaengine/ |
D | client.txt | 18 5. Issue pending requests and wait for callback notification 143 added, it must be placed on the DMA engine drivers pending queue. 152 it to the pending queue. For this, see step 5, dma_async_issue_pending. 154 5. Issue pending DMA requests and wait for callback notification 156 The transactions in the pending queue can be activated by calling the
|
/linux-4.4.14/drivers/net/ethernet/ |
D | ethoc.c | 555 u32 pending; in ethoc_interrupt() local 567 pending = ethoc_read(priv, INT_SOURCE); in ethoc_interrupt() 568 pending &= mask; in ethoc_interrupt() 570 if (unlikely(pending == 0)) in ethoc_interrupt() 573 ethoc_ack_irq(priv, pending); in ethoc_interrupt() 576 if (pending & INT_MASK_BUSY) { in ethoc_interrupt() 582 if (pending & (INT_MASK_TX | INT_MASK_RX)) { in ethoc_interrupt() 851 u32 pending = ethoc_read(priv, INT_SOURCE); in ethoc_tx_timeout() local 852 if (likely(pending)) in ethoc_tx_timeout()
|
/linux-4.4.14/drivers/block/drbd/ |
D | drbd_req.c | 1359 struct list_head *pending, in prepare_al_transaction_nonblock() argument 1376 list_move_tail(&req->tl_requests, pending); in prepare_al_transaction_nonblock() 1381 return !list_empty(pending); in prepare_al_transaction_nonblock() 1384 void send_and_submit_pending(struct drbd_device *device, struct list_head *pending) in send_and_submit_pending() argument 1388 list_for_each_entry_safe(req, tmp, pending, tl_requests) { in send_and_submit_pending() 1401 LIST_HEAD(pending); /* to be submitted after next AL-transaction commit */ in do_submit() 1422 prepare_al_transaction_nonblock(device, &incoming, &pending, &busy); in do_submit() 1423 if (!list_empty(&pending)) in do_submit() 1486 list_splice_tail_init(&more_pending, &pending); in do_submit() 1493 send_and_submit_pending(device, &pending); in do_submit()
|
/linux-4.4.14/Documentation/devicetree/bindings/interrupt-controller/ |
D | brcm,bcm2835-armctrl-ic.txt | 22 pending" register, or 1/2 respectively for interrupts in the "IRQ pending
|
/linux-4.4.14/net/dccp/ |
D | timer.c | 189 !(icsk->icsk_ack.pending & ICSK_ACK_TIMER)) in dccp_delack_timer() 197 icsk->icsk_ack.pending &= ~ICSK_ACK_TIMER; in dccp_delack_timer()
|
/linux-4.4.14/kernel/locking/ |
D | qspinlock.c | 129 u8 pending; member 142 u8 pending; member
|
/linux-4.4.14/arch/mips/lantiq/ |
D | irq.c | 315 unsigned int pending = read_c0_status() & read_c0_cause() & ST0_IM; in plat_irq_dispatch() local 318 if ((MIPS_CPU_TIMER_IRQ == 7) && (pending & CAUSEF_IP7)) { in plat_irq_dispatch() 323 if (pending & (CAUSEF_IP2 << i)) { in plat_irq_dispatch()
|
/linux-4.4.14/arch/x86/entry/vsyscall/ |
D | vsyscall_64.c | 258 if (WARN_ON_ONCE(!sigismember(&tsk->pending.signal, SIGBUS) && in emulate_vsyscall() 259 !sigismember(&tsk->pending.signal, SIGSEGV))) in emulate_vsyscall()
|
/linux-4.4.14/Documentation/virtual/kvm/arm/ |
D | vgic-mapped-irqs.txt | 86 line. This means that the interrupt will remain pending on the physical 88 always run the VM with interrupts enabled on the CPU, a pending 93 the pending interrupt to the CPU. As soon as the guest deactivates the 106 to queue the pending state onto the LR, even though the guest won't use 125 active state. They become pending when a device signal them, and as 133 necessary, and queue the pending state onto the LR.
|
/linux-4.4.14/net/mac80211/ |
D | sta_info.c | 143 ieee80211_purge_tx_queue(&local->hw, &tid_tx->pending); in __cleanup_single_sta() 1147 struct sk_buff_head pending; in ieee80211_sta_ps_deliver_wakeup() local 1183 skb_queue_head_init(&pending); in ieee80211_sta_ps_deliver_wakeup() 1189 int count = skb_queue_len(&pending), tmp; in ieee80211_sta_ps_deliver_wakeup() 1192 skb_queue_splice_tail_init(&sta->tx_filtered[ac], &pending); in ieee80211_sta_ps_deliver_wakeup() 1194 tmp = skb_queue_len(&pending); in ieee80211_sta_ps_deliver_wakeup() 1199 skb_queue_splice_tail_init(&sta->ps_tx_buf[ac], &pending); in ieee80211_sta_ps_deliver_wakeup() 1201 tmp = skb_queue_len(&pending); in ieee80211_sta_ps_deliver_wakeup() 1205 ieee80211_add_pending_skbs(local, &pending); in ieee80211_sta_ps_deliver_wakeup() 1437 struct sk_buff_head pending; in ieee80211_sta_ps_deliver_response() local [all …]
|
/linux-4.4.14/sound/pci/lola/ |
D | lola_pcm.c | 135 int pending = 0; in lola_sync_wait_for_fifo() local 138 pending = 0; in lola_sync_wait_for_fifo() 148 pending = str->dsd + 1; in lola_sync_wait_for_fifo() 155 if (!pending) in lola_sync_wait_for_fifo() 159 dev_warn(chip->card->dev, "FIFO not ready (pending %d)\n", pending - 1); in lola_sync_wait_for_fifo()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/ |
D | qed_spq.c | 415 INIT_LIST_HEAD(&p_spq->pending); in qed_spq_setup() 540 p_ent->queue = &p_spq->pending; in qed_spq_get_entry() 618 list_add_tail(&p_ent->list, &p_spq->pending); in qed_spq_add_entry() 622 list_add(&p_ent->list, &p_spq->pending); in qed_spq_add_entry() 691 return qed_spq_post_list(p_hwfn, &p_spq->pending, in qed_spq_pend_post()
|
/linux-4.4.14/drivers/input/joystick/ |
D | sidewinder.c | 139 unsigned char pending, u, v; in sw_read_packet() local 147 pending = 0; in sw_read_packet() 183 pending = 1; /* Mark schedule */ in sw_read_packet() 186 if (pending && sched < 0 && (i > -SW_END)) { /* Second trigger time */ in sw_read_packet() 189 pending = 0; /* Unmark schedule */ in sw_read_packet()
|
/linux-4.4.14/include/uapi/linux/ |
D | rtc.h | 38 unsigned char pending; /* 0 = alarm not pending, 1 = alarm pending */ member
|
/linux-4.4.14/arch/arm/include/asm/hardware/ |
D | iop_adma.h | 63 int pending; member
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_acpi.c | 55 u32 pending; /* pending sbios requests */ member 328 DRM_DEBUG_DRIVER("SBIOS pending requests: %#x\n", req->pending); in amdgpu_atif_get_sbios_requests() 330 count = hweight32(req->pending); in amdgpu_atif_get_sbios_requests() 375 if (req.pending & ATIF_PANEL_BRIGHTNESS_CHANGE_REQUEST) { in amdgpu_atif_handler()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | radeon_acpi.c | 55 u32 pending; /* pending sbios requests */ member 328 DRM_DEBUG_DRIVER("SBIOS pending requests: %#x\n", req->pending); in radeon_atif_get_sbios_requests() 330 count = hweight32(req->pending); in radeon_atif_get_sbios_requests() 375 if (req.pending & ATIF_PANEL_BRIGHTNESS_CHANGE_REQUEST) { in radeon_atif_handler()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sp.c | 4442 unsigned long *pending = &o->pending; in bnx2x_queue_state_change() local 4452 DP(BNX2X_MSG_SP, "pending bit was=%lx\n", o->pending); in bnx2x_queue_state_change() 4454 DP(BNX2X_MSG_SP, "pending bit now=%lx\n", o->pending); in bnx2x_queue_state_change() 4464 clear_bit(pending_bit, pending); in bnx2x_queue_state_change() 4478 return !!test_bit(pending_bit, pending); in bnx2x_queue_state_change() 4495 set_bit(bit, &obj->pending); in bnx2x_queue_set_pending() 4503 return bnx2x_state_wait(bp, cmd, &o->pending); in bnx2x_queue_wait_comp() 4519 unsigned long cur_pending = o->pending; in bnx2x_queue_comp_cmd() 4552 clear_bit(cmd, &o->pending); in bnx2x_queue_comp_cmd() 5289 o->pending = 0; in bnx2x_queue_chk_transition() [all …]
|
/linux-4.4.14/drivers/firmware/efi/ |
D | runtime-wrappers.c | 125 efi_bool_t *pending, in virt_efi_get_wakeup_time() argument 133 status = efi_call_virt(get_wakeup_time, enabled, pending, tm); in virt_efi_get_wakeup_time()
|
/linux-4.4.14/drivers/xen/ |
D | efi.c | 77 efi_bool_t *pending, in xen_efi_get_wakeup_time() argument 93 if (pending) in xen_efi_get_wakeup_time() 94 *pending = !!(efi_data(op).misc & XEN_EFI_GET_WAKEUP_TIME_PENDING); in xen_efi_get_wakeup_time()
|
/linux-4.4.14/drivers/gpu/drm/rcar-du/ |
D | rcar_du_drv.h | 97 u32 pending; member
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/pcie/ |
D | rx.c | 434 int pending = atomic_xchg(&rba->req_pending, 0); in iwl_pcie_rx_allocator() local 436 IWL_DEBUG_RX(trans, "Pending allocation requests = %d\n", pending); in iwl_pcie_rx_allocator() 444 while (pending) { in iwl_pcie_rx_allocator() 490 pending--; in iwl_pcie_rx_allocator() 491 if (!pending) { in iwl_pcie_rx_allocator() 492 pending = atomic_xchg(&rba->req_pending, 0); in iwl_pcie_rx_allocator() 495 pending); in iwl_pcie_rx_allocator()
|
/linux-4.4.14/arch/mips/bcm63xx/ |
D | irq.c | 78 u32 pending[width / 32]; \ 92 pending[--tgt] = val; \ 106 if (pending[to_call / 32] & (1 << (to_call & 0x1f))) { \
|