Lines Matching refs:virq
227 unsigned int virq; in cxl_map_irq() local
231 virq = irq_create_mapping(NULL, hwirq); in cxl_map_irq()
232 if (!virq) { in cxl_map_irq()
238 cxl_ops->setup_irq(adapter, hwirq, virq); in cxl_map_irq()
240 pr_devel("hwirq %#lx mapped to virq %u\n", hwirq, virq); in cxl_map_irq()
242 result = request_irq(virq, handler, 0, name, cookie); in cxl_map_irq()
248 return virq; in cxl_map_irq()
251 void cxl_unmap_irq(unsigned int virq, void *cookie) in cxl_unmap_irq() argument
253 free_irq(virq, cookie); in cxl_unmap_irq()
263 int hwirq, virq; in cxl_register_one_irq() local
268 if (!(virq = cxl_map_irq(adapter, hwirq, handler, cookie, name))) in cxl_register_one_irq()
272 *dest_virq = virq; in cxl_register_one_irq()
405 unsigned int virq; in afu_release_irqs() local
411 virq = irq_find_mapping(NULL, hwirq); in afu_release_irqs()
412 if (virq) in afu_release_irqs()
413 cxl_unmap_irq(virq, cookie); in afu_release_irqs()