Searched refs:sft (Results 1 – 11 of 11) sorted by relevance
| /linux/arch/x86/kernel/cpu/ |
| H A D | topology_amd.c | 21 unsigned int sft; in parse_8000_0008() local 29 sft = ecx.apicid_coreid_len; in parse_8000_0008() 30 if (!sft) in parse_8000_0008() 31 sft = get_count_order(ecx.cpu_nthreads + 1); in parse_8000_0008() 43 topology_set_dom(tscan, TOPO_CORE_DOMAIN, sft, ecx.cpu_nthreads + 1); in parse_8000_0008()
|
| H A D | topology_ext.c | 122 unsigned int sft = get_count_order(tscan->dom_ncpus[TOPO_SMT_DOMAIN]); in parse_topology_leaf() local 126 topology_update_dom(tscan, TOPO_SMT_DOMAIN, sft, tscan->dom_ncpus[TOPO_SMT_DOMAIN]); in parse_topology_leaf()
|
| /linux/sound/soc/mediatek/mt8186/ |
| H A D | mt8186-dai-src.c | 555 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 D | nand_bbt.c | 752 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 D | rl6231.c | 26 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 D | rl6231.h | 31 int rl6231_get_pre_div(struct regmap *map, unsigned int reg, int sft);
|
| H A D | rt5682s.c | 1363 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/kernel/time/ |
| H A D | clocksource.c | 62 u32 sft, sftacc= 32; in clocks_calc_mult_shift() local 78 for (sft = 32; sft > 0; sft--) { in clocks_calc_mult_shift() 79 tmp = (u64) to << sft; in clocks_calc_mult_shift() 86 *shift = sft; in clocks_calc_mult_shift()
|
| H A D | hrtimer.c | 326 int sft = 0; in __ktime_divns() local 335 sft++; in __ktime_divns() 338 tmp >>= sft; in __ktime_divns()
|
| /linux/drivers/scsi/libsas/ |
| H A D | sas_init.c | 580 static struct sas_function_template sft = { variable 624 struct scsi_transport_template *stt = sas_attach_transport(&sft); in sas_domain_attach_transport()
|
| /linux/drivers/i3c/ |
| H A D | master.c | 1414 int sft = (sizeof(getpid->pid) - i - 1) * 8; in i3c_master_getpid_locked() local 1416 info->pid |= (u64)getpid->pid[i] << sft; in i3c_master_getpid_locked()
|