Lines Matching refs:hva_ctx

39 #define fh_to_ctx(f)    (container_of(f, struct hva_ctx, fh))
91 static void set_default_params(struct hva_ctx *ctx) in set_default_params()
120 static const struct hva_enc *hva_find_encoder(struct hva_ctx *ctx, in hva_find_encoder()
189 static int hva_open_encoder(struct hva_ctx *ctx, u32 streamformat, in hva_open_encoder()
228 static void hva_dbg_summary(struct hva_ctx *ctx) in hva_dbg_summary()
257 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_querycap()
271 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_enum_fmt_stream()
285 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_enum_fmt_frame()
298 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_g_fmt_stream()
317 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_g_fmt_frame()
338 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_try_fmt_stream()
402 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_try_fmt_frame()
452 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_s_fmt_stream()
482 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_s_fmt_frame()
520 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_g_parm()
536 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_s_parm()
556 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_qbuf()
618 struct hva_ctx *ctx = container_of(ctrl->handler, struct hva_ctx, in hva_s_ctrl()
693 static int hva_ctrls_setup(struct hva_ctx *ctx) in hva_ctrls_setup()
807 struct hva_ctx *ctx = container_of(work, struct hva_ctx, run_work); in hva_run_work()
857 struct hva_ctx *ctx = priv; in hva_device_run()
865 struct hva_ctx *ctx = priv; in hva_job_abort()
875 struct hva_ctx *ctx = priv; in hva_job_ready()
913 struct hva_ctx *ctx = vb2_get_drv_priv(vq); in hva_queue_setup()
935 struct hva_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in hva_buf_prepare()
987 struct hva_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in hva_buf_queue()
996 struct hva_ctx *ctx = vb2_get_drv_priv(vq); in hva_start_streaming()
1067 struct hva_ctx *ctx = vb2_get_drv_priv(vq); in hva_stop_streaming()
1128 static int queue_init(struct hva_ctx *ctx, struct vb2_queue *vq) in queue_init()
1143 struct hva_ctx *ctx = priv; in hva_queue_init()
1167 struct hva_ctx *ctx; in hva_open()
1233 struct hva_ctx *ctx = fh_to_ctx(file->private_data); in hva_release()