Lines Matching refs:drm_dev
241 struct drm_device *drm_dev = from_pvr_device(pvr_dev); in pvr_power_init_manual() local
244 reset = devm_reset_control_get_optional_exclusive(drm_dev->dev, NULL); in pvr_power_init_manual()
246 return dev_err_probe(drm_dev->dev, PTR_ERR(reset), in pvr_power_init_manual()
355 struct drm_device *drm_dev = platform_get_drvdata(plat_dev); in pvr_power_device_suspend() local
356 struct pvr_device *pvr_dev = to_pvr_device(drm_dev); in pvr_power_device_suspend()
360 if (!drm_dev_enter(drm_dev, &idx)) in pvr_power_device_suspend()
381 struct drm_device *drm_dev = platform_get_drvdata(plat_dev); in pvr_power_device_resume() local
382 struct pvr_device *pvr_dev = to_pvr_device(drm_dev); in pvr_power_device_resume()
386 if (!drm_dev_enter(drm_dev, &idx)) in pvr_power_device_resume()
416 struct drm_device *drm_dev = platform_get_drvdata(plat_dev); in pvr_power_device_idle() local
417 struct pvr_device *pvr_dev = to_pvr_device(drm_dev); in pvr_power_device_idle()