Searched refs:sft (Results 1 – 12 of 12) sorted by relevance
/linux-6.6.21/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc1_5/ |
D | ia_css_ctc1_5.host.c | 33 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.6.21/drivers/media/test-drivers/vivid/ |
D | vivid-cec.c | 54 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()
|
D | vivid-core.h | 117 u32 sft; member
|
/linux-6.6.21/sound/soc/mediatek/mt8186/ |
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-6.6.21/drivers/mtd/nand/raw/ |
D | nand_bbt.c | 753 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.6.21/sound/soc/codecs/ |
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()
|
D | rl6231.h | 31 int rl6231_get_pre_div(struct regmap *map, unsigned int reg, int sft);
|
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-6.6.21/kernel/time/ |
D | clocksource.c | 50 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()
|
D | hrtimer.c | 307 int sft = 0; in __ktime_divns() local 316 sft++; in __ktime_divns() 319 tmp >>= sft; in __ktime_divns()
|
/linux-6.6.21/drivers/scsi/libsas/ |
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()
|
/linux-6.6.21/drivers/i3c/ |
D | master.c | 1173 int sft = (sizeof(getpid->pid) - i - 1) * 8; in i3c_master_getpid_locked() local 1175 info->pid |= (u64)getpid->pid[i] << sft; in i3c_master_getpid_locked()
|