Home
last modified time | relevance | path

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

12345678910>>...31

/linux-5.19.10/drivers/staging/fwserial/
Ddma_fifo.c41 INIT_LIST_HEAD(&fifo->pending); in dma_fifo_init()
98 struct dma_pending *pending, *next; in dma_fifo_free() local
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()
115 struct dma_pending *pending, *next; in dma_fifo_reset() local
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()
222 list_add_tail(&pended->link, &fifo->pending); in dma_fifo_out_pend()
244 struct dma_pending *pending, *next, *tmp; in dma_fifo_out_complete() local
250 if (list_empty(&fifo->pending) && fifo->open == 0) in dma_fifo_out_complete()
[all …]
/linux-5.19.10/lib/
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-5.19.10/tools/lib/
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-5.19.10/arch/mips/sni/
Dpcit.c183 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 …]
/linux-5.19.10/arch/mips/vr41xx/common/
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-5.19.10/arch/mips/cobalt/
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-5.19.10/drivers/gpu/drm/mediatek/
Dmtk_drm_plane.c52 state->pending.format = DRM_FORMAT_RGB565; in mtk_plane_reset()
68 state->pending = old_state->pending; in mtk_plane_duplicate_state()
132 mtk_plane_state->pending.enable = true; in mtk_plane_update_new_state()
133 mtk_plane_state->pending.pitch = pitch; in mtk_plane_update_new_state()
134 mtk_plane_state->pending.format = format; in mtk_plane_update_new_state()
135 mtk_plane_state->pending.addr = addr; in mtk_plane_update_new_state()
136 mtk_plane_state->pending.x = new_state->dst.x1; in mtk_plane_update_new_state()
137 mtk_plane_state->pending.y = new_state->dst.y1; in mtk_plane_update_new_state()
138 mtk_plane_state->pending.width = drm_rect_width(&new_state->dst); in mtk_plane_update_new_state()
139 mtk_plane_state->pending.height = drm_rect_height(&new_state->dst); in mtk_plane_update_new_state()
[all …]
/linux-5.19.10/drivers/irqchip/
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()
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()
Dirq-idt3243x.c31 u32 pending, hwirq; in idt_irq_dispatch() local
35 pending = irq_reg_readl(idtpic->gc, IDT_PIC_IRQ_PEND); in idt_irq_dispatch()
36 pending &= ~idtpic->gc->mask_cache; in idt_irq_dispatch()
37 while (pending) { in idt_irq_dispatch()
38 hwirq = __fls(pending); in idt_irq_dispatch()
40 pending &= ~(1 << hwirq); in idt_irq_dispatch()
/linux-5.19.10/drivers/platform/surface/aggregator/
Dssh_request_layer.c132 spin_lock(&rtl->pending.lock); in ssh_rtl_pending_remove()
135 spin_unlock(&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()
154 spin_unlock(&rtl->pending.lock); in ssh_rtl_tx_pending_push()
159 spin_unlock(&rtl->pending.lock); in ssh_rtl_tx_pending_push()
163 atomic_inc(&rtl->pending.count); in ssh_rtl_tx_pending_push()
164 list_add_tail(&ssh_request_get(rqst)->node, &rtl->pending.head); in ssh_rtl_tx_pending_push()
166 spin_unlock(&rtl->pending.lock); in ssh_rtl_tx_pending_push()
[all …]
/linux-5.19.10/arch/mips/ralink/
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-5.19.10/drivers/gpu/drm/qxl/
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-5.19.10/drivers/gpu/drm/i915/
Di915_sw_fence.c149 atomic_set_release(&fence->pending, -1); /* 0 -> -1 [done] */ in __i915_sw_fence_wake_up_all()
196 if (!atomic_dec_and_test(&fence->pending)) in __i915_sw_fence_complete()
224 int pending; in i915_sw_fence_await() local
230 pending = atomic_read(&fence->pending); in i915_sw_fence_await()
232 if (pending < 1) in i915_sw_fence_await()
234 } while (!atomic_try_cmpxchg(&fence->pending, &pending, pending + 1)); in i915_sw_fence_await()
259 atomic_set(&fence->pending, 1); in i915_sw_fence_reinit()
346 unsigned int pending; in __i915_sw_fence_await_sw_fence() local
363 pending = I915_SW_FENCE_FLAG_FENCE; in __i915_sw_fence_await_sw_fence()
375 pending |= I915_SW_FENCE_FLAG_ALLOC; in __i915_sw_fence_await_sw_fence()
[all …]
/linux-5.19.10/arch/mips/sibyte/sb1250/
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-5.19.10/kernel/irq/
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-5.19.10/arch/mips/loongson2ef/fuloong-2e/
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-5.19.10/arch/mips/kvm/
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-5.19.10/arch/mips/sibyte/bcm1480/
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-5.19.10/net/vmw_vsock/
Dvmci_transport.c43 struct sock *pending,
484 struct sock *pending; in vmci_transport_get_pending() local
495 pending = sk_vsock(vpending); in vmci_transport_get_pending()
496 sock_hold(pending); in vmci_transport_get_pending()
501 pending = NULL; in vmci_transport_get_pending()
503 return pending; in vmci_transport_get_pending()
507 static void vmci_transport_release_pending(struct sock *pending) in vmci_transport_release_pending() argument
509 sock_put(pending); in vmci_transport_release_pending()
943 struct sock *pending; in vmci_transport_recv_listen() local
957 pending = vmci_transport_get_pending(sk, pkt); in vmci_transport_recv_listen()
[all …]
/linux-5.19.10/drivers/hid/
Dhid-sensor-hub.c308 memset(&hsdev->pending, 0, sizeof(hsdev->pending)); in sensor_hub_input_attr_get_raw_value()
309 init_completion(&hsdev->pending.ready); in sensor_hub_input_attr_get_raw_value()
310 hsdev->pending.usage_id = usage_id; in sensor_hub_input_attr_get_raw_value()
311 hsdev->pending.attr_usage_id = attr_usage_id; 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()
324 switch (hsdev->pending.raw_size) { in sensor_hub_input_attr_get_raw_value()
327 ret_val = *(s8 *)hsdev->pending.raw_data; in sensor_hub_input_attr_get_raw_value()
329 ret_val = *(u8 *)hsdev->pending.raw_data; in sensor_hub_input_attr_get_raw_value()
[all …]
/linux-5.19.10/fs/btrfs/
Dasync-thread.c36 atomic_t pending; member
71 return atomic_read(&wq->pending) > wq->thresh * 2; in btrfs_workqueue_normal_congested()
85 atomic_set(&ret->pending, 0); in btrfs_alloc_workqueue()
125 atomic_inc(&wq->pending); in thresh_queue_hook()
136 long pending; in thresh_exec_hook() local
142 atomic_dec(&wq->pending); in thresh_exec_hook()
158 pending = atomic_read(&wq->pending); in thresh_exec_hook()
159 if (pending > wq->thresh) in thresh_exec_hook()
161 if (pending < wq->thresh / 2) in thresh_exec_hook()
/linux-5.19.10/include/linux/
Dasync.h19 struct list_head pending; member
27 struct async_domain _name = { .pending = LIST_HEAD_INIT(_name.pending), \
35 struct async_domain _name = { .pending = LIST_HEAD_INIT(_name.pending), \
/linux-5.19.10/arch/mips/loongson2ef/lemote-2f/
Dirq.c73 void mach_irq_dispatch(unsigned int pending) in mach_irq_dispatch() argument
75 if (pending & CAUSEF_IP7) in mach_irq_dispatch()
77 else if (pending & CAUSEF_IP6) { /* North Bridge, Perf counter */ in mach_irq_dispatch()
79 } else if (pending & CAUSEF_IP3) /* CPU UART */ in mach_irq_dispatch()
81 else if (pending & CAUSEF_IP2) /* South Bridge */ in mach_irq_dispatch()
/linux-5.19.10/arch/mips/txx9/rbtx4927/
Dirq.c172 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()

12345678910>>...31