Lines Matching refs:input_ring
85 phys_addr_t ip_base = virt_to_phys((void *)jr->input_ring); in jr_initregs()
120 jr->input_ring = (dma_addr_t *)memalign(ARCH_DMA_MINALIGN, in jr_init()
122 if (!jr->input_ring) in jr_init()
132 memset(jr->input_ring, 0, JR_SIZE * sizeof(dma_addr_t)); in jr_init()
151 memset(jr->input_ring, 0, jr->size * sizeof(dma_addr_t)); in jr_sw_cleanup()
230 addr_lo = (uint32_t *)(&jr->input_ring[head]); in jr_enqueue()
231 addr_hi = (uint32_t *)(&jr->input_ring[head]) + 1; in jr_enqueue()
233 addr_hi = (uint32_t *)(&jr->input_ring[head]); in jr_enqueue()
234 addr_lo = (uint32_t *)(&jr->input_ring[head]) + 1; in jr_enqueue()
242 sec_out32(&jr->input_ring[head], desc_phys_addr); in jr_enqueue()
245 start = (unsigned long)&jr->input_ring[head] & ~(ARCH_DMA_MINALIGN - 1); in jr_enqueue()
246 end = ALIGN((unsigned long)&jr->input_ring[head] + in jr_enqueue()