Searched refs:clk_pwm (Results 1 – 8 of 8) sorted by relevance
14 struct clk_pwm { struct27 struct clk_pwm *clk_pwm = to_clk_pwm(hw); in clk_pwm_prepare() local34 struct clk_pwm *clk_pwm = to_clk_pwm(hw); in clk_pwm_unprepare() local36 pwm_disable(clk_pwm->pwm); in clk_pwm_unprepare()42 struct clk_pwm *clk_pwm = to_clk_pwm(hw); in clk_pwm_recalc_rate() local44 return clk_pwm->fixed_rate; in clk_pwm_recalc_rate()49 struct clk_pwm *clk_pwm = to_clk_pwm(hw); in clk_pwm_get_duty_cycle() local71 struct clk_pwm *clk_pwm; in clk_pwm_probe() local77 clk_pwm = devm_kzalloc(&pdev->dev, sizeof(*clk_pwm), GFP_KERNEL); in clk_pwm_probe()78 if (!clk_pwm) in clk_pwm_probe()[all …]
12 clk_pwm: pwm { label61 pwms = <&clk_pwm 0 100000>;
53 &clk_pwm {
84 &clk_pwm {
28 clk_pwm: pwm { label191 pwms = <&clk_pwm 0 100000>;
218 struct clk *clk_pwm; in sprd_pwm_clk_init() local239 clk_pwm = chn->clks[SPRD_PWM_CHN_OUTPUT_CLK].clk; in sprd_pwm_clk_init()240 chn->clk_rate = clk_get_rate(clk_pwm); in sprd_pwm_clk_init()
41 clocks = <&clk_pwm>;
44 clk_pwm: pwm { label56 pwms = <&clk_pwm 0 100000>;