Home
last modified time | relevance | path

Searched refs:log2 (Results 1 – 6 of 6) sorted by relevance

/wlan-driver/qcacld-3.0/core/dp/txrx/
Dol_txrx_peer_find.c48 int log2 = -1; in ol_txrx_log2_ceil() local
56 log2++; in ol_txrx_log2_ceil()
59 if (1U << log2 != value) in ol_txrx_log2_ceil()
60 log2++; in ol_txrx_log2_ceil()
62 return log2; in ol_txrx_log2_ceil()
110 int i, hash_elems, log2; in ol_txrx_peer_find_hash_attach() local
116 log2 = ol_txrx_log2_ceil(hash_elems); in ol_txrx_peer_find_hash_attach()
117 hash_elems = 1 << log2; in ol_txrx_peer_find_hash_attach()
120 pdev->peer_hash.idx_bits = log2; in ol_txrx_peer_find_hash_attach()
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/crypto/src/
Dwlan_crypto_obj_mgr.c53 int log2 = -1; in crypto_log2_ceil() local
57 log2++; in crypto_log2_ceil()
60 if (1 << log2 != value) in crypto_log2_ceil()
61 log2++; in crypto_log2_ceil()
62 return log2; in crypto_log2_ceil()
68 int log2, hash_elems, i; in wlan_crypto_hash_init() local
70 log2 = crypto_log2_ceil(CRYPTO_MAX_HASH_IDX); in wlan_crypto_hash_init()
71 hash_elems = 1 << log2; in wlan_crypto_hash_init()
74 psoc->crypto_key_holder.idx_bits = log2; in wlan_crypto_hash_init()
/wlan-driver/qca-wifi-host-cmn/qdf/inc/
Dqdf_util.h690 int log2; in qdf_get_pwr2() local
695 log2 = 0; in qdf_get_pwr2()
698 log2++; in qdf_get_pwr2()
700 return 1 << log2; in qdf_get_pwr2()
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/
Ddp_peer.c439 int i, hash_elems, log2; in dp_peer_find_hash_attach() local
445 log2 = dp_log2_ceil(hash_elems); in dp_peer_find_hash_attach()
446 hash_elems = 1 << log2; in dp_peer_find_hash_attach()
449 soc->peer_hash.idx_bits = log2; in dp_peer_find_hash_attach()
552 int i, hash_elems, log2; in dp_peer_find_hash_attach() local
558 log2 = dp_log2_ceil(hash_elems); in dp_peer_find_hash_attach()
559 hash_elems = 1 << log2; in dp_peer_find_hash_attach()
562 soc->peer_hash.idx_bits = log2; in dp_peer_find_hash_attach()
781 int log2, hash_elems, i; in dp_peer_mec_hash_attach() local
783 log2 = dp_log2_ceil(DP_PEER_MAX_MEC_IDX); in dp_peer_mec_hash_attach()
[all …]
Ddp_internal.h1481 int log2 = -1; in dp_log2_ceil() local
1486 log2++; in dp_log2_ceil()
1489 if (1 << log2 != value) in dp_log2_ceil()
1490 log2++; in dp_log2_ceil()
1491 return log2; in dp_log2_ceil()
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/be/
Ddp_be.c2425 int i, log2; in dp_mlo_peer_find_hash_attach_be() local
2432 log2 = dp_log2_ceil(hash_elems); in dp_mlo_peer_find_hash_attach_be()
2433 hash_elems = 1 << log2; in dp_mlo_peer_find_hash_attach_be()
2436 mld_hash_obj->mld_peer_hash.idx_bits = log2; in dp_mlo_peer_find_hash_attach_be()