Lines Matching refs:input_ring
80 phys_addr_t ip_base = virt_to_phys((void *)jr->input_ring); in jr_initregs()
115 jr->input_ring = (dma_addr_t *)memalign(ARCH_DMA_MINALIGN, in jr_init()
117 if (!jr->input_ring) in jr_init()
127 memset(jr->input_ring, 0, JR_SIZE * sizeof(dma_addr_t)); in jr_init()
146 memset(jr->input_ring, 0, jr->size * sizeof(dma_addr_t)); in jr_sw_cleanup()
225 addr_lo = (uint32_t *)(&jr->input_ring[head]); in jr_enqueue()
226 addr_hi = (uint32_t *)(&jr->input_ring[head]) + 1; in jr_enqueue()
228 addr_hi = (uint32_t *)(&jr->input_ring[head]); in jr_enqueue()
229 addr_lo = (uint32_t *)(&jr->input_ring[head]) + 1; in jr_enqueue()
237 sec_out32(&jr->input_ring[head], desc_phys_addr); in jr_enqueue()
240 start = (unsigned long)&jr->input_ring[head] & ~(ARCH_DMA_MINALIGN - 1); in jr_enqueue()
241 end = ALIGN((unsigned long)&jr->input_ring[head] + in jr_enqueue()