Searched refs:pwm_clk (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/drivers/pwm/ ! |
D | pwm-sti.c | 86 struct clk *pwm_clk; member 130 clk_rate = clk_get_rate(pc->pwm_clk); in sti_pwm_get_prescale() 195 ret = clk_enable(pc->pwm_clk); in sti_pwm_config() 245 clk_disable(pc->pwm_clk); in sti_pwm_config() 263 ret = clk_enable(pc->pwm_clk); in sti_pwm_enable() 299 clk_disable(pc->pwm_clk); in sti_pwm_disable() 616 pc->pwm_clk = of_clk_get_by_name(dev->of_node, "pwm"); in sti_pwm_probe() 617 if (IS_ERR(pc->pwm_clk)) { in sti_pwm_probe() 619 return PTR_ERR(pc->pwm_clk); in sti_pwm_probe() 622 ret = clk_prepare(pc->pwm_clk); in sti_pwm_probe() [all …]
|
D | pwm-img.c | 64 struct clk *pwm_clk; member 106 input_clk_hz = clk_get_rate(imgchip->pwm_clk); in img_pwm_config() 231 clk_disable_unprepare(imgchip->pwm_clk); in img_pwm_runtime_suspend() 248 ret = clk_prepare_enable(imgchip->pwm_clk); in img_pwm_runtime_resume() 292 imgchip->pwm_clk = devm_clk_get(&pdev->dev, "imgchip"); in img_pwm_probe() 293 if (IS_ERR(imgchip->pwm_clk)) { in img_pwm_probe() 295 return PTR_ERR(imgchip->pwm_clk); in img_pwm_probe() 309 clk_rate = clk_get_rate(imgchip->pwm_clk); in img_pwm_probe()
|
D | pwm-lpc18xx-sct.c | 97 struct clk *pwm_clk; member 369 lpc18xx_pwm->pwm_clk = devm_clk_get(&pdev->dev, "pwm"); in lpc18xx_pwm_probe() 370 if (IS_ERR(lpc18xx_pwm->pwm_clk)) in lpc18xx_pwm_probe() 371 return dev_err_probe(&pdev->dev, PTR_ERR(lpc18xx_pwm->pwm_clk), in lpc18xx_pwm_probe() 374 ret = clk_prepare_enable(lpc18xx_pwm->pwm_clk); in lpc18xx_pwm_probe() 379 lpc18xx_pwm->clk_rate = clk_get_rate(lpc18xx_pwm->pwm_clk); in lpc18xx_pwm_probe() 448 clk_disable_unprepare(lpc18xx_pwm->pwm_clk); in lpc18xx_pwm_probe() 463 clk_disable_unprepare(lpc18xx_pwm->pwm_clk); in lpc18xx_pwm_remove()
|
D | pwm-imx27.c | 125 u32 period, prescaler, pwm_clk, val; in pwm_imx27_get_state() local 152 pwm_clk = clk_get_rate(imx->clk_per); in pwm_imx27_get_state() 158 state->period = DIV_ROUND_UP_ULL(tmp, pwm_clk); in pwm_imx27_get_state() 170 state->duty_cycle = DIV_ROUND_UP_ULL(tmp, pwm_clk); in pwm_imx27_get_state()
|
/linux-6.1.9/Documentation/devicetree/bindings/pwm/ ! |
D | brcm,kona-pwm.txt | 19 clocks = <&pwm_clk>;
|
D | img-pwm.txt | 20 clocks = <&pwm_clk>, <&system_clk>;
|
/linux-6.1.9/drivers/hwmon/ ! |
D | npcm750-pwm-fan.c | 196 struct clk *pwm_clk; member 678 data->pwm_clk_freq = clk_get_rate(data->pwm_clk); in npcm7xx_pwm_init() 937 data->pwm_clk = devm_clk_get(dev, "pwm"); in npcm7xx_pwm_fan_probe() 938 if (IS_ERR(data->pwm_clk)) { in npcm7xx_pwm_fan_probe() 940 return PTR_ERR(data->pwm_clk); in npcm7xx_pwm_fan_probe()
|
D | vt1211.c | 124 u8 pwm_clk; member 301 data->pwm_clk = vt1211_read8(data, VT1211_REG_PWM_CLK); in vt1211_update_device() 614 res = 90000 >> (data->pwm_clk & 7); in show_pwm() 692 data->pwm_clk = (reg & 0xf8) | tmp; in set_pwm() 693 vt1211_write8(data, VT1211_REG_PWM_CLK, data->pwm_clk); in set_pwm()
|
/linux-6.1.9/arch/arm/boot/dts/ ! |
D | at91sam9rl.dtsi | 256 clock-names = "pwm_clk";
|
D | at91sam9263.dtsi | 723 clock-names = "pwm_clk";
|