/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 | 28 unsigned long *msi_map; member 39 first = bitmap_find_free_region(priv->msi_map, priv->num_irqs, in pch_msi_allocate_hwirq() 57 bitmap_release_region(priv->msi_map, first, get_count_order(num_req)); in pch_msi_free_hwirq() 194 priv->msi_map = bitmap_zalloc(priv->num_irqs, GFP_KERNEL); in pch_msi_init() 195 if (!priv->msi_map) in pch_msi_init() 209 bitmap_free(priv->msi_map); in pch_msi_init()
|
/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 | 489 struct msi_map irq; 610 struct msi_map oicr_irq; /* Other interrupt cause MSIX vector */ 611 struct msi_map ll_ts_irq; /* LL_TS interrupt MSIX vector */
|
H A D | ice_main.c | 3483 struct msi_map irq; in ice_req_irq_msix_misc()
|
/linux/drivers/pci/controller/ |
H A D | pcie-xilinx.c | 106 unsigned long msi_map[BITS_TO_LONGS(XILINX_NUM_MSI_IRQS)]; member 234 hwirq = bitmap_find_free_region(pcie->msi_map, XILINX_NUM_MSI_IRQS, order_base_2(nr_irqs)); in xilinx_msi_domain_alloc() 257 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()
|
/linux/drivers/vdpa/mlx5/net/ |
H A D | mlx5_vnet.h | 32 struct msi_map map;
|
H A D | mlx5_vnet.c | 99 struct msi_map map; 141 struct msi_map map;
|
/linux/kernel/irq/ |
H A D | msi.c | 1410 static struct msi_map __msi_domain_alloc_irq_at(struct device *dev, unsigned int domid, in __msi_domain_alloc_irq_at() 1417 struct msi_map map = { }; in __msi_domain_alloc_irq_at() 1480 struct msi_map msi_domain_alloc_irq_at(struct device *dev, unsigned int domid, unsigned int index, in msi_domain_alloc_irq_at() 1484 struct msi_map map; in msi_domain_alloc_irq_at() 1519 struct msi_map map = { }; in msi_device_domain_alloc_wired()
|
/linux/include/linux/ |
H A D | msi.h | 612 struct msi_map msi_domain_alloc_irq_at(struct device *dev, unsigned int domid, unsigned int index,
|
H A D | pci.h | 1676 struct msi_map pci_msix_alloc_irq_at(struct pci_dev *dev, unsigned int index, 1678 void pci_msix_free_irq(struct pci_dev *pdev, struct msi_map map); 1719 static inline struct msi_map pci_msix_alloc_irq_at(struct pci_dev *dev, unsigned int index, in pci_alloc_irq_vectors() 1722 struct msi_map map = { .index = -ENOSYS, }; 1727 static inline void pci_msix_free_irq(struct pci_dev *pdev, struct msi_map map) in pci_msix_alloc_irq_at()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | pci_irq.c | 36 struct msi_map map;
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 10923 struct msi_map map; in bnxt_change_msix()
|