Lines Matching refs:ctx

60 	struct drm_hdmi_context *ctx = to_context(dev);
65 return hdmi_ops->is_connected(ctx->hdmi_ctx->ctx);
73 struct drm_hdmi_context *ctx = to_context(dev);
78 return hdmi_ops->get_edid(ctx->hdmi_ctx->ctx, connector, edid,
86 struct drm_hdmi_context *ctx = to_context(dev);
91 return hdmi_ops->check_timing(ctx->hdmi_ctx->ctx, timing);
98 struct drm_hdmi_context *ctx = to_context(dev);
103 return hdmi_ops->power_on(ctx->hdmi_ctx->ctx, mode);
118 struct drm_hdmi_context *ctx = to_context(subdrv_dev);
119 struct exynos_drm_subdrv *subdrv = &ctx->subdrv;
125 return mixer_ops->enable_vblank(ctx->mixer_ctx->ctx,
133 struct drm_hdmi_context *ctx = to_context(subdrv_dev);
138 return mixer_ops->disable_vblank(ctx->mixer_ctx->ctx);
146 struct drm_hdmi_context *ctx = to_context(subdrv_dev);
151 hdmi_ops->mode_fixup(ctx->hdmi_ctx->ctx, connector, mode,
157 struct drm_hdmi_context *ctx = to_context(subdrv_dev);
162 hdmi_ops->mode_set(ctx->hdmi_ctx->ctx, mode);
168 struct drm_hdmi_context *ctx = to_context(subdrv_dev);
173 hdmi_ops->get_max_resol(ctx->hdmi_ctx->ctx, width, height);
178 struct drm_hdmi_context *ctx = to_context(subdrv_dev);
183 hdmi_ops->commit(ctx->hdmi_ctx->ctx);
188 struct drm_hdmi_context *ctx = to_context(subdrv_dev);
199 hdmi_ops->disable(ctx->hdmi_ctx->ctx);
220 struct drm_hdmi_context *ctx = to_context(subdrv_dev);
225 mixer_ops->win_mode_set(ctx->mixer_ctx->ctx, overlay);
230 struct drm_hdmi_context *ctx = to_context(subdrv_dev);
235 mixer_ops->win_commit(ctx->mixer_ctx->ctx, zpos);
240 struct drm_hdmi_context *ctx = to_context(subdrv_dev);
245 mixer_ops->win_disable(ctx->mixer_ctx->ctx, zpos);
265 struct drm_hdmi_context *ctx;
288 ctx = get_ctx_from_subdrv(subdrv);
290 ctx->hdmi_ctx = (struct exynos_drm_hdmi_context *)
292 if (!ctx->hdmi_ctx) {
297 ctx->hdmi_ctx->drm_dev = drm_dev;
299 ctx->mixer_ctx = (struct exynos_drm_hdmi_context *)
301 if (!ctx->mixer_ctx) {
306 ctx->mixer_ctx->drm_dev = drm_dev;
315 struct drm_hdmi_context *ctx;
319 ctx = kzalloc(sizeof(*ctx), GFP_KERNEL);
320 if (!ctx) {
325 subdrv = &ctx->subdrv;
359 struct drm_hdmi_context *ctx = platform_get_drvdata(pdev);
363 exynos_drm_subdrv_unregister(&ctx->subdrv);
364 kfree(ctx);