Lines Matching refs:number
91 pin-based interrupt mode to MSI mode. The dev->irq number is changed
92 to a new number which represents the message signaled interrupt;
101 This function allows a device driver to request any number of MSI
104 If this function returns a positive number it indicates the number of
110 number of successfully allocated MSI interrupts to further allocate
113 If this function returns a negative number, it indicates an error and
121 It is ideal if drivers can cope with a variable number of MSI interrupts;
123 exact number that a driver asks for.
125 There could be devices that can not operate with just any number of MSI
129 4.2.1.1 Maximum possible number of MSI interrupts
142 Some devices have a minimal limit on number of MSI interrupts.
150 4.2.1.2 Exact number of MSI interrupts
152 If a driver is unable or unwilling to deal with a variable number of MSI
153 interrupts it could request a particular number of interrupts by passing
154 that number to pci_enable_msi_range() function as both 'minvec' and 'maxvec'
163 enable a particular number of MSI-X interrupts, pci_enable_msi_range()
190 If this function returns a negative number, it indicates an error and
203 Calling it restores dev->irq to the pin-based interrupt number and frees
216 This function could be used to retrieve the number of MSI vectors the
221 If this function returns a negative number, it indicates the device is
224 If this function returns a positive number, it indicates the maximum
225 number of MSI interrupt vectors that could be allocated.
244 same number.
251 Calling this function asks the PCI subsystem to allocate any number of
257 returns the number of MSI-X interrupts that have been successfully
259 0 to the returned value - 1 is populated with the interrupt number;
263 Device driver can use the returned number of successfully allocated MSI-X
266 If this function returns a negative number, it indicates an error and
272 number once MSI-X is enabled.
277 It is ideal if drivers can cope with a variable number of MSI-X interrupts;
279 exact number that a driver asks for.
281 There could be devices that can not operate with just any number of MSI-X
283 four vectors per each queue it provides. Therefore, a number of MSI-X
286 (since it can allocate any number within the range, without any notion of
288 to request the required number of MSI-X interrupts.
290 4.3.1.1 Maximum possible number of MSI-X interrupts
304 Some devices have a minimal limit on number of MSI-X interrupts.
313 4.3.1.2 Exact number of MSI-X interrupts
315 If a driver is unable or unwilling to deal with a variable number of MSI-X
316 interrupts it could request a particular number of interrupts by passing
317 that number to pci_enable_msix_range() function as both 'minvec' and 'maxvec'
327 enable a particular number of MSI-X interrupts, pci_enable_msix_range()
331 4.3.1.3 Specific requirements to the number of MSI-X interrupts
334 number of MSI-X interrupts within a range. E.g., let's assume a device that
335 is only capable sending the number of MSI-X interrupts which is a power of
385 If this function returns a negative number, it indicates an error and
459 This function could be used to retrieve number of entries in the device
462 If this function returns a negative number, it indicates the device is
465 If this function returns a positive number, it indicates the maximum
466 number of MSI-X interrupt vectors that could be allocated.
488 above, MSI-X supports any number of interrupts between 1 and 2048.