Searched refs:hweight_long (Results 1 – 25 of 53) sorted by relevance
123
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))
52 static inline unsigned long hweight_long(unsigned long w) in hweight_long() function
66 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight()
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()1445 bits = hweight_long(paddr[i]); in bm_set_full_words_within_one_page()
124 size_t sz = hweight_long(s1->user_regs.mask) * sizeof(u64); in samples_same()155 size_t sz = hweight_long(s1->intr_regs.mask) * sizeof(u64); in samples_same()
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()
116 if (hweight_long(i & 0xf) != 1 || i > 8) { in omap_hwspinlock_probe()
130 codec_count = hweight_long(codec_mask); in skl_hda_fill_card_info()
77 static __always_inline unsigned long hweight_long(unsigned long w) in hweight_long() function
407 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight()
168 chips = hweight_long(spi_present_mask); in mcp23s08_probe()
821 if (hweight_long(hwc->config & ARCH_PERFMON_EVENTSEL_UMASK) <= 1) in amd_get_event_constraints_f15h()846 if (hweight_long(hwc->config & ARCH_PERFMON_EVENTSEL_UMASK) <= 1) in amd_get_event_constraints_f15h()
704 cpu_vec = find_first_zero_bit(&reserved, hweight_long(ST0_IM)); in gic_of_init()705 if (cpu_vec == hweight_long(ST0_IM)) { in gic_of_init()
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()
62 if (hweight_long(flags) != 1) in register_trapped_io()
933 rx_slotnum = hweight_long(rx_mask); in rt1015_set_tdm_slot()974 tx_slotnum = hweight_long(tx_mask); in rt1015_set_tdm_slot()
433 rx_slotnum = hweight_long(rx_mask); in rt1019_set_tdm_slot()
299 total_mem_size += mem[i].size - subreg * hweight_long(mem[i].subreg); in pmsav7_adjust_lowmem_bounds()
113 n = hweight_long(dev->accessible_regions); in ps3stor_probe_access()
342 w += hweight_long(bitmap[k]); in __bitmap_weight()345 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight()
670 winbond_gpio_chip.ngpio = hweight_long(params.gpios) * 8; in winbond_gpio_iprobe()
174 ncfg = hweight_long(pc->configured); in sti_pwm_config()
1595 cnt += hweight_long(cfg->aq_rxsc[i].rx_sa_idx_busy); in aq_macsec_rx_sa_cnt()1606 return hweight_long(nic->macsec_cfg->txsc_idx_busy); in aq_macsec_tx_sc_cnt()1620 cnt += hweight_long(cfg->aq_txsc[i].tx_sa_idx_busy); in aq_macsec_tx_sa_cnt()
Completed in 48 milliseconds