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

/linux-4.4.14/drivers/pwm/
H A Dpwm-fsl-ftm.c71 FSL_PWM_CLK_SYS, enumerator in enum:fsl_pwm_clk
103 return clk_prepare_enable(fpc->clk[FSL_PWM_CLK_SYS]); fsl_pwm_request()
110 clk_disable_unprepare(fpc->clk[FSL_PWM_CLK_SYS]); fsl_pwm_free()
119 sys_rate = clk_get_rate(fpc->clk[FSL_PWM_CLK_SYS]); fsl_pwm_calculate_default_ps()
128 case FSL_PWM_CLK_SYS: fsl_pwm_calculate_default_ps()
191 FSL_PWM_CLK_SYS); fsl_pwm_calculate_period()
193 fpc->cnt_select = FSL_PWM_CLK_SYS; fsl_pwm_calculate_period()
388 ret = clk_prepare_enable(fpc->clk[FSL_PWM_CLK_SYS]); fsl_pwm_init()
396 clk_disable_unprepare(fpc->clk[FSL_PWM_CLK_SYS]); fsl_pwm_init()
447 fpc->clk[FSL_PWM_CLK_SYS] = devm_clk_get(&pdev->dev, "ftm_sys"); fsl_pwm_probe()
448 if (IS_ERR(fpc->clk[FSL_PWM_CLK_SYS])) { fsl_pwm_probe()
450 return PTR_ERR(fpc->clk[FSL_PWM_CLK_SYS]); fsl_pwm_probe()
505 clk_disable_unprepare(fpc->clk[FSL_PWM_CLK_SYS]); fsl_pwm_suspend()
519 clk_prepare_enable(fpc->clk[FSL_PWM_CLK_SYS]); fsl_pwm_resume()

Completed in 74 milliseconds