Searched refs:presc (Results 1 – 6 of 6) sorted by relevance
/linux-4.19.296/drivers/pwm/ |
D | pwm-stm32-lp.c | 39 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/ |
D | stm32-adc-core.c | 137 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/ |
D | stv6110.c | 262 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()
|
D | dib0070.c | 268 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/ |
D | touchscreen-s3c2410.h | 14 int presc; member
|
/linux-4.19.296/drivers/i2c/busses/ |
D | i2c-stm32f7.c | 224 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()
|