Lines Matching refs:hwirq
173 irq_hw_number_t hwirq = irqd_to_hwirq(irq_get_irq_data(irq)); in cxl_irq_afu() local
191 irq_off = hwirq - ctx->irqs.offset[r]; in cxl_irq_afu()
201 ctx->pe, irq, hwirq); in cxl_irq_afu()
205 trace_cxl_afu_irq(ctx, afu_irq, irq, hwirq); in cxl_irq_afu()
207 afu_irq, ctx->pe, irq, hwirq); in cxl_irq_afu()
223 unsigned int cxl_map_irq(struct cxl *adapter, irq_hw_number_t hwirq, in cxl_map_irq() argument
230 virq = irq_create_mapping(NULL, hwirq); in cxl_map_irq()
237 cxl_ops->setup_irq(adapter, hwirq, virq); in cxl_map_irq()
239 pr_devel("hwirq %#lx mapped to virq %u\n", hwirq, virq); in cxl_map_irq()
262 int hwirq, virq; in cxl_register_one_irq() local
264 if ((hwirq = cxl_ops->alloc_one_irq(adapter)) < 0) in cxl_register_one_irq()
265 return hwirq; in cxl_register_one_irq()
267 if (!(virq = cxl_map_irq(adapter, hwirq, handler, cookie, name))) in cxl_register_one_irq()
270 *dest_hwirq = hwirq; in cxl_register_one_irq()
276 cxl_ops->release_one_irq(adapter, hwirq); in cxl_register_one_irq()
358 irq_hw_number_t hwirq; in afu_register_hwirqs() local
366 hwirq = ctx->irqs.offset[r]; in afu_register_hwirqs()
367 for (i = 0; i < ctx->irqs.range[r]; hwirq++, i++) { in afu_register_hwirqs()
382 cxl_map_irq(ctx->afu->adapter, hwirq, handler, ctx, in afu_register_hwirqs()
403 irq_hw_number_t hwirq; in afu_release_irqs() local
408 hwirq = ctx->irqs.offset[r]; in afu_release_irqs()
409 for (i = 0; i < ctx->irqs.range[r]; hwirq++, i++) { in afu_release_irqs()
410 virq = irq_find_mapping(NULL, hwirq); in afu_release_irqs()