Home
last modified time | relevance | path

Searched refs:total_weight (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/wpa/src/ap/
H A Dacs.c845 double total_weight = 0; in acs_find_ideal_chan_mode() local
934 total_weight = 1; in acs_find_ideal_chan_mode()
955 total_weight += 1; in acs_find_ideal_chan_mode()
995 total_weight += ACS_ADJ_WEIGHT; in acs_find_ideal_chan_mode()
1003 total_weight += ACS_NEXT_ADJ_WEIGHT; in acs_find_ideal_chan_mode()
1011 total_weight += ACS_ADJ_WEIGHT; in acs_find_ideal_chan_mode()
1019 total_weight += ACS_NEXT_ADJ_WEIGHT; in acs_find_ideal_chan_mode()
1024 if (total_weight == 0) in acs_find_ideal_chan_mode()
1027 factor /= total_weight; in acs_find_ideal_chan_mode()
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_torus.c9266 unsigned total_weight[IB_MAX_NUM_VLS]) in sum_vlarb_weights()
9279 total_weight[vl] += v & 0xff; in sum_vlarb_weights()
9299 unsigned total_weight[IB_MAX_NUM_VLS] = {0,}; in check_vlarb_config() local
9301 sum_vlarb_weights(vlarb_str, total_weight); in check_vlarb_config()
9302 if (!(uniform_vlarb_weight_value(&total_weight[0], 4) >= 0 && in check_vlarb_config()
9303 uniform_vlarb_weight_value(&total_weight[4], 4) >= 0)) in check_vlarb_config()
9369 unsigned i, total_weight[IB_MAX_NUM_VLS] = {0,}; in check_ep_vlarb_config() local
9372 sum_vlarb_weights(vlarb_str, total_weight); in check_ep_vlarb_config()
9374 val += total_weight[i]; in check_ep_vlarb_config()