Lines Matching refs:dma_tx_channel
157 struct dma_chan *dma_tx_channel; member
584 desc->desc = dmaengine_prep_slave_single(ctrl->dma_tx_channel, in qcom_slim_ngd_tx_msg_post()
597 dma_async_issue_pending(ctrl->dma_tx_channel); in qcom_slim_ngd_tx_msg_post()
718 ctrl->dma_tx_channel = dma_request_chan(dev, "tx"); in qcom_slim_ngd_init_tx_msgq()
719 if (IS_ERR(ctrl->dma_tx_channel)) { in qcom_slim_ngd_init_tx_msgq()
721 ret = PTR_ERR(ctrl->dma_tx_channel); in qcom_slim_ngd_init_tx_msgq()
722 ctrl->dma_tx_channel = NULL; in qcom_slim_ngd_init_tx_msgq()
741 dma_release_channel(ctrl->dma_tx_channel); in qcom_slim_ngd_init_tx_msgq()
1138 if (ctrl->dma_tx_channel) { in qcom_slim_ngd_exit_dma()
1139 dmaengine_terminate_sync(ctrl->dma_tx_channel); in qcom_slim_ngd_exit_dma()
1140 dma_release_channel(ctrl->dma_tx_channel); in qcom_slim_ngd_exit_dma()
1143 ctrl->dma_tx_channel = ctrl->dma_rx_channel = NULL; in qcom_slim_ngd_exit_dma()