Searched refs:hweight32 (Results 1 – 19 of 19) sorted by relevance
106 shift = hweight32(arb_mask); in adf_update_ring_arb()126 shift = hweight32(arb_mask); in adf_update_uio_ring_arb()
167 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()
61 #define hweight32(x) bitcount32(x)60 #define hweight32( global() macro
756 hweight32(unsigned int *w) in hweight32() function910 weight += hweight32(&w[i]); in kvp_get_ip_info()
235 #define hweight32(i) bitcount32(i) macro
163 return self ? hweight32(self->accel_mask) : 0; in get_num_accels()169 return self ? hweight32(self->ae_mask) : 0; in get_num_aes()
959 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()
822 if (tx_ant != rx_ant || hweight32(tx_ant) != 1) in rtw89_ops_reconfig_complete()
498 n = hweight32(rate_ctrl); in rtw89_phy_rate_pattern_vif()
333 if (hweight32(mask->control[band].legacy) == 1) { in mt76_connac2_mac_tx_rate_val()
982 if (hweight32(legacy) == 1) { in iwl_mvm_mac_ctxt_set_tx()
2630 return hweight32(mvm->scan_status & IWL_MVM_SCAN_MASK); in iwl_mvm_check_running_scans()
366 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()
1036 n = hweight32(ctxm->instance_bmap); in bnxt_setup_ctxm_pg_tbls() 1065 n = hweight32(ctxm->instance_bmap); in bnxt_free_ctx_mem()
1432 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()
1668 ra->rate_len = hweight32(supp_rate); in mt7996_mcu_sta_rate_ctrl_tlv()
7883 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()
6906 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()