Lines Matching refs:virq
167 static int mvebu_sei_domain_alloc(struct irq_domain *domain, unsigned int virq, in mvebu_sei_domain_alloc() argument
174 irq_domain_set_hwirq_and_chip(domain, virq, fwspec->param[0], in mvebu_sei_domain_alloc()
180 static void mvebu_sei_domain_free(struct irq_domain *domain, unsigned int virq, in mvebu_sei_domain_free() argument
186 struct irq_data *d = irq_domain_get_irq_data(domain, virq + i); in mvebu_sei_domain_free()
187 irq_set_handler(virq + i, NULL); in mvebu_sei_domain_free()
208 static int mvebu_sei_ap_alloc(struct irq_domain *domain, unsigned int virq, in mvebu_sei_ap_alloc() argument
223 err = irq_domain_alloc_irqs_parent(domain, virq, 1, &fwspec); in mvebu_sei_ap_alloc()
227 irq_domain_set_info(domain, virq, hwirq, in mvebu_sei_ap_alloc()
230 irq_set_probe(virq); in mvebu_sei_ap_alloc()
249 unsigned int virq, unsigned int nr_irqs, in mvebu_sei_cp_domain_alloc() argument
275 ret = irq_domain_alloc_irqs_parent(domain, virq, 1, &fwspec); in mvebu_sei_cp_domain_alloc()
279 irq_domain_set_info(domain, virq, hwirq, in mvebu_sei_cp_domain_alloc()
291 unsigned int virq, unsigned int nr_irqs) in mvebu_sei_cp_domain_free() argument
294 struct irq_data *d = irq_domain_get_irq_data(domain, virq); in mvebu_sei_cp_domain_free()
302 irq_domain_free_irqs_parent(domain, virq, 1); in mvebu_sei_cp_domain_free()