Lines Matching refs:ctx
15 * @ctx: The context of the guest heap to use.
18 int hgsmi_report_flags_location(struct gen_pool *ctx, u32 location)
22 p = hgsmi_buffer_alloc(ctx, sizeof(*p), HGSMI_CH_HGSMI,
30 hgsmi_buffer_submit(ctx, p);
31 hgsmi_buffer_free(ctx, p);
40 * @ctx: The context of the guest heap to use.
43 int hgsmi_send_caps_info(struct gen_pool *ctx, u32 caps)
47 p = hgsmi_buffer_alloc(ctx, sizeof(*p), HGSMI_CH_VBVA, VBVA_INFO_CAPS);
54 hgsmi_buffer_submit(ctx, p);
58 hgsmi_buffer_free(ctx, p);
63 int hgsmi_test_query_conf(struct gen_pool *ctx)
68 ret = hgsmi_query_conf(ctx, U32_MAX, &value);
79 * @ctx: The context containing the heap used.
83 int hgsmi_query_conf(struct gen_pool *ctx, u32 index, u32 *value_ret)
87 p = hgsmi_buffer_alloc(ctx, sizeof(*p), HGSMI_CH_VBVA,
95 hgsmi_buffer_submit(ctx, p);
99 hgsmi_buffer_free(ctx, p);
108 * @ctx: The context containing the heap to be used.
117 int hgsmi_update_pointer_shape(struct gen_pool *ctx, u32 flags,
142 p = hgsmi_buffer_alloc(ctx, sizeof(*p) + pixel_len, HGSMI_CH_VBVA,
156 hgsmi_buffer_submit(ctx, p);
172 hgsmi_buffer_free(ctx, p);
183 * @ctx: The context containing the heap used.
190 int hgsmi_cursor_position(struct gen_pool *ctx, bool report_position,
195 p = hgsmi_buffer_alloc(ctx, sizeof(*p), HGSMI_CH_VBVA,
204 hgsmi_buffer_submit(ctx, p);
209 hgsmi_buffer_free(ctx, p);