Home
last modified time | relevance | path

Searched refs:cpt_clk (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/pwm/
H A Dpwm-sti.c88 struct clk *cpt_clk; member
200 ret = clk_enable(pc->cpt_clk); in sti_pwm_config()
247 clk_disable(pc->cpt_clk); in sti_pwm_config()
268 ret = clk_enable(pc->cpt_clk); in sti_pwm_enable()
301 clk_disable(pc->cpt_clk); in sti_pwm_disable()
372 effective_ticks = clk_get_rate(pc->cpt_clk); in sti_pwm_capture()
612 pc->cpt_clk = of_clk_get_by_name(dev->of_node, "capture"); in sti_pwm_probe()
613 if (IS_ERR(pc->cpt_clk)) { in sti_pwm_probe()
615 return PTR_ERR(pc->cpt_clk); in sti_pwm_probe()
618 ret = clk_prepare(pc->cpt_clk); in sti_pwm_probe()
[all...]
/kernel/linux/linux-6.6/drivers/pwm/
H A Dpwm-sti.c88 struct clk *cpt_clk; member
200 ret = clk_enable(pc->cpt_clk); in sti_pwm_config()
247 clk_disable(pc->cpt_clk); in sti_pwm_config()
268 ret = clk_enable(pc->cpt_clk); in sti_pwm_enable()
301 clk_disable(pc->cpt_clk); in sti_pwm_disable()
372 effective_ticks = clk_get_rate(pc->cpt_clk); in sti_pwm_capture()
640 pc->cpt_clk = of_clk_get_by_name(dev->of_node, "capture"); in sti_pwm_probe()
641 if (IS_ERR(pc->cpt_clk)) { in sti_pwm_probe()
643 return PTR_ERR(pc->cpt_clk); in sti_pwm_probe()
646 ret = clk_prepare(pc->cpt_clk); in sti_pwm_probe()
[all...]

Completed in 3 milliseconds