Home
last modified time | relevance | path

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

/drivers/irqchip/
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()
271 priv->msi_map = bitmap_zalloc(priv->num_spis, GFP_KERNEL); in alpine_msix_init()
272 if (!priv->msi_map) { in alpine_msix_init()
287 bitmap_free(priv->msi_map); in alpine_msix_init()
Dirq-loongson-pch-msi.c23 unsigned long *msi_map; member
52 first = bitmap_find_free_region(priv->msi_map, priv->num_irqs, in pch_msi_allocate_hwirq()
70 bitmap_release_region(priv->msi_map, first, get_count_order(num_req)); in pch_msi_free_hwirq()
228 priv->msi_map = bitmap_zalloc(priv->num_irqs, GFP_KERNEL); in pch_msi_init()
229 if (!priv->msi_map) { in pch_msi_init()
244 kfree(priv->msi_map); in pch_msi_init()
/drivers/pci/controller/
Dpcie-xilinx.c106 unsigned long msi_map[BITS_TO_LONGS(XILINX_NUM_MSI_IRQS)]; member
240 hwirq = bitmap_find_free_region(port->msi_map, XILINX_NUM_MSI_IRQS, order_base_2(nr_irqs)); in xilinx_msi_domain_alloc()
263 bitmap_release_region(port->msi_map, d->hwirq, order_base_2(nr_irqs)); in xilinx_msi_domain_free()
Dpcie-iproc.c1354 const __be32 *msi_map = NULL; in iproc_pcie_msi_enable() local
1358 msi_map = of_get_property(pcie->dev->of_node, "msi-map", &len); in iproc_pcie_msi_enable()
1359 if (!msi_map) in iproc_pcie_msi_enable()
1362 phandle = be32_to_cpup(msi_map + 1); in iproc_pcie_msi_enable()