/linux/arch/powerpc/sysdev/ |
H A D | msi_bitmap.c | 18 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() 167 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, get_count_order(size))); in test_basics() 168 bitmap_release_region(bmp.bitmap, 0, get_count_order(size)); in test_basics() 174 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, get_count_order(size))); in test_basics() 175 bitmap_release_region(bmp.bitmap, 0, get_count_order(size)); in test_basics() 239 get_count_order(SIZE_EXPECTED))); in test_of_node() 240 bitmap_release_region(bmp.bitmap, 0, get_count_order(SIZE_EXPECTED)); in test_of_node()
|
/linux/drivers/input/ |
H A D | matrix-keymap.c | 74 unsigned int row_shift = get_count_order(cols); in matrix_keypad_parse_keymap() 149 unsigned int row_shift = get_count_order(cols); in matrix_keypad_build_keymap()
|
/linux/drivers/irqchip/ |
H A D | irq-loongson-pch-msi.c | 40 get_count_order(num_req)); in pch_msi_allocate_hwirq() 57 bitmap_release_region(priv->msi_map, first, get_count_order(num_req)); in pch_msi_free_hwirq()
|
H A D | irq-gic-v3-mbi.c | 82 get_count_order(nr_irqs)); in mbi_free_msi() 97 get_count_order(nr_irqs)); in mbi_irq_domain_alloc()
|
H A D | irq-gic-v2m.c | 150 get_count_order(nr_irqs)); in gicv2m_unalloc_msi() 164 get_count_order(nr_irqs)); in gicv2m_irq_domain_alloc()
|
/linux/drivers/input/keyboard/ |
H A D | omap-keypad.c | 92 unsigned int row_shift = get_count_order(omap_kp_data->cols); in omap_kp_tasklet() 193 row_shift = get_count_order(pdata->cols); in omap_kp_probe()
|
H A D | clps711x-keypad.c | 113 priv->row_shift = get_count_order(CLPS711X_KEYPAD_COL_COUNT); in clps711x_keypad_probe()
|
H A D | mt6779-keypad.c | 57 unsigned int row_shift = get_count_order(keypad->n_cols); in mt6779_keypad_irq_handler()
|
H A D | nspire-keypad.c | 165 keypad->row_shift = get_count_order(KEYPAD_BITMASK_COLS); in nspire_keypad_probe()
|
H A D | tca8418_keypad.c | 292 row_shift = get_count_order(cols); in tca8418_keypad_probe()
|
H A D | lpc32xx-keys.c | 146 kscandat->row_shift = get_count_order(columns); in lpc32xx_parse_dt()
|
H A D | bcm-keypad.c | 87 unsigned int row_shift = get_count_order(kp->n_cols); in bcm_kp_get_keycode()
|
H A D | matrix_keypad.c | 400 keypad->row_shift = get_count_order(keypad->num_col_gpios); in matrix_keypad_probe()
|
H A D | omap4-keypad.c | 432 keypad_data->row_shift = get_count_order(keypad_data->cols); in omap4_keypad_probe()
|
H A D | pinephone-keyboard.c | 210 int row_shift = get_count_order(PPKB_COLS); in ppkb_update()
|
/linux/arch/x86/kernel/cpu/ |
H A D | cacheinfo.c | 693 int bits = get_count_order(num_sharing_cache); in cacheinfo_amd_init_llc_id() 776 index_msb = get_count_order(num_threads_sharing); in init_intel_cacheinfo() 782 index_msb = get_count_order(num_threads_sharing); in init_intel_cacheinfo() 961 index_msb = get_count_order(num_threads_sharing); in __cache_cpumap_setup() 1016 index_msb = get_count_order(num_threads_sharing); in get_cache_id()
|
H A D | topology.c | 502 __max_dies_per_package = 1U << (get_count_order(cntb) - get_count_order(cnta)); in topology_init_possible_cpus()
|
H A D | topology_ext.c | 122 unsigned int sft = get_count_order(tscan->dom_ncpus[TOPO_SMT_DOMAIN]); in parse_topology_leaf()
|
/linux/lib/ |
H A D | test_bitops.c | 17 * get_count_order/long 91 if (order_comb[i][1] != get_count_order(order_comb[i][0])) in test_bitops_startup() 92 pr_warn("get_count_order wrong for %x\n", in test_bitops_startup()
|
H A D | sg_pool.c | 49 index = get_count_order(nents) - 3; in sg_pool_index()
|
/linux/drivers/clk/pistachio/ |
H A D | clk.c | 85 get_count_order(mux[i].num_parents), in pistachio_clk_register_mux()
|
/linux/include/linux/ |
H A D | bitops.h | 211 static inline int get_count_order(unsigned int count) in get_count_order() function 223 * it is same as get_count_order() but with long type parameter
|
/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_irq.c | 335 BUG_ON(VMWGFX_MAX_NUM_IRQS != get_count_order(SVGA_IRQFLAG_MAX)); in vmw_irq_install()
|
/linux/drivers/pci/controller/ |
H A D | pcie-xilinx-dma-pl.c | 414 get_count_order(nr_irqs)); in xilinx_irq_domain_alloc() 439 get_count_order(nr_irqs)); in xilinx_irq_domain_free()
|
/linux/drivers/gpio/ |
H A D | gpio-adnp.c | 451 adnp->reg_shift = get_count_order(num_gpios) - 3; in adnp_gpio_setup()
|