/linux-6.1.9/drivers/gpu/drm/i915/gt/ |
D | intel_sseu.c | 31 total += hweight8(sseu->subslice_mask.hsw[i]); in intel_sseu_subslice_total() 431 hweight8(eu_disabled_mask); in gen9_sseu_info_init() 466 !IS_GEN9_LP(i915) && hweight8(sseu->slice_mask) > 1; in gen9_sseu_info_init() 473 RUNTIME_INFO(i915)->has_pooled_eu = hweight8(sseu->subslice_mask.hsw[0]) == 3; in gen9_sseu_info_init() 542 n_disabled = hweight8(eu_disabled_mask); in bdw_sseu_info_init() 568 sseu->has_slice_pg = hweight8(sseu->slice_mask) > 1; in bdw_sseu_info_init() 619 intel_sseu_set_info(sseu, hweight8(sseu->slice_mask), in hsw_sseu_info_init() 620 hweight8(subslice_mask), in hsw_sseu_info_init() 683 slices = hweight8(req_sseu->slice_mask); in intel_sseu_make_rpcs() 684 subslices = hweight8(req_sseu->subslice_mask); in intel_sseu_make_rpcs() [all …]
|
D | intel_sseu_debugfs.c | 188 sseu->eu_total -= hweight8(subslice_7eu); in bdw_sseu_device_status() 203 hweight8(sseu->slice_mask)); in i915_print_sseu_info()
|
/linux-6.1.9/lib/ |
D | memweight.c | 19 ret += hweight8(*bitmap); in memweight() 35 ret += hweight8(*bitmap); in memweight()
|
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | stf.c | 167 if (hweight8(core_mask) > wlc->stf->txstreams) in brcms_c_stf_txcore_set() 170 if ((hweight8(core_mask) == wlc->stf->txstreams) && in brcms_c_stf_txcore_set() 281 txstreams = (u8) hweight8(txchain); in brcms_c_stf_txchain_set() 387 wlc->stf->txstreams = (u8) hweight8(wlc->stf->hw_txchain); in brcms_c_stf_phy_chain_calc() 397 wlc->stf->rxstreams = (u8) hweight8(wlc->stf->hw_rxchain); in brcms_c_stf_phy_chain_calc()
|
/linux-6.1.9/tools/include/asm-generic/bitops/ |
D | const_hweight.h | 26 #define hweight8(w) (__builtin_constant_p(w) ? __const_hweight8(w) : __arch_hweight8(w)) macro
|
/linux-6.1.9/include/asm-generic/bitops/ |
D | const_hweight.h | 26 #define hweight8(w) (__builtin_constant_p(w) ? __const_hweight8(w) : __arch_hweight8(w)) macro
|
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
D | gt215.c | 127 if (part >= hweight8((init->r001540 >> 16) & 0xff)) in gt215_devinit_mmio()
|
/linux-6.1.9/drivers/input/serio/ |
D | ps2-gpio.c | 222 if (!((hweight8(byte) & 1) ^ data)) { in ps2_gpio_irq_rx() 322 data = !(hweight8(byte) & 1); in ps2_gpio_irq_tx()
|
D | pcips2.c | 77 if (hweight8(scancode) & 1) in pcips2_interrupt()
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/ |
D | testmode.c | 182 u8 max_nss = hweight8(phy->antenna_mask); in mt76_testmode_tx_init() 193 max_nss = min_t(u8, max_nss, hweight8(td->tx_antenna_mask)); in mt76_testmode_tx_init() 445 1, hweight8(phy->antenna_mask)) || in mt76_testmode_cmd()
|
D | mt76x02_usb_core.c | 212 nbeacons = hweight8(dev->mt76.beacon_mask); in mt76x02u_pre_tbtt_work()
|
/linux-6.1.9/drivers/mtd/nand/raw/ |
D | nand_micron.c | 256 nbitflips += hweight8(corrbuf[i] ^ rawbuf[i]); in micron_nand_on_die_ecc_status_4() 263 nbitflips += hweight8(corrbuf[i] ^ rawbuf[i]); in micron_nand_on_die_ecc_status_4()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/ |
D | bf.c | 187 u8 nc_index = hweight8(rtwdev->hal.antenna_rx) - 1; in rtw_bf_enable_bfee_su() 236 u8 nc_index = hweight8(rtwdev->hal.antenna_rx) - 1; in rtw_bf_enable_bfee_mu()
|
/linux-6.1.9/arch/arm/mm/ |
D | abort-lv4t.S | 205 and r6, r8, #0x55 @ hweight8(r8) + R bit 224 and r6, r8, #0x55 @ hweight8(r8)
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | init.c | 269 int i, n_chains = hweight8(dev->mphy.antenna_mask); in mt7915_init_txpower() 709 nss = hweight8(phy->mt76->chainmask); in mt7915_set_stream_vht_txbf_caps() 824 nss * hweight8(ru_bit_mask) * 2; in mt7915_gen_ppe_thresh() 839 int i, idx = 0, nss = hweight8(phy->mt76->chainmask); in mt7915_init_he_caps()
|
D | mcu.c | 488 int max_nss = hweight8(phy->mt76->chainmask); in mt7915_mcu_bss_ra_tlv() 991 int tx_ant = hweight8(phy->mt76->chainmask) - 1; in mt7915_is_ebf_supported() 1054 bf->nrow = hweight8(phy->mt76->chainmask) - 1; in mt7915_mcu_sta_bfer_ht() 1067 u8 tx_ant = hweight8(phy->mt76->chainmask) - 1; in mt7915_mcu_sta_bfer_vht() 1162 int tx_ant = hweight8(phy->mt76->chainmask) - 1; in mt7915_mcu_sta_bfer_tlv() 1231 int tx_ant = hweight8(phy->mt76->chainmask) - 1; in mt7915_mcu_sta_bfee_tlv() 2556 req.tx_stream = hweight8(mphy->antenna_mask); in mt7915_mcu_background_chain_ctrl() 2637 .tx_streams_num = hweight8(phy->mt76->antenna_mask), in mt7915_mcu_set_chan_info() 2668 req.rx_streams = hweight8(req.rx_streams); in mt7915_mcu_set_chan_info() 3064 int i, idx, n_chains = hweight8(mphy->antenna_mask); in mt7915_mcu_set_txpower_sku()
|
/linux-6.1.9/drivers/gpu/host1x/hw/ |
D | debug_hw.c | 55 return hweight8(mask); in show_channel_command()
|
/linux-6.1.9/sound/soc/fsl/ |
D | fsl_sai.c | 559 if (hweight8(dl_cfg[dl_cfg_idx].mask[tx]) < pins) { in fsl_sai_hw_params() 633 if (hweight8(dl_cfg[dl_cfg_idx].mask[tx]) <= 1 || sai->is_multi_fifo_dma) in fsl_sai_hw_params() 667 if (hweight8(dl_cfg[dl_cfg_idx].mask[tx] & trce_mask) == pins) in fsl_sai_hw_params() 1260 cfg[i].pins[0] = hweight8(rx); in fsl_sai_read_dlcfg() 1266 cfg[i].pins[1] = hweight8(tx); in fsl_sai_read_dlcfg()
|
/linux-6.1.9/drivers/regulator/ |
D | rt6245-regulator.c | 154 bit_count = hweight8(code & RT6245_CODE_MASK); in rt6245_reg_write()
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | beacon.c | 142 if (dev->mphy.q_tx[MT_TXQ_BEACON]->queued > hweight8(mdev->beacon_mask)) in mt7603_pre_tbtt_tasklet()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
D | nv40.c | 168 vs = hweight8((nvkm_rd32(device, 0x001540) & 0x0000ff00) >> 8); in nv40_instmem_oneinit()
|
/linux-6.1.9/drivers/mtd/tests/ |
D | oobtest.c | 130 bitflips += hweight8(res); in memcmpshowoffset() 158 bitflips += hweight8(res); in memffshow()
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | init.c | 275 int i, n_chains = hweight8(dev->mphy.antenna_mask), target_chains; in mt7615_init_txpower() 470 mphy->antenna_mask = BIT(hweight8(mphy->chainmask)) - 1; in mt7615_register_ext_phy()
|
/linux-6.1.9/arch/mips/kernel/ |
D | proc.c | 283 hweight8(cpu_data[n].kscratch_mask)); in show_cpuinfo()
|
/linux-6.1.9/drivers/hwmon/occ/ |
D | sysfs.c | 85 val = hweight8(header->occs_present); in occ_sysfs_show()
|