Lines Matching refs:channel

23 			    uint64_t src, uint32_t channel, uint32_t size);
316 uint64_t src, uint32_t size, uint32_t channel, in dma_pl330_xfer() argument
326 channel_cfg = &dev_data->channels[channel]; in dma_pl330_xfer()
350 dst, src, channel); in dma_pl330_xfer()
352 ret = dma_pl330_setup_ch(dev, ch_handle, channel); in dma_pl330_xfer()
358 ret = dma_pl330_start_dma_ch(dev, dev_cfg->reg_base, channel, in dma_pl330_xfer()
365 ret = dma_pl330_wait(dev_cfg->reg_base, channel); in dma_pl330_xfer()
378 uint64_t src, uint32_t channel, in dma_pl330_handle_boundary() argument
396 ret = dma_pl330_submit(dev, dst, src, channel, in dma_pl330_handle_boundary()
405 return dma_pl330_submit(dev, dst, src, channel, size); in dma_pl330_handle_boundary()
410 ret = dma_pl330_submit(dev, dst, src, channel, transfer_size); in dma_pl330_handle_boundary()
418 return dma_pl330_submit(dev, dst, src, channel, size); in dma_pl330_handle_boundary()
427 uint32_t channel, uint32_t size) in dma_pl330_submit() argument
443 channel, size); in dma_pl330_submit()
449 channel, &xfer_size); in dma_pl330_submit()
464 static int dma_pl330_configure(const struct device *dev, uint32_t channel, in dma_pl330_configure() argument
471 if (channel >= MAX_DMA_CHANNELS) { in dma_pl330_configure()
475 channel_cfg = &dev_data->channels[channel]; in dma_pl330_configure()
519 uint32_t channel) in dma_pl330_transfer_start() argument
525 if (channel >= MAX_DMA_CHANNELS) { in dma_pl330_transfer_start()
529 channel_cfg = &dev_data->channels[channel]; in dma_pl330_transfer_start()
531 channel_cfg->src_addr, channel, in dma_pl330_transfer_start()
541 static int dma_pl330_transfer_stop(const struct device *dev, uint32_t channel) in dma_pl330_transfer_stop() argument
543 if (channel >= MAX_DMA_CHANNELS) { in dma_pl330_transfer_stop()
557 for (int channel = 0; channel < MAX_DMA_CHANNELS; channel++) { in dma_pl330_initialize() local
558 channel_cfg = &dev_data->channels[channel]; in dma_pl330_initialize()
560 (channel * MICROCODE_SIZE_MAX); in dma_pl330_initialize()