| /linux/sound/soc/intel/avs/ |
| H A D | utils.h | 26 return hweight_long(mach->mach_params.i2s_link_mask) == 1; in avs_mach_singular_ssp() 39 return !tdms || (hweight_long(tdms[port]) == 1); in avs_mach_singular_tdm()
|
| /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()
|
| /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()
|
| /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))
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_fw_counters.c | 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()
|
| H A D | adf_cnv_dbgfs.c | 192 ae_count = hweight_long(ae_mask); in cnv_err_stats_alloc()
|
| /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()
|
| /linux/tools/include/linux/ |
| H A D | bitops.h | 70 static inline unsigned long hweight_long(unsigned long w) in hweight_long() function
|
| H A D | bitmap.h | 75 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight()
|
| /linux/drivers/bus/ |
| H A D | brcmstb_gisb.c | 246 if (hweight_long(mask) != 1) in brcmstb_gisb_master_to_str() 475 if (hweight_long(gdev->valid_mask) == num_masters) { in brcmstb_gisb_arb_probe()
|
| /linux/tools/perf/tests/ |
| H A D | sample-parsing.c | 131 size_t sz = hweight_long(s1_regs->mask) * sizeof(u64); in samples_same() 170 size_t sz = hweight_long(s1_regs->mask) * sizeof(u64); in samples_same()
|
| /linux/fs/exfat/ |
| H A D | balloc.c | 309 count += hweight_long(*bitmap); in exfat_count_used_clusters() 320 count += hweight_long(clu_bits & BITMAP_LAST_WORD_MASK(last_mask)); in exfat_count_used_clusters()
|
| /linux/sound/soc/intel/boards/ |
| H A D | skl_hda_dsp_generic.c | 79 if (hweight_long(mach_params->bt_link_mask) == 1) { in skl_hda_get_board_quirk()
|
| /linux/sound/soc/codecs/ |
| H A D | rtq9124.c | 191 if (tx_mask && (hweight_long(tx_mask) > 2 || fls(tx_mask) > slots)) { in rtq9124_dai_set_tdm_slot() 196 if (!rx_mask || hweight_long(rx_mask) > 1 || fls(rx_mask) > slots) { in rtq9124_dai_set_tdm_slot()
|
| H A D | rt9123.c | 219 if (!rx_mask || hweight_long(rx_mask) > 1 || ffs(rx_mask) > slots) { in rt9123_dai_set_tdm_slot()
|
| /linux/security/landlock/ |
| H A D | domain.c | 149 access_weight = hweight_long(all_existing_optional_access & in get_layer_deny_mask()
|
| /linux/arch/sh/kernel/ |
| H A D | io_trapped.c | 62 if (hweight_long(flags) != 1) in register_trapped_io()
|
| /linux/drivers/pinctrl/ |
| H A D | pinctrl-mcp23s08_spi.c | 165 chips = hweight_long(spi_present_mask); in mcp23s08_probe()
|
| /linux/include/linux/ |
| H A D | bitops.h | 94 static __always_inline unsigned long hweight_long(unsigned long w) in hweight_long() function
|
| /linux/drivers/irqchip/ |
| H A D | irq-mips-gic.c | 917 cpu_vec = find_first_zero_bit(&reserved, hweight_long(ST0_IM)); in gic_of_init() 918 if (cpu_vec == hweight_long(ST0_IM)) { in gic_of_init()
|
| /linux/drivers/iio/common/cros_ec_sensors/ |
| H A D | cros_ec_activity.c | 246 nb_activities = hweight_long(activities) + 1; in cros_ec_sensors_probe()
|
| /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()
|
| /linux/drivers/ps3/ |
| H A D | ps3stor_lib.c | 114 n = hweight_long(dev->accessible_regions); in ps3stor_probe_access()
|
| /linux/net/rxrpc/ |
| H A D | input.c | 897 a = hweight_long(n_to_a); in rxrpc_input_soft_ack_tq() 898 n = hweight_long(a_to_n); in rxrpc_input_soft_ack_tq() 913 a = hweight_long(new_acks); in rxrpc_input_soft_ack_tq()
|
| /linux/sound/hda/core/ |
| H A D | intel-nhlt.c | 232 if (hweight_long(mclk_mask) != 1) in intel_nhlt_ssp_mclk_mask()
|