Home
last modified time | relevance | path

Searched refs:hva_ctx (Results 1 – 8 of 8) sorted by relevance

/linux-6.3-rc2/drivers/media/platform/st/sti/hva/
A Dhva.h16 #define fh_to_ctx(f) (container_of(f, struct hva_ctx, fh))
247 struct hva_ctx { struct
292 struct hva_ctx last_ctx; argument
344 struct hva_ctx *instances[HVA_MAX_INSTANCES];
394 int (*open)(struct hva_ctx *ctx);
395 int (*close)(struct hva_ctx *ctx);
396 int (*encode)(struct hva_ctx *ctx, struct hva_frame *frame,
403 void hva_dbg_ctx_create(struct hva_ctx *ctx);
404 void hva_dbg_ctx_remove(struct hva_ctx *ctx);
405 void hva_dbg_perf_begin(struct hva_ctx *ctx);
[all …]
A Dhva-v4l2.c228 static void hva_dbg_summary(struct hva_ctx *ctx) in hva_dbg_summary()
618 struct hva_ctx *ctx = container_of(ctrl->handler, struct hva_ctx, in hva_s_ctrl()
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()
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()
1143 struct hva_ctx *ctx = priv; in hva_queue_init()
[all …]
A Dhva-debugfs.c13 static void format_ctx(struct seq_file *s, struct hva_ctx *ctx) in format_ctx()
119 void hva_dbg_perf_begin(struct hva_ctx *ctx) in hva_dbg_perf_begin()
175 void hva_dbg_perf_end(struct hva_ctx *ctx, struct hva_stream *stream) in hva_dbg_perf_end()
219 static void hva_dbg_perf_compute(struct hva_ctx *ctx) in hva_dbg_perf_compute()
305 struct hva_ctx *last_ctx = &hva->dbg.last_ctx; in last_show()
359 struct hva_ctx *ctx = s->private; in ctx_show()
371 void hva_dbg_ctx_create(struct hva_ctx *ctx) in hva_dbg_ctx_create()
387 void hva_dbg_ctx_remove(struct hva_ctx *ctx) in hva_dbg_ctx_remove()
A Dhva-mem.h26 int hva_mem_alloc(struct hva_ctx *ctx,
31 void hva_mem_free(struct hva_ctx *ctx,
A Dhva-mem.c11 int hva_mem_alloc(struct hva_ctx *ctx, u32 size, const char *name, in hva_mem_alloc()
50 void hva_mem_free(struct hva_ctx *ctx, struct hva_buffer *buf) in hva_mem_free()
A Dhva-h264.c415 static int hva_h264_fill_slice_header(struct hva_ctx *pctx, in hva_h264_fill_slice_header()
488 static int hva_h264_fill_data_nal(struct hva_ctx *pctx, in hva_h264_fill_data_nal()
521 static int hva_h264_fill_sei_nal(struct hva_ctx *pctx, in hva_h264_fill_sei_nal()
587 static int hva_h264_prepare_task(struct hva_ctx *pctx, in hva_h264_prepare_task()
889 static int hva_h264_open(struct hva_ctx *pctx) in hva_h264_open()
985 static int hva_h264_close(struct hva_ctx *pctx) in hva_h264_close()
1007 static int hva_h264_encode(struct hva_ctx *pctx, struct hva_frame *frame, in hva_h264_encode()
A Dhva-hw.h39 int hva_hw_execute_task(struct hva_ctx *ctx, enum hva_hw_cmd_type cmd,
A Dhva-hw.c121 struct hva_ctx *ctx = NULL; in hva_hw_its_irq_thread()
224 struct hva_ctx *ctx; in hva_hw_err_irq_thread()
455 int hva_hw_execute_task(struct hva_ctx *ctx, enum hva_hw_cmd_type cmd, in hva_hw_execute_task()

Completed in 16 milliseconds