Lines Matching refs:ihre
34 const struct cik_ih_ring_entry *ihre = in cik_event_interrupt_isr() local
44 if ((ihre->source_id == CIK_INTSRC_GFX_PAGE_INV_FAULT || in cik_event_interrupt_isr()
45 ihre->source_id == CIK_INTSRC_GFX_MEM_PROT_FAULT) && in cik_event_interrupt_isr()
51 *tmp_ihre = *ihre; in cik_event_interrupt_isr()
66 vmid = (ihre->ring_id & 0x0000ff00) >> 8; in cik_event_interrupt_isr()
72 pasid = (ihre->ring_id & 0xffff0000) >> 16; in cik_event_interrupt_isr()
79 return ihre->source_id == CIK_INTSRC_CP_END_OF_PIPE || in cik_event_interrupt_isr()
80 ihre->source_id == CIK_INTSRC_SDMA_TRAP || in cik_event_interrupt_isr()
81 ihre->source_id == CIK_INTSRC_SQ_INTERRUPT_MSG || in cik_event_interrupt_isr()
82 ihre->source_id == CIK_INTSRC_CP_BAD_OPCODE || in cik_event_interrupt_isr()
83 ((ihre->source_id == CIK_INTSRC_GFX_PAGE_INV_FAULT || in cik_event_interrupt_isr()
84 ihre->source_id == CIK_INTSRC_GFX_MEM_PROT_FAULT) && in cik_event_interrupt_isr()
91 const struct cik_ih_ring_entry *ihre = in cik_event_interrupt_wq() local
93 uint32_t context_id = ihre->data & 0xfffffff; in cik_event_interrupt_wq()
94 unsigned int vmid = (ihre->ring_id & 0x0000ff00) >> 8; in cik_event_interrupt_wq()
95 u32 pasid = (ihre->ring_id & 0xffff0000) >> 16; in cik_event_interrupt_wq()
100 if (ihre->source_id == CIK_INTSRC_CP_END_OF_PIPE) in cik_event_interrupt_wq()
102 else if (ihre->source_id == CIK_INTSRC_SDMA_TRAP) in cik_event_interrupt_wq()
104 else if (ihre->source_id == CIK_INTSRC_SQ_INTERRUPT_MSG) in cik_event_interrupt_wq()
106 else if (ihre->source_id == CIK_INTSRC_CP_BAD_OPCODE) in cik_event_interrupt_wq()
108 else if (ihre->source_id == CIK_INTSRC_GFX_PAGE_INV_FAULT || in cik_event_interrupt_wq()
109 ihre->source_id == CIK_INTSRC_GFX_MEM_PROT_FAULT) { in cik_event_interrupt_wq()