/Linux-v5.4/drivers/gpu/drm/i915/gt/ |
D | intel_sseu.c | 17 total += hweight8(sseu->subslice_mask[i]); in intel_sseu_subslice_total() 25 return hweight8(sseu->subslice_mask[slice]); in intel_sseu_subslices_per_slice() 64 ~(~0 << (hweight8(ctx_sseu.subslice_mask) / 2)); in intel_sseu_make_rpcs() 69 slices = hweight8(ctx_sseu.slice_mask); in intel_sseu_make_rpcs() 70 subslices = hweight8(ctx_sseu.subslice_mask); in intel_sseu_make_rpcs() 99 subslices > min_t(u8, 4, hweight8(sseu->subslice_mask[0]) / 2)) { in intel_sseu_make_rpcs()
|
/Linux-v5.4/lib/ |
D | memweight.c | 19 ret += hweight8(*bitmap); in memweight() 35 ret += hweight8(*bitmap); in memweight()
|
/Linux-v5.4/drivers/gpu/drm/i915/ |
D | intel_device_info.c | 93 hweight8(sseu->slice_mask), sseu->slice_mask); in sseu_dump() 181 total += hweight8(sseu->eu_mask[i]); in compute_eu_total() 222 sseu->eu_per_subslice = hweight8(eu_en); in gen11_sseu_info_init() 412 hweight8(eu_disabled_mask); in gen9_sseu_info_init() 446 !IS_GEN9_LP(dev_priv) && hweight8(sseu->slice_mask) > 1; in gen9_sseu_info_init() 453 info->has_pooled_eu = hweight8(sseu->subslice_mask[0]) == 3; in gen9_sseu_info_init() 520 n_disabled = hweight8(eu_disabled_mask); in broadwell_sseu_info_init() 546 sseu->has_slice_pg = hweight8(sseu->slice_mask) > 1; in broadwell_sseu_info_init() 580 sseu->max_slices = hweight8(sseu->slice_mask); in haswell_sseu_info_init() 581 sseu->max_subslices = hweight8(sseu->subslice_mask[0]); in haswell_sseu_info_init() [all …]
|
/Linux-v5.4/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() 390 wlc->stf->txstreams = (u8) hweight8(wlc->stf->hw_txchain); in brcms_c_stf_phy_chain_calc() 400 wlc->stf->rxstreams = (u8) hweight8(wlc->stf->hw_rxchain); in brcms_c_stf_phy_chain_calc()
|
/Linux-v5.4/include/asm-generic/bitops/ |
D | const_hweight.h | 26 #define hweight8(w) (__builtin_constant_p(w) ? __const_hweight8(w) : __arch_hweight8(w)) macro
|
/Linux-v5.4/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-v5.4/drivers/input/serio/ |
D | ps2-gpio.c | 175 if (!((hweight8(byte) & 1) ^ data)) { in ps2_gpio_irq_rx() 266 data = !(hweight8(byte) & 1); in ps2_gpio_irq_tx()
|
D | pcips2.c | 77 if (hweight8(scancode) & 1) in pcips2_interrupt()
|
D | sa1111ps2.c | 76 if (hweight8(scancode) & 1) in ps2_rxint()
|
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
D | gt215.c | 128 if (part >= hweight8((init->r001540 >> 16) & 0xff)) in gt215_devinit_mmio()
|
/Linux-v5.4/drivers/mtd/nand/raw/ |
D | nand_micron.c | 236 nbitflips += hweight8(corrbuf[i] ^ rawbuf[i]); in micron_nand_on_die_ecc_status_4() 243 nbitflips += hweight8(corrbuf[i] ^ rawbuf[i]); in micron_nand_on_die_ecc_status_4()
|
/Linux-v5.4/drivers/gpu/drm/i915/gt/uc/ |
D | intel_guc_ads.c | 101 blob->system_info.slice_enabled = hweight8(RUNTIME_INFO(dev_priv)->sseu.slice_mask); in __guc_ads_init()
|
/Linux-v5.4/drivers/gpu/host1x/hw/ |
D | debug_hw.c | 55 return hweight8(mask); in show_channel_command()
|
/Linux-v5.4/arch/mips/kernel/ |
D | proc.c | 140 hweight8(cpu_data[n].kscratch_mask)); in show_cpuinfo()
|
/Linux-v5.4/arch/arm/mm/ |
D | abort-lv4t.S | 205 and r6, r8, #0x55 @ hweight8(r8) + R bit 224 and r6, r8, #0x55 @ hweight8(r8)
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | phy-ctxt.c | 331 return hweight8(phy_ctxt_counter); in iwl_mvm_phy_ctx_count()
|
/Linux-v5.4/drivers/hwmon/occ/ |
D | sysfs.c | 62 val = hweight8(header->occs_present); in occ_sysfs_show()
|
/Linux-v5.4/drivers/gpu/drm/rcar-du/ |
D | rcar_du_kms.c | 653 rcdu->num_crtcs = hweight8(rcdu->info->channels_mask); in rcar_du_modeset_init() 681 rgrp->num_crtcs = hweight8(rgrp->channels_mask); in rcar_du_modeset_init()
|
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | beacon.c | 140 hweight8(dev->mt76.beacon_mask)) in mt7603_pre_tbtt_tasklet()
|
/Linux-v5.4/drivers/mtd/tests/ |
D | oobtest.c | 130 bitflips += hweight8(res); in memcmpshowoffset() 158 bitflips += hweight8(res); in memffshow()
|
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_usb_core.c | 186 nbeacons = hweight8(dev->mt76.beacon_mask); in mt76x02u_pre_tbtt_work()
|
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
D | nv40.c | 169 vs = hweight8((nvkm_rd32(device, 0x001540) & 0x0000ff00) >> 8); in nv40_instmem_oneinit()
|
/Linux-v5.4/drivers/hwmon/ |
D | max6697.c | 526 factor += hweight8(reg); in max6697_init_chip() 575 factor += hweight8(pdata->resistance_cancellation >> 1); in max6697_init_chip()
|
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | init.c | 184 int i, n_chains = hweight8(dev->mt76.antenna_mask), target_chains; in mt7615_init_txpower()
|
/Linux-v5.4/drivers/clocksource/ |
D | ingenic-timer.c | 261 if (hweight8(tcu->pwm_channels_mask) > soc_info->num_channels - 2) { in ingenic_tcu_init()
|