/linux-4.4.14/arch/mips/netlogic/xlr/ |
D | fmn-config.c | 86 ncores = hweight32(nlm_current_node()->coremask); in check_credit_distribution() 125 num_core = hweight32(nlm_current_node()->coremask); in setup_fmn_cc() 190 num_core = hweight32(nlm_current_node()->coremask); in xlr_board_info_setup()
|
/linux-4.4.14/arch/arm/probes/kprobes/ |
D | checkers-thumb.c | 100 asi->stack_space = hweight32(reglist) * 4; in t16_check_stack()
|
D | checkers-common.c | 85 asi->stack_space = (hweight32(reglist) - (!pbit ? 1 : 0)) * 4; in checker_stack_use_stmdx()
|
/linux-4.4.14/include/asm-generic/bitops/ |
D | const_hweight.h | 27 #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w)) macro
|
/linux-4.4.14/tools/include/linux/ |
D | bitops.h | 48 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
|
/linux-4.4.14/net/netfilter/ |
D | xt_repldata.h | 18 unsigned int nhooks = hweight32(hook_mask); \
|
D | xt_rateest.c | 83 if (hweight32(info->flags & (XT_RATEEST_MATCH_ABS | in xt_rateest_mt_checkentry()
|
D | x_tables.c | 1421 uint8_t i, num_hooks = hweight32(hook_mask); in xt_hook_link() 1458 nf_unregister_hooks(ops, hweight32(table->valid_hooks)); in xt_hook_unlink()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | i915_dma.c | 566 info->eu_total += 8 - hweight32(eu_dis); in cherryview_sseu_info_init() 573 info->eu_total += 8 - hweight32(eu_dis); in cherryview_sseu_info_init() 610 info->slice_total = hweight32(s_enable); in gen9_sseu_info_init() 615 info->subslice_per_slice = ss_max - hweight32(ss_disable); in gen9_sseu_info_init() 696 info->slice_total = hweight32(s_enable); in broadwell_sseu_info_init() 702 info->subslice_per_slice = ss_max - hweight32(ss_disable); in broadwell_sseu_info_init()
|
D | intel_atomic.c | 145 num_scalers_need = hweight32(scaler_state->scaler_users); in intel_atomic_setup_scalers()
|
D | i915_gem_context.c | 520 hweight32(INTEL_INFO(ring->dev)->ring_mask) - 1 : in mi_set_context()
|
D | intel_ringbuffer.c | 1235 num_rings = hweight32(INTEL_INFO(dev)->ring_mask); in gen8_rcs_signal() 1276 num_rings = hweight32(INTEL_INFO(dev)->ring_mask); in gen8_xcs_signal() 1315 num_rings = hweight32(INTEL_INFO(dev)->ring_mask); in gen6_signal()
|
D | i915_debugfs.c | 3006 int num_rings = hweight32(INTEL_INFO(dev)->ring_mask); in i915_semaphore_status() 5042 eu_cnt = 2 * hweight32(eu_reg[2*s + ss/2] & in gen9_sseu_device_status() 5062 stat->slice_total = hweight32(slice_info & GEN8_LSLICESTAT_MASK); in broadwell_sseu_device_status()
|
D | intel_display.c | 12840 I915_STATE_WARN(pll->active > hweight32(pll->config.crtc_mask), in check_shared_dpll_state() 12842 pll->active, hweight32(pll->config.crtc_mask)); in check_shared_dpll_state() 12860 I915_STATE_WARN(hweight32(pll->config.crtc_mask) != enabled_crtcs, in check_shared_dpll_state() 12862 hweight32(pll->config.crtc_mask), enabled_crtcs); in check_shared_dpll_state()
|
/linux-4.4.14/drivers/iio/gyro/ |
D | adxrs450.c | 112 if (!(hweight32(tx) & 1)) in adxrs450_spi_read_reg_16() 148 if (!(hweight32(tx) & 1)) in adxrs450_spi_write_reg_16()
|
/linux-4.4.14/arch/mips/netlogic/xlp/ |
D | wakeup.c | 168 syscoremask = (1 << hweight32(~fusemask & mask)) - 1; in xlp_enable_secondary_cores()
|
/linux-4.4.14/fs/ocfs2/ |
D | blockcheck.c | 177 if (hweight32(fix) == 1) in ocfs2_hamming_fix() 200 while (hweight32(b) == 1) in ocfs2_hamming_fix()
|
D | super.c | 1503 if (hweight32(tmp) != 1) { in ocfs2_parse_options()
|
/linux-4.4.14/arch/xtensa/kernel/ |
D | irq.c | 147 return hweight32(mask); in xtensa_get_ext_irq_no()
|
/linux-4.4.14/drivers/media/pci/solo6x10/ |
D | solo6x10-core.c | 240 hweight32(solo_dev->tw2815), in tw28xx_show() 241 hweight32(solo_dev->tw2864), in tw28xx_show() 242 hweight32(solo_dev->tw2865)); in tw28xx_show()
|
/linux-4.4.14/include/linux/ |
D | bitops.h | 80 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
|
/linux-4.4.14/arch/mips/netlogic/common/ |
D | smp.c | 203 ncore += hweight32(nlm_get_node(i)->coremask); in nlm_smp_setup()
|
/linux-4.4.14/drivers/gpu/drm/msm/hdmi/ |
D | hdmi_hdcp.c | 276 if ((hweight32(hdcp_ctrl->aksv_lsb) + hweight32(hdcp_ctrl->aksv_msb)) in hdmi_hdcp_read_validate_aksv() 718 if ((hweight32(hdcp_ctrl->bksv_lsb) + hweight32(hdcp_ctrl->bksv_msb)) in hdmi_hdcp_recv_bksv()
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
D | mcdi_mon.c | 332 n_sensors += hweight32(mask & ~(1 << MC_CMD_SENSOR_PAGE0_NEXT)); in efx_mcdi_mon_probe() 403 MC_CMD_SENSOR_INFO_OUT_LEN(hweight32(mask))) { in efx_mcdi_mon_probe()
|
D | siena.c | 880 parts = kcalloc(hweight32(nvram_types), sizeof(*parts), GFP_KERNEL); in siena_mtd_probe()
|
/linux-4.4.14/drivers/input/touchscreen/ |
D | bu21013_ts.c | 205 has_x_sensors = hweight32(buf[0] & BU21013_SENSORS_EN_0_7); in bu21013_do_touch_report() 206 has_y_sensors = hweight32(((buf[1] & BU21013_SENSORS_EN_8_15) | in bu21013_do_touch_report()
|
/linux-4.4.14/drivers/misc/sgi-gru/ |
D | grukdump.c | 158 dsrcnt = data_opt ? hweight32(cch->dsr_allocation_map) * in gru_dump_context()
|
/linux-4.4.14/drivers/mtd/nand/ |
D | bf5xx_nand.c | 253 if (hweight32(syndrome[0]) == 1) { in bf5xx_nand_correct_data_256() 276 if (hweight32(syndrome[0]) == 11 && syndrome[4] == 0x7FF) { in bf5xx_nand_correct_data_256()
|
D | vf610_nfc.c | 549 written_bits += hweight32(~buff32[k]); in count_written_bits()
|
/linux-4.4.14/fs/notify/ |
D | fsnotify.c | 300 BUG_ON(hweight32(ALL_FSNOTIFY_EVENTS) != 23); in fsnotify_init()
|
/linux-4.4.14/drivers/media/platform/exynos4-is/ |
D | fimc-is-regs.c | 110 if (hweight32(mask) == 1) { in fimc_is_hw_set_isp_buf_mask()
|
D | fimc-is-param.c | 171 count = hweight32(config->p_region_index[0]); in __get_pending_param_count() 172 count += hweight32(config->p_region_index[1]); in __get_pending_param_count()
|
/linux-4.4.14/drivers/media/platform/omap3isp/ |
D | ispcsiphy.c | 217 / (2 * hweight32(used_lanes)) * pipe->external_width; in omap3isp_csiphy_config()
|
/linux-4.4.14/drivers/mfd/ |
D | rtl8411.c | 247 if (hweight32(card_exist) > 1) { in rtl8411_cd_deglitch()
|
/linux-4.4.14/sound/soc/davinci/ |
D | davinci-mcasp.c | 623 slots = hweight32(mcasp->tdm_mask[stream]); in davinci_mcasp_ch_constraint() 873 active_slots = hweight32(mcasp->tdm_mask[stream]); in mcasp_i2s_hw_param() 1224 tdm_slots = hweight32(mcasp->tdm_mask[substream->stream]); in davinci_mcasp_startup()
|
/linux-4.4.14/net/sched/ |
D | sch_dsmark.c | 361 if (hweight32(indices) != 1) in dsmark_init()
|
D | cls_flow.c | 409 nkeys = hweight32(keymask); in flow_change()
|
/linux-4.4.14/tools/hv/ |
D | hv_kvp_daemon.c | 866 static unsigned int hweight32(unsigned int *w) in hweight32() function 1015 weight += hweight32(&w[i]); in kvp_get_ip_info()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_acpi.c | 330 count = hweight32(req->pending); in amdgpu_atif_get_sbios_requests()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | radeon_acpi.c | 330 count = hweight32(req->pending); in radeon_atif_get_sbios_requests()
|
D | ni.c | 1127 rdev->config.cayman.active_simds = hweight32(~tmp); in cayman_gpu_init()
|
D | r600_cp.c | 726 return hweight32(val); in r600_count_pipe_bits()
|
D | evergreen.c | 3582 rdev->config.evergreen.active_simds = hweight32(~tmp); in evergreen_gpu_init() 4483 tmp = hweight32(~tmp); in evergreen_rlc_resume()
|
D | r600.c | 1974 return hweight32(val); in r600_count_pipe_bits()
|
D | si.c | 3301 hweight32(si_get_cu_active_bitmap(rdev, i, j)); in si_gpu_init()
|
D | si_dpm.c | 3916 num_bits = hweight32(data); in si_validate_phase_shedding_tables()
|
D | cik.c | 3758 hweight32(cik_get_cu_active_bitmap(rdev, i, j)); in cik_gpu_init()
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
D | perf_event_intel_rapl.c | 783 hweight32(rapl_cntr_mask), in rapl_pmu_init()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | gf100.c | 577 fifo->spoon_nr = hweight32(nvkm_rd32(device, 0x002204)); in gf100_fifo_init()
|
D | gk104.c | 688 fifo->spoon_nr = hweight32(nvkm_rd32(device, 0x000204)); in gk104_fifo_init()
|
/linux-4.4.14/net/ipv4/netfilter/ |
D | ipt_CLUSTERIP.c | 592 weight = hweight32(local_nodes); in clusterip_seq_start()
|
/linux-4.4.14/fs/notify/inotify/ |
D | inotify_user.c | 817 BUG_ON(hweight32(ALL_INOTIFY_BITS) != 21); in inotify_user_setup()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | gf119.c | 259 link_nr = hweight32(dpctrl & 0x000f0000); in gf119_disp_intr_unk2_2_tu()
|
D | nv50.c | 509 link_nr = hweight32(dpctrl & 0x000f0000); in nv50_disp_intr_unk20_2_dp()
|
/linux-4.4.14/drivers/crypto/qat/qat_common/ |
D | qat_hal.c | 817 uwrd_hi |= (hweight32(data[i] & 0xffff) & 0x1) << 8; in qat_hal_wr_umem() 819 uwrd_hi |= (hweight32(tmp) & 0x1) << 9; in qat_hal_wr_umem()
|
/linux-4.4.14/fs/nfsd/ |
D | nfs4proc.c | 1815 ret += 16 * (hweight32(bmap0) + hweight32(bmap1) + hweight32(bmap2)); in nfsd4_getattr_rsize()
|
/linux-4.4.14/sound/soc/ux500/ |
D | ux500_msp_dai.c | 522 slots_active = hweight32(mask); in ux500_msp_dai_hw_params()
|
/linux-4.4.14/drivers/extcon/ |
D | extcon.c | 109 weight = hweight32(correspondants); in check_mutually_exclusive()
|
/linux-4.4.14/sound/soc/codecs/ |
D | ab8500-codec.c | 2291 slots_active = hweight32(tx_mask); in ab8500_codec_set_dai_tdm_slot() 2332 slots_active = hweight32(rx_mask); in ab8500_codec_set_dai_tdm_slot()
|
/linux-4.4.14/drivers/usb/host/ |
D | xhci.c | 1974 return hweight32(valid_add_flags) - in xhci_count_num_new_endpoints() 1975 hweight32(valid_add_flags & valid_drop_flags); in xhci_count_num_new_endpoints() 1987 return hweight32(valid_drop_flags) - in xhci_count_num_dropped_endpoints() 1988 hweight32(valid_add_flags & valid_drop_flags); in xhci_count_num_dropped_endpoints()
|
/linux-4.4.14/drivers/net/can/c_can/ |
D | c_can.c | 726 weight = hweight32(pend); in c_can_adjust_pending()
|
/linux-4.4.14/drivers/staging/netlogic/ |
D | xlr_net.c | 504 for (i = 0; i < hweight32(priv->nd->cpu_mask); i++) in xlr_config_pde()
|
/linux-4.4.14/arch/mips/net/ |
D | bpf_jit.c | 591 sp_off += hweight32(ctx->flags >> SEEN_SREG_SFT) * SZREG; in get_stack_depth()
|
/linux-4.4.14/drivers/md/ |
D | dm-raid.c | 1469 raid_param_cnt += (hweight32(rs->ctr_flags & ~CTR_FLAG_REBUILD) * 2); in raid_status()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
D | scan.c | 1124 return hweight32(mvm->scan_status & IWL_MVM_SCAN_MASK); in iwl_mvm_num_scans()
|
/linux-4.4.14/drivers/scsi/isci/ |
D | remote_device.c | 1283 idev->device_port_width = hweight32(properties.phy_mask); in sci_remote_device_da_construct()
|
/linux-4.4.14/drivers/media/tuners/ |
D | xc4000.c | 664 nr_diffs = hweight64(id_diff_mask) + hweight32(type_diff_mask); in seek_firmware()
|
/linux-4.4.14/net/wireless/ |
D | util.c | 1642 if (WARN_ON(hweight32(radar_detect) > 1)) in cfg80211_can_use_iftype_chan()
|
/linux-4.4.14/sound/oss/ |
D | waveartist.c | 1102 if (hweight32(recmask) > 1) in waveartist_set_recmask()
|
D | swarm_cs4297a.c | 1327 i = hweight32(val); // i = # bits on in val. in mixer_ioctl()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | mad.c | 2327 u8 num_vls = hweight32(vl_select_mask); in pma_get_opa_portstatus() 2586 num_vls = hweight32(be32_to_cpu(req->vl_select_mask)); in pma_get_opa_datacounters() 2745 num_vls = hweight32(be32_to_cpu(req->vl_select_mask)); in pma_get_opa_porterrors()
|
/linux-4.4.14/net/netlink/ |
D | af_netlink.c | 1584 hweight32(groups) - in netlink_bind() 1585 hweight32(nlk->groups[0])); in netlink_bind()
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
D | exynos_drm_fimc.c | 1132 buf_num = hweight32(cfg); in fimc_dst_set_buf_seq()
|
/linux-4.4.14/fs/ |
D | fs-writeback.c | 650 if (hweight32(history) > WB_FRN_HIST_THR_SLOTS) in wbc_detach_inode()
|
/linux-4.4.14/drivers/firewire/ |
D | ohci.c | 3672 ohci->n_ir = hweight32(ohci->ir_context_mask); in pci_probe() 3685 ohci->n_it = hweight32(ohci->it_context_mask); in pci_probe()
|
/linux-4.4.14/drivers/memory/ |
D | omap-gpmc.c | 1105 if (hweight32(irq_config) > 1) in gpmc_get_client_irq()
|
/linux-4.4.14/arch/x86/kvm/ |
D | lapic.c | 328 count += hweight32(*reg); in count_vectors()
|
/linux-4.4.14/drivers/ntb/hw/intel/ |
D | ntb_hw_intel.c | 1929 ndev->bar4_split = hweight32(mem) == in xeon_init_dev()
|
/linux-4.4.14/drivers/net/wireless/ |
D | mwl8k.c | 2400 rx_streams = hweight32(cap & MWL8K_CAP_RX_ANTENNA_MASK); in mwl8k_set_ht_caps() 2401 tx_streams = hweight32(cap & MWL8K_CAP_TX_ANTENNA_MASK); in mwl8k_set_ht_caps()
|
/linux-4.4.14/drivers/scsi/csiostor/ |
D | csio_hw.c | 1325 hw->num_pports = hweight32(hw->port_vec); in csio_get_device_params()
|
/linux-4.4.14/sound/pci/hda/ |
D | hda_generic.c | 2789 snd_hda_enum_helper_info(kcontrol, uinfo, hweight32(vref_caps), in in_jack_mode_info() 2841 nitems = hweight32(get_vref_caps(codec, pin)); in get_in_jack_num_items()
|
/linux-4.4.14/net/mac80211/ |
D | util.c | 3208 if (WARN_ON(hweight32(radar_detect) > 1)) in ieee80211_check_combinations()
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
D | mac.c | 5986 num_rates += hweight32(mask->control[band].legacy); in ath10k_mac_bitrate_mask_has_single_rate() 6059 if (hweight32(mask->control[band].legacy) == 1) { in ath10k_mac_bitrate_mask_get_single_rate()
|
/linux-4.4.14/block/ |
D | cfq-iosched.c | 55 #define CFQQ_SEEKY(cfqq) (hweight32(cfqq->seek_history) > 32/8)
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 3796 adap->params.nports = hweight32(port_vec); in adap_init0()
|
/linux-4.4.14/drivers/net/wireless/b43/ |
D | phy_n.c | 5762 cur_hpf += desired - hweight32(power[index]); in b43_nphy_rev2_cal_rx_iq()
|