Lines Matching defs:active
221 * @desc.active: Descriptor being executed by the hardware
240 struct xilinx_dpdma_tx_desc *active;
1046 * Handle completion of the currently active descriptor (@chan->desc.active). As
1053 struct xilinx_dpdma_tx_desc *active;
1060 active = chan->desc.active;
1061 if (active)
1062 vchan_cyclic_callback(&active->vdesc);
1065 "DONE IRQ with no active descriptor!\n");
1074 * At VSYNC the active descriptor may have been replaced by the pending
1101 * Complete the active descriptor, if any, promote the pending
1102 * descriptor to active, and queue the next transfer, if any.
1104 if (chan->desc.active)
1105 vchan_cookie_complete(&chan->desc.active->vdesc);
1106 chan->desc.active = pending;
1143 * if the current active descriptor can be rescheduled depending on
1149 struct xilinx_dpdma_tx_desc *active;
1164 if (!chan->desc.active)
1167 active = chan->desc.active;
1168 chan->desc.active = NULL;
1170 xilinx_dpdma_chan_dump_tx_desc(chan, active);
1172 if (active->error)
1178 active->error = true;
1179 list_add_tail(&active->vdesc.node,
1182 xilinx_dpdma_chan_free_tx_desc(&active->vdesc);
1323 * be touched by the hardware. The pending and active descriptor are not
1385 if (chan->desc.active) {
1386 vchan_terminate_vdesc(&chan->desc.active->vdesc);
1387 chan->desc.active = NULL;
1517 * by each running channel to update the active descriptor.