Home
last modified time | relevance | path

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

12

/openbmc/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()
170 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, get_count_order(size))); in test_basics()
171 bitmap_release_region(bmp.bitmap, 0, get_count_order(size)); in test_basics()
177 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, get_count_order(size))); in test_basics()
178 bitmap_release_region(bmp.bitmap, 0, get_count_order(size)); in test_basics()
242 get_count_order(SIZE_EXPECTED))); in test_of_node()
243 bitmap_release_region(bmp.bitmap, 0, get_count_order(SIZE_EXPECTED)); in test_of_node()
/openbmc/linux/drivers/input/
H 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()
/openbmc/linux/drivers/irqchip/
H A Dirq-loongson-pch-msi.c57 get_count_order(num_req)); in pch_msi_allocate_hwirq()
74 bitmap_release_region(priv->msi_map, first, get_count_order(num_req)); in pch_msi_free_hwirq()
H 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()
H 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()
/openbmc/linux/drivers/input/keyboard/
H A Domap-keypad.c96 unsigned int row_shift = get_count_order(omap_kp_data->cols); in omap_kp_tasklet()
191 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.c147 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 Domap4-keypad.c421 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()
/openbmc/linux/lib/
H A Dtest_bitops.c65 if (order_comb[i][1] != get_count_order(order_comb[i][0])) in test_bitops_startup()
H A Dsg_pool.c49 index = get_count_order(nents) - 3; in sg_pool_index()
/openbmc/linux/arch/x86/kernel/cpu/
H A Dcacheinfo.c695 int bits = get_count_order(num_sharing_cache); in cacheinfo_amd_init_llc_id()
778 index_msb = get_count_order(num_threads_sharing); in init_intel_cacheinfo()
784 index_msb = get_count_order(num_threads_sharing); in init_intel_cacheinfo()
969 index_msb = get_count_order(num_threads_sharing); in __cache_cpumap_setup()
1026 index_msb = get_count_order(num_threads_sharing); in get_cache_id()
H A Dzhaoxin.c79 c->x86_coreid_bits = get_count_order((ebx >> 16) & 0xff); in early_init_zhaoxin()
H A Dhygon.c88 c->x86_coreid_bits = get_count_order(c->x86_max_cores); in hygon_get_topology()
/openbmc/linux/drivers/clk/pistachio/
H A Dclk.c85 get_count_order(mux[i].num_parents), in pistachio_clk_register_mux()
/openbmc/u-boot/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common.c59 static inline int get_count_order(unsigned int count) in get_count_order() function
140 *h = get_count_order(pf->mask) - *l; in mtk_hw_bits_part()
/openbmc/linux/drivers/usb/typec/altmodes/
H A Ddisplayport.c78 state = get_count_order(DP_CONF_GET_PIN_ASSIGN(dp->data.conf)); in dp_altmode_notify()
523 cur = get_count_order(DP_CONF_GET_PIN_ASSIGN(dp->data.conf)); in pin_assignment_show()
/openbmc/linux/include/linux/
H A Dbitops.h211 static inline int get_count_order(unsigned int count) in get_count_order() function
/openbmc/linux/drivers/pci/controller/
H A Dpcie-xilinx-nwl.c468 get_count_order(nr_irqs)); in nwl_irq_domain_alloc()
492 get_count_order(nr_irqs)); in nwl_irq_domain_free()
/openbmc/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()

12