Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/pwm/
Dpwm-stm32-lp.c40 u32 val, mask, cfgr, presc = 0; in stm32_pwm_lp_apply() local
70 presc++; in stm32_pwm_lp_apply()
71 if ((1 << presc) > STM32_LPTIM_MAX_PRESCALER) { in stm32_pwm_lp_apply()
75 div = prd >> presc; in stm32_pwm_lp_apply()
94 if ((FIELD_GET(STM32_LPTIM_PRESC, cfgr) != presc) || in stm32_pwm_lp_apply()
96 val = FIELD_PREP(STM32_LPTIM_PRESC, presc); in stm32_pwm_lp_apply()
166 u32 val, presc, prd; in stm32_pwm_lp_get_state() local
176 presc = FIELD_GET(STM32_LPTIM_PRESC, val); in stm32_pwm_lp_get_state()
181 tmp = (tmp << presc) * NSEC_PER_SEC; in stm32_pwm_lp_get_state()
186 tmp = (tmp << presc) * NSEC_PER_SEC; in stm32_pwm_lp_get_state()
/linux-6.1.9/drivers/watchdog/
Dstm32_iwdg.c90 u32 tout, presc, iwdg_rlr, iwdg_pr, iwdg_sr; in stm32_iwdg_start() local
98 presc = DIV_ROUND_UP(tout * wdt->rate, RLR_MAX + 1); in stm32_iwdg_start()
101 presc = roundup_pow_of_two(presc); in stm32_iwdg_start()
102 iwdg_pr = presc <= 1 << PR_SHIFT ? 0 : ilog2(presc) - PR_SHIFT; in stm32_iwdg_start()
103 iwdg_rlr = ((tout * wdt->rate) / presc) - 1; in stm32_iwdg_start()
/linux-6.1.9/drivers/media/dvb-frontends/
Dstv6110.c252 u32 divider, ref, p, presc, i, result_freq, vco_freq; in stv6110_set_frequency() local
269 presc = 0; in stv6110_set_frequency()
272 presc = 1; in stv6110_set_frequency()
275 presc = 0; in stv6110_set_frequency()
278 presc = 1; in stv6110_set_frequency()
286 priv->regs[RSTV6110_TUNING2] |= (presc << 5); in stv6110_set_frequency()
Ddib0070.c258 u8 presc; member
401 FBDiv = (VCOF_kHz / state->current_tune_table_index->presc / FREF); in dib0070_tune_digital()
402 Rest = (VCOF_kHz / state->current_tune_table_index->presc) - FBDiv * FREF; in dib0070_tune_digital()
/linux-6.1.9/drivers/iio/adc/
Dstm32-adc-core.c181 u32 presc; member
208 u32 ckmode, presc, val; in stm32h7_adc_clk_sel() local
241 presc = stm32h7_adc_ckmodes_spec[i].presc; in stm32h7_adc_clk_sel()
272 presc = stm32h7_adc_ckmodes_spec[i].presc; in stm32h7_adc_clk_sel()
296 val |= presc << STM32H7_PRESC_SHIFT; in stm32h7_adc_clk_sel()
/linux-6.1.9/include/linux/platform_data/
Dtouchscreen-s3c2410.h11 int presc; member
/linux-6.1.9/drivers/spi/
Dspi-stm32-qspi.c98 u32 presc; member
373 cr |= FIELD_PREP(CR_PRESC_MASK, flash->presc); in stm32_qspi_send()
647 u32 presc, mode; in stm32_qspi_setup() local
670 presc = DIV_ROUND_UP(qspi->clk_rate, spi->max_speed_hz) - 1; in stm32_qspi_setup()
674 flash->presc = presc; in stm32_qspi_setup()
/linux-6.1.9/Documentation/devicetree/bindings/media/i2c/
Ddongwoon,dw9768.yaml58 dongwoon,clock-presc:
/linux-6.1.9/drivers/i2c/busses/
Di2c-stm32f7.c249 u8 presc; member
538 v->presc = p; in stm32f7_i2c_compute_timing()
576 u32 prescaler = (v->presc + 1) * i2cclk; in stm32f7_i2c_compute_timing()
617 output->presc = s->presc; in stm32f7_i2c_compute_timing()
625 output->presc, in stm32f7_i2c_compute_timing()
743 timing |= STM32F7_I2C_TIMINGR_PRESC(t->presc); in stm32f7_i2c_hw_config()
/linux-6.1.9/arch/arm/mach-s3c/
Dmach-smartq.c165 .presc = 99,
Dmach-gta02.c447 .presc = 0xff, /* slow as we can go */
Dmach-rx1950.c659 .presc = 49,
Dmach-h1940.c183 .presc = 49,
Ddevs.c948 .presc = 49,