Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pwm/
H A Dpwm-atmel-hlcdc.c51 struct clk *new_clk = hlcdc->slow_clk; in atmel_hlcdc_pwm_apply() local
59 clk_freq = clk_get_rate(new_clk); in atmel_hlcdc_pwm_apply()
70 new_clk = hlcdc->sys_clk; in atmel_hlcdc_pwm_apply()
71 clk_freq = clk_get_rate(new_clk); in atmel_hlcdc_pwm_apply()
94 if (new_clk != atmel->cur_clk) { in atmel_hlcdc_pwm_apply()
98 ret = clk_prepare_enable(new_clk); in atmel_hlcdc_pwm_apply()
103 atmel->cur_clk = new_clk; in atmel_hlcdc_pwm_apply()
105 if (new_clk == hlcdc->sys_clk) in atmel_hlcdc_pwm_apply()