Home
last modified time | relevance | path

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

123456

/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_ecc.c186 if ((hweight8(d0) + hweight8(d1) + hweight8(d2)) == 1) { in yaffs_ecc_correct()
271 hweight8(delta_col)) == 1) { in yaffs_ecc_correct_other()
H A Dyaffs_bitmap.c94 n += hweight8(*blk_bits); in yaffs_count_chunk_bits()
H A Dyaffs_tagscompat.c336 deleted = (hweight8(spare.page_status) < 7) ? 1 : 0; in yaffs_tags_compat_rd()
399 if (hweight8(spare0.block_status & spare1.block_status) < 7) in yaffs_tags_compat_query_block()
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dintel_sseu.c32 total += hweight8(sseu->subslice_mask.hsw[i]); in intel_sseu_subslice_total()
432 hweight8(eu_disabled_mask); in gen9_sseu_info_init()
467 !IS_GEN9_LP(i915) && hweight8(sseu->slice_mask) > 1; in gen9_sseu_info_init()
474 RUNTIME_INFO(i915)->has_pooled_eu = hweight8(sseu->subslice_mask.hsw[0]) == 3; in gen9_sseu_info_init()
543 n_disabled = hweight8(eu_disabled_mask); in bdw_sseu_info_init()
569 sseu->has_slice_pg = hweight8(sseu->slice_mask) > 1; in bdw_sseu_info_init()
620 intel_sseu_set_info(sseu, hweight8(sseu->slice_mask), in hsw_sseu_info_init()
621 hweight8(subslice_mask), in hsw_sseu_info_init()
684 slices = hweight8(req_sseu->slice_mask); in intel_sseu_make_rpcs()
685 subslices = hweight8(req_sseu->subslice_mask); in intel_sseu_make_rpcs()
[all …]
H A Dintel_sseu_debugfs.c188 sseu->eu_total -= hweight8(subslice_7eu); in bdw_sseu_device_status()
203 hweight8(sseu->slice_mask)); in i915_print_sseu_info()
/openbmc/linux/lib/
H A Dmemweight.c19 ret += hweight8(*bitmap); in memweight()
35 ret += hweight8(*bitmap); in memweight()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A 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()
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()
/openbmc/u-boot/arch/arc/include/asm/
H A Dbitops.h16 #define hweight8(x) generic_hweight8(x) macro
/openbmc/u-boot/arch/m68k/include/asm/
H A Dbitops.h51 #define hweight8(x) generic_hweight8(x) macro
/openbmc/u-boot/board/phytec/phycore_rk3288/
H A Dphycore-rk3288.c24 hw += hweight8(*p); in valid_rk3288_som()
/openbmc/linux/tools/include/asm-generic/bitops/
H A Dconst_hweight.h26 #define hweight8(w) (__builtin_constant_p(w) ? __const_hweight8(w) : __arch_hweight8(w)) macro
/openbmc/linux/include/asm-generic/bitops/
H A Dconst_hweight.h26 #define hweight8(w) (__builtin_constant_p(w) ? __const_hweight8(w) : __arch_hweight8(w)) macro
/openbmc/u-boot/arch/microblaze/include/asm/
H A Dbitops.h258 #define hweight8(x) generic_hweight8(x) macro
371 #define hweight8(x) generic_hweight8(x) macro
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drpm.c120 return hweight8(rpm_read(rpm, 0, CGXX_CMRX_RX_LMACS) & 0xFULL); in rpm_get_nr_lmacs()
127 return hweight8(rpm_read(rpm, 0, RPM2_CMRX_RX_LMACS) & 0xFFULL); in rpm2_get_nr_lmacs()
545 num_lmacs = hweight8(lmac_info & 0xF); in rpm2_get_lmac_fifo_len()
548 num_lmacs = hweight8(lmac_info & 0xF0); in rpm2_get_lmac_fifo_len()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_pmdemand.c337 min_t(u8, hweight8(new_dbuf_state->active_pipes), 3); in intel_pmdemand_atomic_check()
339 min_t(u8, hweight8(new_dbuf_state->enabled_slices), 3); in intel_pmdemand_atomic_check()
449 u32 dbufs = min_t(u32, hweight8(dbuf_slices), 3); in intel_pmdemand_program_dbuf()
/openbmc/u-boot/arch/sh/include/asm/
H A Dbitops.h158 #define hweight8(x) generic_hweight8(x) macro
/openbmc/u-boot/arch/riscv/include/asm/
H A Dbitops.h159 #define hweight8(x) generic_hweight8(x) macro
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
H A Dgt215.c125 if (part >= hweight8((init->r001540 >> 16) & 0xff)) in gt215_devinit_mmio()
/openbmc/u-boot/arch/sandbox/include/asm/
H A Dbitops.h152 #define hweight8(x) generic_hweight8(x) macro
/openbmc/u-boot/arch/nds32/include/asm/
H A Dbitops.h177 #define hweight8(x) generic_hweight8(x) macro
/openbmc/linux/drivers/input/serio/
H A Dps2-gpio.c222 if (!((hweight8(byte) & 1) ^ data)) { in ps2_gpio_irq_rx()
322 data = !(hweight8(byte) & 1); in ps2_gpio_irq_tx()
/openbmc/u-boot/arch/arm/include/asm/
H A Dbitops.h159 #define hweight8(x) generic_hweight8(x) macro
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dtestmode.c183 u8 max_nss = hweight8(phy->antenna_mask); in mt76_testmode_tx_init()
194 max_nss = min_t(u8, max_nss, hweight8(td->tx_antenna_mask)); in mt76_testmode_tx_init()
446 1, hweight8(phy->antenna_mask)) || in mt76_testmode_cmd()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dnand_micron.c256 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()
/openbmc/linux/arch/arm/mm/
H A Dabort-lv4t.S205 and r6, r8, #0x55 @ hweight8(r8) + R bit
224 and r6, r8, #0x55 @ hweight8(r8)

123456