Searched refs:presc (Results 1 – 14 of 14) sorted by relevance
/linux-6.1.9/drivers/pwm/ |
D | pwm-stm32-lp.c | 40 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/ |
D | stm32_iwdg.c | 90 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/ |
D | stv6110.c | 252 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()
|
D | dib0070.c | 258 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/ |
D | stm32-adc-core.c | 181 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/ |
D | touchscreen-s3c2410.h | 11 int presc; member
|
/linux-6.1.9/drivers/spi/ |
D | spi-stm32-qspi.c | 98 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/ |
D | dongwoon,dw9768.yaml | 58 dongwoon,clock-presc:
|
/linux-6.1.9/drivers/i2c/busses/ |
D | i2c-stm32f7.c | 249 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/ |
D | mach-smartq.c | 165 .presc = 99,
|
D | mach-gta02.c | 447 .presc = 0xff, /* slow as we can go */
|
D | mach-rx1950.c | 659 .presc = 49,
|
D | mach-h1940.c | 183 .presc = 49,
|
D | devs.c | 948 .presc = 49,
|