Searched refs:clk_pwm (Results 1 - 5 of 5) sorted by relevance
/linux-4.4.14/drivers/clk/ |
H A D | clk-pwm.c | 17 struct clk_pwm { struct 23 static inline struct clk_pwm *to_clk_pwm(struct clk_hw *hw) to_clk_pwm() 25 return container_of(hw, struct clk_pwm, hw); to_clk_pwm() 30 struct clk_pwm *clk_pwm = to_clk_pwm(hw); clk_pwm_prepare() local 32 return pwm_enable(clk_pwm->pwm); clk_pwm_prepare() 37 struct clk_pwm *clk_pwm = to_clk_pwm(hw); clk_pwm_unprepare() local 39 pwm_disable(clk_pwm->pwm); clk_pwm_unprepare() 45 struct clk_pwm *clk_pwm = to_clk_pwm(hw); clk_pwm_recalc_rate() local 47 return clk_pwm->fixed_rate; clk_pwm_recalc_rate() 60 struct clk_pwm *clk_pwm; clk_pwm_probe() local 66 clk_pwm = devm_kzalloc(&pdev->dev, sizeof(*clk_pwm), GFP_KERNEL); clk_pwm_probe() 67 if (!clk_pwm) clk_pwm_probe() 79 if (of_property_read_u32(node, "clock-frequency", &clk_pwm->fixed_rate)) clk_pwm_probe() 80 clk_pwm->fixed_rate = NSEC_PER_SEC / pwm->period; clk_pwm_probe() 82 if (pwm->period != NSEC_PER_SEC / clk_pwm->fixed_rate && clk_pwm_probe() 83 pwm->period != DIV_ROUND_UP(NSEC_PER_SEC, clk_pwm->fixed_rate)) { clk_pwm_probe() 101 clk_pwm->pwm = pwm; clk_pwm_probe() 102 clk_pwm->hw.init = &init; clk_pwm_probe() 103 clk = devm_clk_register(&pdev->dev, &clk_pwm->hw); clk_pwm_probe()
|
/linux-4.4.14/arch/arm/mach-w90x900/ |
H A D | cpu.c | 94 DEF_CLKLOOK(&clk_pwm, "nuc900-pwm", NULL),
|
/linux-4.4.14/arch/arm/mach-ep93xx/ |
H A D | clock.c | 105 static struct clk clk_pwm = { variable in typeref:struct:clk 222 INIT_CK(NULL, "pwm_clk", &clk_pwm),
|
/linux-4.4.14/arch/arm/mach-lpc32xx/ |
H A D | clock.c | 617 static struct clk clk_pwm = { variable in typeref:struct:clk 1211 CLKDEV_INIT("4005c000.pwm", NULL, &clk_pwm),
|
/linux-4.4.14/drivers/clk/samsung/ |
H A D | clk-exynos5260.c | 1301 GATE(PERI_CLK_PWM, "clk_pwm", "dout_aclk_peri_66",
|
Completed in 223 milliseconds