Home
last modified time | relevance | path

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

12

/Linux-v4.19/arch/powerpc/sysdev/
Dmsi_bitmap.c22 int offset, order = get_count_order(num); in msi_bitmap_alloc_hwirqs()
100 bitmap_allocate_region(bmp->bitmap, 0, get_count_order(bmp->irq_count)); in msi_bitmap_reserve_dt_hwirqs()
171 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, get_count_order(size))); in test_basics()
172 bitmap_release_region(bmp.bitmap, 0, get_count_order(size)); in test_basics()
178 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, get_count_order(size))); in test_basics()
179 bitmap_release_region(bmp.bitmap, 0, get_count_order(size)); in test_basics()
243 get_count_order(SIZE_EXPECTED))); in test_of_node()
244 bitmap_release_region(bmp.bitmap, 0, get_count_order(SIZE_EXPECTED)); in test_of_node()
/Linux-v4.19/arch/c6x/mm/
Ddma-coherent.c87 order = get_count_order(((size - 1) >> PAGE_SHIFT) + 1); in arch_dma_alloc()
111 order = get_count_order(((size - 1) >> PAGE_SHIFT) + 1); in arch_dma_free()
/Linux-v4.19/drivers/input/
Dmatrix-keymap.c82 unsigned int row_shift = get_count_order(cols); in matrix_keypad_parse_keymap()
164 unsigned int row_shift = get_count_order(cols); in matrix_keypad_build_keymap()
/Linux-v4.19/drivers/lightnvm/
Dpblk-rl.c226 rl->high_pw = get_count_order(rl->high); in pblk_rl_init()
232 rl->rb_windows_pw = get_count_order(rb_windows); in pblk_rl_init()
Dpblk-init.c197 power_size = get_count_order(nr_entries); in pblk_rwb_init()
198 power_seg_sz = get_count_order(geo->csecs); in pblk_rwb_init()
213 power_len = get_count_order(geo->num_ch); in pblk_set_addrf_12()
220 power_len = get_count_order(geo->num_lun); in pblk_set_addrf_12()
254 adst->ch_len = get_count_order(geo->num_ch); in pblk_set_addrf_20()
255 adst->lun_len = get_count_order(geo->num_lun); in pblk_set_addrf_20()
/Linux-v4.19/drivers/misc/mic/scif/
Dscif_nodeqp.c134 local_q, get_count_order(local_size)); in scif_setup_qp_connect()
192 get_count_order(remote_size)); in scif_setup_qp_accept()
209 local_q, get_count_order(local_size)); in scif_setup_qp_accept()
265 get_count_order(remote_size)); in scif_setup_qp_connect_response()
279 get_count_order(qp->inbound_q.size)); in scif_setup_qp_connect_response()
1269 local_q, get_count_order(SCIF_NODE_QP_SIZE)); in scif_setup_loopback_qp()
1274 local_q, get_count_order(SCIF_NODE_QP_SIZE)); in scif_setup_loopback_qp()
/Linux-v4.19/drivers/input/keyboard/
Domap-keypad.c108 unsigned int row_shift = get_count_order(omap_kp_data->cols); in omap_kp_tasklet()
203 row_shift = get_count_order(pdata->cols); in omap_kp_probe()
Dclps711x-keypad.c118 priv->row_shift = get_count_order(CLPS711X_KEYPAD_COL_COUNT); in clps711x_keypad_probe()
Dnspire-keypad.c183 keypad->row_shift = get_count_order(KEYPAD_BITMASK_COLS); in nspire_keypad_probe()
Dtca8418_keypad.c293 row_shift = get_count_order(cols); in tca8418_keypad_probe()
Dlpc32xx-keys.c157 kscandat->row_shift = get_count_order(columns); in lpc32xx_parse_dt()
Domap4-keypad.c338 keypad_data->row_shift = get_count_order(keypad_data->cols); in omap4_keypad_probe()
Dbcm-keypad.c97 unsigned int row_shift = get_count_order(kp->n_cols); in bcm_kp_get_keycode()
Dmatrix_keypad.c505 keypad->row_shift = get_count_order(pdata->num_col_gpios); in matrix_keypad_probe()
Dcros_ec_keyb.c575 ckdev->row_shift = get_count_order(ckdev->cols); in cros_ec_keyb_register_matrix()
Dsamsung-keypad.c353 row_shift = get_count_order(pdata->cols); in samsung_keypad_probe()
/Linux-v4.19/arch/x86/kernel/cpu/
Dcacheinfo.c674 int bits = get_count_order(num_sharing_cache); in cacheinfo_amd_init_llc_id()
736 index_msb = get_count_order(num_threads_sharing); in init_intel_cacheinfo()
742 index_msb = get_count_order(num_threads_sharing); in init_intel_cacheinfo()
928 index_msb = get_count_order(num_threads_sharing); in __cache_cpumap_setup()
985 index_msb = get_count_order(num_threads_sharing); in get_cache_id()
Dcommon.c695 index_msb = get_count_order(smp_num_siblings); in detect_ht()
700 index_msb = get_count_order(smp_num_siblings); in detect_ht()
702 core_bits = get_count_order(c->x86_max_cores); in detect_ht()
/Linux-v4.19/drivers/irqchip/
Dirq-gic-v3-mbi.c80 get_count_order(nr_irqs)); in mbi_free_msi()
94 get_count_order(nr_irqs)); in mbi_irq_domain_alloc()
Dirq-gic-v2m.c163 get_count_order(nr_irqs)); in gicv2m_unalloc_msi()
176 get_count_order(nr_irqs)); in gicv2m_irq_domain_alloc()
/Linux-v4.19/lib/
Dsg_pool.c48 index = get_count_order(nents) - 3; in sg_pool_index()
/Linux-v4.19/drivers/clk/pistachio/
Dclk.c88 get_count_order(mux[i].num_parents), in pistachio_clk_register_mux()
/Linux-v4.19/include/linux/
Dbitops.h167 static inline int get_count_order(unsigned int count) in get_count_order() function
/Linux-v4.19/drivers/usb/typec/altmodes/
Ddisplayport.c72 u8 state = get_count_order(DP_CONF_GET_PIN_ASSIGN(dp->data.conf)); in dp_altmode_notify()
478 cur = get_count_order(DP_CONF_GET_PIN_ASSIGN(dp->data.conf)); in pin_assignment_show()
/Linux-v4.19/drivers/auxdisplay/
Dht16k33.c361 keypad->row_shift = get_count_order(cols); in ht16k33_keypad_probe()

12