Lines Matching refs:tidss
29 int tidss_runtime_get(struct tidss_device *tidss) in tidss_runtime_get() argument
33 dev_dbg(tidss->dev, "%s\n", __func__); in tidss_runtime_get()
35 r = pm_runtime_resume_and_get(tidss->dev); in tidss_runtime_get()
40 void tidss_runtime_put(struct tidss_device *tidss) in tidss_runtime_put() argument
44 dev_dbg(tidss->dev, "%s\n", __func__); in tidss_runtime_put()
46 pm_runtime_mark_last_busy(tidss->dev); in tidss_runtime_put()
48 r = pm_runtime_put_autosuspend(tidss->dev); in tidss_runtime_put()
54 struct tidss_device *tidss = dev_get_drvdata(dev); in tidss_pm_runtime_suspend() local
58 return dispc_runtime_suspend(tidss->dispc); in tidss_pm_runtime_suspend()
63 struct tidss_device *tidss = dev_get_drvdata(dev); in tidss_pm_runtime_resume() local
68 r = dispc_runtime_resume(tidss->dispc); in tidss_pm_runtime_resume()
77 struct tidss_device *tidss = dev_get_drvdata(dev); in tidss_suspend() local
81 return drm_mode_config_helper_suspend(&tidss->ddev); in tidss_suspend()
86 struct tidss_device *tidss = dev_get_drvdata(dev); in tidss_resume() local
90 return drm_mode_config_helper_resume(&tidss->ddev); in tidss_resume()
122 struct tidss_device *tidss; in tidss_probe() local
129 tidss = devm_drm_dev_alloc(&pdev->dev, &tidss_driver, in tidss_probe()
131 if (IS_ERR(tidss)) in tidss_probe()
132 return PTR_ERR(tidss); in tidss_probe()
134 ddev = &tidss->ddev; in tidss_probe()
136 tidss->dev = dev; in tidss_probe()
137 tidss->feat = of_device_get_match_data(dev); in tidss_probe()
139 platform_set_drvdata(pdev, tidss); in tidss_probe()
141 spin_lock_init(&tidss->wait_lock); in tidss_probe()
143 ret = dispc_init(tidss); in tidss_probe()
156 dispc_runtime_resume(tidss->dispc); in tidss_probe()
159 ret = tidss_modeset_init(tidss); in tidss_probe()
171 tidss->irq = irq; in tidss_probe()
200 dispc_runtime_suspend(tidss->dispc); in tidss_probe()
211 struct tidss_device *tidss = platform_get_drvdata(pdev); in tidss_remove() local
212 struct drm_device *ddev = &tidss->ddev; in tidss_remove()
224 dispc_runtime_suspend(tidss->dispc); in tidss_remove()
230 dispc_remove(tidss); in tidss_remove()