Lines Matching refs:tidss
30 int tidss_runtime_get(struct tidss_device *tidss) in tidss_runtime_get() argument
34 dev_dbg(tidss->dev, "%s\n", __func__); in tidss_runtime_get()
36 r = pm_runtime_get_sync(tidss->dev); in tidss_runtime_get()
41 void tidss_runtime_put(struct tidss_device *tidss) in tidss_runtime_put() argument
45 dev_dbg(tidss->dev, "%s\n", __func__); in tidss_runtime_put()
47 r = pm_runtime_put_sync(tidss->dev); in tidss_runtime_put()
53 struct tidss_device *tidss = dev_get_drvdata(dev); in tidss_pm_runtime_suspend() local
57 return dispc_runtime_suspend(tidss->dispc); in tidss_pm_runtime_suspend()
62 struct tidss_device *tidss = dev_get_drvdata(dev); in tidss_pm_runtime_resume() local
67 r = dispc_runtime_resume(tidss->dispc); in tidss_pm_runtime_resume()
76 struct tidss_device *tidss = dev_get_drvdata(dev); in tidss_suspend() local
80 return drm_mode_config_helper_suspend(&tidss->ddev); in tidss_suspend()
85 struct tidss_device *tidss = dev_get_drvdata(dev); in tidss_resume() local
89 return drm_mode_config_helper_resume(&tidss->ddev); in tidss_resume()
131 struct tidss_device *tidss; in tidss_probe() local
138 tidss = devm_drm_dev_alloc(&pdev->dev, &tidss_driver, in tidss_probe()
140 if (IS_ERR(tidss)) in tidss_probe()
141 return PTR_ERR(tidss); in tidss_probe()
143 ddev = &tidss->ddev; in tidss_probe()
145 tidss->dev = dev; in tidss_probe()
146 tidss->feat = of_device_get_match_data(dev); in tidss_probe()
148 platform_set_drvdata(pdev, tidss); in tidss_probe()
150 ret = dispc_init(tidss); in tidss_probe()
160 dispc_runtime_resume(tidss->dispc); in tidss_probe()
163 ret = tidss_modeset_init(tidss); in tidss_probe()
203 dispc_runtime_suspend(tidss->dispc); in tidss_probe()
213 struct tidss_device *tidss = platform_get_drvdata(pdev); in tidss_remove() local
214 struct drm_device *ddev = &tidss->ddev; in tidss_remove()
226 dispc_runtime_suspend(tidss->dispc); in tidss_remove()
231 dispc_remove(tidss); in tidss_remove()