Lines Matching defs:virq
200 WARN(1, "Received AFU IRQ out of range for pe %i (virq %i hwirq %lx)\n",
206 pr_devel("Received AFU interrupt %i for pe: %i (virq %i hwirq %lx)\n",
226 unsigned int virq;
230 virq = irq_create_mapping(NULL, hwirq);
231 if (!virq) {
237 cxl_ops->setup_irq(adapter, hwirq, virq);
239 pr_devel("hwirq %#lx mapped to virq %u\n", hwirq, virq);
241 result = request_irq(virq, handler, 0, name, cookie);
247 return virq;
250 void cxl_unmap_irq(unsigned int virq, void *cookie)
252 free_irq(virq, cookie);
262 int hwirq, virq;
267 if (!(virq = cxl_map_irq(adapter, hwirq, handler, cookie, name)))
271 *dest_virq = virq;
405 unsigned int virq;
411 virq = irq_find_mapping(NULL, hwirq);
412 if (virq)
413 cxl_unmap_irq(virq, cookie);