Searched refs:divclk (Results 1 – 1 of 1) sorted by relevance
212 static unsigned long clk_pwm_tdiv_bits(struct pwm_tdiv_clk *divclk) in clk_pwm_tdiv_bits() argument214 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() argument220 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() local250 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() local318 divclk->clk.id = id; in clk_pwm_tdiv_register()[all …]