Home
last modified time | relevance | path

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

/linux/drivers/media/platform/st/sti/hva/
H 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 …]
H 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()
H A Dhva-mem.h26 int hva_mem_alloc(struct hva_ctx *ctx,
31 void hva_mem_free(struct hva_ctx *ctx,
H 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()
H 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()
H A Dhva-hw.h39 int hva_hw_execute_task(struct hva_ctx *ctx, enum hva_hw_cmd_type cmd,
H 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()
454 int hva_hw_execute_task(struct hva_ctx *ctx, enum hva_hw_cmd_type cmd, in hva_hw_execute_task()