hweight_long 298 arch/arm/mm/pmsa-v7.c total_mem_size += mem[i].size - subreg * hweight_long(mem[i].subreg); hweight_long 62 arch/sh/kernel/io_trapped.c if (hweight_long(flags) != 1) hweight_long 823 arch/x86/events/amd/core.c if (hweight_long(hwc->config & ARCH_PERFMON_EVENTSEL_UMASK) <= 1) hweight_long 848 arch/x86/events/amd/core.c if (hweight_long(hwc->config & ARCH_PERFMON_EVENTSEL_UMASK) <= 1) hweight_long 506 drivers/block/drbd/drbd_bitmap.c cleared = hweight_long(*bm & ~mask); hweight_long 514 drivers/block/drbd/drbd_bitmap.c cleared += hweight_long(*bm); hweight_long 575 drivers/block/drbd/drbd_bitmap.c bits += hweight_long(p_addr[last_word]); hweight_long 838 drivers/block/drbd/drbd_bitmap.c bits = hweight_long(*bm); hweight_long 841 drivers/block/drbd/drbd_bitmap.c b->bm_set += hweight_long(word) - bits; hweight_long 1447 drivers/block/drbd/drbd_bitmap.c bits = hweight_long(paddr[i]); hweight_long 182 drivers/bus/brcmstb_gisb.c if (hweight_long(mask) != 1) hweight_long 369 drivers/bus/brcmstb_gisb.c if (hweight_long(gdev->valid_mask) == num_masters) { hweight_long 788 drivers/crypto/sahara.c if (hweight_long(hdr) % 2 == 0) hweight_long 1623 drivers/edac/amd64_edac.c weight = hweight_long(addr_mask_orig); hweight_long 1728 drivers/edac/amd64_edac.c u32 temp = hweight_long((u32) ((sys_addr >> 16) & 0x1F)) & 1; hweight_long 456 drivers/firmware/qcom_scm.c src_sz = hweight_long(srcvm_bits) * sizeof(*src); hweight_long 670 drivers/gpio/gpio-winbond.c winbond_gpio_chip.ngpio = hweight_long(params.gpios) * 8; hweight_long 59 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c if (!(*hwpipe) || (hweight_long(cur->caps & ~caps) < hweight_long 60 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c hweight_long((*hwpipe)->caps & ~caps))) { hweight_long 120 drivers/hwspinlock/omap_hwspinlock.c if (hweight_long(i & 0xf) != 1 || i > 8) { hweight_long 880 drivers/infiniband/core/cache.c num_default_gids = hweight_long(roce_gid_type_mask); hweight_long 687 drivers/irqchip/irq-mips-gic.c cpu_vec = find_first_zero_bit(&reserved, hweight_long(ST0_IM)); hweight_long 688 drivers/irqchip/irq-mips-gic.c if (cpu_vec == hweight_long(ST0_IM)) { hweight_long 372 drivers/media/pci/tw686x/tw686x-video.c return hweight_long(fps_map[index] & mask); hweight_long 1445 drivers/media/platform/rcar_drif.c sdr->num_hw_ch = hweight_long(sdr->hw_ch_mask); hweight_long 244 drivers/misc/lis3lv02d/lis3lv02d.c len = 1 << hweight_long(lis3->odr_mask); /* # of possible values */ hweight_long 608 drivers/mtd/maps/vmu-flash.c c = hweight_long(test_flash_data); hweight_long 2489 drivers/mtd/nand/raw/nand_base.c weight = hweight_long(d); hweight_long 833 drivers/net/ethernet/aquantia/atlantic/aq_filters.c hweight += hweight_long(aq_nic->active_vlans[i]); hweight_long 3987 drivers/net/usb/lan78xx.c if (hweight_long((unsigned long)wol) > 1) { hweight_long 1832 drivers/net/wireless/intel/iwlwifi/mvm/d3.c n_matches = hweight_long(matched_profiles); hweight_long 687 drivers/pinctrl/pinctrl-stmfx.c "%ld GPIOs available\n", hweight_long(pctl->gpio_valid_mask)); hweight_long 113 drivers/ps3/ps3stor_lib.c n = hweight_long(dev->accessible_regions); hweight_long 174 drivers/pwm/pwm-sti.c ncfg = hweight_long(pc->configured); hweight_long 2284 fs/nfsd/nfs4xdr.c unsigned long i = hweight_long(layout_types); hweight_long 1411 fs/reiserfs/bitmap.c info->free_count += BITS_PER_LONG - hweight_long(*cur); hweight_long 385 include/linux/bitmap.h return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); hweight_long 261 lib/bitmap.c w += hweight_long(bitmap[k]); hweight_long 264 lib/bitmap.c w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); hweight_long 686 sound/hda/hdmi_chmap.c max_chs = hweight_long(spk_mask); hweight_long 267 sound/soc/bcm/bcm2835-i2s.c if (hweight_long((unsigned long) rx_mask) != 2 hweight_long 268 sound/soc/bcm/bcm2835-i2s.c || hweight_long((unsigned long) tx_mask) != 2) hweight_long 119 sound/soc/intel/boards/skl_hda_dsp_generic.c codec_count = hweight_long(codec_mask); hweight_long 1178 sound/soc/qcom/qdsp6/q6afe.c num_sd_lines = hweight_long(cfg->sd_line_mask); hweight_long 837 sound/soc/soc-pcm.c int channels = hweight_long(mask); hweight_long 70 tools/include/linux/bitmap.h return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); hweight_long 13 tools/lib/bitmap.c w += hweight_long(bitmap[k]); hweight_long 16 tools/lib/bitmap.c w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); hweight_long 107 tools/perf/tests/sample-parsing.c size_t sz = hweight_long(s1->user_regs.mask) * sizeof(u64); hweight_long 138 tools/perf/tests/sample-parsing.c size_t sz = hweight_long(s1->intr_regs.mask) * sizeof(u64);