Searched refs:SPRD_PWM_CHN_CLKS_NUM (Results 1 – 1 of 1) sorted by relevance
26 #define SPRD_PWM_CHN_CLKS_NUM 2 macro30 struct clk_bulk_data clks[SPRD_PWM_CHN_CLKS_NUM];82 ret = clk_bulk_prepare_enable(SPRD_PWM_CHN_CLKS_NUM, chn->clks); in sprd_pwm_get_state()115 clk_bulk_disable_unprepare(SPRD_PWM_CHN_CLKS_NUM, chn->clks); in sprd_pwm_get_state()173 ret = clk_bulk_prepare_enable(SPRD_PWM_CHN_CLKS_NUM, in sprd_pwm_apply()200 clk_bulk_disable_unprepare(SPRD_PWM_CHN_CLKS_NUM, chn->clks); in sprd_pwm_apply()221 for (j = 0; j < SPRD_PWM_CHN_CLKS_NUM; ++j) in sprd_pwm_clk_init()223 sprd_pwm_clks[i * SPRD_PWM_CHN_CLKS_NUM + j]; in sprd_pwm_clk_init()225 ret = devm_clk_bulk_get(spc->dev, SPRD_PWM_CHN_CLKS_NUM, in sprd_pwm_clk_init()