Lines Matching refs:ctx
47 static void vbva_buffer_flush(struct gen_pool *ctx)
51 p = hgsmi_buffer_alloc(ctx, sizeof(*p), HGSMI_CH_VBVA, VBVA_FLUSH);
57 hgsmi_buffer_submit(ctx, p);
58 hgsmi_buffer_free(ctx, p);
61 bool vbva_write(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx,
81 vbva_buffer_flush(ctx);
108 struct gen_pool *ctx, s32 screen, bool enable)
113 p = hgsmi_buffer_alloc(ctx, sizeof(*p), HGSMI_CH_VBVA, VBVA_ENABLE);
125 hgsmi_buffer_submit(ctx, p);
132 hgsmi_buffer_free(ctx, p);
137 bool vbva_enable(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx,
147 ret = vbva_inform_host(vbva_ctx, ctx, screen, true);
149 vbva_disable(vbva_ctx, ctx, screen);
154 void vbva_disable(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx,
161 vbva_inform_host(vbva_ctx, ctx, screen, false);
165 struct gen_pool *ctx)
180 vbva_buffer_flush(ctx);