/openbmc/u-boot/fs/yaffs2/ |
H A D | yaffs_ecc.c | 186 if ((hweight8(d0) + hweight8(d1) + hweight8(d2)) == 1) { in yaffs_ecc_correct() 271 hweight8(delta_col)) == 1) { in yaffs_ecc_correct_other()
|
H A D | yaffs_bitmap.c | 94 n += hweight8(*blk_bits); in yaffs_count_chunk_bits()
|
H A D | yaffs_tagscompat.c | 336 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 D | intel_sseu.c | 32 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 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()
|
/openbmc/linux/lib/ |
H A D | memweight.c | 19 ret += hweight8(*bitmap); in memweight() 35 ret += hweight8(*bitmap); in memweight()
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A 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()
|
/openbmc/u-boot/arch/arc/include/asm/ |
H A D | bitops.h | 16 #define hweight8(x) generic_hweight8(x) macro
|
/openbmc/u-boot/arch/m68k/include/asm/ |
H A D | bitops.h | 51 #define hweight8(x) generic_hweight8(x) macro
|
/openbmc/u-boot/board/phytec/phycore_rk3288/ |
H A D | phycore-rk3288.c | 24 hw += hweight8(*p); in valid_rk3288_som()
|
/openbmc/linux/tools/include/asm-generic/bitops/ |
H A D | const_hweight.h | 26 #define hweight8(w) (__builtin_constant_p(w) ? __const_hweight8(w) : __arch_hweight8(w)) macro
|
/openbmc/linux/include/asm-generic/bitops/ |
H A D | const_hweight.h | 26 #define hweight8(w) (__builtin_constant_p(w) ? __const_hweight8(w) : __arch_hweight8(w)) macro
|
/openbmc/u-boot/arch/microblaze/include/asm/ |
H A D | bitops.h | 258 #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 D | rpm.c | 120 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 D | intel_pmdemand.c | 337 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 D | bitops.h | 158 #define hweight8(x) generic_hweight8(x) macro
|
/openbmc/u-boot/arch/riscv/include/asm/ |
H A D | bitops.h | 159 #define hweight8(x) generic_hweight8(x) macro
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
H A D | gt215.c | 125 if (part >= hweight8((init->r001540 >> 16) & 0xff)) in gt215_devinit_mmio()
|
/openbmc/u-boot/arch/sandbox/include/asm/ |
H A D | bitops.h | 152 #define hweight8(x) generic_hweight8(x) macro
|
/openbmc/u-boot/arch/nds32/include/asm/ |
H A D | bitops.h | 177 #define hweight8(x) generic_hweight8(x) macro
|
/openbmc/linux/drivers/input/serio/ |
H A 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()
|
/openbmc/u-boot/arch/arm/include/asm/ |
H A D | bitops.h | 159 #define hweight8(x) generic_hweight8(x) macro
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | testmode.c | 183 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 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()
|
/openbmc/linux/arch/arm/mm/ |
H A D | abort-lv4t.S | 205 and r6, r8, #0x55 @ hweight8(r8) + R bit 224 and r6, r8, #0x55 @ hweight8(r8)
|