/linux-4.1.27/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 | 196 u32 pending; in msp_cic_irq_dispatch() local 199 pending = cic_status & cic_mask; in msp_cic_irq_dispatch() 200 if (pending & (1 << (MSP_INT_VPE0_TIMER - MSP_CIC_INTBASE))) { in msp_cic_irq_dispatch() 202 } else if (pending & (1 << (MSP_INT_VPE1_TIMER - MSP_CIC_INTBASE))) { in msp_cic_irq_dispatch() 204 } else if (pending & (1 << (MSP_INT_PER - MSP_CIC_INTBASE))) { in msp_cic_irq_dispatch() 206 } else if (pending) { in msp_cic_irq_dispatch() 207 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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/arch/mips/ath79/ |
D | irq.c | 33 u32 pending; in ath79_misc_irq_handler() local 35 pending = __raw_readl(base + AR71XX_RESET_REG_MISC_INT_STATUS) & in ath79_misc_irq_handler() 38 if (!pending) { in ath79_misc_irq_handler() 43 while (pending) { in ath79_misc_irq_handler() 44 int bit = __ffs(pending); in ath79_misc_irq_handler() 47 pending &= ~BIT(bit); in ath79_misc_irq_handler() 240 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 & STATUSF_IP7) in plat_irq_dispatch() 247 else if (pending & STATUSF_IP2) in plat_irq_dispatch() [all …]
|
/linux-4.1.27/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.1.27/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.1.27/arch/mips/loongson/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.1.27/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 | 232 .pending = { \ 233 .list = LIST_HEAD_INIT(tsk.pending.list), \
|
/linux-4.1.27/arch/mips/loongson1/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.1.27/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.1.27/arch/mips/kernel/ |
D | irq_cpu.c | 104 unsigned long pending = read_c0_cause() & read_c0_status() & ST0_IM; in plat_irq_dispatch() local 107 if (!pending) { in plat_irq_dispatch() 112 pending >>= CAUSEB_IP; in plat_irq_dispatch() 113 while (pending) { in plat_irq_dispatch() 114 irq = fls(pending) - 1; in plat_irq_dispatch() 116 pending &= ~BIT(irq); in plat_irq_dispatch()
|
/linux-4.1.27/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.1.27/arch/mips/loongson/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.1.27/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.1.27/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.1.27/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.1.27/arch/um/os-Linux/ |
D | signal.c | 140 unsigned long pending = 1UL << sig; in hard_handler() local 155 bail = to_irq_stack(&pending); in hard_handler() 159 nested = pending & 1; in hard_handler() 160 pending &= ~1; in hard_handler() 162 while ((sig = ffs(pending)) != 0){ in hard_handler() 164 pending &= ~(1 << sig); in hard_handler() 175 pending = from_irq_stack(nested); in hard_handler() 176 } while (pending); in hard_handler()
|
/linux-4.1.27/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() 422 flush_sigqueue(&t->pending); in __flush_signals() 435 static void __flush_itimer_signals(struct sigpending *pending) in __flush_itimer_signals() argument 440 signal = pending->signal; in __flush_itimer_signals() 443 list_for_each_entry_safe(q, n, &pending->list, list) { in __flush_itimer_signals() 455 sigorsets(&pending->signal, &signal, &retain); in __flush_itimer_signals() 464 __flush_itimer_signals(&tsk->pending); in flush_itimer_signals() 583 static int __dequeue_signal(struct sigpending *pending, sigset_t *mask, in __dequeue_signal() argument [all …]
|
/linux-4.1.27/net/vmw_vsock/ |
D | vmci_transport.c | 54 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() 957 struct sock *pending; in vmci_transport_recv_listen() local 973 pending = vmci_transport_get_pending(sk, pkt); in vmci_transport_recv_listen() [all …]
|
D | af_vsock.c | 357 void vsock_add_pending(struct sock *listener, struct sock *pending) in vsock_add_pending() argument 363 vpending = vsock_sk(pending); in vsock_add_pending() 365 sock_hold(pending); in vsock_add_pending() 371 void vsock_remove_pending(struct sock *listener, struct sock *pending) in vsock_remove_pending() argument 373 struct vsock_sock *vpending = vsock_sk(pending); in vsock_remove_pending() 377 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.1.27/drivers/irqchip/ |
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 | 279 DECLARE_BITMAP(pending, GIC_MAX_INTRS); in gic_handle_shared_int() 289 pending[i] = gic_read(pending_reg); in gic_handle_shared_int() 295 bitmap_and(pending, pending, intrmask, gic_shared_intrs); in gic_handle_shared_int() 296 bitmap_and(pending, pending, pcpu_mask, gic_shared_intrs); in gic_handle_shared_int() 298 intr = find_first_bit(pending, gic_shared_intrs); in gic_handle_shared_int() 308 bitmap_clear(pending, intr, 1); in gic_handle_shared_int() 309 intr = find_first_bit(pending, gic_shared_intrs); in gic_handle_shared_int() 439 unsigned long pending, masked; in gic_handle_local_int() local 442 pending = gic_read(GIC_REG(VPE_LOCAL, GIC_VPE_PEND)); in gic_handle_local_int() 445 bitmap_and(&pending, &pending, &masked, GIC_NUM_LOCAL_INTRS); in gic_handle_local_int() [all …]
|
D | irq-bcm2835.c | 91 void __iomem *pending[NR_BANKS]; member 159 intc.pending[b] = base + reg_pending[b]; in armctrl_of_init() 186 while ((stat = readl_relaxed(intc.pending[bank]))) { in armctrl_handle_bank() 204 while ((stat = readl_relaxed(intc.pending[0]) & BANK0_VALID_MASK)) { in bcm2835_handle_irq()
|
D | irq-bcm7120-l2.c | 67 unsigned long pending; in bcm7120_l2_intc_irq_handle() local 71 pending = irq_reg_readl(gc, b->stat_offset[idx]) & in bcm7120_l2_intc_irq_handle() 75 for_each_set_bit(hwirq, &pending, IRQS_PER_WORD) { in bcm7120_l2_intc_irq_handle()
|
D | irq-bcm7038-l1.c | 136 unsigned long pending, flags; in bcm7038_l1_irq_handle() local 140 pending = l1_readl(cpu->map_base + reg_status(intc, idx)) & in bcm7038_l1_irq_handle() 144 for_each_set_bit(hwirq, &pending, IRQS_PER_WORD) { in bcm7038_l1_irq_handle()
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/arch/mips/sgi-ip27/ |
D | ip27-irq.c | 164 unsigned long pending = read_c0_cause() & read_c0_status(); in plat_irq_dispatch() local 167 if (pending & CAUSEF_IP4) in plat_irq_dispatch() 169 else if (pending & CAUSEF_IP2) /* PI_INT_PEND_0 or CC_PEND_{A|B} */ in plat_irq_dispatch() 171 else if (pending & CAUSEF_IP3) /* PI_INT_PEND_1 */ in plat_irq_dispatch() 173 else if (pending & CAUSEF_IP5) in plat_irq_dispatch() 175 else if (pending & CAUSEF_IP6) in plat_irq_dispatch()
|
/linux-4.1.27/arch/mips/loongson/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.1.27/fs/btrfs/ |
D | async-thread.c | 44 atomic_t pending; member 99 atomic_set(&ret->pending, 0); in __btrfs_alloc_workqueue() 172 atomic_inc(&wq->pending); in thresh_queue_hook() 183 long pending; in thresh_exec_hook() local 189 atomic_dec(&wq->pending); in thresh_exec_hook() 205 pending = atomic_read(&wq->pending); in thresh_exec_hook() 206 if (pending > wq->thresh) in thresh_exec_hook() 208 if (pending < wq->thresh / 2) in thresh_exec_hook()
|
D | transaction.c | 1255 struct btrfs_pending_snapshot *pending) in create_pending_snapshot() argument 1260 struct btrfs_root *root = pending->root; in create_pending_snapshot() 1279 pending->error = -ENOMEM; in create_pending_snapshot() 1285 pending->error = -ENOMEM; in create_pending_snapshot() 1289 pending->error = btrfs_find_free_objectid(tree_root, &objectid); in create_pending_snapshot() 1290 if (pending->error) in create_pending_snapshot() 1293 btrfs_reloc_pre_snapshot(trans, pending, &to_reserve); in create_pending_snapshot() 1296 pending->error = btrfs_block_rsv_add(root, in create_pending_snapshot() 1297 &pending->block_rsv, in create_pending_snapshot() 1300 if (pending->error) in create_pending_snapshot() [all …]
|
/linux-4.1.27/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.1.27/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.1.27/arch/mips/loongson/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.1.27/arch/arm/mach-pxa/ |
D | pcm990-baseboard.c | 289 unsigned long pending; in pcm990_irq_handler() local 291 pending = ~pcm990_cpld_readb(PCM990_CTRL_INTSETCLR); in pcm990_irq_handler() 292 pending &= pcm990_irq_enabled; in pcm990_irq_handler() 297 if (likely(pending)) { in pcm990_irq_handler() 298 irq = PCM027_IRQ(0) + __ffs(pending); in pcm990_irq_handler() 301 pending = ~pcm990_cpld_readb(PCM990_CTRL_INTSETCLR); in pcm990_irq_handler() 302 pending &= pcm990_irq_enabled; in pcm990_irq_handler() 303 } while (pending); in pcm990_irq_handler()
|
D | lpd270.c | 125 unsigned long pending; in lpd270_irq_handler() local 127 pending = __raw_readw(LPD270_INT_STATUS) & lpd270_irq_enabled; in lpd270_irq_handler() 131 if (likely(pending)) { in lpd270_irq_handler() 132 irq = LPD270_IRQ(0) + __ffs(pending); in lpd270_irq_handler() 135 pending = __raw_readw(LPD270_INT_STATUS) & in lpd270_irq_handler() 138 } 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 | 281 unsigned long pending; in viper_irq_handler() local 283 pending = viper_irq_pending(); in viper_irq_handler() 289 if (likely(pending)) { in viper_irq_handler() 290 irq = viper_bit_to_irq(__ffs(pending)); in viper_irq_handler() 293 pending = viper_irq_pending(); in viper_irq_handler() 294 } while (pending); in viper_irq_handler()
|
D | zeus.c | 110 unsigned long pending; in zeus_irq_handler() local 112 pending = zeus_irq_pending(); in zeus_irq_handler() 118 if (likely(pending)) { in zeus_irq_handler() 119 irq = zeus_bit_to_irq(__ffs(pending)); in zeus_irq_handler() 122 pending = zeus_irq_pending(); in zeus_irq_handler() 123 } while (pending); in zeus_irq_handler()
|
/linux-4.1.27/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.1.27/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.1.27/arch/arc/kernel/ |
D | smp.c | 307 unsigned long pending; in do_IPI() local 319 pending = xchg(this_cpu_ptr(&ipi_data), 0); in do_IPI() 322 unsigned long msg = __ffs(pending); in do_IPI() 324 pending &= ~(1U << msg); in do_IPI() 325 } while (pending); in do_IPI()
|
/linux-4.1.27/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.1.27/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.1.27/arch/x86/kvm/ |
D | x86.h | 9 vcpu->arch.exception.pending = false; in kvm_clear_exception_queue() 15 vcpu->arch.interrupt.pending = true; in kvm_queue_interrupt() 22 vcpu->arch.interrupt.pending = false; in kvm_clear_interrupt_queue() 27 return vcpu->arch.exception.pending || vcpu->arch.interrupt.pending || in kvm_event_needs_reinjection()
|
D | irq.c | 61 return v->arch.interrupt.pending; in kvm_cpu_has_injectable_intr() 79 return v->arch.interrupt.pending; in kvm_cpu_has_interrupt()
|
D | i8254.c | 241 value = atomic_dec_return(&ps->pending); in kvm_pit_ack_irq() 246 atomic_inc(&ps->pending); in kvm_pit_ack_irq() 322 atomic_inc(&ps->pending); in pit_timer_fn() 354 atomic_set(&ps->pending, 0); in create_pit_timer() 654 atomic_set(&pit->pit_state.pending, 0); in kvm_pit_reset() 663 atomic_set(&pit->pit_state.pending, 0); in pit_mask_notifer()
|
D | i8254.h | 30 atomic_t pending; /* accumulated triggered timers */ member
|
D | lapic.c | 1112 if (atomic_read(&apic->lapic_timer.pending)) in apic_timer_expired() 1115 atomic_inc(&apic->lapic_timer.pending); in apic_timer_expired() 1176 atomic_set(&apic->lapic_timer.pending, 0); in start_apic_timer() 1315 atomic_set(&apic->lapic_timer.pending, 0); in apic_reg_write() 1608 atomic_set(&apic->lapic_timer.pending, 0); in kvm_lapic_reset() 1641 return atomic_read(&apic->lapic_timer.pending); in apic_has_pending_timer() 1768 if (atomic_read(&apic->lapic_timer.pending) > 0) { in kvm_inject_apic_timer_irqs() 1772 atomic_set(&apic->lapic_timer.pending, 0); in kvm_inject_apic_timer_irqs() 1852 bool pending; in apic_sync_pv_eoi_from_guest() local 1866 pending = pv_eoi_get_pending(vcpu); in apic_sync_pv_eoi_from_guest() [all …]
|
/linux-4.1.27/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.1.27/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.1.27/drivers/char/ |
D | efirtc.c | 157 unsigned char enabled, pending; in efi_rtc_ioctl() local 239 status = efi.get_wakeup_time((efi_bool_t *)&enabled, (efi_bool_t *)&pending, &eft); in efi_rtc_ioctl() 248 || put_user(pending, &ewp->pending)) return -EFAULT; in efi_rtc_ioctl() 304 efi_bool_t enabled, pending; in efi_rtc_proc_show() local 314 efi.get_wakeup_time(&enabled, &pending, &alm); in efi_rtc_proc_show() 343 pending == 1 ? "yes" : "no"); in efi_rtc_proc_show()
|
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_smp.c | 139 cur_nblks = bitmap_weight(ps->pending, cnt); in smp_request_block() 144 set_bit(blk, ps->pending); in smp_request_block() 150 int blk = find_first_bit(ps->pending, cnt); in smp_request_block() 151 clear_bit(blk, ps->pending); in smp_request_block() 277 bitmap_or(assigned, ps->inuse, ps->pending, cnt); in mdp5_smp_configure() 298 if (bitmap_andnot(released, ps->inuse, ps->pending, cnt)) { in mdp5_smp_commit() 309 bitmap_copy(ps->inuse, ps->pending, cnt); in mdp5_smp_commit()
|
D | mdp5_crtc.c | 51 atomic_t pending; member 77 static void request_pending(struct drm_crtc *crtc, uint32_t pending) in request_pending() argument 81 atomic_or(pending, &mdp5_crtc->pending); in request_pending() 583 unsigned pending; in mdp5_crtc_vblank_irq() local 587 pending = atomic_xchg(&mdp5_crtc->pending, 0); in mdp5_crtc_vblank_irq() 589 if (pending & PENDING_FLIP) { in mdp5_crtc_vblank_irq() 593 if (pending & PENDING_CURSOR) in mdp5_crtc_vblank_irq()
|
D | mdp5_smp.h | 26 mdp5_smp_state_t pending; member
|
D | mdp5_plane.c | 134 mdp5_state->pending = false; in mdp5_plane_duplicate_state() 200 if (to_mdp5_plane_state(old_state)->pending) { in mdp5_plane_atomic_check() 226 to_mdp5_plane_state(state)->pending = true; in mdp5_plane_atomic_update() 230 to_mdp5_plane_state(state)->pending = true; in mdp5_plane_atomic_update() 589 to_mdp5_plane_state(plane->state)->pending = false; in mdp5_plane_complete_flip()
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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 | 179 unsigned int pending; member 1107 atmel_handle_receive(struct uart_port *port, unsigned int pending) in atmel_handle_receive() argument 1119 if (pending & (ATMEL_US_ENDRX | ATMEL_US_TIMEOUT)) { in atmel_handle_receive() 1125 if (pending & (ATMEL_US_RXBRK | ATMEL_US_OVRE | in atmel_handle_receive() 1127 atmel_pdc_rxerr(port, pending); in atmel_handle_receive() 1131 if (pending & ATMEL_US_TIMEOUT) { in atmel_handle_receive() 1138 if (pending & ATMEL_US_RXRDY) in atmel_handle_receive() 1140 else if (pending & ATMEL_US_RXBRK) { in atmel_handle_receive() 1155 atmel_handle_transmit(struct uart_port *port, unsigned int pending) in atmel_handle_transmit() argument 1159 if (pending & atmel_port->tx_done_mask) { in atmel_handle_transmit() [all …]
|
D | amba-pl011.c | 748 u32 pending, bool use_buf_b, in pl011_dma_rx_chars() argument 764 if (pending >= dmataken) in pl011_dma_rx_chars() 765 pending -= dmataken; in pl011_dma_rx_chars() 769 if (pending) { in pl011_dma_rx_chars() 777 pending); in pl011_dma_rx_chars() 780 if (dma_count < pending) in pl011_dma_rx_chars() 793 if (dma_count == pending && readfifo) { in pl011_dma_rx_chars() 826 size_t pending; in pl011_dma_rx_irq() local 847 pending = sgbuf->sg.length - state.residue; in pl011_dma_rx_irq() 848 BUG_ON(pending > PL011_DMA_BUFFER_SIZE); in pl011_dma_rx_irq() [all …]
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/block/ |
D | blk-flush.c | 170 struct list_head *pending = &fq->flush_queue[fq->flush_pending_idx]; in blk_flush_complete_seq() local 185 if (list_empty(pending)) in blk_flush_complete_seq() 187 list_move_tail(&rq->flush.list, pending); in blk_flush_complete_seq() 286 struct list_head *pending = &fq->flush_queue[fq->flush_pending_idx]; in blk_kick_flush() local 288 list_first_entry(pending, struct request, flush.list); in blk_kick_flush() 292 if (fq->flush_pending_idx != fq->flush_running_idx || list_empty(pending)) in blk_kick_flush()
|
D | genhd.c | 1396 unsigned int pending; /* events already sent out */ member 1566 unsigned int pending; in disk_clear_events() local 1598 pending = ev->pending & mask; in disk_clear_events() 1599 ev->pending &= ~mask; in disk_clear_events() 1603 return pending; in disk_clear_events() 1634 events &= ~ev->pending; in disk_check_events() 1635 ev->pending |= events; in disk_check_events()
|
/linux-4.1.27/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.1.27/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.1.27/drivers/gpio/ |
D | gpio-max732x.c | 446 uint8_t pending; in max732x_irq_pending() local 465 pending = (old_stat & chip->irq_trig_fall) | in max732x_irq_pending() 467 pending &= trigger; in max732x_irq_pending() 469 return pending; in max732x_irq_pending() 475 uint8_t pending; in max732x_irq_handler() local 478 pending = max732x_irq_pending(chip); in max732x_irq_handler() 480 if (!pending) in max732x_irq_handler() 484 level = __ffs(pending); in max732x_irq_handler() 488 pending &= ~(1 << level); in max732x_irq_handler() 489 } 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-pca953x.c | 447 static u8 pca953x_irq_pending(struct pca953x_chip *chip, u8 *pending) in pca953x_irq_pending() argument 484 pending[i] = (old_stat[i] & chip->irq_trig_fall[i]) | in pca953x_irq_pending() 486 pending[i] &= trigger[i]; in pca953x_irq_pending() 487 pendings += pending[i]; in pca953x_irq_pending() 496 u8 pending[MAX_BANK]; in pca953x_irq_handler() local 501 if (!pca953x_irq_pending(chip, pending)) in pca953x_irq_handler() 505 while (pending[i]) { in pca953x_irq_handler() 506 level = __ffs(pending[i]); in pca953x_irq_handler() 509 pending[i] &= ~(1 << level); in pca953x_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-pl061.c | 192 unsigned long pending; in pl061_irq_handler() local 200 pending = readb(chip->base + GPIOMIS); in pl061_irq_handler() 201 writeb(pending, chip->base + GPIOIC); in pl061_irq_handler() 202 if (pending) { in pl061_irq_handler() 203 for_each_set_bit(offset, &pending, PL061_GPIO_NR) in pl061_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-em.c | 181 unsigned long pending; in em_gio_irq_handler() local 184 while ((pending = em_gio_read(p, GIO_MST))) { in em_gio_irq_handler() 185 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()
|
D | gpio-rcar.c | 206 u32 pending; in gpio_rcar_irq_handler() local 209 while ((pending = gpio_rcar_read(p, INTDT) & in gpio_rcar_irq_handler() 211 offset = __ffs(pending); in gpio_rcar_irq_handler()
|
/linux-4.1.27/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-pcf8563.c | 174 char pending; in pcf8563_irq() local 176 err = pcf8563_get_alarm_mode(pcf8563->client, NULL, &pending); in pcf8563_irq() 180 if (pending) { in pcf8563_irq() 349 err = pcf8563_get_alarm_mode(client, &tm->enabled, &tm->pending); in pcf8563_rtc_read_alarm() 356 tm->enabled, tm->pending); in pcf8563_rtc_read_alarm() 378 tm->time.tm_mday, tm->enabled, tm->pending); in pcf8563_rtc_set_alarm()
|
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()
|
/linux-4.1.27/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.1.27/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() 285 list_add_tail(&fence->head, &fctx->pending); in nouveau_fence_emit()
|
/linux-4.1.27/arch/mips/jz4740/ |
D | irq.c | 116 unsigned int pending = read_c0_status() & read_c0_cause() & ST0_IM; in plat_irq_dispatch() local 117 if (pending & STATUSF_IP2) in plat_irq_dispatch() 119 else if (pending & STATUSF_IP3) in plat_irq_dispatch()
|
/linux-4.1.27/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 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.1.27/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.1.27/include/net/ |
D | inet_connection_sock.h | 111 __u8 pending; /* ACK is pending */ member 174 inet_csk(sk)->icsk_ack.pending |= ICSK_ACK_SCHED; in inet_csk_schedule_ack() 179 return inet_csk(sk)->icsk_ack.pending & ICSK_ACK_SCHED; in inet_csk_ack_scheduled() 204 icsk->icsk_ack.blocked = icsk->icsk_ack.pending = 0; in inet_csk_clear_xmit_timer() 239 icsk->icsk_ack.pending |= ICSK_ACK_TIMER; in inet_csk_reset_xmit_timer()
|
D | af_vsock.h | 167 void vsock_release_pending(struct sock *pending); 168 void vsock_add_pending(struct sock *listener, struct sock *pending); 169 void vsock_remove_pending(struct sock *listener, struct sock *pending);
|
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp4/ |
D | mdp4_crtc.c | 56 atomic_t pending; member 72 static void request_pending(struct drm_crtc *crtc, uint32_t pending) in request_pending() argument 76 atomic_or(pending, &mdp4_crtc->pending); in request_pending() 516 unsigned pending; in mdp4_crtc_vblank_irq() local 520 pending = atomic_xchg(&mdp4_crtc->pending, 0); in mdp4_crtc_vblank_irq() 522 if (pending & PENDING_FLIP) { in mdp4_crtc_vblank_irq() 526 if (pending & PENDING_CURSOR) { in mdp4_crtc_vblank_irq()
|
/linux-4.1.27/arch/powerpc/platforms/cell/ |
D | interrupt.c | 147 struct cbe_iic_pending_bits pending; in iic_get_irq() local 152 *(unsigned long *) &pending = in iic_get_irq() 154 if (!(pending.flags & CBE_IIC_IRQ_VALID)) in iic_get_irq() 156 virq = irq_linear_revmap(iic_host, iic_pending_to_hwnum(pending)); in iic_get_irq() 159 iic->eoi_stack[++iic->eoi_ptr] = pending.prio; in iic_get_irq()
|
/linux-4.1.27/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.1.27/arch/sparc/kernel/ |
D | irq.h | 29 u32 pending; member 36 u32 pending; member
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/sound/soc/intel/common/ |
D | sst-ipc.h | 41 bool pending; member 69 bool pending; member
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/pci/host/ |
D | pci-keystone-dw.c | 83 u32 pending, vector; in ks_dw_pcie_handle_msi_irq() local 86 pending = readl(ks_pcie->va_app_base + MSI0_IRQ_STATUS + (offset << 4)); in ks_dw_pcie_handle_msi_irq() 93 if (BIT(src) & pending) { in ks_dw_pcie_handle_msi_irq() 239 u32 pending; in ks_dw_pcie_handle_legacy_irq() local 242 pending = readl(ks_pcie->va_app_base + IRQ_STATUS + (offset << 4)); in ks_dw_pcie_handle_legacy_irq() 244 if (BIT(0) & pending) { in ks_dw_pcie_handle_legacy_irq()
|
/linux-4.1.27/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.1.27/arch/powerpc/kvm/ |
D | trace_booke.h | 202 __field( unsigned long, pending ) 208 __entry->pending = vcpu->arch.pending_exceptions; 214 __entry->pending)
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/net/batman-adv/ |
D | send.c | 583 bool pending; in batadv_purge_outstanding_packets() local 609 pending = cancel_delayed_work_sync(&forw_packet->delayed_work); in batadv_purge_outstanding_packets() 612 if (pending) { in batadv_purge_outstanding_packets() 636 pending = cancel_delayed_work_sync(&forw_packet->delayed_work); in batadv_purge_outstanding_packets() 639 if (pending) { in batadv_purge_outstanding_packets()
|
/linux-4.1.27/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.1.27/drivers/spi/ |
D | spi-atmel.c | 885 u32 status, pending, imr; in atmel_spi_pio_interrupt() local 891 pending = status & imr; in atmel_spi_pio_interrupt() 893 if (pending & SPI_BIT(OVRES)) { in atmel_spi_pio_interrupt() 915 } else if (pending & SPI_BIT(RDRF)) { in atmel_spi_pio_interrupt() 923 spi_writel(as, IDR, pending); in atmel_spi_pio_interrupt() 930 WARN_ONCE(pending, "IRQ not handled, pending = %x\n", pending); in atmel_spi_pio_interrupt() 932 spi_writel(as, IDR, pending); in atmel_spi_pio_interrupt() 943 u32 status, pending, imr; in atmel_spi_pdc_interrupt() local 948 pending = status & imr; in atmel_spi_pdc_interrupt() 950 if (pending & SPI_BIT(OVRES)) { in atmel_spi_pdc_interrupt() [all …]
|
D | spi-bcm63xx-hsspi.c | 156 int pending = t->len; in bcm63xx_hsspi_do_txrx() local 179 while (pending > 0) { in bcm63xx_hsspi_do_txrx() 180 int curr_step = min_t(int, step_size, pending); in bcm63xx_hsspi_do_txrx() 210 pending -= curr_step; in bcm63xx_hsspi_do_txrx()
|
/linux-4.1.27/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.1.27/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.1.27/drivers/mmc/host/ |
D | dw_mmc.c | 2189 u32 pending; in dw_mci_interrupt() local 2192 pending = mci_readl(host, MINTSTS); /* read-only mask reg */ in dw_mci_interrupt() 2199 if (!pending && in dw_mci_interrupt() 2201 pending |= SDMMC_INT_DATA_OVER; in dw_mci_interrupt() 2204 if (pending) { in dw_mci_interrupt() 2207 (pending & SDMMC_INT_VOLT_SWITCH)) { in dw_mci_interrupt() 2211 pending &= ~SDMMC_INT_VOLT_SWITCH; in dw_mci_interrupt() 2218 dw_mci_cmd_interrupt(host, pending); in dw_mci_interrupt() 2224 if (pending & DW_MCI_CMD_ERROR_FLAGS) { in dw_mci_interrupt() 2226 host->cmd_status = pending; in dw_mci_interrupt() [all …]
|
D | atmel-mci.c | 2008 u32 status, mask, pending; in atmci_interrupt() local 2014 pending = status & mask; in atmci_interrupt() 2015 if (!pending) in atmci_interrupt() 2018 if (pending & ATMCI_DATA_ERROR_FLAGS) { in atmci_interrupt() 2032 if (pending & ATMCI_TXBUFE) { in atmci_interrupt() 2048 } else if (pending & ATMCI_ENDTX) { in atmci_interrupt() 2059 if (pending & ATMCI_RXBUFF) { in atmci_interrupt() 2075 } else if (pending & ATMCI_ENDRX) { in atmci_interrupt() 2092 if (pending & ATMCI_BLKE) { in atmci_interrupt() 2101 if (pending & ATMCI_NOTBUSY) { in atmci_interrupt() [all …]
|
/linux-4.1.27/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.1.27/drivers/usb/misc/ |
D | usbtest.c | 1019 unsigned pending; member 1046 ctx->pending--; in ctrl_complete() 1128 if ((status == 0) && (ctx->pending < ctx->count)) { in ctrl_complete() 1136 ctx->pending++; in ctrl_complete() 1141 if (ctx->pending == 0) in ctrl_complete() 1161 context.pending = 0; in test_ctrl_queue() 1339 context.count = context.pending; in test_ctrl_queue() 1342 context.pending++; in test_ctrl_queue() 1349 if (context.pending > 0) in test_ctrl_queue() 1474 atomic_t pending; member [all …]
|
/linux-4.1.27/net/sunrpc/ |
D | xprt.c | 477 rpc_wake_up_status(&xprt->pending, status); in xprt_wake_pending_tasks() 479 rpc_wake_up(&xprt->pending); in xprt_wake_pending_tasks() 498 rpc_sleep_on(&xprt->pending, task, action); in xprt_wait_for_buffer_space() 514 rpc_wake_up_queued_task(&xprt->pending, xprt->snd_task); in xprt_write_space() 752 rpc_sleep_on(&xprt->pending, task, xprt_connect_status); in xprt_connect() 863 rpc_wake_up_queued_task(&xprt->pending, task); in xprt_complete_rqst() 913 rpc_sleep_on(&xprt->pending, task, xprt_timer); in xprt_prepare_transmit() 986 xprt->stat.pending_u += xprt->pending.qlen; in xprt_transmit() 997 rpc_sleep_on(&xprt->pending, task, xprt_timer); in xprt_transmit() 1322 rpc_init_wait_queue(&xprt->pending, "xprt_pending"); in xprt_init() [all …]
|
D | cache.c | 663 struct list_head pending; in cache_revisit_request() local 667 INIT_LIST_HEAD(&pending); in cache_revisit_request() 673 list_add(&dreq->recent, &pending); in cache_revisit_request() 678 while (!list_empty(&pending)) { in cache_revisit_request() 679 dreq = list_entry(pending.next, struct cache_deferred_req, recent); in cache_revisit_request() 688 struct list_head pending; in cache_clean_deferred() local 691 INIT_LIST_HEAD(&pending); in cache_clean_deferred() 697 list_add(&dreq->recent, &pending); in cache_clean_deferred() 702 while (!list_empty(&pending)) { in cache_clean_deferred() 703 dreq = list_entry(pending.next, struct cache_deferred_req, recent); in cache_clean_deferred()
|
/linux-4.1.27/drivers/md/ |
D | dm-region-hash.c | 109 atomic_t pending; member 244 BUG_ON(atomic_read(®->pending)); in dm_region_hash_destroy() 301 atomic_set(&nreg->pending, 0); in __rh_alloc() 511 atomic_inc(®->pending); in rh_inc() 549 if (atomic_dec_and_test(®->pending)) { in dm_rh_dec() 612 if (atomic_read(®->pending)) in __rh_recovery_prepare()
|
/linux-4.1.27/drivers/net/phy/ |
D | mdio-octeon.c | 86 } while (smi_wr.s.pending && --timeout); in octeon_mdiobus_c45_addr() 125 } while (smi_rd.s.pending && --timeout); in octeon_mdiobus_read() 170 } while (smi_wr.s.pending && --timeout); in octeon_mdiobus_write()
|
/linux-4.1.27/net/ipv6/ |
D | udp.c | 969 if (up->pending == AF_INET) in udp_v6_flush_pending_frames() 971 else if (up->pending) { in udp_v6_flush_pending_frames() 973 up->pending = 0; in udp_v6_flush_pending_frames() 1081 if (up->pending == AF_INET) in udp_v6_push_pending_frames() 1097 up->pending = 0; in udp_v6_push_pending_frames() 1146 } else if (!up->pending) { in udpv6_sendmsg() 1168 if (up->pending == AF_INET) in udpv6_sendmsg() 1178 if (up->pending) { in udpv6_sendmsg() 1184 if (likely(up->pending)) { in udpv6_sendmsg() 1185 if (unlikely(up->pending != AF_INET6)) { in udpv6_sendmsg() [all …]
|
/linux-4.1.27/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.1.27/Documentation/devicetree/bindings/interrupt-controller/ |
D | brcm,bcm2835-armctrl-ic.txt | 17 pending" register, or 1/2 respectively for interrupts in the "IRQ pending
|
/linux-4.1.27/drivers/target/ |
D | target_core_iblock.h | 10 atomic_t pending; member
|
D | target_core_iblock.c | 297 if (!atomic_dec_and_test(&ibr->pending)) in iblock_complete_cmd() 494 atomic_set(&ibr->pending, 1); in iblock_execute_write_same() 504 atomic_inc(&ibr->pending); in iblock_execute_write_same() 734 atomic_set(&ibr->pending, 1); in iblock_execute_rw() 747 atomic_set(&ibr->pending, 2); in iblock_execute_rw() 767 atomic_inc(&ibr->pending); in iblock_execute_rw()
|
/linux-4.1.27/scripts/rt-tester/ |
D | t4-l2-pi-deboost.tst | 87 # T2 lock L1 (T0 is boosted and pending owner !) 96 # Verify prio of T0 (still pending owner,
|
/linux-4.1.27/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.1.27/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.1.27/fs/proc/ |
D | array.c | 252 sigset_t pending, shpending, blocked, ignored, caught; in task_sig() local 257 sigemptyset(&pending); in task_sig() 264 pending = p->pending.signal; in task_sig() 280 render_sigset_t(m, "SigPnd:\t", &pending); in task_sig() 495 seq_put_decimal_ull(m, ' ', task->pending.signal.sig[0] & 0x7fffffffUL); in do_task_stat()
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/kernel/rcu/ |
D | srcu.c | 640 bool pending = true; in srcu_reschedule() local 652 pending = false; in srcu_reschedule() 657 if (pending) in srcu_reschedule()
|
/linux-4.1.27/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.1.27/drivers/net/ethernet/ |
D | ethoc.c | 548 u32 pending; in ethoc_interrupt() local 560 pending = ethoc_read(priv, INT_SOURCE); in ethoc_interrupt() 561 pending &= mask; in ethoc_interrupt() 563 if (unlikely(pending == 0)) in ethoc_interrupt() 566 ethoc_ack_irq(priv, pending); in ethoc_interrupt() 569 if (pending & INT_MASK_BUSY) { in ethoc_interrupt() 575 if (pending & (INT_MASK_TX | INT_MASK_RX)) { in ethoc_interrupt() 844 u32 pending = ethoc_read(priv, INT_SOURCE); in ethoc_tx_timeout() local 845 if (likely(pending)) in ethoc_tx_timeout()
|
/linux-4.1.27/drivers/block/drbd/ |
D | drbd_req.c | 1357 struct list_head *pending, in prepare_al_transaction_nonblock() argument 1374 list_move_tail(&req->tl_requests, pending); in prepare_al_transaction_nonblock() 1379 return !list_empty(pending); in prepare_al_transaction_nonblock() 1382 void send_and_submit_pending(struct drbd_device *device, struct list_head *pending) in send_and_submit_pending() argument 1386 list_for_each_entry_safe(req, tmp, pending, tl_requests) { in send_and_submit_pending() 1399 LIST_HEAD(pending); /* to be submitted after next AL-transaction commit */ in do_submit() 1420 prepare_al_transaction_nonblock(device, &incoming, &pending, &busy); in do_submit() 1421 if (!list_empty(&pending)) in do_submit() 1484 list_splice_tail_init(&more_pending, &pending); in do_submit() 1491 send_and_submit_pending(device, &pending); in do_submit()
|
/linux-4.1.27/drivers/staging/unisys/virthba/ |
D | virthba.c | 177 struct scsipending pending[MAX_PENDING_REQUESTS]; /* Tracks the requests member 261 while (vhbainfo->pending[insert_location].sent) { in add_scsipending_entry() 269 vhbainfo->pending[insert_location].cmdtype = cmdtype; in add_scsipending_entry() 270 vhbainfo->pending[insert_location].sent = new; in add_scsipending_entry() 300 sent = vhbainfo->pending[del].sent; in del_scsipending_entry() 302 vhbainfo->pending[del].cmdtype = 0; in del_scsipending_entry() 303 vhbainfo->pending[del].sent = NULL; in del_scsipending_entry() 514 memset(&virthbainfo->pending, 0, sizeof(virthbainfo->pending)); in virthba_probe() 1369 pendingdel = &virthbainfo->pending[i]; in virthba_serverdown_complete()
|
/linux-4.1.27/net/mac80211/ |
D | sta_info.c | 142 ieee80211_purge_tx_queue(&local->hw, &tid_tx->pending); in __cleanup_single_sta() 1130 struct sk_buff_head pending; in ieee80211_sta_ps_deliver_wakeup() local 1166 skb_queue_head_init(&pending); in ieee80211_sta_ps_deliver_wakeup() 1172 int count = skb_queue_len(&pending), tmp; in ieee80211_sta_ps_deliver_wakeup() 1175 skb_queue_splice_tail_init(&sta->tx_filtered[ac], &pending); in ieee80211_sta_ps_deliver_wakeup() 1177 tmp = skb_queue_len(&pending); in ieee80211_sta_ps_deliver_wakeup() 1182 skb_queue_splice_tail_init(&sta->ps_tx_buf[ac], &pending); in ieee80211_sta_ps_deliver_wakeup() 1184 tmp = skb_queue_len(&pending); in ieee80211_sta_ps_deliver_wakeup() 1188 ieee80211_add_pending_skbs(local, &pending); in ieee80211_sta_ps_deliver_wakeup() 1418 struct sk_buff_head pending; in ieee80211_sta_ps_deliver_response() local [all …]
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/arch/x86/kernel/ |
D | vsyscall_64.c | 251 if (WARN_ON_ONCE(!sigismember(&tsk->pending.signal, SIGBUS) && in emulate_vsyscall() 252 !sigismember(&tsk->pending.signal, SIGSEGV))) in emulate_vsyscall()
|
/linux-4.1.27/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.1.27/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.1.27/arch/arm/include/asm/hardware/ |
D | iop_adma.h | 63 int pending; member
|
/linux-4.1.27/include/uapi/linux/ |
D | rtc.h | 38 unsigned char pending; /* 0 = alarm not pending, 1 = alarm pending */ member
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | radeon_acpi.c | 56 u32 pending; /* pending sbios requests */ member 329 DRM_DEBUG_DRIVER("SBIOS pending requests: %#x\n", req->pending); in radeon_atif_get_sbios_requests() 331 count = hweight32(req->pending); in radeon_atif_get_sbios_requests() 376 if (req.pending & ATIF_PANEL_BRIGHTNESS_CHANGE_REQUEST) { in radeon_atif_handler()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sp.c | 4180 unsigned long *pending = &o->pending; in bnx2x_queue_state_change() local 4190 DP(BNX2X_MSG_SP, "pending bit was=%lx\n", o->pending); in bnx2x_queue_state_change() 4192 DP(BNX2X_MSG_SP, "pending bit now=%lx\n", o->pending); in bnx2x_queue_state_change() 4202 clear_bit(pending_bit, pending); in bnx2x_queue_state_change() 4216 return !!test_bit(pending_bit, pending); in bnx2x_queue_state_change() 4233 set_bit(bit, &obj->pending); in bnx2x_queue_set_pending() 4241 return bnx2x_state_wait(bp, cmd, &o->pending); in bnx2x_queue_wait_comp() 4257 unsigned long cur_pending = o->pending; in bnx2x_queue_comp_cmd() 4290 clear_bit(cmd, &o->pending); in bnx2x_queue_comp_cmd() 5027 o->pending = 0; in bnx2x_queue_chk_transition() [all …]
|
/linux-4.1.27/drivers/dma/ioat/ |
D | dma.c | 175 __func__, ioat->pending); in __ioat1_dma_memcpy_issue_pending() 176 ioat->pending = 0; in __ioat1_dma_memcpy_issue_pending() 184 if (ioat->pending > 0) { in ioat1_dma_memcpy_issue_pending() 219 ioat->pending = INT_MIN; in ioat1_reset_channel() 255 ioat->pending += desc->hw->tx_cnt; in ioat1_tx_submit() 256 if (ioat->pending >= ioat_pending_level) in ioat1_tx_submit() 455 ioat->pending = 0; in ioat1_dma_free_chan_resources() 715 ioat->pending = 0; in ioat1_timer_event()
|
/linux-4.1.27/drivers/gpu/drm/rcar-du/ |
D | rcar_du_drv.h | 91 u32 pending; member
|
/linux-4.1.27/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.1.27/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.1.27/include/acpi/platform/ |
D | acenv.h | 255 #define ACPI_RELEASE_GLOBAL_LOCK(Glptr, pending) pending = 0 argument
|
/linux-4.1.27/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))) { \
|
/linux-4.1.27/drivers/net/ethernet/sun/ |
D | sunvnet.h | 21 #define VNET_TX_WAKEUP_THRESH(dr) ((dr)->pending / 4)
|
/linux-4.1.27/arch/mips/include/asm/txx9/ |
D | generic.h | 44 extern int (*txx9_irq_dispatch)(int pending);
|
/linux-4.1.27/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_vop.c | 76 struct list_head pending; member 537 if (list_empty(&vop_win->pending)) in vop_win_last_pending_fb() 540 last = list_last_entry(&vop_win->pending, struct vop_win_state, head); in vop_win_last_pending_fb() 561 list_add_tail(&state->head, &vop_win->pending); in vop_win_queue_fb() 1075 list_for_each_entry(state, &vop_win->pending, head) in vop_win_update_state() 1088 list_for_each_entry_safe(state, n, &vop_win->pending, head) { in vop_win_update_state() 1104 return !list_empty(&vop_win->pending); in vop_win_has_pending_state() 1399 INIT_LIST_HEAD(&vop_win->pending); in vop_win_init()
|
/linux-4.1.27/drivers/infiniband/hw/mlx4/ |
D | mcg.c | 78 struct list_head pending; member 836 INIT_LIST_HEAD(&group->func[i].pending); in acquire_group() 876 list_add_tail(&req->func_list, &group->func[req->func].pending); in queue_req() 1171 list_for_each_entry_safe(req, tmp, &group->func[vf].pending, func_list) { in clear_pending_reqs() 1189 if (!pend && (!list_empty(&group->func[vf].pending) || group->func[vf].num_pend_reqs)) { in clear_pending_reqs() 1191 list_empty(&group->func[vf].pending), group->func[vf].num_pend_reqs); in clear_pending_reqs() 1209 if (!list_empty(&group->func[slave].pending)) { in push_deleteing_req() 1210 pend_req = list_entry(group->func[slave].pending.prev, struct mcast_req, group_list); in push_deleteing_req()
|
/linux-4.1.27/net/netlink/ |
D | af_netlink.h | 22 atomic_t pending; member
|