Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\msi.c Create Date:2022-07-28 08:31:17
Last Modify:2020-03-17 10:05:02 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:native_setup_msi_irqs

Proto:int native_setup_msi_irqs(struct pci_dev *dev, int nvec, int type)

Type:int

Parameter:

TypeParameterName
struct pci_dev *dev
intnvec
inttype
189  init_irq_alloc_info( & info, NULL)
190  type = X86_IRQ_ALLOC_TYPE_MSI
191  msi_dev = dev
193  domain = irq_remapping_get_irq_domain( & info)
194  If (domain == NULL) Then domain = msi_default_domain
196  If (domain == NULL) Then Return -ENOSYS
199  Return msi_domain_alloc_irqs(domain, & dev, nvec)