Lines Matching defs:direction
239 enum dma_transfer_direction direction;
461 desc->direction = DMA_TRANS_NONE;
540 enum dma_transfer_direction direction)
545 if (direction == DMA_DEV_TO_MEM) {
568 } else if (direction == DMA_MEM_TO_DEV) {
601 * transfer since we don't know the direction at this stage.
633 unsigned int sg_len, enum dma_transfer_direction direction,
647 if (!is_slave_direction(direction)) {
648 dev_err(chan2dev(chan), "invalid DMA direction\n");
654 direction == DMA_MEM_TO_DEV ? "to device" : "from device",
660 if (at_xdmac_compute_chan_conf(chan, direction))
687 if (direction == DMA_DEV_TO_MEM) {
725 first->direction = direction;
736 enum dma_transfer_direction direction,
747 direction == DMA_MEM_TO_DEV ? "mem2per" : "per2mem", flags);
749 if (!is_slave_direction(direction)) {
750 dev_err(chan2dev(chan), "invalid DMA direction\n");
759 if (at_xdmac_compute_chan_conf(chan, direction))
780 if (direction == DMA_DEV_TO_MEM) {
813 first->direction = direction;
862 * direction, it involves we can't dynamically set the source and dest
866 * that solves the fact we don't know the direction.
1046 * WARNING: We don't know the direction, it involves we can't
1051 * don't know the direction.
1154 * direction, it involves we can't dynamically set the source and dest
1158 * that solves the fact we don't know the direction.