Searched refs:prescaler (Results 1 – 6 of 6) sorted by relevance
117 uint8_t prescaler; member184 sc->prescaler = reg >> RK_PWM_CTRL_PRESCALE_SHIFT; in rk_pwm_attach()196 clk_freq = sc->clk_freq / (2 ^ sc->prescaler); in rk_pwm_attach()272 uint8_t prescaler; in rk_pwm_channel_config() local290 prescaler = 0; in rk_pwm_channel_config()314 prescaler << RK_PWM_CTRL_PRESCALE_SHIFT); in rk_pwm_channel_config()
247 int prescaler; in aw_pwm_channel_config() local277 prescaler = AW_PWM_CTRL_PRESCALE_MASK; in aw_pwm_channel_config()286 prescaler = i; in aw_pwm_channel_config()291 if (prescaler == AW_PWM_CTRL_PRESCALE_MASK) in aw_pwm_channel_config()299 reg |= prescaler; in aw_pwm_channel_config()
16 - lltc,prescaler-exponent: The prescaler exponent as explained in the datasheet.27 lltc,prescaler-exponent = <5>; /* 2^(2*5) = 1024 */
6 are the cpu's HFPERCLK (with a 10-bit prescaler) or an external pin.
11 - ti,prescaler: Should be a value between 0 and 7, see the timers datasheet
27 prescaler (on PM8058) or premux (on PM8921) with two valid bits30 of prescaler/premux and analog mux uniquely addresses a hardware