Home
last modified time | relevance | path

Searched refs:HIDMA_TRE_SIZE (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/dma/qcom/
Dhidma_ll.c198 tre = lldev->pending_tre_list[tre_iterator / HIDMA_TRE_SIZE]; in hidma_post_completed()
202 tre_iterator / HIDMA_TRE_SIZE); in hidma_post_completed()
216 HIDMA_INCREMENT_ITERATOR(tre_iterator, HIDMA_TRE_SIZE, in hidma_post_completed()
533 tre->tre_index = lldev->tre_write_offset / HIDMA_TRE_SIZE; in hidma_ll_queue_request()
536 &tre->tre_local[0], HIDMA_TRE_SIZE); in hidma_ll_queue_request()
541 lldev->tre_write_offset = (lldev->tre_write_offset + HIDMA_TRE_SIZE) in hidma_ll_queue_request()
746 sz = (HIDMA_TRE_SIZE + 1) * nr_tres; in hidma_ll_init()
752 lldev->tre_ring_size = HIDMA_TRE_SIZE * nr_tres; in hidma_ll_init()
756 if (!IS_ALIGNED(lldev->tre_dma, HIDMA_TRE_SIZE)) { in hidma_ll_init()
759 tre_ring_shift = lldev->tre_dma % HIDMA_TRE_SIZE; in hidma_ll_init()
[all …]
Dhidma.h15 #define HIDMA_TRE_SIZE 32 /* each TRE is 32 bytes */ macro
38 u32 tre_local[HIDMA_TRE_SIZE / sizeof(u32) + 1]; /* TRE local copy */