Searched refs:pending (Results 51 - 75 of 652) sorted by relevance

1234567891011>>

/linux-master/drivers/cdrom/
H A Dgdrom.c99 int pending; member in struct:gdrom_unit
236 gd.pending = 1;
239 wait_event_interruptible_timeout(command_queue, gd.pending == 0,
241 gd.pending = 0;
273 if (gd.pending) {
277 gd.pending = 1;
279 wait_event_interruptible_timeout(command_queue, gd.pending == 0,
281 if (gd.pending) {
290 gd.pending = 0;
424 /* even if something is pending tr
[all...]
/linux-master/drivers/irqchip/
H A Dirq-loongson-pch-lpc.c105 u32 pending, bit; local
111 pending = readl(priv->base + LPC_INT_ENA);
112 pending &= readl(priv->base + LPC_INT_STS);
113 if (!pending)
116 while (pending) {
117 bit = __ffs(pending);
120 pending &= ~BIT(bit);
H A Dirq-realtek-rtl.c107 unsigned long pending; local
111 pending = readl(REG(RTL_ICTL_GIMR)) & readl(REG(RTL_ICTL_GISR));
113 if (unlikely(!pending)) {
119 for_each_set_bit(soc_int, &pending, 32)
H A Dirq-loongson-liointc.c75 u32 pending; local
79 pending = readl(handler->priv->core_isr[core]);
81 if (!pending) {
86 pending = BIT(LIOINTC_ERRATA_IRQ);
91 while (pending) {
92 int bit = __ffs(pending);
95 pending &= ~BIT(bit);
268 u32 pending = priv->handler[i].parent_int_map; local
270 while (pending) {
271 int bit = __ffs(pending);
[all...]
H A Dirq-ls1x.c41 u32 pending; local
44 pending = readl(priv->intc_base + LS_REG_INTC_STATUS) &
47 if (!pending)
50 while (pending) {
51 int bit = __ffs(pending);
54 pending &= ~BIT(bit);
H A Dirq-mips-cpu.c129 unsigned long pending = read_c0_cause() & read_c0_status() & ST0_IM; local
132 if (!pending) {
137 pending >>= CAUSEB_IP;
138 while (pending) {
141 irq = fls(pending) - 1;
148 pending &= ~BIT(irq);
/linux-master/drivers/net/ipa/
H A Dipa_interrupt.c115 u32 pending; local
130 pending = ioread32(ipa->reg_virt + offset);
131 while ((mask = pending & enabled)) {
139 pending = ioread32(ipa->reg_virt + offset);
142 /* If any disabled interrupts are pending, clear them */
143 if (pending) {
145 pending);
147 iowrite32(pending, ipa->reg_virt + reg_offset(reg));
/linux-master/net/vmw_vsock/
H A Dvmci_transport.c43 struct sock *pending,
484 struct sock *pending; local
495 pending = sk_vsock(vpending);
496 sock_hold(pending);
501 pending = NULL;
503 return pending;
507 static void vmci_transport_release_pending(struct sock *pending) argument
509 sock_put(pending);
912 /* Processing of pending connections for servers goes through
943 struct sock *pending; local
1130 vmci_transport_recv_connecting_server(struct sock *listener, struct sock *pending, struct vmci_transport_packet *pkt) argument
[all...]
/linux-master/drivers/acpi/acpica/
H A Devglock.c110 * release interrupt occurs. If there is actually a pending
123 * If a request for the global lock is not actually pending,
226 * Did not get the lock. The pending bit was set above, and
268 u8 pending = FALSE; local
285 ACPI_RELEASE_GLOBAL_LOCK(acpi_gbl_FACS, pending);
288 * If the pending bit was set, we must write GBL_RLS to the control
291 if (pending) {
/linux-master/drivers/platform/surface/aggregator/
H A Dssh_packet_layer.c46 * - NAK received (this is equivalent to issuing re-submit for all pending
49 * - cancel (non-pending and pending)
54 * containing all packets scheduled for transmission, and the set of pending
61 * - the pending set,
71 * sets-up the timeout and adds the packet to the pending set before starting
79 * reference to the packet from the pending set. The receiver thread will then
82 * On receival of a NAK, the receiver thread re-submits all currently pending
87 * checking all currently pending packets if their timeout has expired. If the
99 * packet cannot be added to the queue, the pending se
[all...]
/linux-master/drivers/hid/
H A Dhid-sensor-hub.c22 * @lock: Spin lock to protect pending request structure.
308 memset(&hsdev->pending, 0, sizeof(hsdev->pending));
309 init_completion(&hsdev->pending.ready);
310 hsdev->pending.usage_id = usage_id;
311 hsdev->pending.attr_usage_id = attr_usage_id;
312 hsdev->pending.raw_size = 0;
315 hsdev->pending.status = true;
323 &hsdev->pending.ready, HZ*5);
324 switch (hsdev->pending
[all...]
/linux-master/arch/um/include/linux/
H A Dtime-internal.h21 bool pending, onstack; member in struct:time_travel_event
/linux-master/drivers/gpu/drm/i915/
H A Di915_sw_fence_work.h61 if (atomic_read(&f->chain.pending) <= 1)
/linux-master/drivers/staging/media/sunxi/sun6i-isp/
H A Dsun6i_isp_capture.h31 struct sun6i_isp_buffer *pending; member in struct:sun6i_isp_capture_state
/linux-master/drivers/crypto/ccp/
H A Dccp-dmaengine.c80 ccp_free_cmd_resources(ccp, &desc->pending);
99 ccp_free_desc_resources(chan->ccp, &chan->pending);
117 ccp_free_cmd_resources(ccp, &desc->pending);
144 cmd = list_first_entry(&desc->pending, struct ccp_dma_cmd, entry);
202 if (!list_empty(&desc->pending)) {
209 &desc->pending);
249 if (list_empty(&chan->pending))
253 ? list_first_entry(&chan->pending, struct ccp_dma_desc, entry)
256 list_splice_tail_init(&chan->pending, &chan->active);
310 list_move_tail(&desc->entry, &chan->pending);
[all...]
/linux-master/drivers/gpu/drm/mediatek/
H A Dmtk_drm_plane.h40 struct mtk_plane_pending_state pending; member in struct:mtk_plane_state
/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_plane.h29 * @pending: whether the current update is still pending
44 bool pending; member in struct:dpu_plane_state
/linux-master/fs/squashfs/
H A Dsquashfs_fs_sb.h34 int pending; member in struct:squashfs_cache_entry
/linux-master/block/
H A Ddisk-events.c17 unsigned int pending; /* events already sent out */ member in struct:disk_events
195 /* accumulate pending events and schedule next poll if necessary */
198 events &= ~ev->pending;
199 ev->pending |= events;
217 * disk_clear_events - synchronously check, clear and return pending events
221 * Disk events are synchronously checked and pending events in @mask
230 unsigned int pending; local
255 /* then, fetch and clear pending events */
257 pending = ev->pending
[all...]
/linux-master/arch/mips/sni/
H A Dpcimt.c278 u32 pending = read_c0_cause() & read_c0_status(); local
280 if (pending & C_IRQ5)
282 else if (pending & C_IRQ4)
284 else if (pending & C_IRQ3)
286 else if (pending & C_IRQ1)
288 else if (pending & C_IRQ0) {
/linux-master/arch/mips/sgi-ip22/
H A Dip22-int.c194 * then we just return, if multiple IRQs are pending then we will just take
200 unsigned int pending = read_c0_status() & read_c0_cause(); local
205 if (pending & CAUSEF_IP7)
207 else if (pending & CAUSEF_IP2)
209 else if (pending & CAUSEF_IP3)
211 else if (pending & CAUSEF_IP6)
213 else if (pending & (CAUSEF_IP4 | CAUSEF_IP5))
/linux-master/drivers/mmc/core/
H A Dsdio_irq.c30 static int sdio_get_pending_irqs(struct mmc_host *host, u8 *pending) argument
37 ret = mmc_io_rw_direct(card, 0, 0, SDIO_CCCR_INTx, 0, pending);
44 if (*pending && mmc_card_broken_irq_polling(card) &&
63 unsigned char pending; local
84 ret = sdio_get_pending_irqs(host, &pending);
90 if (pending & (1 << i)) {
93 pr_warn("%s: pending IRQ for non-existent function\n",
100 pr_warn("%s: pending IRQ with no handler\n",
150 * asynchronous notification of pending SDIO card interrupts
/linux-master/drivers/md/
H A Ddm-cache-background-tracker.c28 struct rb_root pending; member in struct:background_tracker
50 b->pending = RB_ROOT;
93 struct rb_node **new = &b->pending.rb_node, *parent = NULL;
112 rb_insert_color(&nw->node, &b->pending);
122 struct rb_node **new = &b->pending.rb_node;
245 rb_erase(&w->node, &b->pending);
/linux-master/drivers/gpio/
H A Dgpio-hlwd.c65 unsigned long pending; local
70 pending = ioread32be(hlwd->regs + HW_GPIOB_INTFLAG);
71 pending &= ioread32be(hlwd->regs + HW_GPIOB_INTMASK);
74 emulated_pending = hlwd->edge_emulation & pending;
75 pending &= ~emulated_pending;
94 /* Mark emulated interrupts as pending */
95 pending |= rising | falling;
101 for_each_set_bit(hwirq, &pending, 32)
/linux-master/arch/mips/sgi-ip32/
H A Dip32-irq.c33 /* issue a PIO read to make sure no PIO writes are pending */
408 unsigned int pending = read_c0_status() & read_c0_cause(); local
410 if (likely(pending & IE_IRQ0))
412 else if (unlikely(pending & IE_IRQ1))
414 else if (unlikely(pending & IE_IRQ2))
416 else if (unlikely(pending & IE_IRQ3))
418 else if (unlikely(pending & IE_IRQ4))
420 else if (likely(pending & IE_IRQ5))

Completed in 396 milliseconds

1234567891011>>