Home
last modified time | relevance | path

Searched refs:hweight_long (Results 1 – 25 of 53) sorted by relevance

123

/linux/tools/lib/
A Dbitmap.c13 w += hweight_long(bitmap[k]); in __bitmap_weight()
16 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight()
/linux/drivers/gpu/drm/msm/disp/mdp5/
A Dmdp5_pipe.c59 if (!(*hwpipe) || (hweight_long(cur->caps & ~caps) < in mdp5_pipe_assign()
60 hweight_long((*hwpipe)->caps & ~caps))) { in mdp5_pipe_assign()
/linux/sound/soc/intel/catpt/
A Dregisters.h133 #define catpt_num_dram(cdev) (hweight_long((cdev)->spec->dram_mask))
134 #define catpt_num_iram(cdev) (hweight_long((cdev)->spec->iram_mask))
/linux/tools/include/linux/
A Dbitops.h52 static inline unsigned long hweight_long(unsigned long w) in hweight_long() function
A Dbitmap.h66 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight()
/linux/drivers/block/drbd/
A Ddrbd_bitmap.c504 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()
/linux/tools/perf/tests/
A Dsample-parsing.c124 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()
/linux/drivers/bus/
A Dbrcmstb_gisb.c232 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/drivers/hwspinlock/
A Domap_hwspinlock.c116 if (hweight_long(i & 0xf) != 1 || i > 8) { in omap_hwspinlock_probe()
/linux/sound/soc/intel/boards/
A Dskl_hda_dsp_generic.c130 codec_count = hweight_long(codec_mask); in skl_hda_fill_card_info()
/linux/include/linux/
A Dbitops.h77 static __always_inline unsigned long hweight_long(unsigned long w) in hweight_long() function
A Dbitmap.h407 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight()
/linux/drivers/pinctrl/
A Dpinctrl-mcp23s08_spi.c168 chips = hweight_long(spi_present_mask); in mcp23s08_probe()
/linux/arch/x86/events/amd/
A Dcore.c821 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()
/linux/drivers/irqchip/
A Dirq-mips-gic.c704 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()
/linux/sound/soc/bcm/
A Dbcm2835-i2s.c267 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/arch/sh/kernel/
A Dio_trapped.c62 if (hweight_long(flags) != 1) in register_trapped_io()
/linux/sound/soc/codecs/
A Drt1015.c933 rx_slotnum = hweight_long(rx_mask); in rt1015_set_tdm_slot()
974 tx_slotnum = hweight_long(tx_mask); in rt1015_set_tdm_slot()
A Drt1019.c433 rx_slotnum = hweight_long(rx_mask); in rt1019_set_tdm_slot()
/linux/arch/arm/mm/
A Dpmsa-v7.c299 total_mem_size += mem[i].size - subreg * hweight_long(mem[i].subreg); in pmsav7_adjust_lowmem_bounds()
/linux/drivers/ps3/
A Dps3stor_lib.c113 n = hweight_long(dev->accessible_regions); in ps3stor_probe_access()
/linux/lib/
A Dbitmap.c342 w += hweight_long(bitmap[k]); in __bitmap_weight()
345 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight()
/linux/drivers/gpio/
A Dgpio-winbond.c670 winbond_gpio_chip.ngpio = hweight_long(params.gpios) * 8; in winbond_gpio_iprobe()
/linux/drivers/pwm/
A Dpwm-sti.c174 ncfg = hweight_long(pc->configured); in sti_pwm_config()
/linux/drivers/net/ethernet/aquantia/atlantic/
A Daq_macsec.c1595 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 53 milliseconds

123