Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pwm/
H A Dpwm-fsl-ftm.c131 struct fsl_pwm_periodcfg *periodcfg in fsl_pwm_calculate_period_clk() argument
146 periodcfg->clk_select = index; in fsl_pwm_calculate_period_clk()
147 periodcfg->clk_ps = ps; in fsl_pwm_calculate_period_clk()
148 periodcfg->mod_period = c - 1; in fsl_pwm_calculate_period_clk()
157 struct fsl_pwm_periodcfg *periodcfg) in fsl_pwm_calculate_period() argument
164 periodcfg); in fsl_pwm_calculate_period()
231 struct fsl_pwm_periodcfg periodcfg; in fsl_pwm_apply_config() local
257 enum fsl_pwm_clk newclk = periodcfg.clk_select; in fsl_pwm_apply_config()
271 FTM_SC_CLK(periodcfg.clk_select)); in fsl_pwm_apply_config()
273 periodcfg.clk_ps); in fsl_pwm_apply_config()
[all …]