Lines Matching refs:chan_link
68 struct dma_chan_data *chan_link; member
94 err = dma_start(cd->chan_link->dma->z_dev, cd->chan_link->index); in chain_link_start()
99 cd->chan_link->index); in chain_link_start()
108 err = dma_stop(cd->chan_link->dma->z_dev, cd->chan_link->index); in chain_link_stop()
113 cd->chan_link->index); in chain_link_stop()
183 ret = dma_get_status(cd->chan_link->dma->z_dev, cd->chan_link->index, &stat); in chain_task_run()
229 ret = dma_reload(cd->chan_link->dma->z_dev, cd->chan_link->index, 0, 0, increment); in chain_task_run()
244 ret = dma_reload(cd->chan_link->dma->z_dev, in chain_task_run()
245 cd->chan_link->index, 0, 0, in chain_task_run()
271 ret = dma_reload(cd->chan_link->dma->z_dev, cd->chan_link->index, in chain_task_run()
394 dma_release_channel(cd->chan_link->dma->z_dev, cd->chan_link->index); in chain_release()
487 cd->chan_link = &cd->dma_link->chan[channel]; in chain_init()
489 err = dma_config(cd->dma_link->z_dev, cd->chan_link->index, dma_cfg_link); in chain_init()
497 dma_release_channel(cd->dma_link->z_dev, cd->chan_link->index); in chain_init()
498 cd->chan_link = NULL; in chain_init()