Lines Matching refs:config_dma

187 				struct dma_config *config_dma)  in dma_esp32_config_rx()  argument
203 if (config_dma->dest_burst_length) { in dma_esp32_config_rx()
213 dma_channel->cb = config_dma->dma_callback; in dma_esp32_config_rx()
214 dma_channel->user_data = config_dma->user_data; in dma_esp32_config_rx()
218 config_dma->dma_callback != NULL); in dma_esp32_config_rx()
220 return dma_esp32_config_rx_descriptor(dma_channel, config_dma->head_block); in dma_esp32_config_rx()
273 struct dma_config *config_dma) in dma_esp32_config_tx() argument
291 if (config_dma->source_burst_length) { in dma_esp32_config_tx()
296 dma_channel->cb = config_dma->dma_callback; in dma_esp32_config_tx()
297 dma_channel->user_data = config_dma->user_data; in dma_esp32_config_tx()
302 config_dma->dma_callback != NULL); in dma_esp32_config_tx()
304 return dma_esp32_config_tx_descriptor(dma_channel, config_dma->head_block); in dma_esp32_config_tx()
308 struct dma_config *config_dma) in dma_esp32_config() argument
319 if (!config_dma) { in dma_esp32_config()
323 if (config_dma->source_burst_length != config_dma->dest_burst_length) { in dma_esp32_config()
328 dma_channel->periph_id = config_dma->channel_direction == MEMORY_TO_MEMORY in dma_esp32_config()
330 : config_dma->dma_slot; in dma_esp32_config()
334 switch (config_dma->channel_direction) { in dma_esp32_config()
350 ret = dma_esp32_config_rx(dev, dma_channel_rx, config_dma); in dma_esp32_config()
351 ret = dma_esp32_config_tx(dev, dma_channel_tx, config_dma); in dma_esp32_config()
354 ret = dma_esp32_config_rx(dev, dma_channel, config_dma); in dma_esp32_config()
357 ret = dma_esp32_config_tx(dev, dma_channel, config_dma); in dma_esp32_config()