1PCI_ENABLE_MSI_BLOCK(9)       Hardware Interfaces      PCI_ENABLE_MSI_BLOCK(9)
2
3
4

NAME

6       pci_enable_msi_block - configure device's MSI capability structure
7

SYNOPSIS

9       int pci_enable_msi_block(struct pci_dev * dev, int nvec);
10

ARGUMENTS

12       dev
13           device to configure
14
15       nvec
16           number of interrupts to configure
17

DESCRIPTION

19       Allocate IRQs for a device with the MSI capability. This function
20       returns a negative errno if an error occurs. If it is unable to
21       allocate the number of interrupts requested, it returns the number of
22       interrupts it might be able to allocate. If it successfully allocates
23       at least the number of interrupts requested, it returns 0 and updates
24       the dev's irq member to the lowest new interrupt number; the other
25       interrupt numbers allocated to this device are consecutive.
26
28Kernel Hackers Manual 3.10         June 2019           PCI_ENABLE_MSI_BLOCK(9)
Impressum