Home
last modified time | relevance | path

Searched refs:tre_ch (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/dma/qcom/
Dhidma_dbg.c15 static void hidma_ll_chstats(struct seq_file *s, void *llhndl, u32 tre_ch) in hidma_ll_chstats() argument
24 if (tre_ch >= lldev->nr_tres) { in hidma_ll_chstats()
25 dev_err(lldev->dev, "invalid TRE number in chstats:%d", tre_ch); in hidma_ll_chstats()
28 tre = &lldev->trepool[tre_ch]; in hidma_ll_chstats()
29 seq_printf(s, "------Channel %d -----\n", tre_ch); in hidma_ll_chstats()
95 hidma_ll_chstats(s, mchan->dmadev->lldev, mdesc->tre_ch); in hidma_chan_show()
99 hidma_ll_chstats(s, mchan->dmadev->lldev, mdesc->tre_ch); in hidma_chan_show()
103 hidma_ll_chstats(s, mchan->dmadev->lldev, mdesc->tre_ch); in hidma_chan_show()
Dhidma.h81 u32 tre_ch; member
137 void (*callback)(void *data), void *data, u32 *tre_ch);
139 void hidma_ll_free(struct hidma_lldev *llhndl, u32 tre_ch);
140 enum dma_status hidma_ll_status(struct hidma_lldev *llhndl, u32 tre_ch);
142 void hidma_ll_queue_request(struct hidma_lldev *llhndl, u32 tre_ch);
146 void hidma_ll_set_transfer_params(struct hidma_lldev *llhndl, u32 tre_ch,
Dhidma_ll.c116 void hidma_ll_free(struct hidma_lldev *lldev, u32 tre_ch) in hidma_ll_free() argument
120 if (tre_ch >= lldev->nr_tres) { in hidma_ll_free()
121 dev_err(lldev->dev, "invalid TRE number in free:%d", tre_ch); in hidma_ll_free()
125 tre = &lldev->trepool[tre_ch]; in hidma_ll_free()
127 dev_err(lldev->dev, "trying to free an unused TRE:%d", tre_ch); in hidma_ll_free()
135 void (*callback)(void *data), void *data, u32 *tre_ch) in hidma_ll_request() argument
141 if (!tre_ch || !lldev) in hidma_ll_request()
167 *tre_ch = i; in hidma_ll_request()
524 void hidma_ll_queue_request(struct hidma_lldev *lldev, u32 tre_ch) in hidma_ll_queue_request() argument
529 tre = &lldev->trepool[tre_ch]; in hidma_ll_queue_request()
[all …]
Dhidma.c135 llstat = hidma_ll_status(mdma->lldev, mdesc->tre_ch); in hidma_process_completed()
238 hidma_ll_queue_request(dmadev->lldev, qdesc->tre_ch); in hidma_issue_pending()
366 &mdesc->tre_ch); in hidma_alloc_chan_resources()
379 hidma_ll_free(dmadev->lldev, mdesc->tre_ch); in hidma_alloc_chan_resources()
413 hidma_ll_set_transfer_params(mdma->lldev, mdesc->tre_ch, in hidma_prep_dma_memcpy()
457 hidma_ll_set_transfer_params(mdma->lldev, mdesc->tre_ch, in hidma_prep_dma_memset()
552 hidma_ll_free(mdma->lldev, mdesc->tre_ch); in hidma_free_chan_resources()