Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/test-drivers/visl/
H A Dvisl.h138 struct visl_ctx { struct
162 static inline struct visl_ctx *visl_file_to_ctx(struct file *file) in visl_file_to_ctx() argument
164 return container_of(file->private_data, struct visl_ctx, fh); in visl_file_to_ctx()
167 static inline struct visl_ctx *visl_v4l2fh_to_ctx(struct v4l2_fh *v4l2_fh) in visl_v4l2fh_to_ctx()
169 return container_of(v4l2_fh, struct visl_ctx, fh); in visl_v4l2fh_to_ctx()
172 void *visl_find_control_data(struct visl_ctx *ctx, u32 id);
173 struct v4l2_ctrl *visl_find_control(struct visl_ctx *ctx, u32 id);
174 u32 visl_control_num_elems(struct visl_ctx *ctx, u32 id);
H A Dvisl-video.c78 static int visl_tpg_init(struct visl_ctx *ctx) in visl_tpg_init()
325 struct visl_ctx *ctx = visl_file_to_ctx(file); in visl_enum_fmt_vid_cap()
347 struct visl_ctx *ctx = visl_file_to_ctx(file); in visl_g_fmt_vid_cap()
356 struct visl_ctx *ctx = visl_file_to_ctx(file); in visl_g_fmt_vid_out()
541 struct visl_ctx *ctx = vb2_get_drv_priv(vq); in visl_queue_setup()
580 struct visl_ctx *ctx = vb2_get_drv_priv(vq); in visl_queue_cleanup()
617 struct visl_ctx *ctx = vb2_get_drv_priv(vq); in visl_buf_prepare()
639 struct visl_ctx *ctx = vb2_get_drv_priv(vq); in visl_start_streaming()
669 struct visl_ctx *ctx = vb2_get_drv_priv(vq); in visl_stop_streaming()
708 struct visl_ctx *ctx = priv; in visl_queue_init()
[all …]
H A Dvisl-debugfs.h18 void visl_trace_bitstream(struct visl_ctx *ctx, struct visl_run *run);
35 static inline void visl_trace_bitstream(struct visl_ctx *ctx, struct visl_run *run) {} in visl_trace_bitstream()
H A Dvisl-dec.h62 int visl_dec_start(struct visl_ctx *ctx);
63 int visl_dec_stop(struct visl_ctx *ctx);
H A Dvisl-core.c214 struct v4l2_ctrl *visl_find_control(struct visl_ctx *ctx, u32 id) in visl_find_control()
221 void *visl_find_control_data(struct visl_ctx *ctx, u32 id) in visl_find_control_data()
232 u32 visl_control_num_elems(struct visl_ctx *ctx, u32 id) in visl_control_num_elems()
256 static int visl_init_ctrls(struct visl_ctx *ctx) in visl_init_ctrls()
292 struct visl_ctx *ctx = NULL; in visl_open()
350 struct visl_ctx *ctx = visl_file_to_ctx(file); in visl_release()
H A Dvisl-video.h24 int visl_set_default_format(struct visl_ctx *ctx);
H A Dvisl-dec.c36 static void visl_get_ref_frames(struct visl_ctx *ctx, u8 *buf, in visl_get_ref_frames()
195 static void visl_tpg_fill_sequence(struct visl_ctx *ctx, in visl_tpg_fill_sequence()
215 static void visl_tpg_fill(struct visl_ctx *ctx, struct visl_run *run) in visl_tpg_fill()
358 static void visl_trace_ctrls(struct visl_ctx *ctx, struct visl_run *run) in visl_trace_ctrls()
419 struct visl_ctx *ctx = priv; in visl_device_run()
H A Dvisl-debugfs.c40 void visl_trace_bitstream(struct visl_ctx *ctx, struct visl_run *run) in visl_trace_bitstream()