Lines Matching full:pwmdac
330 "failed to enable pwmdac clocks\n"); in jh7110_pwmdac_crg_enable()
334 dev_err(dev->dev, "failed to deassert pwmdac apb reset\n"); in jh7110_pwmdac_crg_enable()
367 .name = "jh7110-pwmdac",
371 .name = "jh7110-pwmdac",
384 struct jh7110_pwmdac_dev *pwmdac = dev_get_drvdata(dev); in jh7110_pwmdac_runtime_suspend() local
386 return jh7110_pwmdac_crg_enable(pwmdac, false); in jh7110_pwmdac_runtime_suspend()
391 struct jh7110_pwmdac_dev *pwmdac = dev_get_drvdata(dev); in jh7110_pwmdac_runtime_resume() local
393 return jh7110_pwmdac_crg_enable(pwmdac, true); in jh7110_pwmdac_runtime_resume()
398 struct jh7110_pwmdac_dev *pwmdac = dev_get_drvdata(dev); in jh7110_pwmdac_system_suspend() local
401 pwmdac->saved_ctrl = jh7110_pwmdac_read_reg(pwmdac->base, in jh7110_pwmdac_system_suspend()
408 struct jh7110_pwmdac_dev *pwmdac = dev_get_drvdata(dev); in jh7110_pwmdac_system_resume() local
416 jh7110_pwmdac_write_reg(pwmdac->base, JH7110_PWMDAC_CTRL, in jh7110_pwmdac_system_resume()
417 pwmdac->saved_ctrl); in jh7110_pwmdac_system_resume()
465 "failed to get pwmdac clocks\n"); in jh7110_pwmdac_probe()
470 "failed to get pwmdac apb reset\n"); in jh7110_pwmdac_probe()
507 { .compatible = "starfive,jh7110-pwmdac" },
514 .name = "jh7110-pwmdac",