Lines Matching defs:context_id0
37 * The 44-bit packet is mapped as {context_id1[7:0],context_id0[31:0]} plus
43 * - context_id0[24]
46 * - context_id0[22:0]
48 * Auto - only context_id0[8:0] is used, which reports various interrupts
51 * Error - Error type (context_id0[22:19]), Error Details (rest of bits)
111 /* GFX10 SQ interrupt PRIV bit (context_id0[24]) for s_sendmsg inside trap */
249 uint32_t context_id0, context_id1;
256 context_id0 = SOC15_CONTEXT_ID0_FROM_IH_ENTRY(ih_ring_entry);
265 kfd_signal_event_interrupt(pasid, context_id0, 32);
275 REG_GET_FIELD(context_id0, SQ_INTERRUPT_WORD_AUTO_CTXID0,
277 REG_GET_FIELD(context_id0, SQ_INTERRUPT_WORD_AUTO_CTXID0,
279 REG_GET_FIELD(context_id0, SQ_INTERRUPT_WORD_AUTO_CTXID0,
281 REG_GET_FIELD(context_id0, SQ_INTERRUPT_WORD_AUTO_CTXID0,
283 REG_GET_FIELD(context_id0, SQ_INTERRUPT_WORD_AUTO_CTXID0,
290 REG_GET_FIELD(context_id0, SQ_INTERRUPT_WORD_WAVE_CTXID0,
292 REG_GET_FIELD(context_id0, SQ_INTERRUPT_WORD_WAVE_CTXID0,
294 REG_GET_FIELD(context_id0, SQ_INTERRUPT_WORD_WAVE_CTXID0,
296 REG_GET_FIELD(context_id0, SQ_INTERRUPT_WORD_WAVE_CTXID0,
298 REG_GET_FIELD(context_id0, SQ_INTERRUPT_WORD_WAVE_CTXID0,
302 if (context_id0 & SQ_INTERRUPT_WORD_WAVE_CTXID0__PRIV_MASK) {
304 KFD_DEBUG_DOORBELL_ID(context_id0),
305 KFD_DEBUG_TRAP_CODE(context_id0),
311 sq_intr_err_type = REG_GET_FIELD(context_id0, KFD_CTXID0,
316 REG_GET_FIELD(context_id0, SQ_INTERRUPT_WORD_WAVE_CTXID0,
318 REG_GET_FIELD(context_id0, SQ_INTERRUPT_WORD_WAVE_CTXID0,
320 REG_GET_FIELD(context_id0, SQ_INTERRUPT_WORD_WAVE_CTXID0,
322 REG_GET_FIELD(context_id0, SQ_INTERRUPT_WORD_WAVE_CTXID0,
324 REG_GET_FIELD(context_id0, SQ_INTERRUPT_WORD_WAVE_CTXID0,
338 kfd_signal_event_interrupt(pasid, context_id0 & 0x7fffff, 23);
340 KFD_DBG_EC_TYPE_IS_PACKET(KFD_DEBUG_CP_BAD_OP_ECODE(context_id0))) {
342 KFD_DEBUG_DOORBELL_ID(context_id0),
343 KFD_EC_MASK(KFD_DEBUG_CP_BAD_OP_ECODE(context_id0)),
358 kfd_signal_event_interrupt(pasid, context_id0 & 0xfffffff, 28);