Searched refs:LOG2 (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/stand/lib/fs/common/
H A Dcache.c89 #define LOG2(x) \ macro
266 #define IC_MAX_HDRS (1 << LOG2(ICACHE_SIZE/6))
359 #define DC_MAX_HDRS (1 << LOG2(DCACHE_SIZE/6))
489 #define BC_MAX_HDRS (1 << LOG2(BCACHE_SIZE/6))
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_util.c106 this function calculates rounded LOG2 of a certain number
107 e.g.: LOG2(1080) = 10 (2^10=1024)
109 u32_t LOG2(u32_t v){ function
H A Dbnxe_context.c54 extern u32_t LOG2(u32_t v);
126 hash_info->num_hash_bits = (u8_t)LOG2(num_con);
H A Dlm_hw_init_reset.c2709 REG_WR(pdev,PXP2_REG_RQ_CDU_P_SIZE,LOG2(pdev->params.ilt_client_page_size/LM_PAGE_SIZE));
2710 REG_WR(pdev,PXP2_REG_RQ_TM_P_SIZE,LOG2(pdev->params.ilt_client_page_size/LM_PAGE_SIZE));
2711 REG_WR(pdev,PXP2_REG_RQ_QM_P_SIZE,LOG2(pdev->params.ilt_client_page_size/LM_PAGE_SIZE));
2712 REG_WR(pdev,PXP2_REG_RQ_SRC_P_SIZE,LOG2(pdev->params.ilt_client_page_size/LM_PAGE_SIZE));
H A Dlm_pf.c767 client_init_data_virt->rx.cache_line_alignment_log_size = (u8_t)LOG2(CACHE_LINE_SIZE/* TODO mm_get_cache_line_alignment()*/);
H A Dlm_sp.c255 rx->cache_line_alignment_log_size = (u8_t)LOG2(CACHE_LINE_SIZE/* TODO mm_get_cache_line_alignment()*/);
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_mm.c155 extern u32_t LOG2(u32_t v);
235 * Searcher T1 ROUNDUP(LOG2(N)) * 64
254 required_page_size = (2 << LOG2(required_page_size));
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dlm5710.h3670 u32_t LOG2(u32_t v);

Completed in 207 milliseconds