Home
last modified time | relevance | path

Searched refs:get_count_order (Results 1 - 25 of 90) sorted by relevance

1234

/kernel/linux/linux-5.10/arch/powerpc/sysdev/
H A Dmsi_bitmap.c17 int offset, order = get_count_order(num); in msi_bitmap_alloc_hwirqs()
95 bitmap_allocate_region(bmp->bitmap, 0, get_count_order(bmp->irq_count)); in msi_bitmap_reserve_dt_hwirqs()
169 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, get_count_order(size))); in test_basics()
170 bitmap_release_region(bmp.bitmap, 0, get_count_order(size)); in test_basics()
176 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, get_count_order(size))); in test_basics()
177 bitmap_release_region(bmp.bitmap, 0, get_count_order(size)); in test_basics()
241 get_count_order(SIZE_EXPECTED))); in test_of_node()
242 bitmap_release_region(bmp.bitmap, 0, get_count_order(SIZE_EXPECTED)); in test_of_node()
/kernel/linux/linux-6.6/arch/powerpc/sysdev/
H A Dmsi_bitmap.c18 int offset, order = get_count_order(num); in msi_bitmap_alloc_hwirqs()
96 bitmap_allocate_region(bmp->bitmap, 0, get_count_order(bmp->irq_count)); in msi_bitmap_reserve_dt_hwirqs()
170 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, get_count_order(size))); in test_basics()
171 bitmap_release_region(bmp.bitmap, 0, get_count_order(size)); in test_basics()
177 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, get_count_order(size))); in test_basics()
178 bitmap_release_region(bmp.bitmap, 0, get_count_order(size)); in test_basics()
242 get_count_order(SIZE_EXPECTED))); in test_of_node()
243 bitmap_release_region(bmp.bitmap, 0, get_count_order(SIZE_EXPECTED)); in test_of_node()
/kernel/linux/linux-5.10/arch/c6x/mm/
H A Ddma-coherent.c84 order = get_count_order(((size - 1) >> PAGE_SHIFT) + 1); in arch_dma_alloc()
110 order = get_count_order(((size - 1) >> PAGE_SHIFT) + 1); in arch_dma_free()
/kernel/linux/linux-5.10/drivers/input/
H A Dmatrix-keymap.c74 unsigned int row_shift = get_count_order(cols); in matrix_keypad_parse_keymap()
156 unsigned int row_shift = get_count_order(cols); in matrix_keypad_build_keymap()
/kernel/linux/linux-6.6/drivers/input/
H A Dmatrix-keymap.c74 unsigned int row_shift = get_count_order(cols); in matrix_keypad_parse_keymap()
156 unsigned int row_shift = get_count_order(cols); in matrix_keypad_build_keymap()
/kernel/linux/linux-5.10/drivers/lightnvm/
H A Dpblk-rl.c225 rl->high_pw = get_count_order(rl->high); in pblk_rl_init()
231 rl->rb_windows_pw = get_count_order(rb_windows); in pblk_rl_init()
H A Dpblk-rb.c51 unsigned int thr_sz = 1 << (get_count_order(threshold + NVM_MAX_VLBA)); in pblk_rb_calculate_size()
59 max_io = (1 << max((int)(get_count_order(max_sz)), in pblk_rb_calculate_size()
60 (int)(get_count_order(NVM_MAX_VLBA << 1)))); in pblk_rb_calculate_size()
88 power_size = get_count_order(nr_entries); in pblk_rb_init()
89 power_seg_sz = get_count_order(seg_size); in pblk_rb_init()
/kernel/linux/linux-6.6/drivers/irqchip/
H A Dirq-loongson-pch-msi.c57 get_count_order(num_req)); in pch_msi_allocate_hwirq()
74 bitmap_release_region(priv->msi_map, first, get_count_order(num_req)); in pch_msi_free_hwirq()
H A Dirq-gic-v3-mbi.c80 get_count_order(nr_irqs)); in mbi_free_msi()
95 get_count_order(nr_irqs)); in mbi_irq_domain_alloc()
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/
H A Dcacheinfo.c680 int bits = get_count_order(num_sharing_cache); in cacheinfo_amd_init_llc_id()
763 index_msb = get_count_order(num_threads_sharing); in init_intel_cacheinfo()
769 index_msb = get_count_order(num_threads_sharing); in init_intel_cacheinfo()
956 index_msb = get_count_order(num_threads_sharing); in __cache_cpumap_setup()
1013 index_msb = get_count_order(num_threads_sharing); in get_cache_id()
H A Dzhaoxin.c79 c->x86_coreid_bits = get_count_order((ebx >> 16) & 0xff); in early_init_zhaoxin()
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/
H A Dcacheinfo.c695 int bits = get_count_order(num_sharing_cache); in cacheinfo_amd_init_llc_id()
778 index_msb = get_count_order(num_threads_sharing); in init_intel_cacheinfo()
784 index_msb = get_count_order(num_threads_sharing); in init_intel_cacheinfo()
969 index_msb = get_count_order(num_threads_sharing); in __cache_cpumap_setup()
1026 index_msb = get_count_order(num_threads_sharing); in get_cache_id()
H A Dzhaoxin.c79 c->x86_coreid_bits = get_count_order((ebx >> 16) & 0xff); in early_init_zhaoxin()
/kernel/linux/linux-5.10/lib/
H A Dtest_bitops.c15 * get_count_order/long
65 if (order_comb[i][1] != get_count_order(order_comb[i][0])) in test_bitops_startup()
66 pr_warn("get_count_order wrong for %x\n", in test_bitops_startup()
H A Dsg_pool.c49 index = get_count_order(nents) - 3; in sg_pool_index()
/kernel/linux/linux-6.6/lib/
H A Dtest_bitops.c15 * get_count_order/long
65 if (order_comb[i][1] != get_count_order(order_comb[i][0])) in test_bitops_startup()
66 pr_warn("get_count_order wrong for %x\n", in test_bitops_startup()
H A Dsg_pool.c49 index = get_count_order(nents) - 3; in sg_pool_index()
/kernel/linux/linux-5.10/drivers/irqchip/
H A Dirq-gic-v3-mbi.c80 get_count_order(nr_irqs)); in mbi_free_msi()
95 get_count_order(nr_irqs)); in mbi_irq_domain_alloc()
H A Dirq-loongson-pch-msi.c60 get_count_order(num_req)); in pch_msi_allocate_hwirq()
77 bitmap_release_region(priv->msi_map, first, get_count_order(num_req)); in pch_msi_free_hwirq()
/kernel/linux/linux-5.10/drivers/input/keyboard/
H A Domap-keypad.c95 unsigned int row_shift = get_count_order(omap_kp_data->cols); in omap_kp_tasklet()
190 row_shift = get_count_order(pdata->cols); in omap_kp_probe()
H A Dclps711x-keypad.c113 priv->row_shift = get_count_order(CLPS711X_KEYPAD_COL_COUNT); in clps711x_keypad_probe()
/kernel/linux/linux-6.6/drivers/input/keyboard/
H A Domap-keypad.c96 unsigned int row_shift = get_count_order(omap_kp_data->cols); in omap_kp_tasklet()
191 row_shift = get_count_order(pdata->cols); in omap_kp_probe()
H A Dclps711x-keypad.c113 priv->row_shift = get_count_order(CLPS711X_KEYPAD_COL_COUNT); in clps711x_keypad_probe()
/kernel/linux/linux-5.10/drivers/clk/pistachio/
H A Dclk.c85 get_count_order(mux[i].num_parents), in pistachio_clk_register_mux()
/kernel/linux/linux-6.6/drivers/clk/pistachio/
H A Dclk.c85 get_count_order(mux[i].num_parents), in pistachio_clk_register_mux()

Completed in 14 milliseconds

1234