Home
last modified time | relevance | path

Searched refs:pending (Results 1 – 25 of 754) sorted by relevance

12345678910>>...31

/linux/drivers/staging/fwserial/
A Ddma_fifo.c41 INIT_LIST_HEAD(&fifo->pending); in dma_fifo_init()
103 list_for_each_entry_safe(pending, next, &fifo->pending, link) in dma_fifo_free()
104 list_del_init(&pending->link); in dma_fifo_free()
120 list_for_each_entry_safe(pending, next, &fifo->pending, link) in dma_fifo_reset()
121 list_del_init(&pending->link); in dma_fifo_reset()
264 list_for_each_entry_safe(pending, next, &fifo->pending, link) { in dma_fifo_out_complete()
267 pending->out, pending->len); in dma_fifo_out_complete()
275 pending->next)) in dma_fifo_out_complete()
278 list_del_init(&pending->link); in dma_fifo_out_complete()
279 fifo->done = pending->next; in dma_fifo_out_complete()
[all …]
/linux/arch/mips/sni/
A Dpcit.c187 irq = ffs((pending >> 16) & 0x7f); in pcit_hwint1()
200 irq = ffs((pending >> 16) & 0x3f); in pcit_hwint0()
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()
225 if (pending & C_IRQ0) in sni_pcit_hwint_cplus()
227 else if (pending & C_IRQ1) in sni_pcit_hwint_cplus()
229 else if (pending & C_IRQ2) in sni_pcit_hwint_cplus()
231 else if (pending & C_IRQ3) in sni_pcit_hwint_cplus()
[all …]
/linux/tools/lib/
A Dlist_sort.c186 struct list_head *list = head->next, *pending = NULL; in list_sort() local
215 struct list_head **tail = &pending; in list_sort()
231 list->prev = pending; in list_sort()
232 pending = list; in list_sort()
234 pending->next = NULL; in list_sort()
239 list = pending; in list_sort()
240 pending = pending->prev; in list_sort()
242 struct list_head *next = pending->prev; in list_sort()
246 list = merge(priv, cmp, pending, list); in list_sort()
247 pending = next; in list_sort()
[all …]
/linux/lib/
A Dlist_sort.c187 struct list_head *list = head->next, *pending = NULL; in list_sort() local
216 struct list_head **tail = &pending; in list_sort()
232 list->prev = pending; in list_sort()
233 pending = list; in list_sort()
235 pending->next = NULL; in list_sort()
240 list = pending; in list_sort()
241 pending = pending->prev; in list_sort()
243 struct list_head *next = pending->prev; in list_sort()
247 list = merge(priv, cmp, pending, list); in list_sort()
248 pending = next; in list_sort()
[all …]
/linux/arch/mips/vr41xx/common/
A Dirq.c80 unsigned int pending = read_c0_cause() & read_c0_status() & ST0_IM; in plat_irq_dispatch() local
82 if (pending & CAUSEF_IP7) in plat_irq_dispatch()
84 else if (pending & 0x7800) { in plat_irq_dispatch()
85 if (pending & CAUSEF_IP3) in plat_irq_dispatch()
87 else if (pending & CAUSEF_IP4) in plat_irq_dispatch()
89 else if (pending & CAUSEF_IP5) in plat_irq_dispatch()
91 else if (pending & CAUSEF_IP6) in plat_irq_dispatch()
93 } else if (pending & CAUSEF_IP2) in plat_irq_dispatch()
95 else if (pending & CAUSEF_IP0) in plat_irq_dispatch()
97 else if (pending & CAUSEF_IP1) in plat_irq_dispatch()
/linux/drivers/gpu/drm/i915/
A Di915_sw_fence.c225 int pending; in i915_sw_fence_await() local
231 pending = atomic_read(&fence->pending); in i915_sw_fence_await()
233 if (pending < 1) in i915_sw_fence_await()
235 } while (!atomic_try_cmpxchg(&fence->pending, &pending, pending + 1)); in i915_sw_fence_await()
382 pending = 1; in __i915_sw_fence_await_sw_fence()
385 pending = 0; in __i915_sw_fence_await_sw_fence()
389 return pending; in __i915_sw_fence_await_sw_fence()
598 ret = pending; in i915_sw_fence_await_reservation()
602 ret |= pending; in i915_sw_fence_await_reservation()
617 if (pending < 0) in i915_sw_fence_await_reservation()
[all …]
/linux/arch/powerpc/kvm/
A Dbook3s_xive_template.c40 xc->pending |= 1 << cppr; in GLUE()
126 prio = ffs(pending) - 1; in GLUE()
232 xc->pending = pending; in GLUE()
321 u8 pending = xc->pending; in GLUE() local
336 pending = 0xff; in GLUE()
342 pending |= 1 << pipr; in GLUE()
355 u8 pending, prio; in GLUE() local
357 pending = xc->pending; in GLUE()
362 pending |= 0x80; in GLUE()
364 if (!pending) in GLUE()
[all …]
/linux/drivers/platform/surface/aggregator/
A Dssh_request_layer.c132 spin_lock(&rtl->pending.lock); in ssh_rtl_pending_remove()
139 atomic_dec(&rtl->pending.count); in ssh_rtl_pending_remove()
142 spin_unlock(&rtl->pending.lock); in ssh_rtl_pending_remove()
151 spin_lock(&rtl->pending.lock); in ssh_rtl_tx_pending_push()
163 atomic_inc(&rtl->pending.count); in ssh_rtl_tx_pending_push()
166 spin_unlock(&rtl->pending.lock); in ssh_rtl_tx_pending_push()
481 spin_lock(&rtl->pending.lock); in ssh_rtl_complete()
738 if (pending) in ssh_rtl_cancel()
1186 int pending; in ssh_rtl_shutdown() local
1229 pending = atomic_read(&rtl->pending.count); in ssh_rtl_shutdown()
[all …]
A Dssh_packet_layer.c804 spin_lock(&ptl->pending.lock); in ssh_ptl_pending_push()
825 spin_unlock(&ptl->pending.lock); in ssh_ptl_pending_push()
835 spin_lock(&ptl->pending.lock); in ssh_ptl_pending_remove()
843 atomic_dec(&ptl->pending.count); in ssh_ptl_pending_remove()
845 spin_unlock(&ptl->pending.lock); in ssh_ptl_pending_remove()
1198 spin_lock(&ptl->pending.lock); in ssh_ptl_ack_pop()
1232 spin_unlock(&ptl->pending.lock); in ssh_ptl_ack_pop()
1414 spin_lock(&ptl->pending.lock); in ssh_ptl_resubmit_pending()
1427 spin_unlock(&ptl->pending.lock); in ssh_ptl_resubmit_pending()
1521 spin_lock(&ptl->pending.lock); in ssh_ptl_timeout_reap()
[all …]
/linux/drivers/gpu/drm/mediatek/
A Dmtk_drm_plane.c51 state->pending.format = DRM_FORMAT_RGB565; in mtk_plane_reset()
67 state->pending = old_state->pending; in mtk_plane_duplicate_state()
131 mtk_plane_state->pending.enable = true; in mtk_plane_update_new_state()
132 mtk_plane_state->pending.pitch = pitch; in mtk_plane_update_new_state()
133 mtk_plane_state->pending.format = format; in mtk_plane_update_new_state()
134 mtk_plane_state->pending.addr = addr; in mtk_plane_update_new_state()
135 mtk_plane_state->pending.x = new_state->dst.x1; in mtk_plane_update_new_state()
161 new_plane_state->pending.async_dirty = true; in mtk_plane_atomic_async_update()
212 mtk_plane_state->pending.enable = false; in mtk_plane_atomic_disable()
214 mtk_plane_state->pending.dirty = true; in mtk_plane_atomic_disable()
[all …]
A Dmtk_disp_ovl.c296 struct mtk_plane_pending_state *pending = &state->pending; in mtk_ovl_layer_config() local
297 unsigned int addr = pending->addr; in mtk_ovl_layer_config()
298 unsigned int pitch = pending->pitch & 0xffff; in mtk_ovl_layer_config()
299 unsigned int fmt = pending->format; in mtk_ovl_layer_config()
300 unsigned int offset = (pending->y << 16) | pending->x; in mtk_ovl_layer_config()
301 unsigned int src_size = (pending->height << 16) | pending->width; in mtk_ovl_layer_config()
304 if (!pending->enable) { in mtk_ovl_layer_config()
313 if (pending->rotation & DRM_MODE_REFLECT_Y) { in mtk_ovl_layer_config()
315 addr += (pending->height - 1) * pending->pitch; in mtk_ovl_layer_config()
318 if (pending->rotation & DRM_MODE_REFLECT_X) { in mtk_ovl_layer_config()
[all …]
/linux/arch/mips/cobalt/
A Dirq.c25 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/arch/mips/ralink/
A Dirq.c99 u32 pending = rt_intc_r32(INTC_REG_STATUS0); in ralink_intc_irq_handler() local
101 if (pending) { in ralink_intc_irq_handler()
103 generic_handle_domain_irq(domain, __ffs(pending)); in ralink_intc_irq_handler()
111 unsigned long pending; in plat_irq_dispatch() local
113 pending = read_c0_status() & read_c0_cause() & ST0_IM; in plat_irq_dispatch()
115 if (pending & STATUSF_IP7) in plat_irq_dispatch()
118 else if (pending & STATUSF_IP5) in plat_irq_dispatch()
121 else if (pending & STATUSF_IP6) in plat_irq_dispatch()
124 else if (pending & STATUSF_IP4) in plat_irq_dispatch()
127 else if (pending & STATUSF_IP2) in plat_irq_dispatch()
/linux/drivers/gpu/drm/qxl/
A Dqxl_irq.c36 uint32_t pending; in qxl_irq_handler() local
38 pending = xchg(&qdev->ram_header->int_pending, 0); in qxl_irq_handler()
40 if (!pending) in qxl_irq_handler()
45 if (pending & QXL_INTERRUPT_DISPLAY) { in qxl_irq_handler()
50 if (pending & QXL_INTERRUPT_CURSOR) { in qxl_irq_handler()
54 if (pending & QXL_INTERRUPT_IO_CMD) { in qxl_irq_handler()
58 if (pending & QXL_INTERRUPT_ERROR) { in qxl_irq_handler()
66 if (pending & QXL_INTERRUPT_CLIENT_MONITORS_CONFIG) { in qxl_irq_handler()
/linux/drivers/irqchip/
A Dirq-ath79-cpu.c36 unsigned long pending; in plat_irq_dispatch() local
39 pending = read_c0_status() & read_c0_cause() & ST0_IM; in plat_irq_dispatch()
41 if (!pending) { in plat_irq_dispatch()
46 pending >>= CAUSEB_IP; in plat_irq_dispatch()
47 while (pending) { in plat_irq_dispatch()
48 irq = fls(pending) - 1; in plat_irq_dispatch()
52 pending &= ~BIT(irq); in plat_irq_dispatch()
A Dirq-loongson-htpic.c33 uint32_t pending; in htpic_irq_dispatch() local
36 pending = readl(priv->base); in htpic_irq_dispatch()
38 writel(pending, priv->base); in htpic_irq_dispatch()
40 if (!pending) in htpic_irq_dispatch()
43 while (pending) { in htpic_irq_dispatch()
44 int bit = __ffs(pending); in htpic_irq_dispatch()
52 pending &= ~BIT(bit); in htpic_irq_dispatch()
A Dirq-loongson-liointc.c57 u32 pending; in liointc_chained_handle_irq() local
61 pending = readl(handler->priv->core_isr[core]); in liointc_chained_handle_irq()
63 if (!pending) { in liointc_chained_handle_irq()
68 pending = BIT(LIOINTC_ERRATA_IRQ); in liointc_chained_handle_irq()
73 while (pending) { in liointc_chained_handle_irq()
74 int bit = __ffs(pending); in liointc_chained_handle_irq()
77 pending &= ~BIT(bit); in liointc_chained_handle_irq()
250 u32 pending = priv->handler[i].parent_int_map; in liointc_of_init() local
252 while (pending) { in liointc_of_init()
253 int bit = __ffs(pending); in liointc_of_init()
[all …]
/linux/arch/mips/sibyte/sb1250/
A Dirq.c131 u64 pending; in ack_sb1250_irq() local
139 pending = __raw_readq(IOADDR(A_IMR_REGISTER(sb1250_irq_owner[irq], in ack_sb1250_irq()
141 pending &= ((u64)1 << (irq)); in ack_sb1250_irq()
142 if (pending) { in ack_sb1250_irq()
155 __raw_writeq(pending, in ack_sb1250_irq()
296 unsigned int pending; in plat_irq_dispatch() local
308 pending = read_c0_cause() & read_c0_status() & ST0_IM; in plat_irq_dispatch()
310 if (pending & CAUSEF_IP7) /* CPU performance counter interrupt */ in plat_irq_dispatch()
312 else if (pending & CAUSEF_IP4) in plat_irq_dispatch()
316 else if (pending & CAUSEF_IP3) in plat_irq_dispatch()
[all …]
/linux/net/vmw_vsock/
A Dvmci_transport.c43 struct sock *pending,
499 pending = NULL; in vmci_transport_get_pending()
501 return pending; in vmci_transport_get_pending()
507 sock_put(pending); in vmci_transport_release_pending()
955 if (pending) { in vmci_transport_recv_listen()
964 pending, in vmci_transport_recv_listen()
1006 if (!pending) { in vmci_transport_recv_listen()
1024 sock_put(pending); in vmci_transport_recv_listen()
1093 sock_put(pending); in vmci_transport_recv_listen()
1119 sock_hold(pending); in vmci_transport_recv_listen()
[all …]
/linux/kernel/irq/
A Dirq_sim.c17 unsigned long *pending; member
61 *state = test_bit(hwirq, irq_ctx->work_ctx->pending); in irq_sim_get_irqchip_state()
79 assign_bit(hwirq, irq_ctx->work_ctx->pending, state); in irq_sim_set_irqchip_state()
108 while (!bitmap_empty(work_ctx->pending, work_ctx->irq_count)) { in irq_sim_handle_irq()
109 offset = find_next_bit(work_ctx->pending, in irq_sim_handle_irq()
111 clear_bit(offset, work_ctx->pending); in irq_sim_handle_irq()
173 work_ctx->pending = bitmap_zalloc(num_irqs, GFP_KERNEL); in irq_domain_create_sim()
174 if (!work_ctx->pending) in irq_domain_create_sim()
189 bitmap_free(work_ctx->pending); in irq_domain_create_sim()
208 bitmap_free(work_ctx->pending); in irq_domain_remove_sim()
/linux/drivers/hid/
A Dhid-sensor-hub.c308 memset(&hsdev->pending, 0, sizeof(hsdev->pending)); in sensor_hub_input_attr_get_raw_value()
312 hsdev->pending.raw_size = 0; in sensor_hub_input_attr_get_raw_value()
315 hsdev->pending.status = true; in sensor_hub_input_attr_get_raw_value()
323 &hsdev->pending.ready, HZ*5); in sensor_hub_input_attr_get_raw_value()
343 kfree(hsdev->pending.raw_data); in sensor_hub_input_attr_get_raw_value()
344 hsdev->pending.status = false; in sensor_hub_input_attr_get_raw_value()
516 if (hsdev->pending.status && (hsdev->pending.attr_usage_id == in sensor_hub_raw_event()
522 if (hsdev->pending.raw_data) in sensor_hub_raw_event()
523 hsdev->pending.raw_size = sz; in sensor_hub_raw_event()
525 hsdev->pending.raw_size = 0; in sensor_hub_raw_event()
[all …]
/linux/arch/mips/sibyte/bcm1480/
A Dirq.c143 u64 pending; in ack_bcm1480_irq() local
157 pending = __raw_readq(IOADDR(A_BCM1480_IMR_REGISTER(bcm1480_irq_owner[irq], in ack_bcm1480_irq()
159 pending &= ((u64)1 << (irq_dirty)); in ack_bcm1480_irq()
160 if (pending) { in ack_bcm1480_irq()
168 __raw_writeq(pending, IOADDR(A_BCM1480_IMR_REGISTER(cpu_logical_map(i), in ack_bcm1480_irq()
172 …__raw_writeq(pending, IOADDR(A_BCM1480_IMR_REGISTER(0, R_BCM1480_IMR_LDT_INTERRUPT_CLR_H + (k*BCM1… in ack_bcm1480_irq()
335 unsigned int pending; in plat_irq_dispatch() local
337 pending = read_c0_cause() & read_c0_status(); in plat_irq_dispatch()
339 if (pending & CAUSEF_IP4) in plat_irq_dispatch()
342 else if (pending & CAUSEF_IP3) in plat_irq_dispatch()
[all …]
/linux/arch/mips/loongson2ef/fuloong-2e/
A Dirq.c24 asmlinkage void mach_irq_dispatch(unsigned int pending) in mach_irq_dispatch() argument
26 if (pending & CAUSEF_IP7) in mach_irq_dispatch()
28 else if (pending & CAUSEF_IP6) /* perf counter loverflow */ in mach_irq_dispatch()
30 else if (pending & CAUSEF_IP5) in mach_irq_dispatch()
32 else if (pending & CAUSEF_IP2) in mach_irq_dispatch()
/linux/arch/mips/kvm/
A Dinterrupt.c26 unsigned long *pending = &vcpu->arch.pending_exceptions; in kvm_mips_deliver_interrupts() local
30 if (!(*pending) && !(*pending_clr)) in kvm_mips_deliver_interrupts()
42 priority = __ffs(*pending); in kvm_mips_deliver_interrupts()
46 priority = find_next_bit(pending, in kvm_mips_deliver_interrupts()
47 BITS_PER_BYTE * sizeof(*pending), in kvm_mips_deliver_interrupts()
/linux/drivers/cdrom/
A Dgdrom.c100 int pending; member
237 gd.pending = 1; in gdrom_preparedisk_cmd()
242 gd.pending = 0; in gdrom_preparedisk_cmd()
278 gd.pending = 1; in gdrom_readtoc_cmd()
291 gd.pending = 0; in gdrom_readtoc_cmd()
431 gd.pending = 1; in gdrom_getsense()
435 if (gd.pending) in gdrom_getsense()
453 gd.pending = 0; in gdrom_getsense()
531 gd.pending = 0; in gdrom_command_interrupt()
614 gd.pending = 1; in gdrom_readdisk_dma()
[all …]

Completed in 73 milliseconds

12345678910>>...31