/linux-6.1.9/tools/lib/ |
D | bitmap.c | 13 w += hweight_long(bitmap[k]); in __bitmap_weight() 16 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight()
|
/linux-6.1.9/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_pipe.c | 59 if (!(*hwpipe) || (hweight_long(cur->caps & ~caps) < in mdp5_pipe_assign() 60 hweight_long((*hwpipe)->caps & ~caps))) { in mdp5_pipe_assign()
|
/linux-6.1.9/sound/soc/intel/catpt/ |
D | registers.h | 133 #define catpt_num_dram(cdev) (hweight_long((cdev)->spec->dram_mask)) 134 #define catpt_num_iram(cdev) (hweight_long((cdev)->spec->iram_mask))
|
/linux-6.1.9/tools/include/linux/ |
D | bitops.h | 68 static inline unsigned long hweight_long(unsigned long w) in hweight_long() function
|
D | bitmap.h | 67 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight()
|
/linux-6.1.9/drivers/hwspinlock/ |
D | omap_hwspinlock.c | 114 if (hweight_long(i & 0xf) != 1 || i > 8) { in omap_hwspinlock_probe()
|
/linux-6.1.9/tools/perf/tests/ |
D | sample-parsing.c | 129 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()
|
/linux-6.1.9/drivers/block/drbd/ |
D | drbd_bitmap.c | 504 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 bits = hweight_long(paddr[i]); in bm_set_full_words_within_one_page()
|
/linux-6.1.9/drivers/bus/ |
D | brcmstb_gisb.c | 232 if (hweight_long(mask) != 1) in brcmstb_gisb_master_to_str() 464 if (hweight_long(gdev->valid_mask) == num_masters) { in brcmstb_gisb_arb_probe()
|
/linux-6.1.9/include/linux/ |
D | bitmap.h | 440 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight() 449 return hweight_long(*src1 & *src2 & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight_and()
|
D | bitops.h | 94 static __always_inline unsigned long hweight_long(unsigned long w) in hweight_long() function
|
/linux-6.1.9/sound/soc/intel/boards/ |
D | skl_hda_dsp_generic.c | 130 codec_count = hweight_long(codec_mask); in skl_hda_fill_card_info()
|
/linux-6.1.9/lib/ |
D | find_bit.c | 80 w = hweight_long(tmp); \
|
D | bitmap.c | 341 w += hweight_long(FETCH); \ 344 w += hweight_long((FETCH) & BITMAP_LAST_WORD_MASK(__bits)); \
|
/linux-6.1.9/drivers/pinctrl/ |
D | pinctrl-mcp23s08_spi.c | 168 chips = hweight_long(spi_present_mask); in mcp23s08_probe()
|
/linux-6.1.9/arch/sh/kernel/ |
D | io_trapped.c | 62 if (hweight_long(flags) != 1) in register_trapped_io()
|
/linux-6.1.9/sound/soc/bcm/ |
D | bcm2835-i2s.c | 267 if (hweight_long((unsigned long) rx_mask) != 2 in bcm2835_i2s_set_dai_tdm_slot() 268 || hweight_long((unsigned long) tx_mask) != 2) in bcm2835_i2s_set_dai_tdm_slot()
|
/linux-6.1.9/drivers/irqchip/ |
D | irq-mips-gic.c | 753 cpu_vec = find_first_zero_bit(&reserved, hweight_long(ST0_IM)); in gic_of_init() 754 if (cpu_vec == hweight_long(ST0_IM)) { in gic_of_init()
|
/linux-6.1.9/sound/soc/codecs/ |
D | rt1015.c | 933 rx_slotnum = hweight_long(rx_mask); in rt1015_set_tdm_slot() 974 tx_slotnum = hweight_long(tx_mask); in rt1015_set_tdm_slot()
|
D | rt1019.c | 433 rx_slotnum = hweight_long(rx_mask); in rt1019_set_tdm_slot()
|
/linux-6.1.9/sound/soc/intel/avs/ |
D | topology.c | 384 if (hweight_long(mach->mach_params.i2s_link_mask) != 1) in parse_link_formatted_string() 831 if (hweight_long(mach->mach_params.i2s_link_mask) == 1 && !cfg->copier.vindex.i2s.instance) in assign_copier_gtw_instance() 1380 if (hweight_long(mach->mach_params.i2s_link_mask) == 1) { in avs_route_load() 1412 if (hweight_long(mach->mach_params.i2s_link_mask) == 1) { in avs_widget_load()
|
/linux-6.1.9/drivers/ps3/ |
D | ps3stor_lib.c | 113 n = hweight_long(dev->accessible_regions); in ps3stor_probe_access()
|
/linux-6.1.9/sound/hda/ |
D | intel-nhlt.c | 232 if (hweight_long(mclk_mask) != 1) in intel_nhlt_ssp_mclk_mask()
|
/linux-6.1.9/arch/arm/mm/ |
D | pmsa-v7.c | 299 total_mem_size += mem[i].size - subreg * hweight_long(mem[i].subreg); in pmsav7_adjust_lowmem_bounds()
|
/linux-6.1.9/arch/x86/events/amd/ |
D | core.c | 1094 if (hweight_long(hwc->config & ARCH_PERFMON_EVENTSEL_UMASK) <= 1) in amd_get_event_constraints_f15h() 1119 if (hweight_long(hwc->config & ARCH_PERFMON_EVENTSEL_UMASK) <= 1) in amd_get_event_constraints_f15h()
|