summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/freescale/pinctrl-imx.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-07-12 12:20:17 +0300
committerBjorn Helgaas <bhelgaas@google.com>2016-07-21 23:50:07 +0300
commitaff171641d181ea573380efc3f559c9de4741fc5 (patch)
tree4db964cfabf120e9e9f1cba6f8d1707ae5bc8159 /drivers/pinctrl/freescale/pinctrl-imx.c
parent3ac020e0ca8beff9b695f9866a06d50c09c602d6 (diff)
downloadlinux-aff171641d181ea573380efc3f559c9de4741fc5.tar.xz
PCI: Provide sensible IRQ vector alloc/free routines
Add a function to allocate and free a range of interrupt vectors, using MSI-X, MSI or legacy vectors (in that order) based on the capabilities of the underlying device and PCIe complex. Additionally a new helper is provided to get the Linux IRQ number for given device-relative vector so that the drivers don't need to allocate their own arrays to keep track of the vectors for the multi vector MSI-X case. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Alexander Gordeev <agordeev@redhat.com>
Diffstat (limited to 'drivers/pinctrl/freescale/pinctrl-imx.c')
0 files changed, 0 insertions, 0 deletions