Lines Matching refs:clk_div
32 struct clk *clk_div; member
52 return clk_get_parent(chip->clk) == chip->clk_div; in pwm_is_tdiv()
97 tin_parent_rate = clk_get_rate(clk_get_parent(s3c->clk_div)); in pwm_calc_tin()
149 clk_set_rate(s3c->clk_div, tin_rate); in s3c_pwm_config()
237 s3c->clk_div = devm_clk_get(dev, "pwm-tdiv"); in s3c_pwm_probe()
238 if (IS_ERR(s3c->clk_div)) { in s3c_pwm_probe()
240 return PTR_ERR(s3c->clk_div); in s3c_pwm_probe()
244 clk_enable(s3c->clk_div); in s3c_pwm_probe()
265 clk_get_rate(s3c->clk_div), in s3c_pwm_probe()
272 clk_disable(s3c->clk_div); in s3c_pwm_probe()
286 clk_disable(s3c->clk_div); in s3c_pwm_remove()