/openbmc/linux/drivers/irqchip/ |
H A D | irq-alpine-msi.c | 36 unsigned long *msi_map; member 65 first = bitmap_find_next_zero_area(priv->msi_map, priv->num_spis, 0, in alpine_msix_allocate_sgi() 72 bitmap_set(priv->msi_map, first, num_req); in alpine_msix_allocate_sgi() 86 bitmap_clear(priv->msi_map, first, num_req); in alpine_msix_free_sgi() 269 priv->msi_map = bitmap_zalloc(priv->num_spis, GFP_KERNEL); in alpine_msix_init() 270 if (!priv->msi_map) { in alpine_msix_init() 285 bitmap_free(priv->msi_map); in alpine_msix_init()
|
H A D | irq-loongson-pch-msi.c | 25 unsigned long *msi_map; member 56 first = bitmap_find_free_region(priv->msi_map, priv->num_irqs, in pch_msi_allocate_hwirq() 74 bitmap_release_region(priv->msi_map, first, get_count_order(num_req)); in pch_msi_free_hwirq() 205 priv->msi_map = bitmap_zalloc(priv->num_irqs, GFP_KERNEL); in pch_msi_init() 206 if (!priv->msi_map) in pch_msi_init() 220 bitmap_free(priv->msi_map); in pch_msi_init()
|
/openbmc/linux/drivers/pci/msi/ |
H A D | api.c | 149 struct msi_map pci_msix_alloc_irq_at(struct pci_dev *dev, unsigned int index, in pci_msix_alloc_irq_at() 152 struct msi_map map = { .index = -ENOTSUPP }; in pci_msix_alloc_irq_at() 172 void pci_msix_free_irq(struct pci_dev *dev, struct msi_map map) in pci_msix_free_irq() 395 struct msi_map pci_ims_alloc_irq(struct pci_dev *dev, union msi_instance_cookie *icookie, in pci_ims_alloc_irq() 410 void pci_ims_free_irq(struct pci_dev *dev, struct msi_map map) in pci_ims_free_irq()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_irq.h | 21 struct msi_map ice_alloc_irq(struct ice_pf *pf, bool dyn_only); 22 void ice_free_irq(struct ice_pf *pf, struct msi_map map);
|
H A D | ice_irq.c | 294 struct msi_map ice_alloc_irq(struct ice_pf *pf, bool dyn_only) in ice_alloc_irq() 297 struct msi_map map = { .index = -ENOENT }; in ice_alloc_irq() 335 void ice_free_irq(struct ice_pf *pf, struct msi_map map) in ice_free_irq()
|
H A D | ice_idc.c | 251 struct msi_map map; in ice_alloc_rdma_qvectors() 276 struct msi_map map; in ice_free_rdma_qvector()
|
H A D | ice.h | 479 struct msi_map irq; 593 struct msi_map oicr_irq; /* Other interrupt cause MSIX vector */
|
H A D | ice_main.c | 3322 struct msi_map oicr_irq; in ice_req_irq_msix_misc()
|
/openbmc/linux/include/linux/ |
H A D | msi_api.h | 47 struct msi_map { struct
|
H A D | pci.h | 1658 struct msi_map pci_msix_alloc_irq_at(struct pci_dev *dev, unsigned int index, 1660 void pci_msix_free_irq(struct pci_dev *pdev, struct msi_map map); 1701 static inline struct msi_map pci_msix_alloc_irq_at(struct pci_dev *dev, unsigned int index, in pci_msix_alloc_irq_at() 1704 struct msi_map map = { .index = -ENOSYS, }; in pci_msix_alloc_irq_at() 1709 static inline void pci_msix_free_irq(struct pci_dev *pdev, struct msi_map map) in pci_msix_free_irq() 2648 struct msi_map pci_ims_alloc_irq(struct pci_dev *pdev, union msi_instance_cookie *icookie, 2650 void pci_ims_free_irq(struct pci_dev *pdev, struct msi_map map);
|
H A D | msi.h | 614 struct msi_map msi_domain_alloc_irq_at(struct device *dev, unsigned int domid, unsigned int index,
|
/openbmc/linux/drivers/pci/controller/ |
H A D | pcie-xilinx.c | 106 unsigned long msi_map[BITS_TO_LONGS(XILINX_NUM_MSI_IRQS)]; member 240 hwirq = bitmap_find_free_region(pcie->msi_map, XILINX_NUM_MSI_IRQS, order_base_2(nr_irqs)); in xilinx_msi_domain_alloc() 263 bitmap_release_region(pcie->msi_map, d->hwirq, order_base_2(nr_irqs)); in xilinx_msi_domain_free()
|
H A D | pcie-iproc.c | 1350 const __be32 *msi_map = NULL; in iproc_pcie_msi_enable() local 1354 msi_map = of_get_property(pcie->dev->of_node, "msi-map", &len); in iproc_pcie_msi_enable() 1355 if (!msi_map) in iproc_pcie_msi_enable() 1358 phandle = be32_to_cpup(msi_map + 1); in iproc_pcie_msi_enable()
|
/openbmc/linux/drivers/vdpa/mlx5/net/ |
H A D | mlx5_vnet.h | 32 struct msi_map map;
|
H A D | mlx5_vnet.c | 86 struct msi_map map; 122 struct msi_map map;
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | pci_irq.c | 35 struct msi_map map; 521 struct msi_map mlx5_msix_alloc(struct mlx5_core_dev *dev, in mlx5_msix_alloc() 526 struct msi_map map; in mlx5_msix_alloc() 555 void mlx5_msix_free(struct mlx5_core_dev *dev, struct msi_map map) in mlx5_msix_free()
|
/openbmc/linux/include/linux/mlx5/ |
H A D | driver.h | 1383 struct msi_map mlx5_msix_alloc(struct mlx5_core_dev *dev, 1387 void mlx5_msix_free(struct mlx5_core_dev *dev, struct msi_map map);
|
/openbmc/linux/kernel/irq/ |
H A D | msi.c | 1459 struct msi_map msi_domain_alloc_irq_at(struct device *dev, unsigned int domid, unsigned int index, in msi_domain_alloc_irq_at() 1465 struct msi_map map = { }; in msi_domain_alloc_irq_at()
|
/openbmc/linux/drivers/vfio/pci/ |
H A D | vfio_pci_intrs.c | 432 struct msi_map map; in vfio_msi_alloc_irq()
|