Lines Matching refs:output_ring
79 phys_addr_t op_base = virt_to_phys((void *)jr->output_ring); in jr_initregs()
120 jr->output_ring = in jr_init()
122 if (!jr->output_ring) in jr_init()
126 memset(jr->output_ring, 0, jr->op_size); in jr_init()
145 memset(jr->output_ring, 0, jr->size * sizeof(struct op_ring)); in jr_sw_cleanup()
246 start = (unsigned long)jr->output_ring & in jr_enqueue()
248 end = ALIGN((unsigned long)jr->output_ring + jr->op_size, in jr_enqueue()
284 addr_lo = (uint32_t *)(&jr->output_ring[jr->tail].desc); in jr_dequeue()
285 addr_hi = (uint32_t *)(&jr->output_ring[jr->tail].desc) + 1; in jr_dequeue()
287 addr_hi = (uint32_t *)(&jr->output_ring[jr->tail].desc); in jr_dequeue()
288 addr_lo = (uint32_t *)(&jr->output_ring[jr->tail].desc) + 1; in jr_dequeue()
296 addr = (uint32_t *)&jr->output_ring[jr->tail].desc; in jr_dequeue()
300 uint32_t status = sec_in32(&jr->output_ring[jr->tail].status); in jr_dequeue()