Home
last modified time | relevance | path

Searched refs:msi_map (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/irqchip/
H A Dirq-alpine-msi.c36 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 Dirq-loongson-pch-msi.c28 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 Dice_irq.h21 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 Dice_irq.c294 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 Dice_idc.c251 struct msi_map map; in ice_alloc_rdma_qvectors()
276 struct msi_map map; in ice_free_rdma_qvector()
H A Dice.h489 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 Dice_main.c3483 struct msi_map irq; in ice_req_irq_msix_misc()
/linux/drivers/pci/controller/
H A Dpcie-xilinx.c106 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 Dpcie-iproc.c1350 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 Dmlx5_vnet.h32 struct msi_map map;
H A Dmlx5_vnet.c99 struct msi_map map;
141 struct msi_map map;
/linux/kernel/irq/
H A Dmsi.c1410 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 Dmsi.h612 struct msi_map msi_domain_alloc_irq_at(struct device *dev, unsigned int domid, unsigned int index,
H A Dpci.h1676 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 Dpci_irq.c36 struct msi_map map;
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c10923 struct msi_map map; in bnxt_change_msix()