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

123

/linux-master/sound/soc/intel/avs/
H A Dutils.h16 return hweight_long(mach->mach_params.i2s_link_mask) == 1;
28 return !tdms || (hweight_long(tdms[port]) == 1);
/linux-master/tools/lib/
H A Dbitmap.c13 w += hweight_long(bitmap[k]);
16 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits));
/linux-master/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_pipe.c59 if (!(*hwpipe) || (hweight_long(cur->caps & ~caps) <
60 hweight_long((*hwpipe)->caps & ~caps))) {
/linux-master/tools/include/linux/
H A Dbitmap.h67 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits));
H A Dbitops.h68 static inline unsigned long hweight_long(unsigned long w) function
/linux-master/drivers/hwspinlock/
H A Domap_hwspinlock.c109 if (hweight_long(i & 0xf) != 1 || i > 8)
/linux-master/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))
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_fw_counters.c60 if (hweight_long(ae_mask) > fw_counters->ae_count)
120 ae_count = hweight_long(hw_data->ae_mask & ~hw_data->admin_ae_mask);
H A Dadf_cnv_dbgfs.c192 ae_count = hweight_long(ae_mask);
/linux-master/include/linux/
H A Dbitmap.h423 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits));
432 return hweight_long(*src1 & *src2 & BITMAP_LAST_WORD_MASK(nbits));
441 return hweight_long(*src1 & ~(*src2) & BITMAP_LAST_WORD_MASK(nbits));
H A Dbitops.h94 static __always_inline unsigned long hweight_long(unsigned long w) function
/linux-master/drivers/media/platform/qcom/venus/
H A Dhfi_parser.c22 if (hweight_long(core->dec_codecs) + hweight_long(core->enc_codecs) > MAX_CODEC_NUM)
/linux-master/fs/exfat/
H A Dballoc.c237 count += hweight_long(*bitmap);
248 count += hweight_long(clu_bits & BITMAP_LAST_WORD_MASK(last_mask));
/linux-master/drivers/block/drbd/
H A Ddrbd_bitmap.c504 cleared = hweight_long(*bm & ~mask);
512 cleared += hweight_long(*bm);
573 bits += hweight_long(p_addr[last_word]);
836 bits = hweight_long(*bm);
839 b->bm_set += hweight_long(word) - bits;
1479 /* I think it is more cache line friendly to hweight_long then set to ~0UL,
1482 bits = hweight_long(paddr[i]);
/linux-master/tools/perf/tests/
H A Dsample-parsing.c129 size_t sz = hweight_long(s1->user_regs.mask) * sizeof(u64);
160 size_t sz = hweight_long(s1->intr_regs.mask) * sizeof(u64);
/linux-master/drivers/bus/
H A Dbrcmstb_gisb.c246 if (hweight_long(mask) != 1)
477 if (hweight_long(gdev->valid_mask) == num_masters) {
/linux-master/arch/sh/kernel/
H A Dio_trapped.c62 if (hweight_long(flags) != 1)
/linux-master/lib/
H A Dfind_bit.c80 w = hweight_long(tmp); \
H A Dbitmap.c330 w += hweight_long(FETCH); \
333 w += hweight_long((FETCH) & BITMAP_LAST_WORD_MASK(__bits)); \
/linux-master/drivers/pinctrl/
H A Dpinctrl-mcp23s08_spi.c165 chips = hweight_long(spi_present_mask);
/linux-master/sound/soc/intel/boards/
H A Dskl_hda_dsp_generic.c127 codec_count = hweight_long(codec_mask);
/linux-master/drivers/irqchip/
H A Dirq-mips-gic.c751 cpu_vec = find_first_zero_bit(&reserved, hweight_long(ST0_IM));
752 if (cpu_vec == hweight_long(ST0_IM)) {
/linux-master/sound/soc/bcm/
H A Dbcm2835-i2s.c267 if (hweight_long((unsigned long) rx_mask) != 2
268 || hweight_long((unsigned long) tx_mask) != 2)
/linux-master/sound/soc/codecs/
H A Drtq9128.c485 if (!rx_mask || hweight_long(tx_mask) > slots || hweight_long(rx_mask) > slots ||
/linux-master/drivers/ps3/
H A Dps3stor_lib.c113 n = hweight_long(dev->accessible_regions);

Completed in 184 milliseconds

123