Lines Matching defs:template
361 * @template: The MSI info template which describes the domain
397 bool pci_create_ims_domain(struct pci_dev *pdev, const struct msi_domain_template *template,
405 if (template->info.bus_token != DOMAIN_BUS_PCI_DEVICE_IMS ||
406 !(template->info.flags & MSI_FLAG_ALLOC_SIMPLE_MSI_DESCS) ||
407 !(template->info.flags & MSI_FLAG_FREE_MSI_DESCS) ||
408 !template->chip.irq_mask || !template->chip.irq_unmask ||
409 !template->chip.irq_write_msi_msg || template->chip.irq_set_affinity)
412 return msi_create_device_irq_domain(&pdev->dev, MSI_SECONDARY_DOMAIN, template,