Lines Matching refs:arg
531 unsigned int nr_irqs, void *arg) in msi_domain_alloc() argument
535 irq_hw_number_t hwirq = ops->get_hwirq(info, arg); in msi_domain_alloc()
542 ret = irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, arg); in msi_domain_alloc()
548 ret = ops->msi_init(domain, info, virq + i, hwirq + i, arg); in msi_domain_alloc()
583 msi_alloc_info_t *arg) in msi_domain_ops_get_hwirq() argument
585 return arg->hwirq; in msi_domain_ops_get_hwirq()
589 int nvec, msi_alloc_info_t *arg) in msi_domain_ops_prepare() argument
591 memset(arg, 0, sizeof(*arg)); in msi_domain_ops_prepare()
595 static void msi_domain_ops_set_desc(msi_alloc_info_t *arg, in msi_domain_ops_set_desc() argument
598 arg->desc = desc; in msi_domain_ops_set_desc()
604 msi_alloc_info_t *arg) in msi_domain_ops_init() argument
699 int nvec, msi_alloc_info_t *arg) in msi_domain_prepare_irqs() argument
707 ret = ops->msi_prepare(domain, dev, nvec, arg); in msi_domain_prepare_irqs()
713 int virq_base, int nvec, msi_alloc_info_t *arg) in msi_domain_populate_irqs() argument
729 ops->set_desc(arg, desc); in msi_domain_populate_irqs()
730 ret = irq_domain_alloc_irqs_hierarchy(domain, virq, 1, arg); in msi_domain_populate_irqs()
855 msi_alloc_info_t arg = { }; in __msi_domain_alloc_irqs() local
861 ret = msi_domain_prepare_irqs(domain, dev, nvec, &arg); in __msi_domain_alloc_irqs()
881 ops->set_desc(&arg, desc); in __msi_domain_alloc_irqs()
884 dev_to_node(dev), &arg, false, in __msi_domain_alloc_irqs()