Lines Matching refs:ihre
33 const struct cik_ih_ring_entry *ihre = in cik_event_interrupt_isr() local
41 if ((ihre->source_id == CIK_INTSRC_GFX_PAGE_INV_FAULT || in cik_event_interrupt_isr()
42 ihre->source_id == CIK_INTSRC_GFX_MEM_PROT_FAULT) && in cik_event_interrupt_isr()
48 *tmp_ihre = *ihre; in cik_event_interrupt_isr()
63 vmid = (ihre->ring_id & 0x0000ff00) >> 8; in cik_event_interrupt_isr()
69 pasid = (ihre->ring_id & 0xffff0000) >> 16; in cik_event_interrupt_isr()
76 return ihre->source_id == CIK_INTSRC_CP_END_OF_PIPE || in cik_event_interrupt_isr()
77 ihre->source_id == CIK_INTSRC_SDMA_TRAP || in cik_event_interrupt_isr()
78 ihre->source_id == CIK_INTSRC_SQ_INTERRUPT_MSG || in cik_event_interrupt_isr()
79 ihre->source_id == CIK_INTSRC_CP_BAD_OPCODE || in cik_event_interrupt_isr()
80 ihre->source_id == CIK_INTSRC_GFX_PAGE_INV_FAULT || in cik_event_interrupt_isr()
81 ihre->source_id == CIK_INTSRC_GFX_MEM_PROT_FAULT; in cik_event_interrupt_isr()
87 const struct cik_ih_ring_entry *ihre = in cik_event_interrupt_wq() local
89 uint32_t context_id = ihre->data & 0xfffffff; in cik_event_interrupt_wq()
90 unsigned int vmid = (ihre->ring_id & 0x0000ff00) >> 8; in cik_event_interrupt_wq()
91 unsigned int pasid = (ihre->ring_id & 0xffff0000) >> 16; in cik_event_interrupt_wq()
96 if (ihre->source_id == CIK_INTSRC_CP_END_OF_PIPE) in cik_event_interrupt_wq()
98 else if (ihre->source_id == CIK_INTSRC_SDMA_TRAP) in cik_event_interrupt_wq()
100 else if (ihre->source_id == CIK_INTSRC_SQ_INTERRUPT_MSG) in cik_event_interrupt_wq()
102 else if (ihre->source_id == CIK_INTSRC_CP_BAD_OPCODE) in cik_event_interrupt_wq()
104 else if (ihre->source_id == CIK_INTSRC_GFX_PAGE_INV_FAULT || in cik_event_interrupt_wq()
105 ihre->source_id == CIK_INTSRC_GFX_MEM_PROT_FAULT) { in cik_event_interrupt_wq()