Lines Matching refs:virq
13 unsigned int virq; member
58 static irqreturn_t afu_irq_handler(int virq, void *data) in afu_irq_handler() argument
62 trace_ocxl_afu_irq_receive(virq); in afu_irq_handler()
74 irq->virq = irq_create_mapping(NULL, irq->hw_irq); in setup_afu_irq()
75 if (!irq->virq) { in setup_afu_irq()
79 pr_debug("hw_irq %d mapped to virq %u\n", irq->hw_irq, irq->virq); in setup_afu_irq()
81 irq->name = kasprintf(GFP_KERNEL, "ocxl-afu-%u", irq->virq); in setup_afu_irq()
83 irq_dispose_mapping(irq->virq); in setup_afu_irq()
87 rc = request_irq(irq->virq, afu_irq_handler, 0, irq->name, irq); in setup_afu_irq()
91 irq_dispose_mapping(irq->virq); in setup_afu_irq()
100 free_irq(irq->virq, irq); in release_afu_irq()
101 irq_dispose_mapping(irq->virq); in release_afu_irq()
136 trace_ocxl_afu_irq_alloc(ctx->pasid, irq->id, irq->virq, irq->hw_irq); in ocxl_afu_irq_alloc()
206 xd = irq_get_handler_data(irq->virq); in ocxl_afu_irq_get_addr()