Home
last modified time | relevance | path

Searched refs:hweight32 (Results 1 – 19 of 19) sorted by relevance

/freebsd/sys/dev/qat/qat_common/
H A Dadf_hw_arbiter.c106 shift = hweight32(arb_mask); in adf_update_ring_arb()
126 shift = hweight32(arb_mask); in adf_update_uio_ring_arb()
/freebsd/sys/dev/qat/qat_hw/qat_4xxx/
H A Dadf_4xxx_hw_data.c167 return hweight32(self->ae_mask); in get_num_aes()
392 if (hweight32(service_mask) > num_au) { in get_accel_unit_config()
397 } else if (hweight32(service_mask) == 2) { in get_accel_unit_config()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dbitops.h61 #define hweight32(x) bitcount32(x)
60 #define hweight32( global() macro
/freebsd/contrib/hyperv/tools/
H A Dhv_kvp_daemon.c756 hweight32(unsigned int *w) in hweight32() function
910 weight += hweight32(&w[i]); in kvp_get_ip_info()
/freebsd/sys/dev/drm2/
H A Ddrm_os_freebsd.h235 #define hweight32(i) bitcount32(i) macro
/freebsd/sys/dev/qat/qat_hw/qat_c4xxx/
H A Dadf_c4xxx_hw_data.c163 return self ? hweight32(self->accel_mask) : 0; in get_num_accels()
169 return self ? hweight32(self->ae_mask) : 0; in get_num_aes()
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dmac.c959 nss = hweight32(ar->cfg_tx_chainmask) ? : 1; in ath12k_mac_monitor_vdev_create()
4703 ar->num_tx_chains = hweight32(tx_ant); in __ath12k_set_antenna()
4713 ar->num_rx_chains = hweight32(rx_ant); in __ath12k_set_antenna()
5414 nss = hweight32(ar->cfg_tx_chainmask) ? : 1; in ath12k_mac_op_add_interface()
6408 num_rates = hweight32(mask->control[band].legacy); in ath12k_mac_has_single_legacy_rate()
6480 if (hweight32(mask->control[band].legacy) != 1) in ath12k_mac_get_single_legacy_rate()
7441 ar->num_tx_chains = hweight32(pdev->cap.tx_chain_mask); in ath12k_mac_allocate()
7442 ar->num_rx_chains = hweight32(pdev->cap.rx_chain_mask); in ath12k_mac_allocate()
/freebsd/sys/contrib/dev/rtw89/
H A Dmac80211.c822 if (tx_ant != rx_ant || hweight32(tx_ant) != 1) in rtw89_ops_reconfig_complete()
H A Dphy.c498 n = hweight32(rate_ctrl); in rtw89_phy_rate_pattern_vif()
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmt76_connac_mac.c333 if (hweight32(mask->control[band].legacy) == 1) { in mt76_connac2_mac_tx_rate_val()
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dmac-ctxt.c982 if (hweight32(legacy) == 1) { in iwl_mvm_mac_ctxt_set_tx()
H A Dscan.c2630 return hweight32(mvm->scan_status & IWL_MVM_SCAN_MASK); in iwl_mvm_check_running_scans()
/freebsd/sys/dev/bnxt/bnxt_en/
H A Dbnxt_hwrm.c366 n = hweight32(ctxm->instance_bmap); in bnxt_alloc_all_ctx_pg_info()
717 n = hweight32(ctxm->instance_bmap); in bnxt_hwrm_func_backing_store_cfg_v2()
H A Dif_bnxt.c1036 n = hweight32(ctxm->instance_bmap); in bnxt_setup_ctxm_pg_tbls()
1065 n = hweight32(ctxm->instance_bmap); in bnxt_free_ctx_mem()
/freebsd/sys/contrib/dev/iwlwifi/queue/
H A Dtx.c
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dmcu.c1432 nrates = hweight32(mask->control[band].legacy); in mt7915_mcu_add_rate_ctrl_fixed()
1512 ra->rate_len = hweight32(supp_rate); in mt7915_mcu_sta_rate_ctrl_tlv()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dmcu.c1668 ra->rate_len = hweight32(supp_rate); in mt7996_mcu_sta_rate_ctrl_tlv()
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dmac.c7883 num_rates = hweight32(mask->control[band].legacy); in ath11k_mac_has_single_legacy_rate()
7987 if (hweight32(mask->control[band].legacy) != 1) in ath11k_mac_get_single_legacy_rate()
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dmac.c6906 num_rates += hweight32(mask->control[band].legacy); in ath10k_mac_bitrate_mask_has_single_rate()
6936 if (hweight32(mask->control[band].legacy) == 1) { in ath10k_mac_bitrate_mask_get_single_rate()