| /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/arch/x86/kernel/cpu/ |
| H A D | topology_amd.c | 31 sft = get_count_order(ecx.cpu_nthreads + 1); in parse_8000_0008() 101 get_count_order(nthreads), nthreads); in parse_8000_001e()
|
| H A D | topology_common.c | 88 core_shift = get_count_order(cores); in parse_legacy() 156 tscan->ebx1_nproc_shift = get_count_order(ebx.nproc); in parse_topology()
|
| H A D | topology.c | 507 __max_dies_per_package = 1U << (get_count_order(cntb) - get_count_order(cnta)); in topology_init_possible_cpus()
|
| H A D | cacheinfo.c | 303 index_msb = get_count_order(num_threads_sharing); in get_cache_id() 419 index_msb = get_count_order(num_threads_sharing); in calc_cache_topo_id() 568 index_msb = get_count_order(num_threads_sharing); in __cache_cpumap_setup()
|
| H A D | topology_ext.c | 122 unsigned int sft = get_count_order(tscan->dom_ncpus[TOPO_SMT_DOMAIN]); in parse_topology_leaf()
|
| /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 | max7360-keypad.c | 73 code = MATRIX_SCAN_CODE(row, col, get_count_order(max7360_keypad->cols)); in max7360_keypad_irq()
|
| H A D | lpc32xx-keys.c | 146 kscandat->row_shift = get_count_order(columns); in lpc32xx_parse_dt()
|
| H A D | tca8418_keypad.c | 292 row_shift = get_count_order(cols); in tca8418_keypad_probe()
|
| /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-sg2042-msi.c | 59 get_count_order(num_req)); in sg204x_msi_allocate_hwirq() 66 bitmap_release_region(data->msi_map, hwirq, get_count_order(num_req)); in sg204x_msi_free_hwirq()
|
| H A D | irq-gic-v5-its.c | 891 get_count_order(nr_irqs)); in gicv5_its_alloc_eventid() 926 get_count_order(nr_irqs)); in gicv5_its_free_eventid() 1010 get_count_order(nr_irqs)); in gicv5_its_irq_domain_free()
|
| /linux/lib/ |
| H A D | test_bitops.c | 91 if (order_comb[i][1] != get_count_order(order_comb[i][0])) in test_bitops_startup()
|
| H A D | sg_pool.c | 49 index = get_count_order(nents) - 3; in sg_pool_index()
|
| /linux/include/linux/ |
| H A D | rseq.h | 158 return 1U << get_count_order(offsetof(struct rseq, end)); in rseq_alloc_align()
|
| H A D | bitops.h | 210 static inline int get_count_order(unsigned int count) in get_count_order() function
|
| /linux/drivers/clk/pistachio/ |
| H A D | clk.c | 85 get_count_order(mux[i].num_parents), in pistachio_clk_register_mux()
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_irq.c | 334 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()
|