Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/pwm/
Dpwm-stm32-lp.c39 u32 val, mask, cfgr, presc = 0; in stm32_pwm_lp_apply() local
63 presc++; in stm32_pwm_lp_apply()
64 if ((1 << presc) > STM32_LPTIM_MAX_PRESCALER) { in stm32_pwm_lp_apply()
68 div = prd >> presc; in stm32_pwm_lp_apply()
87 if ((FIELD_GET(STM32_LPTIM_PRESC, cfgr) != presc) || in stm32_pwm_lp_apply()
89 val = FIELD_PREP(STM32_LPTIM_PRESC, presc); in stm32_pwm_lp_apply()
159 u32 val, presc, prd; in stm32_pwm_lp_get_state() local
169 presc = FIELD_GET(STM32_LPTIM_PRESC, val); in stm32_pwm_lp_get_state()
174 tmp = (tmp << presc) * NSEC_PER_SEC; in stm32_pwm_lp_get_state()
179 tmp = (tmp << presc) * NSEC_PER_SEC; in stm32_pwm_lp_get_state()
/Linux-v4.19/drivers/iio/adc/
Dstm32-adc-core.c160 u32 presc; member
187 u32 ckmode, presc, val; in stm32h7_adc_clk_sel() local
215 presc = stm32h7_adc_ckmodes_spec[i].presc; in stm32h7_adc_clk_sel()
235 presc = stm32h7_adc_ckmodes_spec[i].presc; in stm32h7_adc_clk_sel()
256 val |= presc << STM32H7_PRESC_SHIFT; in stm32h7_adc_clk_sel()
/Linux-v4.19/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-v4.19/drivers/mtd/spi-nor/
Dstm32-quadspi.c138 u32 presc; member
303 cr |= CR_PRESC(flash->presc); in stm32_qspi_send()
511 u32 width, presc, cs_num, max_rate = 0; in stm32_qspi_flash_setup() local
524 presc = DIV_ROUND_UP(qspi->clk_rate, max_rate) - 1; in stm32_qspi_flash_setup()
539 flash->presc = presc; in stm32_qspi_flash_setup()
556 writel_relaxed(CR_PRESC(presc) | CR_FTHRES(3) | CR_TCEN | CR_SSHIFT in stm32_qspi_flash_setup()
/Linux-v4.19/include/linux/platform_data/
Dtouchscreen-s3c2410.h14 int presc; member
/Linux-v4.19/drivers/i2c/busses/
Di2c-stm32f7.c223 u8 presc; member
464 v->presc = p; in stm32f7_i2c_compute_timing()
498 u32 prescaler = (v->presc + 1) * i2cclk; in stm32f7_i2c_compute_timing()
539 output->presc = s->presc; in stm32f7_i2c_compute_timing()
547 output->presc, in stm32f7_i2c_compute_timing()
635 timing |= STM32F7_I2C_TIMINGR_PRESC(t->presc); in stm32f7_i2c_hw_config()
/Linux-v4.19/arch/arm/mach-s3c64xx/
Dmach-smartq.c167 .presc = 99,
/Linux-v4.19/arch/arm/mach-s3c24xx/
Dmach-gta02.c454 .presc = 0xff, /* slow as we can go */
Dmach-h1940.c177 .presc = 49,
Dmach-rx1950.c620 .presc = 49,
/Linux-v4.19/arch/arm/plat-samsung/
Ddevs.c917 .presc = 49,