Lines Matching defs:adapter
224 unsigned int cxl_map_irq(struct cxl *adapter, irq_hw_number_t hwirq,
233 dev_warn(&adapter->dev, "cxl_map_irq: irq_create_mapping failed\n");
238 cxl_ops->setup_irq(adapter, hwirq, virq);
244 dev_warn(&adapter->dev, "cxl_map_irq: request_irq failed: %i\n", result);
256 int cxl_register_one_irq(struct cxl *adapter,
265 if ((hwirq = cxl_ops->alloc_one_irq(adapter)) < 0)
268 if (!(virq = cxl_map_irq(adapter, hwirq, handler, cookie, name)))
277 cxl_ops->release_one_irq(adapter, hwirq);
311 if ((rc = cxl_ops->alloc_irq_ranges(&ctx->irqs, ctx->afu->adapter,
351 cxl_ops->release_irq_ranges(&ctx->irqs, ctx->afu->adapter);
383 cxl_map_irq(ctx->afu->adapter, hwirq, handler, ctx,
418 cxl_ops->release_irq_ranges(&ctx->irqs, ctx->afu->adapter);