Lines Matching refs:vec
103 #define check_arg_vec(vec) \
104 if (vec < 0 || vec >= OPENPIC_NUM_VECTORS) \
105 printk("open_pic.c:%d: illegal vector %d\n", __LINE__, vec);
315 u_int vec;
319 vec = openpic2_readfield(&OpenPIC2->THIS_CPU.Interrupt_Acknowledge,
321 return vec;
367 static void openpic2_set_spurious(u_int vec)
369 check_arg_vec(vec);
371 vec);
381 * vec: the vector it will produce
383 static void __init openpic2_inittimer(u_int timer, u_int pri, u_int vec)
387 check_arg_vec(vec);
390 (pri << OPENPIC_PRIORITY_SHIFT) | vec);
464 * vec: the vector it will produce
469 openpic2_initirq(u_int irq, u_int pri, u_int vec, int pol, int sense)
474 (pri << OPENPIC_PRIORITY_SHIFT) | vec |