• Home
  • Raw
  • Download

Lines Matching refs:dev

29 struct msi_desc *alloc_msi_entry(struct device *dev, int nvec,  in alloc_msi_entry()  argument
39 desc->dev = dev; in alloc_msi_entry()
197 static int msi_domain_ops_prepare(struct irq_domain *domain, struct device *dev, in msi_domain_ops_prepare() argument
232 struct device *dev) in msi_domain_ops_check() argument
301 int msi_domain_prepare_irqs(struct irq_domain *domain, struct device *dev, in msi_domain_prepare_irqs() argument
308 ret = ops->msi_check(domain, info, dev); in msi_domain_prepare_irqs()
310 ret = ops->msi_prepare(domain, dev, nvec, arg); in msi_domain_prepare_irqs()
315 int msi_domain_populate_irqs(struct irq_domain *domain, struct device *dev, in msi_domain_populate_irqs() argument
323 for_each_msi_entry(desc, dev) { in msi_domain_populate_irqs()
345 for_each_msi_entry(desc, dev) { in msi_domain_populate_irqs()
369 struct device *dev) in msi_check_reservation_mode() argument
386 desc = first_msi_entry(dev); in msi_check_reservation_mode()
399 int msi_domain_alloc_irqs(struct irq_domain *domain, struct device *dev, in msi_domain_alloc_irqs() argument
410 ret = msi_domain_prepare_irqs(domain, dev, nvec, &arg); in msi_domain_alloc_irqs()
414 for_each_msi_entry(desc, dev) { in msi_domain_alloc_irqs()
418 dev_to_node(dev), &arg, false, in msi_domain_alloc_irqs()
431 irq_debugfs_copy_devname(virq + i, dev); in msi_domain_alloc_irqs()
438 can_reserve = msi_check_reservation_mode(domain, info, dev); in msi_domain_alloc_irqs()
440 for_each_msi_entry(desc, dev) { in msi_domain_alloc_irqs()
443 dev_dbg(dev, "irq %d for MSI\n", virq); in msi_domain_alloc_irqs()
445 dev_dbg(dev, "irq [%d-%d] for MSI\n", in msi_domain_alloc_irqs()
468 for_each_msi_entry(desc, dev) { in msi_domain_alloc_irqs()
476 for_each_msi_entry(desc, dev) { in msi_domain_alloc_irqs()
486 msi_domain_free_irqs(domain, dev); in msi_domain_alloc_irqs()
496 void msi_domain_free_irqs(struct irq_domain *domain, struct device *dev) in msi_domain_free_irqs() argument
500 for_each_msi_entry(desc, dev) { in msi_domain_free_irqs()