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

/linux-4.1.27/drivers/pwm/
H A Dpwm-fsl-ftm.c84 unsigned int cnt_select; member in struct:fsl_pwm_chip
123 cnt_rate = clk_get_rate(fpc->clk[fpc->cnt_select]); fsl_pwm_calculate_default_ps()
153 c = clk_get_rate(fpc->clk[fpc->cnt_select]); fsl_pwm_calculate_cycles()
193 fpc->cnt_select = FSL_PWM_CLK_SYS; fsl_pwm_calculate_period()
210 fpc->cnt_select = m0; fsl_pwm_calculate_period()
214 fpc->cnt_select = m1; fsl_pwm_calculate_period()
308 FTM_SC_CLK(fpc->cnt_select)); fsl_counter_clock_enable()
310 ret = clk_prepare_enable(fpc->clk[fpc->cnt_select]); fsl_counter_clock_enable()
316 clk_disable_unprepare(fpc->clk[fpc->cnt_select]); fsl_counter_clock_enable()
353 clk_disable_unprepare(fpc->clk[fpc->cnt_select]); fsl_counter_clock_disable()
504 clk_disable_unprepare(fpc->clk[fpc->cnt_select]); fsl_pwm_suspend()
520 clk_prepare_enable(fpc->clk[fpc->cnt_select]); fsl_pwm_resume()

Completed in 64 milliseconds