Lines Matching refs:cause
56 static int process_misc_interrupts(struct idxd_device *idxd, u32 cause) in process_misc_interrupts() argument
64 if (cause & IDXD_INTC_ERR) { in process_misc_interrupts()
99 if (cause & IDXD_INTC_CMD) { in process_misc_interrupts()
104 if (cause & IDXD_INTC_OCCUPY) { in process_misc_interrupts()
109 if (cause & IDXD_INTC_PERFMON_OVFL) { in process_misc_interrupts()
117 val ^= cause; in process_misc_interrupts()
156 u32 cause; in idxd_misc_thread() local
158 cause = ioread32(idxd->reg_base + IDXD_INTCAUSE_OFFSET); in idxd_misc_thread()
159 if (cause) in idxd_misc_thread()
160 iowrite32(cause, idxd->reg_base + IDXD_INTCAUSE_OFFSET); in idxd_misc_thread()
162 while (cause) { in idxd_misc_thread()
163 rc = process_misc_interrupts(idxd, cause); in idxd_misc_thread()
166 cause = ioread32(idxd->reg_base + IDXD_INTCAUSE_OFFSET); in idxd_misc_thread()
167 if (cause) in idxd_misc_thread()
168 iowrite32(cause, idxd->reg_base + IDXD_INTCAUSE_OFFSET); in idxd_misc_thread()