Lines Matching refs:HIDMA_TRE_SIZE
198 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()
760 tre_ring_shift = HIDMA_TRE_SIZE - tre_ring_shift; in hidma_ll_init()