Home
last modified time | relevance | path

Searched refs:hweight8 (Results 1 – 25 of 79) sorted by relevance

1234

/Linux-v5.4/drivers/gpu/drm/i915/gt/
Dintel_sseu.c17 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/
Dmemweight.c19 ret += hweight8(*bitmap); in memweight()
35 ret += hweight8(*bitmap); in memweight()
/Linux-v5.4/drivers/gpu/drm/i915/
Dintel_device_info.c93 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/
Dstf.c167 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/
Dconst_hweight.h26 #define hweight8(w) (__builtin_constant_p(w) ? __const_hweight8(w) : __arch_hweight8(w)) macro
/Linux-v5.4/tools/include/asm-generic/bitops/
Dconst_hweight.h26 #define hweight8(w) (__builtin_constant_p(w) ? __const_hweight8(w) : __arch_hweight8(w)) macro
/Linux-v5.4/drivers/input/serio/
Dps2-gpio.c175 if (!((hweight8(byte) & 1) ^ data)) { in ps2_gpio_irq_rx()
266 data = !(hweight8(byte) & 1); in ps2_gpio_irq_tx()
Dpcips2.c77 if (hweight8(scancode) & 1) in pcips2_interrupt()
Dsa1111ps2.c76 if (hweight8(scancode) & 1) in ps2_rxint()
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
Dgt215.c128 if (part >= hweight8((init->r001540 >> 16) & 0xff)) in gt215_devinit_mmio()
/Linux-v5.4/drivers/mtd/nand/raw/
Dnand_micron.c236 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/
Dintel_guc_ads.c101 blob->system_info.slice_enabled = hweight8(RUNTIME_INFO(dev_priv)->sseu.slice_mask); in __guc_ads_init()
/Linux-v5.4/drivers/gpu/host1x/hw/
Ddebug_hw.c55 return hweight8(mask); in show_channel_command()
/Linux-v5.4/arch/mips/kernel/
Dproc.c140 hweight8(cpu_data[n].kscratch_mask)); in show_cpuinfo()
/Linux-v5.4/arch/arm/mm/
Dabort-lv4t.S205 and r6, r8, #0x55 @ hweight8(r8) + R bit
224 and r6, r8, #0x55 @ hweight8(r8)
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/
Dphy-ctxt.c331 return hweight8(phy_ctxt_counter); in iwl_mvm_phy_ctx_count()
/Linux-v5.4/drivers/hwmon/occ/
Dsysfs.c62 val = hweight8(header->occs_present); in occ_sysfs_show()
/Linux-v5.4/drivers/gpu/drm/rcar-du/
Drcar_du_kms.c653 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/
Dbeacon.c140 hweight8(dev->mt76.beacon_mask)) in mt7603_pre_tbtt_tasklet()
/Linux-v5.4/drivers/mtd/tests/
Doobtest.c130 bitflips += hweight8(res); in memcmpshowoffset()
158 bitflips += hweight8(res); in memffshow()
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/
Dmt76x02_usb_core.c186 nbeacons = hweight8(dev->mt76.beacon_mask); in mt76x02u_pre_tbtt_work()
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dnv40.c169 vs = hweight8((nvkm_rd32(device, 0x001540) & 0x0000ff00) >> 8); in nv40_instmem_oneinit()
/Linux-v5.4/drivers/hwmon/
Dmax6697.c526 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/
Dinit.c184 int i, n_chains = hweight8(dev->mt76.antenna_mask), target_chains; in mt7615_init_txpower()
/Linux-v5.4/drivers/clocksource/
Dingenic-timer.c261 if (hweight8(tcu->pwm_channels_mask) > soc_info->num_channels - 2) { in ingenic_tcu_init()

1234