Home
last modified time | relevance | path

Searched refs:hweight_long (Results 1 - 25 of 112) sorted by relevance

12345

/kernel/linux/linux-5.10/tools/lib/
H A Dbitmap.c13 w += hweight_long(bitmap[k]); in __bitmap_weight()
16 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight()
/kernel/linux/linux-6.6/tools/lib/
H A Dbitmap.c13 w += hweight_long(bitmap[k]); in __bitmap_weight()
16 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_pipe.c59 if (!(*hwpipe) || (hweight_long(cur->caps & ~caps) < in mdp5_pipe_assign()
60 hweight_long((*hwpipe)->caps & ~caps))) { in mdp5_pipe_assign()
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_pipe.c59 if (!(*hwpipe) || (hweight_long(cur->caps & ~caps) < in mdp5_pipe_assign()
60 hweight_long((*hwpipe)->caps & ~caps))) { in mdp5_pipe_assign()
/kernel/linux/linux-5.10/sound/soc/intel/catpt/
H A Dregisters.h133 #define catpt_num_dram(cdev) (hweight_long((cdev)->spec->dram_mask))
134 #define catpt_num_iram(cdev) (hweight_long((cdev)->spec->iram_mask))
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/
H A Dadf_fw_counters.c59 if (hweight_long(ae_mask) > fw_counters->ae_count) in adf_fw_counters_load_from_device()
119 ae_count = hweight_long(hw_data->ae_mask & ~hw_data->admin_ae_mask); in adf_fw_counters_get()
/kernel/linux/linux-6.6/sound/soc/intel/catpt/
H A Dregisters.h133 #define catpt_num_dram(cdev) (hweight_long((cdev)->spec->dram_mask))
134 #define catpt_num_iram(cdev) (hweight_long((cdev)->spec->iram_mask))
/kernel/linux/linux-5.10/tools/include/linux/
H A Dbitops.h52 static inline unsigned long hweight_long(unsigned long w) in hweight_long() function
H A Dbitmap.h72 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight()
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
H A Dhfi_parser.c22 if (hweight_long(core->dec_codecs) + hweight_long(core->enc_codecs) > MAX_CODEC_NUM) in init_codecs()
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dsample-parsing.c108 size_t sz = hweight_long(s1->user_regs.mask) * sizeof(u64); in samples_same()
139 size_t sz = hweight_long(s1->intr_regs.mask) * sizeof(u64); in samples_same()
/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/
H A Dhfi_parser.c22 if (hweight_long(core->dec_codecs) + hweight_long(core->enc_codecs) > MAX_CODEC_NUM) in init_codecs()
/kernel/linux/linux-5.10/drivers/block/drbd/
H A Ddrbd_bitmap.c504 cleared = hweight_long(*bm & ~mask); in bm_clear_surplus()
512 cleared += hweight_long(*bm); in bm_clear_surplus()
573 bits += hweight_long(p_addr[last_word]); in bm_count_bits()
836 bits = hweight_long(*bm); in drbd_bm_merge_lel()
839 b->bm_set += hweight_long(word) - bits; in drbd_bm_merge_lel()
1442 /* I think it is more cache line friendly to hweight_long then set to ~0UL, in bm_set_full_words_within_one_page()
1445 bits = hweight_long(paddr[i]); in bm_set_full_words_within_one_page()
/kernel/linux/linux-6.6/drivers/block/drbd/
H A Ddrbd_bitmap.c504 cleared = hweight_long(*bm & ~mask); in bm_clear_surplus()
512 cleared += hweight_long(*bm); in bm_clear_surplus()
573 bits += hweight_long(p_addr[last_word]); in bm_count_bits()
836 bits = hweight_long(*bm); in drbd_bm_merge_lel()
839 b->bm_set += hweight_long(word) - bits; in drbd_bm_merge_lel()
1479 /* I think it is more cache line friendly to hweight_long then set to ~0UL, in bm_set_full_words_within_one_page()
1482 bits = hweight_long(paddr[i]); in bm_set_full_words_within_one_page()
/kernel/linux/linux-5.10/drivers/hwspinlock/
H A Domap_hwspinlock.c115 if (hweight_long(i & 0xf) != 1 || i > 8) { in omap_hwspinlock_probe()
/kernel/linux/linux-6.6/drivers/hwspinlock/
H A Domap_hwspinlock.c114 if (hweight_long(i & 0xf) != 1 || i > 8) { in omap_hwspinlock_probe()
/kernel/linux/linux-6.6/tools/include/linux/
H A Dbitmap.h67 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight()
H A Dbitops.h68 static inline unsigned long hweight_long(unsigned long w) in hweight_long() function
/kernel/linux/linux-5.10/drivers/bus/
H A Dbrcmstb_gisb.c231 if (hweight_long(mask) != 1) in brcmstb_gisb_master_to_str()
463 if (hweight_long(gdev->valid_mask) == num_masters) { in brcmstb_gisb_arb_probe()
/kernel/linux/linux-6.6/include/linux/
H A Dbitmap.h438 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight()
447 return hweight_long(*src1 & *src2 & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight_and()
/kernel/linux/linux-6.6/drivers/bus/
H A Dbrcmstb_gisb.c232 if (hweight_long(mask) != 1) in brcmstb_gisb_master_to_str()
462 if (hweight_long(gdev->valid_mask) == num_masters) { in brcmstb_gisb_arb_probe()
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dsample-parsing.c129 size_t sz = hweight_long(s1->user_regs.mask) * sizeof(u64); in samples_same()
160 size_t sz = hweight_long(s1->intr_regs.mask) * sizeof(u64); in samples_same()
/kernel/linux/linux-5.10/arch/sh/kernel/
H A Dio_trapped.c62 if (hweight_long(flags) != 1) in register_trapped_io()
/kernel/linux/linux-6.6/arch/sh/kernel/
H A Dio_trapped.c62 if (hweight_long(flags) != 1) in register_trapped_io()
/kernel/linux/linux-5.10/sound/soc/intel/boards/
H A Dskl_hda_dsp_generic.c130 codec_count = hweight_long(codec_mask); in skl_hda_fill_card_info()

Completed in 15 milliseconds

12345