Home
last modified time | relevance | path

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

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