Home
last modified time | relevance | path

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

12

/drivers/i2c/algos/
Di2c-algo-pca.c196 int completed = 1; in pca_xfer() local
242 completed = pca_start(adap); in pca_xfer()
247 completed = pca_address(adap, msg); in pca_xfer()
253 completed = pca_tx_byte(adap, in pca_xfer()
262 completed = pca_repeated_start(adap); in pca_xfer()
272 completed = pca_rx_ack(adap, msg->len > 1); in pca_xfer()
279 completed = pca_rx_ack(adap, in pca_xfer()
287 completed = pca_repeated_start(adap); in pca_xfer()
322 completed = pca_repeated_start(adap); in pca_xfer()
348 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.c1017 bool completed = false; in cppi_rx_scan() local
1032 (safe2ack || completed) && bd && i < NUM_RXCHAN_BD; in cppi_rx_scan()
1038 if (!completed && (bd->hw_options & CPPI_OWN_SET)) in cppi_rx_scan()
1048 if ((bd->hw_options & CPPI_SOP_SET) && !completed) in cppi_rx_scan()
1054 completed = true; in cppi_rx_scan()
1056 if (!completed && len < bd->buflen) { in cppi_rx_scan()
1062 completed = true; in cppi_rx_scan()
1091 completed = true; in cppi_rx_scan()
1120 completed ? ", completed" : "", in cppi_rx_scan()
1125 if (!completed) { in cppi_rx_scan()
[all …]
/drivers/usb/gadget/
Dimx_udc.c468 completed = 0; in read_fifo() local
475 completed = (count != imx_ep->fifosize); in read_fifo()
476 if (completed || req->req.actual == req->req.length) { in read_fifo()
477 completed = 1; in read_fifo()
482 if (completed || !req->req.length) { in read_fifo()
486 completed ? "completed" : "not completed"); in read_fifo()
493 return completed; in read_fifo()
500 completed = 0; in write_fifo() local
502 while (!completed) { in write_fifo()
509 completed = (count != imx_ep->fifosize); in write_fifo()
[all …]
Dpxa27x_udc.c953 int count, is_short, completed = 0; in read_fifo() local
966 completed = 1; in read_fifo()
971 return completed; in read_fifo()
989 int count, is_short, is_last = 0, completed = 0, totcount = 0; in write_fifo() local
1031 completed = 1; in write_fifo()
1040 return completed; in write_fifo()
1056 int count, is_short, completed = 0; in read_ep0_fifo() local
1069 completed = 1; in read_ep0_fifo()
1074 return completed; in read_ep0_fifo()
2001 int completed = 0; in handle_ep0() local
[all …]
Dpxa25x_udc.c1627 int completed; in handle_ep() local
1631 completed = 0; in handle_ep()
1649 completed = write_fifo(ep, req); in handle_ep()
1662 completed = read_fifo(ep, req); in handle_ep()
1667 } while (completed); in handle_ep()
/drivers/nfc/
Dnfcwilink.c101 struct completion completed; member
139 complete(&drv->completed); in nfcwilink_fw_download_receive()
173 comp_ret = wait_for_completion_timeout(&drv->completed, in nfcwilink_get_bts_file_name()
243 comp_ret = wait_for_completion_timeout(&drv->completed, in nfcwilink_send_bts_cmd()
346 complete(&drv->completed); in nfcwilink_register_complete()
414 init_completion(&drv->completed); in nfcwilink_open()
421 &drv->completed, in nfcwilink_open()
/drivers/block/mtip32xx/
Dmtip32xx.h174 u32 completed; member
181 mtip_workq_sdbfx(w->port, group, w->completed); \
366 void __iomem *completed[MTIP_MAX_SLOT_GROUPS]; member
Dmtip32xx.c435 writel(0xFFFFFFFF, port->completed[i]); in mtip_init_port()
622 writel(1 << bit, port->completed[group]); in mtip_timeout_function()
794 u32 completed; in mtip_handle_tfe() local
828 completed = readl(port->completed[group]); in mtip_handle_tfe()
831 writel(completed, port->completed[group]); in mtip_handle_tfe()
834 for (bit = 0; bit < 32 && completed; bit++) { in mtip_handle_tfe()
835 if (!(completed & (1<<bit))) in mtip_handle_tfe()
990 u32 completed) in mtip_workq_sdbfx() argument
996 if (!completed) { in mtip_workq_sdbfx()
997 WARN_ON_ONCE(!completed); in mtip_workq_sdbfx()
[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/vhost/
Dvringh.c400 used_idx = vrh->last_used_idx + vrh->completed; in __vringh_complete()
430 vrh->completed += num_used; in __vringh_complete()
468 if (unlikely(vrh->completed > 0xffff)) in __vringh_need_notify()
472 vrh->last_used_idx + vrh->completed, in __vringh_need_notify()
475 vrh->last_used_idx += vrh->completed; in __vringh_need_notify()
476 vrh->completed = 0; in __vringh_need_notify()
594 vrh->completed = 0; in vringh_init_user()
853 vrh->completed = 0; in vringh_init_kern()
/drivers/macintosh/
Dadb.c588 struct adb_request *completed; member
612 struct adb_request **ap = &state->completed; in adb_write_done()
663 state->completed = NULL; in adb_open()
682 && state->completed == NULL) { in adb_release()
716 req = state->completed; in adb_read()
718 state->completed = req->next; in adb_read()
/drivers/dma/
Dsirf-dma.c66 struct list_head completed; member
167 list_splice_tail_init(&schan->active, &schan->completed); in sirfsoc_dma_irq()
199 if (!list_empty(&schan->completed)) { in sirfsoc_dma_process_completed()
200 list_splice_tail_init(&schan->completed, &list); in sirfsoc_dma_process_completed()
438 BUG_ON(!list_empty(&schan->completed)); in sirfsoc_dma_free_chan_resources()
701 INIT_LIST_HEAD(&schan->completed); in sirfsoc_dma_probe()
Dmpc512x_dma.c190 struct list_head completed; member
297 list_splice_tail_init(&mchan->active, &mchan->completed); in mpc_dma_irq_process()
348 if (!list_empty(&mchan->completed)) in mpc_dma_process_completed()
349 list_splice_tail_init(&mchan->completed, &list); in mpc_dma_process_completed()
523 BUG_ON(!list_empty(&mchan->completed)); in mpc_dma_free_chan_resources()
742 INIT_LIST_HEAD(&mchan->completed); in mpc_dma_probe()
/drivers/uwb/
Dneh.c110 u8 completed; member
429 neh->completed = 1; in uwb_rc_neh_grok_event()
577 if (neh->completed) { in uwb_rc_neh_timer()
/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/crypto/
Dpicoxcell_crypto.c114 struct list_head completed; member
1162 list_move_tail(&req->list, &engine->completed); in spacc_process_done()
1233 LIST_HEAD(completed); in spacc_spacc_complete()
1237 list_splice_init(&engine->completed, &completed); in spacc_spacc_complete()
1244 list_for_each_entry_safe(req, tmp, &completed, list) { in spacc_spacc_complete()
1814 INIT_LIST_HEAD(&engine->completed); in spacc_probe()
/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/scsi/megaraid/
Dmegaraid_mbox.c2089 uint8_t completed[MBOX_MAX_FIRMWARE_STATUS]; in megaraid_ack_sequence() local
2134 if (mbox->completed[i] != 0xFF) break; in megaraid_ack_sequence()
2137 completed[i] = mbox->completed[i]; in megaraid_ack_sequence()
2138 mbox->completed[i] = 0xFF; in megaraid_ack_sequence()
2140 if (completed[i] == 0xFF) { in megaraid_ack_sequence()
2149 if (completed[i] >= MBOX_MAX_SCSI_CMDS) { in megaraid_ack_sequence()
2151 scb = adapter->uscb_list + (completed[i] - in megaraid_ack_sequence()
2156 scb = adapter->kscb_list + completed[i]; in megaraid_ack_sequence()
2865 mbox->completed[i] = 0xFF; in mbox_post_sync_cmd()
/drivers/usb/host/
Dohci-q.c910 int completed, modified; in finish_unlinks() local
959 completed = 0; in finish_unlinks()
998 modified = completed = 1; in finish_unlinks()
1002 if (completed && !list_empty (&ed->td_list)) in finish_unlinks()
/drivers/scsi/
Dmegaraid.c1273 u8 completed[MAX_FIRMWARE_STATUS]; in megaraid_isr_iomapped() local
1306 memcpy(completed, (void *)adapter->mbox->m_in.completed, in megaraid_isr_iomapped()
1312 mega_cmd_done(adapter, completed, nstatus, status); in megaraid_isr_iomapped()
1350 u8 completed[MAX_FIRMWARE_STATUS]; in megaraid_isr_memmapped() local
1383 memcpy(completed, (void *)adapter->mbox->m_in.completed, in megaraid_isr_memmapped()
1394 mega_cmd_done(adapter, completed, nstatus, status); in megaraid_isr_memmapped()
1421 mega_cmd_done(adapter_t *adapter, u8 completed[], int nstatus, int status) in mega_cmd_done() argument
1440 cmdid = completed[i]; in mega_cmd_done()
/drivers/net/ethernet/faraday/
Dftmac100.c885 bool completed = true; in ftmac100_poll() local
905 completed = false; in ftmac100_poll()
945 if (completed) { in ftmac100_poll()
Dftgmac100.c1009 bool completed = true; in ftgmac100_poll() local
1030 completed = false; in ftgmac100_poll()
1065 if (completed) { in ftgmac100_poll()
/drivers/net/wireless/ath/ath9k/
Ddebug.h164 u32 completed; member

12