Home
last modified time | relevance | path

Searched refs:presc (Results 1 – 6 of 6) sorted by relevance

/linux-4.19.296/drivers/pwm/
Dpwm-stm32-lp.c39 u32 val, mask, cfgr, presc = 0; in stm32_pwm_lp_apply() local
69 presc++; in stm32_pwm_lp_apply()
70 if ((1 << presc) > STM32_LPTIM_MAX_PRESCALER) { in stm32_pwm_lp_apply()
74 div = prd >> presc; in stm32_pwm_lp_apply()
93 if ((FIELD_GET(STM32_LPTIM_PRESC, cfgr) != presc) || in stm32_pwm_lp_apply()
95 val = FIELD_PREP(STM32_LPTIM_PRESC, presc); in stm32_pwm_lp_apply()
165 u32 val, presc, prd; in stm32_pwm_lp_get_state() local
175 presc = FIELD_GET(STM32_LPTIM_PRESC, val); in stm32_pwm_lp_get_state()
180 tmp = (tmp << presc) * NSEC_PER_SEC; in stm32_pwm_lp_get_state()
185 tmp = (tmp << presc) * NSEC_PER_SEC; in stm32_pwm_lp_get_state()
/linux-4.19.296/drivers/iio/adc/
Dstm32-adc-core.c137 u32 presc; member
164 u32 ckmode, presc, val; in stm32h7_adc_clk_sel() local
192 presc = stm32h7_adc_ckmodes_spec[i].presc; in stm32h7_adc_clk_sel()
212 presc = stm32h7_adc_ckmodes_spec[i].presc; in stm32h7_adc_clk_sel()
233 val |= presc << STM32H7_PRESC_SHIFT; in stm32h7_adc_clk_sel()
/linux-4.19.296/drivers/media/dvb-frontends/
Dstv6110.c262 u32 divider, ref, p, presc, i, result_freq, vco_freq; in stv6110_set_frequency() local
279 presc = 0; in stv6110_set_frequency()
282 presc = 1; in stv6110_set_frequency()
285 presc = 0; in stv6110_set_frequency()
288 presc = 1; in stv6110_set_frequency()
296 priv->regs[RSTV6110_TUNING2] |= (presc << 5); in stv6110_set_frequency()
Ddib0070.c268 u8 presc; member
411 FBDiv = (VCOF_kHz / state->current_tune_table_index->presc / FREF); in dib0070_tune_digital()
412 Rest = (VCOF_kHz / state->current_tune_table_index->presc) - FBDiv * FREF; in dib0070_tune_digital()
/linux-4.19.296/include/linux/platform_data/
Dtouchscreen-s3c2410.h14 int presc; member
/linux-4.19.296/drivers/i2c/busses/
Di2c-stm32f7.c224 u8 presc; member
465 v->presc = p; in stm32f7_i2c_compute_timing()
499 u32 prescaler = (v->presc + 1) * i2cclk; in stm32f7_i2c_compute_timing()
540 output->presc = s->presc; in stm32f7_i2c_compute_timing()
548 output->presc, in stm32f7_i2c_compute_timing()
636 timing |= STM32F7_I2C_TIMINGR_PRESC(t->presc); in stm32f7_i2c_hw_config()