Searched refs:hweight_long (Results 1 – 25 of 73) sorted by relevance
123
16 return hweight_long(mach->mach_params.i2s_link_mask) == 1; in avs_mach_singular_ssp()28 return !tdms || (hweight_long(tdms[port]) == 1); in avs_mach_singular_tdm()
13 w += hweight_long(bitmap[k]); in __bitmap_weight()16 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight()
59 if (!(*hwpipe) || (hweight_long(cur->caps & ~caps) < in mdp5_pipe_assign()60 hweight_long((*hwpipe)->caps & ~caps))) { in mdp5_pipe_assign()
133 #define catpt_num_dram(cdev) (hweight_long((cdev)->spec->dram_mask))134 #define catpt_num_iram(cdev) (hweight_long((cdev)->spec->iram_mask))
60 if (hweight_long(ae_mask) > fw_counters->ae_count) in adf_fw_counters_load_from_device()120 ae_count = hweight_long(hw_data->ae_mask & ~hw_data->admin_ae_mask); in adf_fw_counters_get()
192 ae_count = hweight_long(ae_mask); in cnv_err_stats_alloc()
109 if (hweight_long(i & 0xf) != 1 || i > 8) in omap_hwspinlock_probe()
237 count += hweight_long(*bitmap); in exfat_count_used_clusters()248 count += hweight_long(clu_bits & BITMAP_LAST_WORD_MASK(last_mask)); in exfat_count_used_clusters()
445 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight()454 return hweight_long(*src1 & *src2 & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight_and()463 return hweight_long(*src1 & ~(*src2) & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight_andnot()
95 static __always_inline unsigned long hweight_long(unsigned long w) in hweight_long() function
70 static inline unsigned long hweight_long(unsigned long w) in hweight_long() function
69 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight()
22 if (hweight_long(core->dec_codecs) + hweight_long(core->enc_codecs) > MAX_CODEC_NUM) in init_codecs()
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()
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()
79 if (hweight_long(mach_params->bt_link_mask) == 1) { in skl_hda_get_board_quirk()
246 if (hweight_long(mask) != 1) in brcmstb_gisb_master_to_str()478 if (hweight_long(gdev->valid_mask) == num_masters) { in brcmstb_gisb_arb_probe()
80 w = hweight_long(tmp); \
330 w += hweight_long(FETCH); \333 w += hweight_long((FETCH) & BITMAP_LAST_WORD_MASK(__bits)); \
62 if (hweight_long(flags) != 1) in register_trapped_io()
485 if (!rx_mask || hweight_long(tx_mask) > slots || hweight_long(rx_mask) > slots || in rtq9128_dai_set_tdm_slot()
945 rx_slotnum = hweight_long(rx_mask); in rt1015_set_tdm_slot()986 tx_slotnum = hweight_long(tx_mask); in rt1015_set_tdm_slot()
165 chips = hweight_long(spi_present_mask); in mcp23s08_probe()
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()
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()
Completed in 67 milliseconds