Lines Matching refs:pdev
45 * @pdev: pointer to platform device
51 struct platform_device *pdev;
59 struct platform_device *pdev = wkupm3->pdev;
60 struct device *dev = &pdev->dev;
66 if (!wkupm3->rsts && pdata->deassert_reset(pdev, pdata->reset_name)) {
77 struct platform_device *pdev = wkupm3->pdev;
78 struct device *dev = &pdev->dev;
84 if (!wkupm3->rsts && pdata->assert_reset(pdev, pdata->reset_name)) {
128 static int wkup_m3_rproc_probe(struct platform_device *pdev)
130 struct device *dev = &pdev->dev;
151 pm_runtime_enable(&pdev->dev);
152 ret = pm_runtime_get_sync(&pdev->dev);
154 dev_err(&pdev->dev, "pm_runtime_get_sync() failed\n");
170 wkupm3->pdev = pdev;
185 res = platform_get_resource_byname(pdev, IORESOURCE_MEM,
189 dev_err(&pdev->dev, "devm_ioremap_resource failed for resource %d\n",
226 static void wkup_m3_rproc_remove(struct platform_device *pdev)
228 struct rproc *rproc = platform_get_drvdata(pdev);
232 pm_runtime_put_sync(&pdev->dev);
233 pm_runtime_disable(&pdev->dev);