Lines Matching refs:device
12 #include <linux/device.h>
22 * @dev: Pointer to the device for which this is allocated
29 struct msi_desc *alloc_msi_entry(struct device *dev, int nvec,
196 static int msi_domain_ops_prepare(struct irq_domain *domain, struct device *dev,
226 struct device *dev)
310 int msi_domain_prepare_irqs(struct irq_domain *domain, struct device *dev,
324 int msi_domain_populate_irqs(struct irq_domain *domain, struct device *dev,
366 * Carefully check whether the device can use reservation mode. If
368 * dummy vector to the device. If the PCI/MSI device does not support
370 * the device driver is not absolutely careful. But even then a malfunction
372 * and render the device unusable. If the entry can be masked then the core
378 struct device *dev)
404 int __msi_domain_alloc_irqs(struct irq_domain *domain, struct device *dev,
501 * @dev: Pointer to device struct of the device for which the interrupts
507 int msi_domain_alloc_irqs(struct irq_domain *domain, struct device *dev,
516 void __msi_domain_free_irqs(struct irq_domain *domain, struct device *dev)
544 * @dev: Pointer to device struct of the device for which the interrupts
547 void msi_domain_free_irqs(struct irq_domain *domain, struct device *dev)