/openbmc/linux/tools/lib/ |
H A 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()
|
/openbmc/linux/drivers/gpu/drm/msm/disp/mdp5/ |
H A 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()
|
/openbmc/linux/sound/soc/intel/catpt/ |
H A 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))
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_fw_counters.c | 59 if (hweight_long(ae_mask) > fw_counters->ae_count) in adf_fw_counters_load_from_device() 119 ae_count = hweight_long(hw_data->ae_mask & ~hw_data->admin_ae_mask); in adf_fw_counters_get()
|
/openbmc/linux/tools/include/linux/ |
H A D | bitops.h | 68 static inline unsigned long hweight_long(unsigned long w) in hweight_long() function
|
H A D | bitmap.h | 69 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight()
|
/openbmc/linux/drivers/hwspinlock/ |
H A D | omap_hwspinlock.c | 114 if (hweight_long(i & 0xf) != 1 || i > 8) { in omap_hwspinlock_probe()
|
/openbmc/linux/drivers/media/platform/qcom/venus/ |
H A D | hfi_parser.c | 22 if (hweight_long(core->dec_codecs) + hweight_long(core->enc_codecs) > MAX_CODEC_NUM) in init_codecs()
|
/openbmc/linux/tools/perf/tests/ |
H A 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()
|
/openbmc/linux/drivers/block/drbd/ |
H A 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() 1482 bits = hweight_long(paddr[i]); in bm_set_full_words_within_one_page()
|
/openbmc/linux/drivers/bus/ |
H A D | brcmstb_gisb.c | 232 if (hweight_long(mask) != 1) in brcmstb_gisb_master_to_str() 462 if (hweight_long(gdev->valid_mask) == num_masters) { in brcmstb_gisb_arb_probe()
|
/openbmc/linux/sound/soc/intel/boards/ |
H A D | skl_hda_dsp_generic.c | 127 codec_count = hweight_long(codec_mask); in skl_hda_fill_card_info()
|
/openbmc/linux/include/linux/ |
H A D | bitmap.h | 456 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight() 465 return hweight_long(*src1 & *src2 & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight_and()
|
H A D | bitops.h | 95 static __always_inline unsigned long hweight_long(unsigned long w) in hweight_long() function
|
/openbmc/linux/lib/ |
H A D | find_bit.c | 80 w = hweight_long(tmp); \
|
/openbmc/linux/arch/sh/kernel/ |
H A D | io_trapped.c | 62 if (hweight_long(flags) != 1) in register_trapped_io()
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-mcp23s08_spi.c | 178 chips = hweight_long(spi_present_mask); in mcp23s08_probe()
|
/openbmc/linux/sound/soc/bcm/ |
H A 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()
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-mips-gic.c | 751 cpu_vec = find_first_zero_bit(&reserved, hweight_long(ST0_IM)); in gic_of_init() 752 if (cpu_vec == hweight_long(ST0_IM)) { in gic_of_init()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | rt1015.c | 932 rx_slotnum = hweight_long(rx_mask); in rt1015_set_tdm_slot() 973 tx_slotnum = hweight_long(tx_mask); in rt1015_set_tdm_slot()
|
/openbmc/linux/drivers/ps3/ |
H A D | ps3stor_lib.c | 113 n = hweight_long(dev->accessible_regions); in ps3stor_probe_access()
|
/openbmc/linux/arch/arm/mm/ |
H A D | pmsa-v7.c | 299 total_mem_size += mem[i].size - subreg * hweight_long(mem[i].subreg); in pmsav7_adjust_lowmem_bounds()
|
/openbmc/linux/sound/hda/ |
H A D | intel-nhlt.c | 232 if (hweight_long(mclk_mask) != 1) in intel_nhlt_ssp_mclk_mask()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | shstk.c | 562 if (hweight_long(features) > 1) in shstk_prctl()
|
/openbmc/linux/sound/soc/intel/avs/ |
H A D | topology.c | 385 if (hweight_long(mach->mach_params.i2s_link_mask) != 1) in parse_link_formatted_string() 832 if (hweight_long(mach->mach_params.i2s_link_mask) == 1 && !cfg->copier.vindex.i2s.instance) in assign_copier_gtw_instance() 1387 if (hweight_long(mach->mach_params.i2s_link_mask) == 1) { in avs_route_load() 1426 if (hweight_long(mach->mach_params.i2s_link_mask) == 1) { in avs_widget_load()
|