Home
last modified time | relevance | path

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

/arch/arm/plat-samsung/
Dpwm-clock.c212 static unsigned long clk_pwm_tdiv_bits(struct pwm_tdiv_clk *divclk) in clk_pwm_tdiv_bits() argument
214 return pwm_tdiv_div_bits(divclk->divisor); in clk_pwm_tdiv_bits()
217 static void clk_pwm_tdiv_update(struct pwm_tdiv_clk *divclk) in clk_pwm_tdiv_update() argument
220 unsigned long bits = clk_pwm_tdiv_bits(divclk); in clk_pwm_tdiv_update()
222 unsigned long shift = S3C2410_TCFG1_SHIFT(divclk->clk.id); in clk_pwm_tdiv_update()
236 struct pwm_tdiv_clk *divclk = to_tdiv(clk); in clk_pwm_tdiv_set_rate() local
250 divclk->divisor = divisor; in clk_pwm_tdiv_set_rate()
256 clk_pwm_tdiv_update(divclk); in clk_pwm_tdiv_set_rate()
312 struct pwm_tdiv_clk *divclk = &clk_timer_tdiv[id]; in clk_pwm_tdiv_register() local
318 divclk->clk.id = id; in clk_pwm_tdiv_register()
[all …]