/openbmc/linux/arch/powerpc/sysdev/ |
H A D | msi_bitmap.c | 170 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 D | etnaviv_cmdbuf.c | 96 granule_offs = bitmap_find_free_region(suballoc->granule_map, in etnaviv_cmdbuf_init()
|
/openbmc/linux/arch/mips/math-emu/ |
H A D | dsemul.c | 94 idx = bitmap_find_free_region(mm_ctx->bd_emupage_allocmap, in alloc_emuframe()
|
/openbmc/linux/drivers/pci/endpoint/ |
H A D | pci-epc-mem.c | 195 pageno = bitmap_find_free_region(mem->bitmap, mem->pages, in pci_epc_mem_alloc_addr()
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-loongson-pch-msi.c | 56 first = bitmap_find_free_region(priv->msi_map, priv->num_irqs, in pch_msi_allocate_hwirq()
|
H A D | irq-gic-v3-mbi.c | 93 offset = bitmap_find_free_region(mbi_ranges[i].bm, in mbi_irq_domain_alloc()
|
H A D | irq-gic-v2m.c | 186 offset = bitmap_find_free_region(tmp->bm, tmp->nr_spis, in gicv2m_irq_domain_alloc()
|
H A D | irq-armada-370-xp.c | 249 hwirq = bitmap_find_free_region(msi_used, PCI_MSI_DOORBELL_NR, in armada_370_xp_msi_alloc()
|
/openbmc/linux/kernel/dma/ |
H A D | coherent.c | 155 pageno = bitmap_find_free_region(mem->bitmap, mem->size, order); in __dma_alloc_from_coherent()
|
/openbmc/linux/arch/sh/kernel/cpu/sh4/ |
H A D | sq.c | 170 page = bitmap_find_free_region(sq_bitmap, 0x04000000 >> PAGE_SHIFT, in sq_remap()
|
/openbmc/linux/drivers/pci/controller/ |
H A D | pcie-apple.c | 214 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 D | pcie-xilinx.c | 240 hwirq = bitmap_find_free_region(pcie->msi_map, XILINX_NUM_MSI_IRQS, order_base_2(nr_irqs)); in xilinx_msi_domain_alloc()
|
H A D | pcie-iproc-msi.c | 262 hwirq = bitmap_find_free_region(msi->bitmap, msi->nr_msi_vecs, in iproc_msi_irq_domain_alloc()
|
H A D | pcie-xilinx-nwl.c | 467 bit = bitmap_find_free_region(msi->bitmap, INT_PCI_MSI_NR, in nwl_irq_domain_alloc()
|
H A D | pcie-mediatek-gen3.c | 534 hwirq = bitmap_find_free_region(pcie->msi_irq_in_use, PCIE_MSI_IRQS_NUM, in mtk_msi_bottom_domain_alloc()
|
H A D | pcie-rcar-host.c | 693 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 D | bitmap.c | 1313 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 D | bitmap.h | 223 int bitmap_find_free_region(unsigned long *bitmap, unsigned int bits, int order);
|
/openbmc/linux/drivers/iio/ |
H A D | industrialio-trigger.c | 263 ret = bitmap_find_free_region(trig->pool, in iio_trigger_get_irq()
|
/openbmc/linux/drivers/perf/ |
H A D | qcom_l3_pmu.c | 557 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 D | main.c | 554 slot = bitmap_find_free_region(priv->used_rxkeys, in p54_set_key()
|
/openbmc/linux/drivers/pci/controller/dwc/ |
H A D | pcie-designware-host.c | 196 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 D | ionic_dev.c | 632 ret = bitmap_find_free_region(idev->cmb_inuse, idev->cmb_npages, order); in ionic_get_cmb()
|
/openbmc/linux/drivers/target/iscsi/ |
H A D | iscsi_target_login.c | 646 conn->bitmap_id = bitmap_find_free_region(iscsit_global->ts_bitmap, in iscsit_start_kthreads()
|
/openbmc/linux/drivers/iommu/intel/ |
H A D | irq_remapping.c | 130 index = bitmap_find_free_region(table->bitmap, in alloc_irte()
|