Searched refs:RING_CTL_SIZE (Results 1 – 4 of 4) sorted by relevance
1458 regs[CTX_RING_CTL] = RING_CTL_SIZE(ring->size) | RING_VALID; in lrc_update_regs()1508 (RING_CTL_SIZE(ring->size) | RING_VALID)) { in lrc_check_regs()1512 (u32)(RING_CTL_SIZE(ring->size) | RING_VALID)); in lrc_check_regs()1513 regs[CTX_RING_CTL] = RING_CTL_SIZE(ring->size) | RING_VALID; in lrc_check_regs()
153 GEM_BUG_ON(RING_CTL_SIZE(size) & ~RING_NR_PAGES); in intel_engine_create_ring()
20 #define RING_CTL_SIZE(size) ((size) - PAGE_SIZE) /* in bytes -> pages */ macro
238 RING_CTL_SIZE(ring->size) | RING_VALID); in xcs_resume()