/Linux-v5.10/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-v5.10/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-v5.10/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-v5.10/tools/include/linux/ |
D | bitops.h | 52 static inline unsigned long hweight_long(unsigned long w) in hweight_long() function
|
D | bitmap.h | 72 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight()
|
/Linux-v5.10/tools/perf/tests/ |
D | sample-parsing.c | 108 size_t sz = hweight_long(s1->user_regs.mask) * sizeof(u64); in samples_same() 139 size_t sz = hweight_long(s1->intr_regs.mask) * sizeof(u64); in samples_same()
|
/Linux-v5.10/drivers/hwspinlock/ |
D | omap_hwspinlock.c | 115 if (hweight_long(i & 0xf) != 1 || i > 8) { in omap_hwspinlock_probe()
|
/Linux-v5.10/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() 1445 bits = hweight_long(paddr[i]); in bm_set_full_words_within_one_page()
|
/Linux-v5.10/drivers/bus/ |
D | brcmstb_gisb.c | 231 if (hweight_long(mask) != 1) in brcmstb_gisb_master_to_str() 463 if (hweight_long(gdev->valid_mask) == num_masters) { in brcmstb_gisb_arb_probe()
|
/Linux-v5.10/sound/soc/intel/boards/ |
D | skl_hda_dsp_generic.c | 130 codec_count = hweight_long(codec_mask); in skl_hda_fill_card_info()
|
/Linux-v5.10/include/linux/ |
D | bitops.h | 73 static __always_inline unsigned long hweight_long(unsigned long w) in hweight_long() function
|
D | bitmap.h | 401 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight()
|
/Linux-v5.10/drivers/pinctrl/ |
D | pinctrl-mcp23s08_spi.c | 168 chips = hweight_long(spi_present_mask); in mcp23s08_probe()
|
/Linux-v5.10/arch/sh/kernel/ |
D | io_trapped.c | 62 if (hweight_long(flags) != 1) in register_trapped_io()
|
/Linux-v5.10/drivers/irqchip/ |
D | irq-mips-gic.c | 687 cpu_vec = find_first_zero_bit(&reserved, hweight_long(ST0_IM)); in gic_of_init() 688 if (cpu_vec == hweight_long(ST0_IM)) { in gic_of_init()
|
/Linux-v5.10/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-v5.10/arch/x86/events/amd/ |
D | core.c | 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()
|
/Linux-v5.10/arch/arm/mm/ |
D | pmsa-v7.c | 297 total_mem_size += mem[i].size - subreg * hweight_long(mem[i].subreg); in pmsav7_adjust_lowmem_bounds()
|
/Linux-v5.10/drivers/ps3/ |
D | ps3stor_lib.c | 113 n = hweight_long(dev->accessible_regions); in ps3stor_probe_access()
|
/Linux-v5.10/lib/ |
D | bitmap.c | 340 w += hweight_long(bitmap[k]); in __bitmap_weight() 343 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight()
|
/Linux-v5.10/drivers/gpio/ |
D | gpio-winbond.c | 670 winbond_gpio_chip.ngpio = hweight_long(params.gpios) * 8; in winbond_gpio_iprobe()
|
/Linux-v5.10/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_macsec.c | 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()
|
/Linux-v5.10/drivers/pwm/ |
D | pwm-sti.c | 174 ncfg = hweight_long(pc->configured); in sti_pwm_config()
|
/Linux-v5.10/drivers/net/dsa/sja1105/ |
D | sja1105_vl.c | 317 num_virtual_links += hweight_long(rule->port_mask); in sja1105_init_virtual_links()
|
/Linux-v5.10/sound/soc/codecs/ |
D | rt1011.c | 1851 rx_slotnum = hweight_long(rx_mask); in rt1011_set_tdm_slot() 1894 tx_slotnum = hweight_long(tx_mask); in rt1011_set_tdm_slot()
|