Lines Matching defs:completion

11 #include <linux/completion.h>
69 * to the channel TRE whose completion the event represents.
72 * the completion of the transfer operation generates an entry (and possibly
76 * to signal completion of channel transfers.
79 * in order. Completion of one entry implies the completion of all preceding
80 * entries. A single completion interrupt can therefore communicate the
81 * completion of many transfers.
309 * completion to be signaled. Returns true if the command completes
313 gsi_command(struct gsi *gsi, u32 reg, u32 val, struct completion *completion)
315 reinit_completion(completion);
319 return !!wait_for_completion_timeout(completion, GSI_CMD_TIMEOUT * HZ);
338 struct completion *completion = &evt_ring->completion;
345 if (gsi_command(gsi, GSI_EV_CH_CMD_OFFSET, val, completion))
432 struct completion *completion = &channel->completion;
441 if (gsi_command(gsi, GSI_CH_CMD_OFFSET, val, completion))
680 wait_for_completion(&trans->completion);
923 * the transaction and the count last time we recorded a completion
963 complete(&channel->completion);
984 complete(&evt_ring->completion);
994 complete(&gsi->channel[channel_id].completion);
1011 complete(&evt_ring->completion);
1060 complete(&gsi->completion);
1086 /* I/O completion interrupt event */
1171 /* Return the transaction associated with a transfer completion event */
1222 * associated with completion events are consecutive.
1346 * the number of transactions and bytes this completion represents
1402 * completion processing and retire/free the transaction.
1513 struct completion *completion = &gsi->completion;
1526 if (gsi_command(gsi, GSI_GENERIC_CMD_OFFSET, val, completion))
1751 init_completion(&gsi->evt_ring[evt_ring_id].completion);
1846 init_completion(&channel->completion);
2017 init_completion(&gsi->completion);
2045 * slots for writing completion information. So the hardware limit