Home
last modified time | relevance | path

Searched refs:mem_bitmap (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc_opr.c48 start = bitmap_find_next_zero_area(dev->mem_bitmap, bits, 0, count, align); in s5p_mfc_alloc_priv_buf()
52 bitmap_set(dev->mem_bitmap, start, count); in s5p_mfc_alloc_priv_buf()
105 bitmap_clear(dev->mem_bitmap, start, count); in s5p_mfc_release_priv_buf()
Ds5p_mfc.c1209 mfc_dev->mem_bitmap = bitmap_zalloc(mem_size >> PAGE_SHIFT, GFP_KERNEL); in s5p_mfc_configure_common_memory()
1210 if (!mfc_dev->mem_bitmap) in s5p_mfc_configure_common_memory()
1216 bitmap_free(mfc_dev->mem_bitmap); in s5p_mfc_configure_common_memory()
1232 bitmap_set(mfc_dev->mem_bitmap, 0, offset >> PAGE_SHIFT); in s5p_mfc_configure_common_memory()
1255 bitmap_free(mfc_dev->mem_bitmap); in s5p_mfc_unconfigure_common_memory()
Ds5p_mfc_common.h326 unsigned long *mem_bitmap; member
/linux-6.6.21/drivers/net/wireless/ath/carl9170/
Ddebug.c222 ar->fw.mem_blocks, ar->mem_bitmap); in carl9170_debugfs_mem_usage_read()
225 bitmap_weight(ar->mem_bitmap, ar->fw.mem_blocks), in carl9170_debugfs_mem_usage_read()
Dcarl9170.h416 unsigned long *mem_bitmap; member
Dmain.c310 bitmap_zero(ar->mem_bitmap, ar->fw.mem_blocks); in carl9170_zap_queues()
1949 ar->mem_bitmap = devm_bitmap_zalloc(&ar->udev->dev, ar->fw.mem_blocks, GFP_KERNEL); in carl9170_register()
1950 if (!ar->mem_bitmap) in carl9170_register()
Dtx.c205 cookie = bitmap_find_free_region(ar->mem_bitmap, ar->fw.mem_blocks, 0); in carl9170_alloc_dev_space()
257 bitmap_release_region(ar->mem_bitmap, cookie - 1, 0); in carl9170_release_dev_space()