Home
last modified time | relevance | path

Searched refs:bitmap_find_free_region (Results 1 – 25 of 40) sorted by relevance

12

/openbmc/linux/arch/powerpc/sysdev/
H A Dmsi_bitmap.c170 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, get_count_order(size))); in test_basics()
177 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, get_count_order(size))); in test_basics()
187 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, 0) >= 0); in test_basics()
241 WARN_ON(bitmap_find_free_region(bmp.bitmap, SIZE_EXPECTED, in test_of_node()
/openbmc/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_cmdbuf.c96 granule_offs = bitmap_find_free_region(suballoc->granule_map, in etnaviv_cmdbuf_init()
/openbmc/linux/arch/mips/math-emu/
H A Ddsemul.c94 idx = bitmap_find_free_region(mm_ctx->bd_emupage_allocmap, in alloc_emuframe()
/openbmc/linux/drivers/pci/endpoint/
H A Dpci-epc-mem.c195 pageno = bitmap_find_free_region(mem->bitmap, mem->pages, in pci_epc_mem_alloc_addr()
/openbmc/linux/drivers/irqchip/
H A Dirq-loongson-pch-msi.c56 first = bitmap_find_free_region(priv->msi_map, priv->num_irqs, in pch_msi_allocate_hwirq()
H A Dirq-gic-v3-mbi.c93 offset = bitmap_find_free_region(mbi_ranges[i].bm, in mbi_irq_domain_alloc()
H A Dirq-gic-v2m.c186 offset = bitmap_find_free_region(tmp->bm, tmp->nr_spis, in gicv2m_irq_domain_alloc()
H A Dirq-armada-370-xp.c249 hwirq = bitmap_find_free_region(msi_used, PCI_MSI_DOORBELL_NR, in armada_370_xp_msi_alloc()
/openbmc/linux/kernel/dma/
H A Dcoherent.c155 pageno = bitmap_find_free_region(mem->bitmap, mem->size, order); in __dma_alloc_from_coherent()
/openbmc/linux/arch/sh/kernel/cpu/sh4/
H A Dsq.c170 page = bitmap_find_free_region(sq_bitmap, 0x04000000 >> PAGE_SHIFT, in sq_remap()
/openbmc/linux/drivers/pci/controller/
H A Dpcie-apple.c214 hwirq = bitmap_find_free_region(pcie->bitmap, pcie->nvecs, in apple_msi_domain_alloc()
686 idx = bitmap_find_free_region(port->sid_map, port->sid_map_sz, 0); in apple_pcie_add_device()
H A Dpcie-xilinx.c240 hwirq = bitmap_find_free_region(pcie->msi_map, XILINX_NUM_MSI_IRQS, order_base_2(nr_irqs)); in xilinx_msi_domain_alloc()
H A Dpcie-iproc-msi.c262 hwirq = bitmap_find_free_region(msi->bitmap, msi->nr_msi_vecs, in iproc_msi_irq_domain_alloc()
H A Dpcie-xilinx-nwl.c467 bit = bitmap_find_free_region(msi->bitmap, INT_PCI_MSI_NR, in nwl_irq_domain_alloc()
H A Dpcie-mediatek-gen3.c534 hwirq = bitmap_find_free_region(pcie->msi_irq_in_use, PCIE_MSI_IRQS_NUM, in mtk_msi_bottom_domain_alloc()
H A Dpcie-rcar-host.c693 hwirq = bitmap_find_free_region(msi->used, INT_PCI_MSI_NR, order_base_2(nr_irqs)); in rcar_msi_domain_alloc()
/openbmc/linux/lib/
H A Dbitmap.c1313 int bitmap_find_free_region(unsigned long *bitmap, unsigned int bits, int order) in bitmap_find_free_region() function
1325 EXPORT_SYMBOL(bitmap_find_free_region);
/openbmc/linux/include/linux/
H A Dbitmap.h223 int bitmap_find_free_region(unsigned long *bitmap, unsigned int bits, int order);
/openbmc/linux/drivers/iio/
H A Dindustrialio-trigger.c263 ret = bitmap_find_free_region(trig->pool, in iio_trigger_get_irq()
/openbmc/linux/drivers/perf/
H A Dqcom_l3_pmu.c557 idx = bitmap_find_free_region(l3pmu->used_mask, L3_NUM_COUNTERS, order); in qcom_l3_cache__event_add()
/openbmc/linux/drivers/net/wireless/intersil/p54/
H A Dmain.c554 slot = bitmap_find_free_region(priv->used_rxkeys, in p54_set_key()
/openbmc/linux/drivers/pci/controller/dwc/
H A Dpcie-designware-host.c196 bit = bitmap_find_free_region(pp->msi_irq_in_use, pp->num_vectors, in dw_pcie_irq_domain_alloc()
/openbmc/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_dev.c632 ret = bitmap_find_free_region(idev->cmb_inuse, idev->cmb_npages, order); in ionic_get_cmb()
/openbmc/linux/drivers/target/iscsi/
H A Discsi_target_login.c646 conn->bitmap_id = bitmap_find_free_region(iscsit_global->ts_bitmap, in iscsit_start_kthreads()
/openbmc/linux/drivers/iommu/intel/
H A Dirq_remapping.c130 index = bitmap_find_free_region(table->bitmap, in alloc_irte()

12