Lines Matching refs:device
87 static int cc_trng_pm_get(struct device *dev)
97 static void cc_trng_pm_put_suspend(struct device *dev)
109 struct device *dev = &(drvdata->pdev->dev);
120 struct device *dev = &(drvdata->pdev->dev);
128 struct device *dev = &(drvdata->pdev->dev);
136 struct device *dev = &(drvdata->pdev->dev);
147 /* arm,rosc-ratio was not found in device tree */
165 struct device *dev = &(drvdata->pdev->dev);
215 struct device *dev = &(drvdata->pdev->dev);
252 /* increment device's usage counter */
278 struct device *dev = &(drvdata->pdev->dev);
322 struct device *dev = &(drvdata->pdev->dev);
405 struct device *dev = &(drvdata->pdev->dev);
462 struct device *dev = &(drvdata->pdev->dev);
491 struct device *dev = &pdev->dev;
513 /* Get device resources */
535 /* parse sampling rate from device tree */
577 /* increment device's usage counter */
587 /* registration of the hwrng device */
590 dev_err(dev, "Could not register hwrng device.\n");
601 dev_info(dev, "ARM cctrng device initialized\n");
617 struct device *dev = &pdev->dev;
627 dev_info(dev, "ARM cctrng device terminated\n");
632 static int __maybe_unused cctrng_suspend(struct device *dev)
652 * completed and device is fully functional
666 static int __maybe_unused cctrng_resume(struct device *dev)
672 /* Enables the device source clk */