Home
last modified time | relevance | path

Searched refs:get_count_order (Results 1 – 25 of 38) sorted by relevance

12

/linux/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()
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 Dmatrix-keymap.c74 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 Dirq-loongson-pch-msi.c40 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 Dirq-gic-v3-mbi.c82 get_count_order(nr_irqs)); in mbi_free_msi()
97 get_count_order(nr_irqs)); in mbi_irq_domain_alloc()
H A Dirq-gic-v2m.c150 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 Domap-keypad.c92 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 Dclps711x-keypad.c113 priv->row_shift = get_count_order(CLPS711X_KEYPAD_COL_COUNT); in clps711x_keypad_probe()
H A Dmt6779-keypad.c57 unsigned int row_shift = get_count_order(keypad->n_cols); in mt6779_keypad_irq_handler()
H A Dnspire-keypad.c165 keypad->row_shift = get_count_order(KEYPAD_BITMASK_COLS); in nspire_keypad_probe()
H A Dtca8418_keypad.c292 row_shift = get_count_order(cols); in tca8418_keypad_probe()
H A Dlpc32xx-keys.c146 kscandat->row_shift = get_count_order(columns); in lpc32xx_parse_dt()
H A Dbcm-keypad.c87 unsigned int row_shift = get_count_order(kp->n_cols); in bcm_kp_get_keycode()
H A Dmatrix_keypad.c400 keypad->row_shift = get_count_order(keypad->num_col_gpios); in matrix_keypad_probe()
H A Domap4-keypad.c432 keypad_data->row_shift = get_count_order(keypad_data->cols); in omap4_keypad_probe()
H A Dpinephone-keyboard.c210 int row_shift = get_count_order(PPKB_COLS); in ppkb_update()
/linux/arch/x86/kernel/cpu/
H A Dcacheinfo.c693 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 Dtopology.c502 __max_dies_per_package = 1U << (get_count_order(cntb) - get_count_order(cnta)); in topology_init_possible_cpus()
H A Dtopology_ext.c122 unsigned int sft = get_count_order(tscan->dom_ncpus[TOPO_SMT_DOMAIN]); in parse_topology_leaf()
/linux/lib/
H A Dtest_bitops.c17 * 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 Dsg_pool.c49 index = get_count_order(nents) - 3; in sg_pool_index()
/linux/drivers/clk/pistachio/
H A Dclk.c85 get_count_order(mux[i].num_parents), in pistachio_clk_register_mux()
/linux/include/linux/
H A Dbitops.h211 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 Dvmwgfx_irq.c335 BUG_ON(VMWGFX_MAX_NUM_IRQS != get_count_order(SVGA_IRQFLAG_MAX)); in vmw_irq_install()
/linux/drivers/pci/controller/
H A Dpcie-xilinx-dma-pl.c414 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 Dgpio-adnp.c451 adnp->reg_shift = get_count_order(num_gpios) - 3; in adnp_gpio_setup()

12