1PCI_MSI_VEC_COUNT(9) Hardware Interfaces PCI_MSI_VEC_COUNT(9)
2
3
4
6 pci_msi_vec_count - Return the number of MSI vectors a device can send
7
9 int pci_msi_vec_count(struct pci_dev * dev);
10
12 dev
13 device to report about
14
16 This function returns the number of MSI vectors a device requested via
17 Multiple Message Capable register. It returns a negative errno if the
18 device is not capable sending MSI interrupts. Otherwise, the call
19 succeeds and returns a power of two, up to a maximum of 2^5 (32),
20 according to the MSI specification.
21
23Kernel Hackers Manual 3.10 June 2019 PCI_MSI_VEC_COUNT(9)