Lines Matching defs:vector
34 * 'what should we do if we get a hw irq event on an illegal vector'.
40 pr_err("unexpected IRQ trap at vector %02x\n", irq);
247 desc = __this_cpu_read(vector_irq[vector]);
254 pr_emerg_ratelimited("%s: %d.%u No irq handler for vector\n",
256 vector);
258 __this_cpu_write(vector_irq[vector], VECTOR_UNUSED);
266 /* Function pointer for generic interrupt vector handling */
334 unsigned int irr, vector;
353 * We can walk the vector array of this cpu without holding
357 for (vector = FIRST_EXTERNAL_VECTOR; vector < NR_VECTORS; vector++) {
358 if (IS_ERR_OR_NULL(__this_cpu_read(vector_irq[vector])))
361 irr = apic_read(APIC_IRR + (vector / 32 * 0x10));
362 if (irr & (1 << (vector % 32))) {
363 desc = __this_cpu_read(vector_irq[vector]);
370 __this_cpu_write(vector_irq[vector], VECTOR_RETRIGGERED);
374 if (__this_cpu_read(vector_irq[vector]) != VECTOR_RETRIGGERED)
375 __this_cpu_write(vector_irq[vector], VECTOR_UNUSED);