Lines Matching refs:input
89 int prepare_input_output_dma(void* input, in prepare_input_output_dma() argument
95 if (input == output && input_len != output_len) { in prepare_input_output_dma()
100 if (input == output && input_len == output_len) { in prepare_input_output_dma()
101 rc = prepare_dma(input, input_len, DMA_FLAG_BIDIRECTION, input_pmem); in prepare_input_output_dma()
108 rc = prepare_dma(input, input_len, DMA_FLAG_TO_DEVICE, input_pmem); in prepare_input_output_dma()
116 finish_dma(input, input_len, DMA_FLAG_TO_DEVICE); // Clean DMA in prepare_input_output_dma()
123 int finish_input_output_dma(void* input, in finish_input_output_dma() argument
127 if (input == output && input_len != output_len) { in finish_input_output_dma()
131 if (input == output && input_len == output_len) { in finish_input_output_dma()
132 return finish_dma(input, input_len, DMA_FLAG_BIDIRECTION); in finish_input_output_dma()
134 int rc_in = finish_dma(input, input_len, DMA_FLAG_TO_DEVICE); in finish_input_output_dma()