Home
last modified time | relevance | path

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

/drivers/pwm/
Dpwm-fsl-ftm.c71 FSL_PWM_CLK_SYS, enumerator
102 return clk_prepare_enable(fpc->clk[FSL_PWM_CLK_SYS]); in fsl_pwm_request()
109 clk_disable_unprepare(fpc->clk[FSL_PWM_CLK_SYS]); in fsl_pwm_free()
118 sys_rate = clk_get_rate(fpc->clk[FSL_PWM_CLK_SYS]); in fsl_pwm_calculate_default_ps()
127 case FSL_PWM_CLK_SYS: in fsl_pwm_calculate_default_ps()
190 FSL_PWM_CLK_SYS); in fsl_pwm_calculate_period()
192 fpc->cnt_select = FSL_PWM_CLK_SYS; in fsl_pwm_calculate_period()
366 ret = clk_prepare_enable(fpc->clk[FSL_PWM_CLK_SYS]); in fsl_pwm_init()
374 clk_disable_unprepare(fpc->clk[FSL_PWM_CLK_SYS]); in fsl_pwm_init()
425 fpc->clk[FSL_PWM_CLK_SYS] = devm_clk_get(&pdev->dev, "ftm_sys"); in fsl_pwm_probe()
[all …]