Lines Matching refs:pirq
128 struct pirq { struct
129 int pirq; member
136 #define pirq_info(d, p) ((struct pirq *)radix_tree_lookup(&(d)->pirq_tree, p)) argument
139 extern struct pirq *pirq_get_info(struct domain *, int pirq);
142 const struct pirq *__pi = pirq_info(d, p); \
145 #define pirq_to_evtchn(d, pirq) pirq_field(d, pirq, evtchn, 0) argument
146 #define pirq_masked(d, pirq) pirq_field(d, pirq, masked, 0) argument
148 void pirq_cleanup_check(struct pirq *, struct domain *);
150 #define pirq_cleanup_check(pirq, d) \ argument
151 ((pirq)->evtchn ? pirq_cleanup_check(pirq, d) : (void)0)
153 extern void pirq_guest_eoi(struct pirq *);
154 extern void desc_guest_eoi(struct irq_desc *, struct pirq *);
156 extern int pirq_guest_bind(struct vcpu *, struct pirq *, int will_share);
157 extern void pirq_guest_unbind(struct domain *d, struct pirq *);
162 const struct pirq *, unsigned long *pflags);
176 void arch_evtchn_bind_pirq(struct domain *, int pirq);