Home
last modified time | relevance | path

Searched refs:completed (Results 1 – 25 of 63) sorted by relevance

123

/drivers/i2c/algos/
Di2c-algo-pca.c204 int completed = 1; in pca_xfer() local
250 completed = pca_start(adap); in pca_xfer()
255 completed = pca_address(adap, msg); in pca_xfer()
261 completed = pca_tx_byte(adap, in pca_xfer()
270 completed = pca_repeated_start(adap); in pca_xfer()
280 completed = pca_rx_ack(adap, msg->len > 1); in pca_xfer()
287 completed = pca_rx_ack(adap, in pca_xfer()
295 completed = pca_repeated_start(adap); in pca_xfer()
330 completed = pca_repeated_start(adap); in pca_xfer()
357 if (!completed) in pca_xfer()
/drivers/gpu/host1x/
Dintr.c68 struct list_head completed[HOST1X_INTR_ACTION_COUNT]) in remove_completed_waiters()
77 dest = completed + waiter->action; in remove_completed_waiters()
142 static void run_handlers(struct list_head completed[HOST1X_INTR_ACTION_COUNT]) in run_handlers()
144 struct list_head *head = completed; in run_handlers()
168 struct list_head completed[HOST1X_INTR_ACTION_COUNT]; in process_wait_list() local
173 INIT_LIST_HEAD(completed + i); in process_wait_list()
178 completed); in process_wait_list()
189 run_handlers(completed); in process_wait_list()
/drivers/usb/musb/
Dcppi_dma.c1008 bool completed = false; in cppi_rx_scan() local
1023 (safe2ack || completed) && bd && i < NUM_RXCHAN_BD; in cppi_rx_scan()
1029 if (!completed && (bd->hw_options & CPPI_OWN_SET)) in cppi_rx_scan()
1039 if ((bd->hw_options & CPPI_SOP_SET) && !completed) in cppi_rx_scan()
1045 completed = true; in cppi_rx_scan()
1047 if (!completed && len < bd->buflen) { in cppi_rx_scan()
1053 completed = true; in cppi_rx_scan()
1082 completed = true; in cppi_rx_scan()
1111 completed ? ", completed" : "", in cppi_rx_scan()
1116 if (!completed) { in cppi_rx_scan()
[all …]
/drivers/nfc/
Dnfcwilink.c100 struct completion completed; member
138 complete(&drv->completed); in nfcwilink_fw_download_receive()
168 comp_ret = wait_for_completion_timeout(&drv->completed, in nfcwilink_get_bts_file_name()
232 comp_ret = wait_for_completion_timeout(&drv->completed, in nfcwilink_send_bts_cmd()
331 complete(&drv->completed); in nfcwilink_register_complete()
395 init_completion(&drv->completed); in nfcwilink_open()
402 &drv->completed, in nfcwilink_open()
/drivers/usb/gadget/udc/
Dpxa27x_udc.c944 int count, is_short, completed = 0; in read_fifo() local
957 completed = 1; in read_fifo()
962 return completed; in read_fifo()
980 int count, is_short, is_last = 0, completed = 0, totcount = 0; in write_fifo() local
1022 completed = 1; in write_fifo()
1031 return completed; in write_fifo()
1047 int count, is_short, completed = 0; in read_ep0_fifo() local
1060 completed = 1; in read_ep0_fifo()
1065 return completed; in read_ep0_fifo()
1987 int completed = 0; in handle_ep0() local
[all …]
/drivers/lguest/
DREADME9 equivalent) to anyone I meet who has completed this documentation.
28 understanding of the Guest is completed.
40 is completed.
/drivers/block/mtip32xx/
Dmtip32xx.h187 u32 completed; member
194 mtip_workq_sdbfx(w->port, group, w->completed); \
371 void __iomem *completed[MTIP_MAX_SLOT_GROUPS]; member
Dmtip32xx.c431 writel(0xFFFFFFFF, port->completed[i]); in mtip_init_port()
611 u32 completed; in mtip_handle_tfe() local
639 completed = readl(port->completed[group]); in mtip_handle_tfe()
641 dev_warn(&dd->pdev->dev, "g=%u, comp=%x\n", group, completed); in mtip_handle_tfe()
644 writel(completed, port->completed[group]); in mtip_handle_tfe()
647 for (bit = 0; bit < 32 && completed; bit++) { in mtip_handle_tfe()
648 if (!(completed & (1<<bit))) in mtip_handle_tfe()
780 u32 completed) in mtip_workq_sdbfx() argument
786 if (!completed) { in mtip_workq_sdbfx()
787 WARN_ON_ONCE(!completed); in mtip_workq_sdbfx()
[all …]
/drivers/macintosh/
Dadb.c612 struct adb_request *completed; member
636 struct adb_request **ap = &state->completed; in adb_write_done()
686 state->completed = NULL; in adb_open()
705 && state->completed == NULL) { in adb_release()
739 req = state->completed; in adb_read()
741 state->completed = req->next; in adb_read()
/drivers/vhost/
Dvringh.c415 used_idx = vrh->last_used_idx + vrh->completed; in __vringh_complete()
445 vrh->completed += num_used; in __vringh_complete()
485 if (unlikely(vrh->completed > 0xffff)) in __vringh_need_notify()
489 vrh->last_used_idx + vrh->completed, in __vringh_need_notify()
492 vrh->last_used_idx += vrh->completed; in __vringh_need_notify()
493 vrh->completed = 0; in __vringh_need_notify()
620 vrh->completed = 0; in vringh_init_user()
881 vrh->completed = 0; in vringh_init_kern()
/drivers/gpu/drm/exynos/
Dexynos_drm_dsi.c229 struct completion completed; member
286 struct completion completed; member
510 if (wait_for_completion_timeout(&dsi->completed, msecs_to_jiffies(300))) in exynos_dsi_wait_for_reset()
520 reinit_completion(&dsi->completed); in exynos_dsi_reset()
1123 complete(&xfer->completed); in exynos_dsi_transfer_start()
1176 complete(&xfer->completed); in exynos_dsi_transfer_finish()
1214 init_completion(&xfer->completed); in exynos_dsi_transfer()
1226 wait_for_completion_timeout(&xfer->completed, in exynos_dsi_transfer()
1258 complete(&dsi->completed); in exynos_dsi_irq()
1883 init_completion(&dsi->completed); in exynos_dsi_probe()
/drivers/uwb/
Dneh.c110 u8 completed; member
427 neh->completed = 1; in uwb_rc_neh_grok_event()
575 if (neh->completed) { in uwb_rc_neh_timer()
/drivers/dma/
Dmxs-dma.c348 u32 completed; in mxs_dma_int_handler() local
356 completed = readl(mxs_dma->base + HW_APBHX_CTRL1); in mxs_dma_int_handler()
357 completed = (completed >> chan) & 0x1; in mxs_dma_int_handler()
385 err -= err & completed; in mxs_dma_int_handler()
Dsirf-dma.c104 struct list_head completed; member
290 &schan->completed); in sirfsoc_dma_irq()
316 &schan->completed); in sirfsoc_dma_irq()
355 if (!list_empty(&schan->completed)) { in sirfsoc_dma_process_completed()
356 list_splice_tail_init(&schan->completed, &list); in sirfsoc_dma_process_completed()
614 BUG_ON(!list_empty(&schan->completed)); in sirfsoc_dma_free_chan_resources()
940 INIT_LIST_HEAD(&schan->completed); in sirfsoc_dma_probe()
Dmpc512x_dma.c209 struct list_head completed; member
347 list_splice_tail_init(&mchan->active, &mchan->completed); in mpc_dma_irq_process()
398 if (!list_empty(&mchan->completed)) in mpc_dma_process_completed()
399 list_splice_tail_init(&mchan->completed, &list); in mpc_dma_process_completed()
573 BUG_ON(!list_empty(&mchan->completed)); in mpc_dma_free_chan_resources()
974 INIT_LIST_HEAD(&mchan->completed); in mpc_dma_probe()
Ddma-axi-dmac.c278 unsigned int completed; in axi_dmac_interrupt_handler() local
280 completed = axi_dmac_read(dmac, AXI_DMAC_REG_TRANSFER_DONE); in axi_dmac_interrupt_handler()
281 axi_dmac_transfer_done(&dmac->chan, completed); in axi_dmac_interrupt_handler()
/drivers/block/drbd/
Ddrbd_interval.h14 int completed:1; /* this has been completed already; member
/drivers/staging/media/lirc/
DTODO3 example of a previously completed port).
/drivers/firewire/
Dcore-iso.c147 size_t fw_iso_buffer_lookup(struct fw_iso_buffer *buffer, dma_addr_t completed) in fw_iso_buffer_lookup() argument
155 offset = (ssize_t)completed - (ssize_t)address; in fw_iso_buffer_lookup()
/drivers/i2c/busses/
Di2c-pnx.c497 int rc = 0, completed = 0, i; in i2c_pnx_xfer() local
552 completed++; in i2c_pnx_xfer()
582 if (completed != num) in i2c_pnx_xfer()
/drivers/misc/mei/
Damthif.c287 if (cb->completed) in mei_amthif_send_cmd()
395 if (cb->completed) in mei_amthif_irq_write()
/drivers/crypto/
Dpicoxcell_crypto.c120 struct list_head completed; member
1057 list_move_tail(&req->list, &engine->completed); in spacc_process_done()
1128 LIST_HEAD(completed); in spacc_spacc_complete()
1132 list_splice_init(&engine->completed, &completed); in spacc_spacc_complete()
1139 list_for_each_entry_safe(req, tmp, &completed, list) { in spacc_spacc_complete()
1727 INIT_LIST_HEAD(&engine->completed); in spacc_probe()
/drivers/scsi/megaraid/
Dmegaraid_mbox.c2062 uint8_t completed[MBOX_MAX_FIRMWARE_STATUS]; in megaraid_ack_sequence() local
2107 if (mbox->completed[i] != 0xFF) break; in megaraid_ack_sequence()
2110 completed[i] = mbox->completed[i]; in megaraid_ack_sequence()
2111 mbox->completed[i] = 0xFF; in megaraid_ack_sequence()
2113 if (completed[i] == 0xFF) { in megaraid_ack_sequence()
2122 if (completed[i] >= MBOX_MAX_SCSI_CMDS) { in megaraid_ack_sequence()
2124 scb = adapter->uscb_list + (completed[i] - in megaraid_ack_sequence()
2129 scb = adapter->kscb_list + completed[i]; in megaraid_ack_sequence()
2838 mbox->completed[i] = 0xFF; in mbox_post_sync_cmd()
/drivers/infiniband/ulp/iser/
Diser_verbs.c1250 int i, n, completed = 0; in iser_cq_tasklet_fn() local
1256 completed += n; in iser_cq_tasklet_fn()
1257 if (completed >= iser_cq_poll_limit) in iser_cq_tasklet_fn()
1267 iser_dbg("got %d completions\n", completed); in iser_cq_tasklet_fn()
/drivers/usb/host/
Dohci-q.c982 int completed, modified; in finish_unlinks() local
1034 completed = 0; in finish_unlinks()
1073 modified = completed = 1; in finish_unlinks()
1077 if (completed && !list_empty (&ed->td_list)) in finish_unlinks()

123