Home
last modified time | relevance | path

Searched refs:pending (Results 1 - 25 of 1255) sorted by relevance

12345678910>>...51

/kernel/linux/linux-5.10/drivers/staging/fwserial/
H A 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; dma_fifo_out_complete() local
[all...]
/kernel/linux/linux-5.10/arch/mips/vr41xx/common/
H 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 in plat_irq_dispatch()
[all...]
/kernel/linux/linux-5.10/lib/
H A Dlist_sort.c130 * 2:1 balanced merges. Given two pending sublists of size 2^k, they are
140 * pending lists. This is beautiully simple code, but rather subtle.
148 * 2^k, which is when we have 2^k elements pending in smaller lists,
153 * a third list of size 2^(k+1), so there are never more than two pending.
155 * The number of pending lists of size 2^k is determined by the
164 * 0: 00x: 0 pending of size 2^k; x pending of sizes < 2^k
165 * 1: 01x: 0 pending of size 2^k; 2^(k-1) + x pending of sizes < 2^k
166 * 2: x10x: 0 pending o
187 struct list_head *list = head->next, *pending = NULL; list_sort() local
[all...]
/kernel/linux/linux-6.6/lib/
H A Dlist_sort.c130 * 2:1 balanced merges. Given two pending sublists of size 2^k, they are
140 * pending lists. This is beautifully simple code, but rather subtle.
148 * 2^k, which is when we have 2^k elements pending in smaller lists,
153 * a third list of size 2^(k+1), so there are never more than two pending.
155 * The number of pending lists of size 2^k is determined by the
164 * 0: 00x: 0 pending of size 2^k; x pending of sizes < 2^k
165 * 1: 01x: 0 pending of size 2^k; 2^(k-1) + x pending of sizes < 2^k
166 * 2: x10x: 0 pending o
187 struct list_head *list = head->next, *pending = NULL; list_sort() local
[all...]
/kernel/linux/linux-6.6/tools/lib/
H A Dlist_sort.c129 * 2:1 balanced merges. Given two pending sublists of size 2^k, they are
139 * pending lists. This is beautifully simple code, but rather subtle.
147 * 2^k, which is when we have 2^k elements pending in smaller lists,
152 * a third list of size 2^(k+1), so there are never more than two pending.
154 * The number of pending lists of size 2^k is determined by the
163 * 0: 00x: 0 pending of size 2^k; x pending of sizes < 2^k
164 * 1: 01x: 0 pending of size 2^k; 2^(k-1) + x pending of sizes < 2^k
165 * 2: x10x: 0 pending o
186 struct list_head *list = head->next, *pending = NULL; list_sort() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/mediatek/
H A Dmtk_drm_plane.c48 state->pending.format = DRM_FORMAT_RGB565; in mtk_plane_reset()
49 state->pending.modifier = DRM_FORMAT_MOD_LINEAR; in mtk_plane_reset()
65 state->pending = old_state->pending; in mtk_plane_duplicate_state()
200 mtk_plane_state->pending.enable = true; in mtk_plane_update_new_state()
201 mtk_plane_state->pending.pitch = pitch; in mtk_plane_update_new_state()
202 mtk_plane_state->pending.hdr_pitch = hdr_pitch; in mtk_plane_update_new_state()
203 mtk_plane_state->pending.format = format; in mtk_plane_update_new_state()
204 mtk_plane_state->pending.modifier = modifier; in mtk_plane_update_new_state()
205 mtk_plane_state->pending in mtk_plane_update_new_state()
[all...]
H A Dmtk_disp_ovl_adaptor.c91 struct mtk_plane_pending_state *pending = &state->pending; in mtk_ovl_adaptor_layer_config() local
97 const struct drm_format_info *fmt_info = drm_format_info(pending->format); in mtk_ovl_adaptor_layer_config()
104 pending->enable, pending->format); in mtk_ovl_adaptor_layer_config()
106 &pending->addr, (pending->pitch / fmt_info->cpp[0]), in mtk_ovl_adaptor_layer_config()
107 pending->x, pending->y, pending in mtk_ovl_adaptor_layer_config()
[all...]
/kernel/liteos_a/testsuites/unittest/extended/signal/full/
H A Dsignal_test_001.cpp143 sigset_t sigmask, oldmask, pending; in TestCase() local
146 sigemptyset(&pending); in TestCase()
147 sigpending(&pending); in TestCase()
148 if (sigisemptyset(&pending) != 1) { in TestCase()
155 sigpending(&pending); in TestCase()
156 if (sigisemptyset(&pending) != 1) { in TestCase()
165 printf("1 pending=%lu\n", pending.__bits[0]); in TestCase()
170 sigpending(&pending); in TestCase()
171 if (sigismember(&pending, SIGALR in TestCase()
[all...]
/kernel/linux/linux-5.10/arch/mips/sni/
H A 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 in sni_pcit_hwint_cplus() local
[all...]
/kernel/linux/linux-6.6/arch/mips/sni/
H A 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 in sni_pcit_hwint_cplus() local
[all...]
/kernel/linux/linux-5.10/arch/mips/cobalt/
H 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()
/kernel/linux/linux-6.6/arch/mips/cobalt/
H 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
H A Di915_sw_fence.c145 atomic_set_release(&fence->pending, -1); /* 0 -> -1 [done] */ in __i915_sw_fence_wake_up_all()
192 if (!atomic_dec_and_test(&fence->pending)) in __i915_sw_fence_complete()
220 int pending; in i915_sw_fence_await() local
226 pending = atomic_read(&fence->pending); in i915_sw_fence_await()
228 if (pending < 1) in i915_sw_fence_await()
230 } while (!atomic_try_cmpxchg(&fence->pending, &pending, pending + 1)); in i915_sw_fence_await()
252 atomic_set(&fence->pending, in i915_sw_fence_reinit()
336 int pending; __i915_sw_fence_await_sw_fence() local
571 int ret = 0, pending; i915_sw_fence_await_reservation() local
[all...]
/kernel/linux/linux-5.10/arch/mips/ralink/
H 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_irq(irq_find_mapping(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 in plat_irq_dispatch()
[all...]
/kernel/linux/linux-6.6/arch/mips/ralink/
H 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 in plat_irq_dispatch()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
H 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/qxl/
H 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()
/kernel/linux/linux-5.10/drivers/irqchip/
H 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()
/kernel/linux/linux-6.6/drivers/irqchip/
H 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()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
H A Dbook3s_xive_template.c37 /* Grab CPPR of the most favored pending interrupt */ in GLUE()
40 xc->pending |= 1 << cppr; in GLUE()
86 * pending. in GLUE()
116 u8 pending, int scan_type) in GLUE()
121 /* Find highest pending priority */ in GLUE()
122 while ((xc->mfrr != 0xff || pending != 0) && hirq == 0) { in GLUE()
128 * If pending is 0 this will return 0xff which is what in GLUE()
131 prio = ffs(pending) - 1; in GLUE()
172 * This is safe because if we have another pending MFRR in GLUE()
195 /* Clear the pending bi in GLUE()
326 u8 pending = xc->pending; GLUE() local
360 u8 pending, prio; GLUE() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/
H 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()
125 state->pending.async_dirty = true; in mtk_plane_atomic_async_update()
172 state->pending.enable = false; in mtk_plane_atomic_disable()
174 state->pending.dirty = true; in mtk_plane_atomic_disable()
205 state->pending.enable = true; in mtk_plane_atomic_update()
206 state->pending.pitch = pitch; in mtk_plane_atomic_update()
207 state->pending.format = format; in mtk_plane_atomic_update()
208 state->pending in mtk_plane_atomic_update()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
H A 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()
257 atomic_set(&fence->pending, in i915_sw_fence_reinit()
344 unsigned int pending; __i915_sw_fence_await_sw_fence() local
580 int ret = 0, pending; i915_sw_fence_await_reservation() local
[all...]
/kernel/linux/linux-6.6/kernel/irq/
H 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()
[all...]
/kernel/linux/linux-6.6/drivers/platform/surface/aggregator/
H A Dssh_request_layer.c47 * SSH_RTL_MAX_PENDING - Maximum number of pending requests.
132 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 in ssh_rtl_tx_pending_push()
728 ssh_rtl_cancel(struct ssh_request *rqst, bool pending) ssh_rtl_cancel() argument
1201 int pending; ssh_rtl_shutdown() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dcgroup_hierarchical_stats.c20 /* State propagated through children, pending aggregation */
21 __u64 pending; member
56 static int create_attach_counter(__u64 cg_id, __u64 state, __u64 pending) in create_attach_counter() argument
58 struct attach_counter init = {.state = state, .pending = pending}; in create_attach_counter()
108 /* Collect pending stats from subtree */ in BPF_PROG()
109 if (total_counter->pending) { in BPF_PROG()
110 delta += total_counter->pending; in BPF_PROG()
111 total_counter->pending = 0; in BPF_PROG()
126 parent_counter->pending in BPF_PROG()
[all...]

Completed in 14 milliseconds

12345678910>>...51