Searched refs:hweight8 (Results 1 - 40 of 40) sorted by relevance

/linux-4.1.27/lib/
H A Dmemweight.c18 ret += hweight8(*bitmap); memweight()
34 ret += hweight8(*bitmap); memweight()
/linux-4.1.27/include/asm-generic/bitops/
H A Dconst_hweight.h25 #define hweight8(w) (__builtin_constant_p(w) ? __const_hweight8(w) : __arch_hweight8(w)) macro
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/
H A Dstf.c167 if (hweight8(core_mask) > wlc->stf->txstreams) brcms_c_stf_txcore_set()
170 if ((hweight8(core_mask) == wlc->stf->txstreams) && brcms_c_stf_txcore_set()
281 txstreams = (u8) hweight8(txchain); brcms_c_stf_txchain_set()
390 wlc->stf->txstreams = (u8) hweight8(wlc->stf->hw_txchain); brcms_c_stf_phy_chain_calc()
400 wlc->stf->rxstreams = (u8) hweight8(wlc->stf->hw_rxchain); brcms_c_stf_phy_chain_calc()
/linux-4.1.27/arch/mips/kernel/
H A Dproc.c133 hweight8(cpu_data[n].kscratch_mask)); show_cpuinfo()
/linux-4.1.27/arch/arm/mm/
H A Dabort-lv4t.S191 and r6, r8, #0x55 @ hweight8(r8) + R bit
208 and r6, r8, #0x55 @ hweight8(r8)
/linux-4.1.27/drivers/input/serio/
H A Dpcips2.c80 if (hweight8(scancode) & 1) pcips2_interrupt()
H A Dsa1111ps2.c77 if (hweight8(scancode) & 1) ps2_rxint()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
H A Dgt215.c127 if (part >= hweight8((priv->r001540 >> 16) & 0xff)) gt215_devinit_mmio()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
H A Dnv40.c78 vs = hweight8((nv_rd32(priv, 0x001540) & 0x0000ff00) >> 8); nv40_instmem_ctor()
/linux-4.1.27/drivers/gpu/host1x/hw/
H A Ddebug_hw.c53 return hweight8(mask); show_channel_command()
/linux-4.1.27/drivers/hwmon/
H A Dmax6697.c550 factor += hweight8(reg); max6697_init_chip()
599 factor += hweight8(pdata->resistance_cancellation >> 1); max6697_init_chip()
/linux-4.1.27/drivers/mtd/tests/
H A Doobtest.c140 bitflips += hweight8(res); memcmpshow()
165 bitflips += hweight8(res); memffshow()
/linux-4.1.27/drivers/net/hamradio/
H A Dbaycom_ser_fdx.c210 static inline unsigned int hweight8(unsigned int w)
221 static inline unsigned int hweight8(unsigned int w)
/linux-4.1.27/drivers/net/wireless/iwlwifi/
H A Diwl-eeprom-parse.c742 tx_chains = hweight8(tx_chains); iwl_init_ht_hw_capab()
746 rx_chains = hweight8(rx_chains); iwl_init_ht_hw_capab()
/linux-4.1.27/drivers/input/joystick/
H A Danalog.c439 hweight8(analog->mask & ANALOG_AXES_STD), analog_name()
440 hweight8(analog->mask & ANALOG_BTNS_STD) + !!(analog->mask & ANALOG_BTNS_CHF) * 2 + analog_name()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
H A Dphy-ctxt.c294 return hweight8(phy_ctxt_counter); iwl_mvm_phy_ctx_count()
H A Dscan.c1200 WARN_ON(hweight8(type) != 1); iwl_generate_scan_uid()
H A Dd3.c1792 n_channels += hweight8(fw_match->matching_channels[j]); iwl_mvm_query_netdetect_reasons()
/linux-4.1.27/drivers/input/keyboard/
H A Dcros_ec_keyb.c90 if (hweight8(buf1 & buf2) > 1) { cros_ec_keyb_has_ghosting()
H A Dnomadik-ske-keypad.c149 num_of_rows = hweight8(status); ske_keypad_report()
/linux-4.1.27/drivers/staging/rtl8723au/core/
H A Drtw_efuse.c120 return hweight8((~word_en) & 0xf); Efuse_CalculateWordCnts23a()
/linux-4.1.27/drivers/clocksource/
H A Dsh_tmu.c549 tmu->num_channels = hweight8(cfg->channels_mask); sh_tmu_setup()
H A Dsh_cmt.c1003 cmt->num_channels = hweight8(cmt->hw_channels); sh_cmt_setup()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dramnv50.c370 ram->parts = hweight8(ram->part_mask); nv50_ram_create_()
/linux-4.1.27/arch/mips/mm/
H A Dcerr-sb1.c569 bits = hweight8(ecc); extract_dc()
/linux-4.1.27/drivers/net/can/mscan/
H A Dmscan.c212 switch (hweight8(i)) { mscan_start_xmit()
/linux-4.1.27/drivers/tty/serial/
H A Dmax3100.c158 parity = parity ^ (hweight8(c) & 1); max3100_do_parity()
/linux-4.1.27/net/netfilter/
H A Dxt_recent.c352 if (hweight8(info->check_set & recent_mt_check()
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
H A Dmain.c1926 rx_streams = hweight8(ar->eeprom.rx_mask); carl9170_parse_eeprom()
1927 tx_streams = hweight8(ar->eeprom.tx_mask); carl9170_parse_eeprom()
/linux-4.1.27/drivers/edac/
H A Damd64_edac.c1423 return (sys_addr >> (12 + hweight8(intlv_en))) & 1; f1x_determine_channel()
1635 chan_addr = ((chan_addr >> (12 + hweight8(intlv_en))) << 12) | f1x_match_to_this_node()
1714 num_dcts_intlv = (int) hweight8(intlv_en); f15_m30h_match_to_this_node()
/linux-4.1.27/drivers/mtd/nand/
H A Domap2.c1300 flip_bits += hweight8(~data[i]); erased_sector_bitflips()
1306 flip_bits += hweight8(~oob[i]); erased_sector_bitflips()
H A Dfsmc_nand.c540 written_bits += hweight8(~buff[k]); count_written_bits()
H A Dnand_base.c359 res = hweight8(bad) < chip->badblockbits; nand_block_bad()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/phy/
H A Dphy_cmn.c2813 pi->pubpi.phy_corenum = (u8)hweight8(pi->sh->phyrxchain); wlc_phy_stf_chain_init()
2825 pi->pubpi.phy_corenum = (u8)hweight8(pi->sh->phyrxchain); wlc_phy_stf_chain_set()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Di915_dma.c700 n_disabled = hweight8(eu_disable[s] >> intel_device_info_runtime_init()
H A Dintel_ringbuffer.c981 if (hweight8(dev_priv->info.subslice_7eu[i]) != 1) skl_tune_iz_hashing()
/linux-4.1.27/drivers/scsi/aic94xx/
H A Daic94xx_seq.c465 u8 val = hweight8(con); asd_init_cseq_mip()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dgf100.c1632 priv->ppc_tpc_nr[i][j] = hweight8(mask); gf100_gr_ctor()
/linux-4.1.27/net/mac80211/
H A Drx.c97 len += 4 * hweight8(status->chains); ieee80211_rx_radiotap_hdrlen()
128 len += 2 * hweight8(status->chains); ieee80211_rx_radiotap_hdrlen()
/linux-4.1.27/drivers/net/ethernet/broadcom/
H A Dtg3.c12944 u8 hw8 = hweight8(data[i]); tg3_test_nvram()

Completed in 3197 milliseconds