/Linux-v4.19/tools/lib/ |
D | bitmap.c | 15 w += hweight_long(bitmap[k]); in __bitmap_weight() 18 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight()
|
/Linux-v4.19/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_pipe.c | 70 if (!(*hwpipe) || (hweight_long(cur->caps & ~caps) < in mdp5_pipe_assign() 71 hweight_long((*hwpipe)->caps & ~caps))) { in mdp5_pipe_assign()
|
/Linux-v4.19/tools/include/linux/ |
D | bitops.h | 53 static inline unsigned long hweight_long(unsigned long w) in hweight_long() function
|
D | bitmap.h | 69 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight()
|
/Linux-v4.19/tools/perf/tests/ |
D | sample-parsing.c | 102 size_t sz = hweight_long(s1->user_regs.mask) * sizeof(u64); in samples_same() 133 size_t sz = hweight_long(s1->intr_regs.mask) * sizeof(u64); in samples_same()
|
/Linux-v4.19/drivers/bus/ |
D | brcmstb_gisb.c | 192 if (hweight_long(mask) != 1) in brcmstb_gisb_master_to_str() 379 if (hweight_long(gdev->valid_mask) == num_masters) { in brcmstb_gisb_arb_probe()
|
/Linux-v4.19/drivers/block/drbd/ |
D | drbd_bitmap.c | 518 cleared = hweight_long(*bm & ~mask); in bm_clear_surplus() 526 cleared += hweight_long(*bm); in bm_clear_surplus() 587 bits += hweight_long(p_addr[last_word]); in bm_count_bits() 850 bits = hweight_long(*bm); in drbd_bm_merge_lel() 853 b->bm_set += hweight_long(word) - bits; in drbd_bm_merge_lel() 1459 bits = hweight_long(paddr[i]); in bm_set_full_words_within_one_page()
|
/Linux-v4.19/drivers/hwspinlock/ |
D | omap_hwspinlock.c | 120 if (hweight_long(i & 0xf) != 1 || i > 8) { in omap_hwspinlock_probe()
|
/Linux-v4.19/arch/x86/events/amd/ |
D | core.c | 558 if (hweight_long(hwc->config & ARCH_PERFMON_EVENTSEL_UMASK) <= 1) in amd_get_event_constraints_f15h() 583 if (hweight_long(hwc->config & ARCH_PERFMON_EVENTSEL_UMASK) <= 1) in amd_get_event_constraints_f15h()
|
/Linux-v4.19/drivers/firmware/ |
D | qcom_scm.c | 463 src_sz = hweight_long(*srcvm) * sizeof(*src); in qcom_scm_assign_mem() 475 len = hweight_long(*srcvm); in qcom_scm_assign_mem()
|
/Linux-v4.19/include/linux/ |
D | bitops.h | 51 static __always_inline unsigned long hweight_long(unsigned long w) in hweight_long() function
|
D | bitmap.h | 368 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight()
|
/Linux-v4.19/arch/sh/kernel/ |
D | io_trapped.c | 65 if (hweight_long(flags) != 1) in register_trapped_io()
|
/Linux-v4.19/lib/ |
D | bitmap.c | 245 w += hweight_long(bitmap[k]); in __bitmap_weight() 248 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight()
|
/Linux-v4.19/sound/soc/bcm/ |
D | bcm2835-i2s.c | 275 if (hweight_long((unsigned long) rx_mask) != 2 in bcm2835_i2s_set_dai_tdm_slot() 276 || hweight_long((unsigned long) tx_mask) != 2) in bcm2835_i2s_set_dai_tdm_slot()
|
/Linux-v4.19/drivers/irqchip/ |
D | irq-mips-gic.c | 687 cpu_vec = find_first_zero_bit(&reserved, hweight_long(ST0_IM)); in gic_of_init() 688 if (cpu_vec == hweight_long(ST0_IM)) { in gic_of_init()
|
/Linux-v4.19/arch/arm/mm/ |
D | pmsa-v7.c | 298 total_mem_size += mem[i].size - subreg * hweight_long(mem[i].subreg); in pmsav7_adjust_lowmem_bounds()
|
/Linux-v4.19/drivers/ps3/ |
D | ps3stor_lib.c | 125 n = hweight_long(dev->accessible_regions); in ps3stor_probe_access()
|
/Linux-v4.19/tools/perf/util/ |
D | evsel.c | 2294 sz = hweight_long(mask) * sizeof(u64); in perf_evsel__parse_sample() 2350 sz = hweight_long(mask) * sizeof(u64); in perf_evsel__parse_sample() 2478 sz = hweight_long(sample->user_regs.mask) * sizeof(u64); in perf_event__sample_event_size() 2506 sz = hweight_long(sample->intr_regs.mask) * sizeof(u64); in perf_event__sample_event_size() 2636 sz = hweight_long(sample->user_regs.mask) * sizeof(u64); in perf_event__synthesize_sample() 2672 sz = hweight_long(sample->intr_regs.mask) * sizeof(u64); in perf_event__synthesize_sample()
|
/Linux-v4.19/drivers/gpio/ |
D | gpio-winbond.c | 670 winbond_gpio_chip.ngpio = hweight_long(params.gpios) * 8; in winbond_gpio_iprobe()
|
/Linux-v4.19/drivers/pwm/ |
D | pwm-sti.c | 178 ncfg = hweight_long(pc->configured); in sti_pwm_config()
|
/Linux-v4.19/drivers/mmc/host/ |
D | meson-gx-mmc.c | 216 unsigned int phase_num = 1 << hweight_long(mmc->phase_mask); in meson_mmc_clk_get_phase() 257 unsigned int phase_num = 1 << hweight_long(mmc->phase_mask); in meson_mmc_clk_set_phase()
|
/Linux-v4.19/drivers/mtd/maps/ |
D | vmu-flash.c | 610 c = hweight_long(test_flash_data); in vmu_connect()
|
/Linux-v4.19/sound/hda/ |
D | hdmi_chmap.c | 685 max_chs = hweight_long(spk_mask); in hdmi_chmap_ctl_tlv()
|
/Linux-v4.19/drivers/infiniband/core/ |
D | cache.c | 861 num_default_gids = hweight_long(roce_gid_type_mask); in gid_table_reserve_default()
|