Lines Matching refs:irq
18 #define IO_APIC_IRQ(irq) (platform_legacy_irq(irq) ? \ argument
19 (1 << (irq)) & io_apic_irqs : \
20 (irq) < nr_irqs_gsi)
22 #define MSI_IRQ(irq) ((irq) >= nr_irqs_gsi && (irq) < nr_irqs) argument
24 #define LEGACY_VECTOR(irq) ((irq) + FIRST_LEGACY_VECTOR) argument
84 #define platform_legacy_irq(irq) ((irq) < 16) argument
106 int i8259A_irq_pending(unsigned int irq);
110 void make_8259A_irq(unsigned int irq);
111 bool bogus_8259A_irq(unsigned int irq);
118 vmask_t *io_apic_get_used_vector_map(unsigned int irq);
126 int irq; member
138 int pirq_shared(struct domain *d , int irq);
140 int map_domain_pirq(struct domain *d, int pirq, int irq, int type,
146 int map_domain_emuirq_pirq(struct domain *d, int pirq, int irq);
156 void clear_irq_vector(int irq);
158 int irq_to_vector(int irq);
160 void destroy_irq(unsigned int irq);
161 int assign_irq_vector(int irq, const cpumask_t *);
175 int bind_irq_vector(int irq, int vector, const cpumask_t *);
182 #define domain_pirq_to_irq(d, pirq) pirq_field(d, pirq, arch.irq, 0)
183 #define domain_irq_to_pirq(d, irq) ({ \ argument
184 void *__ret = radix_tree_lookup(&(d)->arch.irq_pirq, irq); \