Lines Matching refs:rcdu
528 struct rcar_du_device *rcdu = dev_get_drvdata(dev); in rcar_du_pm_suspend() local
530 return drm_mode_config_helper_suspend(rcdu->ddev); in rcar_du_pm_suspend()
535 struct rcar_du_device *rcdu = dev_get_drvdata(dev); in rcar_du_pm_resume() local
537 return drm_mode_config_helper_resume(rcdu->ddev); in rcar_du_pm_resume()
551 struct rcar_du_device *rcdu = platform_get_drvdata(pdev); in rcar_du_remove() local
552 struct drm_device *ddev = rcdu->ddev; in rcar_du_remove()
565 struct rcar_du_device *rcdu; in rcar_du_probe() local
571 rcdu = devm_kzalloc(&pdev->dev, sizeof(*rcdu), GFP_KERNEL); in rcar_du_probe()
572 if (rcdu == NULL) in rcar_du_probe()
575 rcdu->dev = &pdev->dev; in rcar_du_probe()
576 rcdu->info = of_device_get_match_data(rcdu->dev); in rcar_du_probe()
578 platform_set_drvdata(pdev, rcdu); in rcar_du_probe()
582 rcdu->mmio = devm_ioremap_resource(&pdev->dev, mem); in rcar_du_probe()
583 if (IS_ERR(rcdu->mmio)) in rcar_du_probe()
584 return PTR_ERR(rcdu->mmio); in rcar_du_probe()
591 rcdu->ddev = ddev; in rcar_du_probe()
592 ddev->dev_private = rcdu; in rcar_du_probe()
594 ret = rcar_du_modeset_init(rcdu); in rcar_du_probe()