Searched refs:RING_CTL_SIZE (Results 1 – 6 of 6) sorted by relevance
55 #define RING_CTL_SIZE(size) ((size) - PAGE_SIZE) /* in bytes -> pages */ macro56 #define RING_CTL_SIZE(size) ((size) - PAGE_SIZE) /* in bytes -> pages */ macro
1546 regs[CTX_RING_CTL] = RING_CTL_SIZE(ring->size) | RING_VALID; in lrc_update_regs()1597 (RING_CTL_SIZE(ring->size) | RING_VALID)) { in lrc_check_regs()1601 (u32)(RING_CTL_SIZE(ring->size) | RING_VALID)); in lrc_check_regs()1602 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()
975 RING_CTL_SIZE(lrc->ring.size) | RING_VALID); in xe_lrc_init()981 RING_CTL_SIZE(lrc->ring.size) | RING_VALID); in xe_lrc_init()