Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pwm/
H A Dpwm-sprd.c27 #define SPRD_PWM_CHN_CLKS_NUM 2 macro
31 struct clk_bulk_data clks[SPRD_PWM_CHN_CLKS_NUM];
83 ret = clk_bulk_prepare_enable(SPRD_PWM_CHN_CLKS_NUM, chn->clks); in sprd_pwm_get_state()
117 clk_bulk_disable_unprepare(SPRD_PWM_CHN_CLKS_NUM, chn->clks); in sprd_pwm_get_state()
180 ret = clk_bulk_prepare_enable(SPRD_PWM_CHN_CLKS_NUM, in sprd_pwm_apply()
204 clk_bulk_disable_unprepare(SPRD_PWM_CHN_CLKS_NUM, chn->clks); in sprd_pwm_apply()
225 for (j = 0; j < SPRD_PWM_CHN_CLKS_NUM; ++j) in sprd_pwm_clk_init()
227 sprd_pwm_clks[i * SPRD_PWM_CHN_CLKS_NUM + j]; in sprd_pwm_clk_init()
229 ret = devm_clk_bulk_get(spc->dev, SPRD_PWM_CHN_CLKS_NUM, in sprd_pwm_clk_init()