/Linux-v5.10/arch/powerpc/sysdev/ |
D | msi_bitmap.c | 17 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()
|
/Linux-v5.10/arch/c6x/mm/ |
D | dma-coherent.c | 84 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()
|
/Linux-v5.10/drivers/input/ |
D | matrix-keymap.c | 74 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()
|
/Linux-v5.10/drivers/irqchip/ |
D | irq-loongson-pch-msi.c | 53 get_count_order(num_req)); in pch_msi_allocate_hwirq() 70 bitmap_release_region(priv->msi_map, first, get_count_order(num_req)); in pch_msi_free_hwirq()
|
D | irq-gic-v3-mbi.c | 80 get_count_order(nr_irqs)); in mbi_free_msi() 95 get_count_order(nr_irqs)); in mbi_irq_domain_alloc()
|
D | irq-gic-v2m.c | 173 get_count_order(nr_irqs)); in gicv2m_unalloc_msi() 187 get_count_order(nr_irqs)); in gicv2m_irq_domain_alloc()
|
/Linux-v5.10/drivers/lightnvm/ |
D | pblk-rl.c | 225 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()
|
D | pblk-rb.c | 51 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()
|
D | pblk-init.c | 208 power_len = get_count_order(geo->num_ch); in pblk_set_addrf_12() 215 power_len = get_count_order(geo->num_lun); in pblk_set_addrf_12() 249 adst->ch_len = get_count_order(geo->num_ch); in pblk_set_addrf_20() 250 adst->lun_len = get_count_order(geo->num_lun); in pblk_set_addrf_20()
|
/Linux-v5.10/lib/ |
D | test_bitops.c | 65 if (order_comb[i][1] != get_count_order(order_comb[i][0])) in test_bitops_startup()
|
D | sg_pool.c | 49 index = get_count_order(nents) - 3; in sg_pool_index()
|
/Linux-v5.10/drivers/input/keyboard/ |
D | omap-keypad.c | 95 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()
|
D | clps711x-keypad.c | 113 priv->row_shift = get_count_order(CLPS711X_KEYPAD_COL_COUNT); in clps711x_keypad_probe()
|
D | nspire-keypad.c | 178 keypad->row_shift = get_count_order(KEYPAD_BITMASK_COLS); in nspire_keypad_probe()
|
D | tca8418_keypad.c | 293 row_shift = get_count_order(cols); in tca8418_keypad_probe()
|
D | lpc32xx-keys.c | 147 kscandat->row_shift = get_count_order(columns); in lpc32xx_parse_dt()
|
D | bcm-keypad.c | 97 unsigned int row_shift = get_count_order(kp->n_cols); in bcm_kp_get_keycode()
|
/Linux-v5.10/arch/x86/kernel/cpu/ |
D | cacheinfo.c | 680 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()
|
D | zhaoxin.c | 79 c->x86_coreid_bits = get_count_order((ebx >> 16) & 0xff); in early_init_zhaoxin()
|
D | hygon.c | 91 c->x86_coreid_bits = get_count_order(c->x86_max_cores); in hygon_get_topology()
|
D | common.c | 782 index_msb = get_count_order(smp_num_siblings); in detect_ht() 787 index_msb = get_count_order(smp_num_siblings); in detect_ht() 789 core_bits = get_count_order(c->x86_max_cores); in detect_ht()
|
/Linux-v5.10/drivers/clk/pistachio/ |
D | clk.c | 85 get_count_order(mux[i].num_parents), in pistachio_clk_register_mux()
|
/Linux-v5.10/drivers/usb/typec/altmodes/ |
D | displayport.c | 69 u8 state = get_count_order(DP_CONF_GET_PIN_ASSIGN(dp->data.conf)); in dp_altmode_notify() 476 cur = get_count_order(DP_CONF_GET_PIN_ASSIGN(dp->data.conf)); in pin_assignment_show()
|
/Linux-v5.10/include/linux/ |
D | bitops.h | 189 static inline int get_count_order(unsigned int count) in get_count_order() function
|
/Linux-v5.10/drivers/pci/controller/ |
D | pcie-xilinx-nwl.c | 483 get_count_order(nr_irqs)); in nwl_irq_domain_alloc() 507 get_count_order(nr_irqs)); in nwl_irq_domain_free()
|