Home
last modified time | relevance | path

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

12

/linux/arch/powerpc/sysdev/
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()
/linux/drivers/input/
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()
/linux/drivers/irqchip/
A Dirq-loongson-pch-msi.c53 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()
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()
A Dirq-gic-v2m.c173 get_count_order(nr_irqs)); in gicv2m_unalloc_msi()
187 get_count_order(nr_irqs)); in gicv2m_irq_domain_alloc()
/linux/arch/x86/kernel/cpu/
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()
957 index_msb = get_count_order(num_threads_sharing); in __cache_cpumap_setup()
1014 index_msb = get_count_order(num_threads_sharing); in get_cache_id()
A Dzhaoxin.c79 c->x86_coreid_bits = get_count_order((ebx >> 16) & 0xff); in early_init_zhaoxin()
A Dhygon.c87 c->x86_coreid_bits = get_count_order(c->x86_max_cores); in hygon_get_topology()
A Dcommon.c786 index_msb = get_count_order(smp_num_siblings); in detect_ht()
791 index_msb = get_count_order(smp_num_siblings); in detect_ht()
793 core_bits = get_count_order(c->x86_max_cores); in detect_ht()
/linux/drivers/input/keyboard/
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()
A Dclps711x-keypad.c113 priv->row_shift = get_count_order(CLPS711X_KEYPAD_COL_COUNT); in clps711x_keypad_probe()
A Dnspire-keypad.c165 keypad->row_shift = get_count_order(KEYPAD_BITMASK_COLS); in nspire_keypad_probe()
A Dtca8418_keypad.c293 row_shift = get_count_order(cols); in tca8418_keypad_probe()
A Dlpc32xx-keys.c147 kscandat->row_shift = get_count_order(columns); in lpc32xx_parse_dt()
A Dbcm-keypad.c97 unsigned int row_shift = get_count_order(kp->n_cols); in bcm_kp_get_keycode()
A Domap4-keypad.c433 keypad_data->row_shift = get_count_order(keypad_data->cols); in omap4_keypad_probe()
A Dmatrix_keypad.c506 keypad->row_shift = get_count_order(pdata->num_col_gpios); in matrix_keypad_probe()
A Dsamsung-keypad.c348 row_shift = get_count_order(pdata->cols); in samsung_keypad_probe()
/linux/lib/
A Dtest_bitops.c65 if (order_comb[i][1] != get_count_order(order_comb[i][0])) in test_bitops_startup()
A Dsg_pool.c49 index = get_count_order(nents) - 3; in sg_pool_index()
/linux/drivers/clk/pistachio/
A Dclk.c85 get_count_order(mux[i].num_parents), in pistachio_clk_register_mux()
/linux/drivers/usb/typec/altmodes/
A Ddisplayport.c77 state = get_count_order(DP_CONF_GET_PIN_ASSIGN(dp->data.conf)); in dp_altmode_notify()
486 cur = get_count_order(DP_CONF_GET_PIN_ASSIGN(dp->data.conf)); in pin_assignment_show()
/linux/include/linux/
A Dbitops.h193 static inline int get_count_order(unsigned int count) in get_count_order() function
/linux/drivers/pci/controller/
A Dpcie-xilinx-nwl.c471 get_count_order(nr_irqs)); in nwl_irq_domain_alloc()
495 get_count_order(nr_irqs)); in nwl_irq_domain_free()
/linux/drivers/gpio/
A Dgpio-adnp.c446 adnp->reg_shift = get_count_order(num_gpios) - 3; in adnp_gpio_setup()

Completed in 71 milliseconds

12