Searched refs:hweight_long (Results 26 - 50 of 71) sorted by relevance

123

/linux-master/arch/arm/mm/
H A Dpmsa-v7.c299 total_mem_size += mem[i].size - subreg * hweight_long(mem[i].subreg);
/linux-master/arch/x86/kernel/
H A Dshstk.c562 if (hweight_long(features) > 1)
/linux-master/sound/hda/
H A Dintel-nhlt.c232 if (hweight_long(mclk_mask) != 1)
H A Dhdmi_chmap.c686 max_chs = hweight_long(spk_mask);
/linux-master/sound/soc/codecs/
H A Drt1019.c432 rx_slotnum = hweight_long(rx_mask);
H A Drt1015.c945 rx_slotnum = hweight_long(rx_mask);
986 tx_slotnum = hweight_long(tx_mask);
H A Drt1011.c1898 rx_slotnum = hweight_long(rx_mask);
1941 tx_slotnum = hweight_long(tx_mask);
H A Dnau8825.c1438 if (hweight_long((unsigned long) tx_mask) != 1 ||
1439 hweight_long((unsigned long) rx_mask) != 2) {
/linux-master/sound/soc/intel/avs/
H A Ddebugfs.c389 if (num_elems != (hweight_long(resource_mask) + 1)) {
H A Dcore.c407 adev->hw_cfg.dsp_cores = hweight_long(AVS_MAIN_CORE_MASK);
/linux-master/arch/x86/events/amd/
H A Dcore.c1129 if (hweight_long(hwc->config & ARCH_PERFMON_EVENTSEL_UMASK) <= 1)
1154 if (hweight_long(hwc->config & ARCH_PERFMON_EVENTSEL_UMASK) <= 1)
/linux-master/drivers/net/ethernet/aquantia/atlantic/
H A Daq_macsec.c1574 cnt += hweight_long(cfg->aq_rxsc[i].rx_sa_idx_busy);
1589 cnt = hweight_long(nic->macsec_cfg->txsc_idx_busy);
1608 cnt += hweight_long(cfg->aq_txsc[i].tx_sa_idx_busy);
/linux-master/drivers/net/dsa/sja1105/
H A Dsja1105_vl.c330 num_virtual_links += hweight_long(rule->port_mask);
/linux-master/drivers/gpio/
H A Dgpio-winbond.c671 winbond_gpio_chip.ngpio = hweight_long(params.gpios) * 8;
/linux-master/drivers/pwm/
H A Dpwm-sti.c174 ncfg = hweight_long(pc->configured);
/linux-master/fs/ntfs3/
H A Dbitmap.c1566 w += hweight_long(bmp[k]);
1569 w += hweight_long(ul_to_cpu(((bitmap_ulong *)bitmap)[k]) &
/linux-master/sound/soc/sof/intel/
H A Dhda.c1630 if (hweight_long(mach->link_mask) <= 2) {
1738 if (hweight_long(mach->mach_params.i2s_link_mask) > 1 &&
/linux-master/sound/soc/intel/boards/
H A Dsof_sdw.c608 step = hweight_long(ch_mask);
1682 ssp_num = hweight_long(ssp_mask);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dcrypto.c476 * hweight_long(need_sync XOR in_use), and the need_sync bits can be reset
491 reused = hweight_long((*need_sync) ^ (*in_use));
/linux-master/drivers/hwmon/
H A Dasus-ec-sensors.c1003 ec_data->nr_sensors = hweight_long(ec_data->board_info->sensors);
/linux-master/drivers/pinctrl/
H A Dpinctrl-stmfx.c732 "%ld GPIOs available\n", hweight_long(pctl->gpio_valid_mask));
/linux-master/drivers/mtd/maps/
H A Dvmu-flash.c608 c = hweight_long(test_flash_data);
/linux-master/arch/arm64/kvm/vgic/
H A Dvgic-mmio-v3.c1088 for_each_set_bit(aff0, &target_cpus, hweight_long(ICC_SGI1R_TARGET_LIST_MASK)) {
/linux-master/fs/reiserfs/
H A Dbitmap.c1411 info->free_count += BITS_PER_LONG - hweight_long(*cur);
/linux-master/drivers/misc/lis3lv02d/
H A Dlis3lv02d.c252 len = 1 << hweight_long(lis3->odr_mask); /* # of possible values */

Completed in 323 milliseconds

123