Searched refs:sft (Results 1 – 11 of 11) sorted by relevance
/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-cec.c | 71 if (dev->xfers[i].sft && in xfer_ready() 72 dev->xfers[i].sft <= dev->cec_sft) { in xfer_ready() 95 if (dev->xfers[i].sft <= CEC_SIGNAL_FREE_TIME_RETRY) in adjust_sfts() 99 dev->xfers[i].sft = CEC_SIGNAL_FREE_TIME_NEXT_XFER; in adjust_sfts() 101 dev->xfers[i].sft = CEC_SIGNAL_FREE_TIME_NEW_INITIATOR; in adjust_sfts() 146 if (!dev->xfers[i].sft || dev->xfers[i].sft > last_sft) in vivid_cec_bus_thread() 164 dev->xfers[i].sft = 0; in vivid_cec_bus_thread() 301 dev_rx->xfers[idx].sft = CEC_SIGNAL_FREE_TIME_RETRY; in vivid_cec_adap_transmit() 304 dev_rx->xfers[idx].sft = CEC_SIGNAL_FREE_TIME_NEXT_XFER; in vivid_cec_adap_transmit() 306 dev_rx->xfers[idx].sft = CEC_SIGNAL_FREE_TIME_NEW_INITIATOR; in vivid_cec_adap_transmit()
|
H A D | vivid-core.h | 204 u32 sft; member
|
/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/arch/x86/kernel/cpu/ |
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/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 | 1362 unsigned int reg, sft, val; in is_using_asrc() local 1368 sft = RT5682S_FILTER_CLK_SEL_SFT; in is_using_asrc() 1372 sft = RT5682S_FILTER_CLK_SEL_SFT; in is_using_asrc() 1378 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 | 335 int sft = 0; in __ktime_divns() local 344 sft++; in __ktime_divns() 347 tmp >>= sft; in __ktime_divns()
|
/linux/drivers/scsi/libsas/ |
H A D | sas_init.c | 579 static struct sas_function_template sft = { variable 623 struct scsi_transport_template *stt = sas_attach_transport(&sft); in sas_domain_attach_transport()
|