Lines Matching refs:tre_ch
116 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()
598 void hidma_ll_set_transfer_params(struct hidma_lldev *lldev, u32 tre_ch, in hidma_ll_set_transfer_params() argument
605 if (tre_ch >= lldev->nr_tres) { in hidma_ll_set_transfer_params()
607 tre_ch); in hidma_ll_set_transfer_params()
611 tre = &lldev->trepool[tre_ch]; in hidma_ll_set_transfer_params()
614 tre_ch); in hidma_ll_set_transfer_params()
834 enum dma_status hidma_ll_status(struct hidma_lldev *lldev, u32 tre_ch) in hidma_ll_status() argument
843 tre = &lldev->trepool[tre_ch]; in hidma_ll_status()