Home
last modified time | relevance | path

Searched refs:sft (Results 1 – 9 of 9) sorted by relevance

/linux/arch/x86/kernel/cpu/
H A Dtopology_amd.c22 unsigned int sft; in parse_8000_0008()
30 sft = ecx.apicid_coreid_len; in parse_8000_0008()
31 if (!sft) in parse_8000_0008()
32 sft = get_count_order(ecx.cpu_nthreads + 1); in parse_8000_0008()
36 * sft is the number of APIC ID bits per package in parse_8000_0008()
44 topology_set_dom(tscan, TOPO_CORE_DOMAIN, sft, ecx.cpu_nthreads + 1); in parse_8000_0008()
21 unsigned int sft; parse_8000_0008() local
H A Dtopology_ext.c123 unsigned int sft = get_count_order(tscan->dom_ncpus[TOPO_SMT_DOMAIN]); in parse_topology_leaf()
127 topology_update_dom(tscan, TOPO_SMT_DOMAIN, sft, tscan->dom_ncpus[TOPO_SMT_DOMAIN]); in parse_topology_leaf()
122 unsigned int sft = get_count_order(tscan->dom_ncpus[TOPO_SMT_DOMAIN]); parse_topology_leaf() local
/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-dai-src.c555 unsigned int sft, mask; in mtk_dai_src_hw_params() local
566 sft = GENERAL1_ASRCIN_MODE_SFT; in mtk_dai_src_hw_params()
569 sft = GENERAL2_ASRCIN_MODE_SFT; in mtk_dai_src_hw_params()
575 sft = GENERAL1_ASRCOUT_MODE_SFT; in mtk_dai_src_hw_params()
578 sft = GENERAL2_ASRCOUT_MODE_SFT; in mtk_dai_src_hw_params()
583 regmap_update_bits(afe->regmap, GENERAL_ASRC_MODE, mask << sft, rate_reg << sft); in mtk_dai_src_hw_params()
/linux/drivers/mtd/nand/raw/
H A Dnand_bbt.c752 int bits, page, offs, numblocks, sft, sftmsk; in write_bbt() local
803 case 1: sft = 3; sftmsk = 0x07; msk[0] = 0x00; msk[1] = 0x01; in write_bbt()
806 case 2: sft = 2; sftmsk = 0x06; msk[0] = 0x00; msk[1] = 0x01; in write_bbt()
809 case 4: sft = 1; sftmsk = 0x04; msk[0] = 0x00; msk[1] = 0x0C; in write_bbt()
812 case 8: sft = 0; sftmsk = 0x00; msk[0] = 0x00; msk[1] = 0x0F; in write_bbt()
844 memset(&buf[offs], 0xff, (size_t)(numblocks >> sft)); in write_bbt()
854 len = (size_t)(numblocks >> sft); in write_bbt()
864 len = (size_t)(numblocks >> sft); in write_bbt()
882 int sftcnt = (i << (3 - sft)) & sftmsk; in write_bbt()
885 buf[offs + (i >> sft)] &= ~(msk[dat] << sftcnt); in write_bbt()
/linux/sound/soc/codecs/
H A Drl6231.c26 int rl6231_get_pre_div(struct regmap *map, unsigned int reg, int sft) in rl6231_get_pre_div() argument
32 val = (val >> sft) & 0x7; in rl6231_get_pre_div()
H A Drl6231.h31 int rl6231_get_pre_div(struct regmap *map, unsigned int reg, int sft);
H A Drt5682s.c1363 unsigned int reg, sft, val; in is_using_asrc() local
1369 sft = RT5682S_FILTER_CLK_SEL_SFT; in is_using_asrc()
1373 sft = RT5682S_FILTER_CLK_SEL_SFT; in is_using_asrc()
1379 val = (snd_soc_component_read(component, reg) >> sft) & 0xf; in is_using_asrc()
/linux/drivers/scsi/libsas/
H A Dsas_init.c580 static struct sas_function_template sft = { variable
624 struct scsi_transport_template *stt = sas_attach_transport(&sft); in sas_domain_attach_transport()
/linux/kernel/time/
H A Dhrtimer.c341 int sft = 0; in __ktime_divns() local
350 sft++; in __ktime_divns()
353 tmp >>= sft; in __ktime_divns()