Lines Matching refs:ENGINE_READ
580 WARN_ON((ENGINE_READ(engine, RING_MI_MODE) & MODE_IDLE) == 0); in flush_cs_tlb()
621 if (ENGINE_READ(engine, RING_HEAD) != in stop_ring()
622 ENGINE_READ(engine, RING_TAIL)) in stop_ring()
627 ENGINE_WRITE(engine, RING_HEAD, ENGINE_READ(engine, RING_TAIL)); in stop_ring()
635 return (ENGINE_READ(engine, RING_HEAD) & HEAD_ADDR) == 0; in stop_ring()
655 ENGINE_READ(engine, RING_CTL), in xcs_resume()
656 ENGINE_READ(engine, RING_HEAD), in xcs_resume()
657 ENGINE_READ(engine, RING_TAIL), in xcs_resume()
658 ENGINE_READ(engine, RING_START)); in xcs_resume()
664 ENGINE_READ(engine, RING_CTL), in xcs_resume()
665 ENGINE_READ(engine, RING_HEAD), in xcs_resume()
666 ENGINE_READ(engine, RING_TAIL), in xcs_resume()
667 ENGINE_READ(engine, RING_START)); in xcs_resume()
711 ENGINE_READ(engine, RING_CTL), in xcs_resume()
712 ENGINE_READ(engine, RING_CTL) & RING_VALID, in xcs_resume()
713 ENGINE_READ(engine, RING_HEAD), ring->head, in xcs_resume()
714 ENGINE_READ(engine, RING_TAIL), ring->tail, in xcs_resume()
715 ENGINE_READ(engine, RING_START), in xcs_resume()
2156 (ENGINE_READ(engine, RING_MI_MODE) & MODE_IDLE) == 0); in ring_destroy()