Lines Matching refs:lri
134 static int get_lri_mask(struct intel_engine_cs *engine, u32 lri) in get_lri_mask() argument
136 if ((lri & MI_LRI_LRM_CS_MMIO) == 0) in get_lri_mask()
193 u32 lri = READ_ONCE(hw[dw]); in live_lrc_layout() local
196 if (lri == 0) { in live_lrc_layout()
203 engine->name, lri, dw); in live_lrc_layout()
208 if ((lri & GENMASK(31, 23)) != LRI_HEADER) { in live_lrc_layout()
210 engine->name, dw, lri); in live_lrc_layout()
215 if (lrc[dw] != lri) { in live_lrc_layout()
217 engine->name, dw, lri, lrc[dw]); in live_lrc_layout()
232 lri_mask = get_lri_mask(engine, lri); in live_lrc_layout()
234 lri &= 0x7f; in live_lrc_layout()
235 lri++; in live_lrc_layout()
238 while (lri) { in live_lrc_layout()
253 lri -= 2; in live_lrc_layout()
274 static int find_offset(const u32 *lri, u32 offset) in find_offset() argument
279 if (lri[i] == offset) in find_offset()