Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc1_5/
Dia_css_ctc1_5.host.c33 int sft; in ctc_gradient() local
58 for (sft = 0; sft <= IA_CSS_CTC_COEF_SHIFT; sft++) { in ctc_gradient()
59 int tmp_dydx = (dydx_int << sft) in ctc_gradient()
60 + (dydx_frc >> (frc_bits - sft)); in ctc_gradient()
63 *shift = sft; in ctc_gradient()
/linux-6.1.9/drivers/media/test-drivers/vivid/
Dvivid-cec.c54 if (dev->xfers[i].sft && in xfer_ready()
55 dev->xfers[i].sft <= dev->cec_sft) { in xfer_ready()
78 if (dev->xfers[i].sft <= CEC_SIGNAL_FREE_TIME_RETRY) in adjust_sfts()
82 dev->xfers[i].sft = CEC_SIGNAL_FREE_TIME_NEXT_XFER; in adjust_sfts()
84 dev->xfers[i].sft = CEC_SIGNAL_FREE_TIME_NEW_INITIATOR; in adjust_sfts()
129 if (!dev->xfers[i].sft || dev->xfers[i].sft > last_sft) in vivid_cec_bus_thread()
147 dev->xfers[i].sft = 0; in vivid_cec_bus_thread()
251 dev->xfers[idx].sft = CEC_SIGNAL_FREE_TIME_RETRY; in vivid_cec_adap_transmit()
254 dev->xfers[idx].sft = CEC_SIGNAL_FREE_TIME_NEXT_XFER; in vivid_cec_adap_transmit()
256 dev->xfers[idx].sft = CEC_SIGNAL_FREE_TIME_NEW_INITIATOR; in vivid_cec_adap_transmit()
Dvivid-core.h119 u32 sft; member
/linux-6.1.9/sound/soc/mediatek/mt8186/
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-6.1.9/drivers/mtd/nand/raw/
Dnand_bbt.c753 int bits, page, offs, numblocks, sft, sftmsk; in write_bbt() local
804 case 1: sft = 3; sftmsk = 0x07; msk[0] = 0x00; msk[1] = 0x01; in write_bbt()
807 case 2: sft = 2; sftmsk = 0x06; msk[0] = 0x00; msk[1] = 0x01; in write_bbt()
810 case 4: sft = 1; sftmsk = 0x04; msk[0] = 0x00; msk[1] = 0x0C; in write_bbt()
813 case 8: sft = 0; sftmsk = 0x00; msk[0] = 0x00; msk[1] = 0x0F; in write_bbt()
845 memset(&buf[offs], 0xff, (size_t)(numblocks >> sft)); in write_bbt()
855 len = (size_t)(numblocks >> sft); in write_bbt()
865 len = (size_t)(numblocks >> sft); in write_bbt()
883 int sftcnt = (i << (3 - sft)) & sftmsk; in write_bbt()
886 buf[offs + (i >> sft)] &= ~(msk[dat] << sftcnt); in write_bbt()
/linux-6.1.9/sound/soc/codecs/
Drl6231.h31 int rl6231_get_pre_div(struct regmap *map, unsigned int reg, int sft);
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()
Drt5682s.c1362 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-6.1.9/kernel/time/
Dclocksource.c50 u32 sft, sftacc= 32; in clocks_calc_mult_shift() local
66 for (sft = 32; sft > 0; sft--) { in clocks_calc_mult_shift()
67 tmp = (u64) to << sft; in clocks_calc_mult_shift()
74 *shift = sft; in clocks_calc_mult_shift()
Dhrtimer.c305 int sft = 0; in __ktime_divns() local
314 sft++; in __ktime_divns()
317 tmp >>= sft; in __ktime_divns()
/linux-6.1.9/drivers/scsi/libsas/
Dsas_init.c582 static struct sas_function_template sft = { variable
626 struct scsi_transport_template *stt = sas_attach_transport(&sft); in sas_domain_attach_transport()
/linux-6.1.9/drivers/i3c/
Dmaster.c1161 int sft = (sizeof(getpid->pid) - i - 1) * 8; in i3c_master_getpid_locked() local
1163 info->pid |= (u64)getpid->pid[i] << sft; in i3c_master_getpid_locked()