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

/linux-4.4.14/drivers/pwm/
H A Dpwm-atmel-hlcdc.c58 struct clk *new_clk = hlcdc->slow_clk; atmel_hlcdc_pwm_config() local
66 clk_freq = clk_get_rate(new_clk); atmel_hlcdc_pwm_config()
77 new_clk = hlcdc->sys_clk; atmel_hlcdc_pwm_config()
78 clk_freq = clk_get_rate(new_clk); atmel_hlcdc_pwm_config()
100 if (new_clk != chip->cur_clk) { atmel_hlcdc_pwm_config()
104 ret = clk_prepare_enable(new_clk); atmel_hlcdc_pwm_config()
109 chip->cur_clk = new_clk; atmel_hlcdc_pwm_config()
111 if (new_clk == hlcdc->sys_clk) atmel_hlcdc_pwm_config()

Completed in 157 milliseconds