Searched refs:pwm_clk (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/pwm/ |
H A D | pwm-img.c | 62 struct clk *pwm_clk; member 104 input_clk_hz = clk_get_rate(imgchip->pwm_clk); in img_pwm_config() 229 clk_disable_unprepare(imgchip->pwm_clk); in img_pwm_runtime_suspend() 247 ret = clk_prepare_enable(imgchip->pwm_clk); in img_pwm_runtime_resume() 287 imgchip->pwm_clk = devm_clk_get(&pdev->dev, "pwm"); in img_pwm_probe() 288 if (IS_ERR(imgchip->pwm_clk)) { in img_pwm_probe() 290 return PTR_ERR(imgchip->pwm_clk); in img_pwm_probe() 304 clk_rate = clk_get_rate(imgchip->pwm_clk); in img_pwm_probe()
|
H A D | pwm-sti.c | 78 struct clk *pwm_clk; member 124 clk_rate = clk_get_rate(pc->pwm_clk); in sti_pwm_get_prescale() 188 ret = clk_enable(pc->pwm_clk); in sti_pwm_config() 238 clk_disable(pc->pwm_clk); in sti_pwm_config() 256 ret = clk_enable(pc->pwm_clk); in sti_pwm_enable() 292 clk_disable(pc->pwm_clk); in sti_pwm_disable() 604 pc->pwm_clk = devm_clk_get_prepared(dev, "pwm"); in sti_pwm_probe() 605 if (IS_ERR(pc->pwm_clk)) in sti_pwm_probe() 606 return dev_err_probe(dev, PTR_ERR(pc->pwm_clk), in sti_pwm_probe()
|
H A D | pwm-lpc18xx-sct.c | 96 struct clk *pwm_clk; member 364 lpc18xx_pwm->pwm_clk = devm_clk_get_enabled(&pdev->dev, "pwm"); in lpc18xx_pwm_probe() 365 if (IS_ERR(lpc18xx_pwm->pwm_clk)) in lpc18xx_pwm_probe() 366 return dev_err_probe(&pdev->dev, PTR_ERR(lpc18xx_pwm->pwm_clk), in lpc18xx_pwm_probe() 369 lpc18xx_pwm->clk_rate = clk_get_rate(lpc18xx_pwm->pwm_clk); in lpc18xx_pwm_probe()
|
/linux/Documentation/devicetree/bindings/pwm/ |
H A D | img-pwm.txt | 20 clocks = <&pwm_clk>, <&system_clk>;
|
/linux/drivers/hwmon/ |
H A D | npcm750-pwm-fan.c | 199 struct clk *pwm_clk; member 695 pwm_clk_freq = clk_get_rate(data->pwm_clk); in npcm7xx_pwm_init() 962 data->pwm_clk = devm_clk_get(dev, "pwm"); in npcm7xx_pwm_fan_probe() 963 if (IS_ERR(data->pwm_clk)) { in npcm7xx_pwm_fan_probe() 965 return PTR_ERR(data->pwm_clk); in npcm7xx_pwm_fan_probe()
|
/linux/drivers/clk/thead/ |
H A D | clk-th1520-ap.c | 809 static CCU_GATE(CLK_PWM, pwm_clk, "pwm", perisys_apb_pclk_pd, 0x204, BIT(18), 0); 924 &pwm_clk.common,
|
/linux/arch/arm/boot/dts/microchip/ |
H A D | at91sam9rl.dtsi | 256 clock-names = "pwm_clk";
|
H A D | at91sam9263.dtsi | 723 clock-names = "pwm_clk";
|