Searched refs:POWER_OF_2 (Results 1 – 5 of 5) sorted by relevance
169 #ifndef POWER_OF_2171 #define POWER_OF_2(x) ((0 != x) && (0 == (x &(x-1)))) macro
91 if(TRUE == POWER_OF_2(n)) in power2_lower_align()99 DbgBreakIf(FALSE == POWER_OF_2(ret)); in power2_lower_align()
1106 if(POWER_OF_2(LM_DCBX_PFC_PRI_GET_PAUSE(pdev,pri_join_mask))) in lm_dcbx_2cos_limit_cee_single_pg_to_cos_params()1108 DbgBreakIf(POWER_OF_2(LM_DCBX_PFC_PRI_GET_NON_PAUSE(pdev,pri_join_mask))); in lm_dcbx_2cos_limit_cee_single_pg_to_cos_params()1114 … DbgBreakIf(FALSE == POWER_OF_2(LM_DCBX_PFC_PRI_GET_NON_PAUSE(pdev,pri_join_mask))); in lm_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1058 (!(POWER_OF_2(bds_per_page)))) in lm_alloc_chain_con_resc()
2337 #define SINGLE_BIT_SET(_bitmap) POWER_OF_2(_bitmap) in lm_init_get_modes_bitmap()