Searched refs:hweight_long (Results 1 - 25 of 71) sorted by last modified time

123

/linux-master/fs/nfsd/
H A Dnfs4xdr.c3313 if (xdr_stream_encode_u32(xdr, hweight_long(mask)) != XDR_UNIT)
3331 if (xdr_stream_encode_u32(xdr, hweight_long(mask)) != XDR_UNIT)
/linux-master/arch/arm64/kvm/
H A Darm.c611 nr_entries = BIT_ULL(hweight_long(mask));
/linux-master/arch/x86/events/amd/
H A Dcore.c1129 if (hweight_long(hwc->config & ARCH_PERFMON_EVENTSEL_UMASK) <= 1)
1154 if (hweight_long(hwc->config & ARCH_PERFMON_EVENTSEL_UMASK) <= 1)
/linux-master/sound/hda/
H A Dintel-nhlt.c232 if (hweight_long(mclk_mask) != 1)
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dd3.c2768 n_matches = hweight_long(matched_profiles);
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/
H A Ddbg.c1486 if (WARN_ONCE(hweight_long(fid1) + hweight_long(fid2) != 1,
/linux-master/tools/include/linux/
H A Dbitops.h68 static inline unsigned long hweight_long(unsigned long w) function
/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));
/linux-master/drivers/spi/
H A Dspi.c3921 if ((hweight_long(spi->mode &
3923 (hweight_long(spi->mode &
/linux-master/drivers/hwspinlock/
H A Domap_hwspinlock.c109 if (hweight_long(i & 0xf) != 1 || i > 8)
/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/drivers/mtd/nand/raw/
H A Dnand_base.c2817 weight = hweight_long(d);
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_cnv_dbgfs.c192 ae_count = hweight_long(ae_mask);
/linux-master/sound/soc/sof/intel/
H A Dhda.c1630 if (hweight_long(mach->link_mask) <= 2) {
1738 if (hweight_long(mach->mach_params.i2s_link_mask) > 1 &&
/linux-master/sound/soc/intel/boards/
H A Dsof_sdw.c608 step = hweight_long(ch_mask);
1682 ssp_num = hweight_long(ssp_mask);
/linux-master/sound/soc/intel/avs/
H A Dpcm.c1337 cpu_count += hweight_long(tdms[i]);
H A Dcore.c407 adev->hw_cfg.dsp_cores = hweight_long(AVS_MAIN_CORE_MASK);
/linux-master/sound/soc/codecs/
H A Drt5682s.c1994 tx_slotnum = hweight_long(tx_mask);
H A Dnau8825.c1438 if (hweight_long((unsigned long) tx_mask) != 1 ||
1439 hweight_long((unsigned long) rx_mask) != 2) {
/linux-master/drivers/pwm/
H A Dpwm-sti.c174 ncfg = hweight_long(pc->configured);
/linux-master/lib/
H A Dbitmap.c330 w += hweight_long(FETCH); \
333 w += hweight_long((FETCH) & BITMAP_LAST_WORD_MASK(__bits)); \
/linux-master/drivers/net/usb/
H A Dlan78xx.c4751 if (hweight_long((unsigned long)wol) > 1) {
/linux-master/drivers/edac/
H A Damd64_edac.c1250 weight = hweight_long(addr_mask_orig);
2107 u32 temp = hweight_long((u32) ((sys_addr >> 16) & 0x1F)) & 1;
/linux-master/arch/x86/events/intel/
H A Dcore.c6063 x86_pmu.num_hybrid_pmus = hweight_long(pmus_mask);
/linux-master/net/openvswitch/
H A Dflow_netlink.c2169 num_labels = hweight_long(output->mpls.num_labels_mask);
3510 mpls_label_count = hweight_long(key->mpls.num_labels_mask);

Completed in 626 milliseconds

123