Symbol: coda_ctx
drivers/media/platform/chips-media/coda/coda-bit.c
1010
static void coda9_set_frame_cache(struct coda_ctx *ctx, u32 fourcc)
drivers/media/platform/chips-media/coda/coda-bit.c
1040
static int coda_encoder_reqbufs(struct coda_ctx *ctx,
drivers/media/platform/chips-media/coda/coda-bit.c
1061
static int coda_start_encoding(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-bit.c
111
int coda_hw_reset(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-bit.c
1478
static int coda_prepare_encode(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-bit.c
149
static void coda_kfifo_sync_from_device(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-bit.c
162
static void coda_kfifo_sync_to_device_full(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-bit.c
1639
static void coda_finish_encode(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-bit.c
1707
struct coda_ctx *ctx = container_of(work, struct coda_ctx, seq_end_work);
drivers/media/platform/chips-media/coda/coda-bit.c
174
static void coda_kfifo_sync_to_device_write(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-bit.c
1742
static void coda_bit_release(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-bit.c
1765
static int coda_alloc_bitstream_buffer(struct coda_ctx *ctx,
drivers/media/platform/chips-media/coda/coda-bit.c
1785
static void coda_free_bitstream_buffer(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-bit.c
1796
static int coda_decoder_reqbufs(struct coda_ctx *ctx,
drivers/media/platform/chips-media/coda/coda-bit.c
1823
static bool coda_reorder_enable(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-bit.c
184
static int coda_h264_bitstream_pad(struct coda_ctx *ctx, u32 size)
drivers/media/platform/chips-media/coda/coda-bit.c
1848
static void coda_decoder_drop_used_metas(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-bit.c
1871
static int __coda_decoder_seq_init(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-bit.c
203
int coda_bitstream_flush(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-bit.c
2043
struct coda_ctx *ctx = container_of(work,
drivers/media/platform/chips-media/coda/coda-bit.c
2044
struct coda_ctx, seq_init_work);
drivers/media/platform/chips-media/coda/coda-bit.c
2057
static int __coda_start_decoding(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-bit.c
2152
static int coda_start_decoding(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-bit.c
2164
static int coda_prepare_decode(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-bit.c
223
static int coda_bitstream_queue(struct coda_ctx *ctx, const u8 *buf, u32 size)
drivers/media/platform/chips-media/coda/coda-bit.c
230
static u32 coda_buffer_parse_headers(struct coda_ctx *ctx,
drivers/media/platform/chips-media/coda/coda-bit.c
2301
static void coda_finish_decode(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-bit.c
251
static bool coda_bitstream_try_queue(struct coda_ctx *ctx,
drivers/media/platform/chips-media/coda/coda-bit.c
2603
static void coda_decode_timeout(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-bit.c
2637
struct coda_ctx *ctx;
drivers/media/platform/chips-media/coda/coda-bit.c
323
void coda_fill_bitstream(struct coda_ctx *ctx, struct list_head *buffer_list)
drivers/media/platform/chips-media/coda/coda-bit.c
41
static void coda_free_bitstream_buffer(struct coda_ctx *ctx);
drivers/media/platform/chips-media/coda/coda-bit.c
435
void coda_bit_stream_end_flag(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-bit.c
450
static void coda_parabuf_write(struct coda_ctx *ctx, int index, u32 value)
drivers/media/platform/chips-media/coda/coda-bit.c
461
static inline int coda_alloc_context_buf(struct coda_ctx *ctx,
drivers/media/platform/chips-media/coda/coda-bit.c
469
static void coda_free_framebuffers(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-bit.c
477
static int coda_alloc_framebuffers(struct coda_ctx *ctx,
drivers/media/platform/chips-media/coda/coda-bit.c
558
static void coda_free_context_buffers(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-bit.c
569
static int coda_alloc_context_buffers(struct coda_ctx *ctx,
drivers/media/platform/chips-media/coda/coda-bit.c
622
static int coda_encode_header(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf,
drivers/media/platform/chips-media/coda/coda-bit.c
64
static void coda_command_async(struct coda_ctx *ctx, int cmd)
drivers/media/platform/chips-media/coda/coda-bit.c
680
static u32 coda_slice_mode(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-bit.c
703
static int coda_enc_param_change(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-bit.c
791
static void coda_setup_iram(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-bit.c
97
static int coda_command_sync(struct coda_ctx *ctx, int cmd)
drivers/media/platform/chips-media/coda/coda-common.c
1008
void coda_m2m_buf_done(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf,
drivers/media/platform/chips-media/coda/coda-common.c
1024
struct coda_ctx *ctx = file_to_ctx(file);
drivers/media/platform/chips-media/coda/coda-common.c
1070
struct coda_ctx *ctx = file_to_ctx(file);
drivers/media/platform/chips-media/coda/coda-common.c
1111
static void coda_wake_up_capture_queue(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-common.c
1125
struct coda_ctx *ctx = file_to_ctx(file);
drivers/media/platform/chips-media/coda/coda-common.c
1158
static bool coda_mark_last_meta(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-common.c
1178
static bool coda_mark_last_dst_buf(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-common.c
1206
struct coda_ctx *ctx = file_to_ctx(file);
drivers/media/platform/chips-media/coda/coda-common.c
1285
struct coda_ctx *ctx = file_to_ctx(file);
drivers/media/platform/chips-media/coda/coda-common.c
1318
struct coda_ctx *ctx = file_to_ctx(file);
drivers/media/platform/chips-media/coda/coda-common.c
1357
struct coda_ctx *ctx = file_to_ctx(file);
drivers/media/platform/chips-media/coda/coda-common.c
1440
struct coda_ctx *ctx = file_to_ctx(file);
drivers/media/platform/chips-media/coda/coda-common.c
1458
struct coda_ctx *ctx = fh_to_ctx(fh);
drivers/media/platform/chips-media/coda/coda-common.c
1522
struct coda_ctx *ctx = m2m_priv;
drivers/media/platform/chips-media/coda/coda-common.c
1530
struct coda_ctx *ctx = container_of(work, struct coda_ctx, pic_run_work);
drivers/media/platform/chips-media/coda/coda-common.c
1570
struct coda_ctx *ctx = m2m_priv;
drivers/media/platform/chips-media/coda/coda-common.c
1640
struct coda_ctx *ctx = priv;
drivers/media/platform/chips-media/coda/coda-common.c
1653
static void set_default_params(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-common.c
1716
struct coda_ctx *ctx = vb2_get_drv_priv(vq);
drivers/media/platform/chips-media/coda/coda-common.c
1738
struct coda_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue);
drivers/media/platform/chips-media/coda/coda-common.c
1789
void coda_update_profile_level_ctrls(struct coda_ctx *ctx, u8 profile_idc,
drivers/media/platform/chips-media/coda/coda-common.c
1856
static void coda_queue_source_change_event(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-common.c
1869
struct coda_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue);
drivers/media/platform/chips-media/coda/coda-common.c
1970
struct coda_ctx *ctx = vb2_get_drv_priv(q);
drivers/media/platform/chips-media/coda/coda-common.c
2114
struct coda_ctx *ctx = vb2_get_drv_priv(q);
drivers/media/platform/chips-media/coda/coda-common.c
2180
struct coda_ctx *ctx =
drivers/media/platform/chips-media/coda/coda-common.c
2181
container_of(ctrl->handler, struct coda_ctx, ctrls);
drivers/media/platform/chips-media/coda/coda-common.c
2310
static void coda_encode_ctrls(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-common.c
2417
static void coda_jpeg_encode_ctrls(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-common.c
2425
static void coda_decode_ctrls(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-common.c
2489
static int coda_ctrls_setup(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-common.c
2529
static int coda_queue_init(struct coda_ctx *ctx, struct vb2_queue *vq)
drivers/media/platform/chips-media/coda/coda-common.c
2603
struct coda_ctx *ctx;
drivers/media/platform/chips-media/coda/coda-common.c
2736
struct coda_ctx *ctx = file_to_ctx(file);
drivers/media/platform/chips-media/coda/coda-common.c
430
struct coda_ctx *ctx = file_to_ctx(file);
drivers/media/platform/chips-media/coda/coda-common.c
450
struct coda_ctx *ctx = file_to_ctx(file);
drivers/media/platform/chips-media/coda/coda-common.c
500
struct coda_ctx *ctx = file_to_ctx(file);
drivers/media/platform/chips-media/coda/coda-common.c
521
static int coda_try_pixelformat(struct coda_ctx *ctx, struct v4l2_format *f)
drivers/media/platform/chips-media/coda/coda-common.c
553
static int coda_try_fmt_vdoa(struct coda_ctx *ctx, struct v4l2_format *f,
drivers/media/platform/chips-media/coda/coda-common.c
57
#define fh_to_ctx(__fh) container_of(__fh, struct coda_ctx, fh)
drivers/media/platform/chips-media/coda/coda-common.c
580
static unsigned int coda_estimate_sizeimage(struct coda_ctx *ctx, u32 sizeimage,
drivers/media/platform/chips-media/coda/coda-common.c
59
static inline struct coda_ctx *file_to_ctx(struct file *filp)
drivers/media/platform/chips-media/coda/coda-common.c
592
static int coda_try_fmt(struct coda_ctx *ctx, const struct coda_codec *codec,
drivers/media/platform/chips-media/coda/coda-common.c
661
struct coda_ctx *ctx = file_to_ctx(file);
drivers/media/platform/chips-media/coda/coda-common.c
767
struct coda_ctx *ctx = file_to_ctx(file);
drivers/media/platform/chips-media/coda/coda-common.c
786
static int coda_s_fmt(struct coda_ctx *ctx, struct v4l2_format *f,
drivers/media/platform/chips-media/coda/coda-common.c
859
struct coda_ctx *ctx = file_to_ctx(file);
drivers/media/platform/chips-media/coda/coda-common.c
911
struct coda_ctx *ctx = file_to_ctx(file);
drivers/media/platform/chips-media/coda/coda-common.c
965
struct coda_ctx *ctx = file_to_ctx(file);
drivers/media/platform/chips-media/coda/coda-common.c
97
void coda_write_base(struct coda_ctx *ctx, struct coda_q_data *q_data,
drivers/media/platform/chips-media/coda/coda-common.c
985
struct coda_ctx *ctx = file_to_ctx(file);
drivers/media/platform/chips-media/coda/coda-common.c
996
struct coda_ctx *ctx = file_to_ctx(file);
drivers/media/platform/chips-media/coda/coda-gdi.c
110
void coda_set_gdi_regs(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-h264.c
250
int coda_h264_sps_fixup(struct coda_ctx *ctx, int width, int height, char *buf,
drivers/media/platform/chips-media/coda/coda-h264.c
31
int coda_sps_parse_profile(struct coda_ctx *ctx, struct vb2_buffer *vb)
drivers/media/platform/chips-media/coda/coda-jpeg.c
1010
void coda_set_jpeg_compression_quality(struct coda_ctx *ctx, int quality)
drivers/media/platform/chips-media/coda/coda-jpeg.c
1045
static int coda9_jpeg_start_encoding(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-jpeg.c
1070
static int coda9_jpeg_prepare_encode(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-jpeg.c
1207
static void coda9_jpeg_finish_encode(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-jpeg.c
1267
static void coda9_jpeg_encode_timeout(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-jpeg.c
1284
static void coda9_jpeg_release(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-jpeg.c
1311
static int coda9_jpeg_start_decoding(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-jpeg.c
1327
static int coda9_jpeg_prepare_decode(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-jpeg.c
1446
static void coda9_jpeg_finish_decode(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-jpeg.c
1509
struct coda_ctx *ctx;
drivers/media/platform/chips-media/coda/coda-jpeg.c
215
int coda_jpeg_write_tables(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-jpeg.c
241
bool coda_jpeg_check_buffer(struct coda_ctx *ctx, struct vb2_buffer *vb)
drivers/media/platform/chips-media/coda/coda-jpeg.c
265
static int coda9_jpeg_gen_dec_huff_tab(struct coda_ctx *ctx, int tab_num);
drivers/media/platform/chips-media/coda/coda-jpeg.c
267
int coda_jpeg_decode_header(struct coda_ctx *ctx, struct vb2_buffer *vb)
drivers/media/platform/chips-media/coda/coda-jpeg.c
424
static void coda9_jpeg_dec_huff_setup(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-jpeg.c
471
static void coda9_jpeg_qmat_setup(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-jpeg.c
482
static void coda9_jpeg_dec_bbc_gbu_setup(struct coda_ctx *ctx,
drivers/media/platform/chips-media/coda/coda-jpeg.c
582
static int coda9_jpeg_gen_enc_huff_tab(struct coda_ctx *ctx, int tab_num,
drivers/media/platform/chips-media/coda/coda-jpeg.c
651
static u8 *coda9_jpeg_get_huff_bits(struct coda_ctx *ctx, int tab_num)
drivers/media/platform/chips-media/coda/coda-jpeg.c
668
static int coda9_jpeg_gen_dec_huff_tab(struct coda_ctx *ctx, int tab_num)
drivers/media/platform/chips-media/coda/coda-jpeg.c
716
static int coda9_jpeg_load_huff_tab(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-jpeg.c
774
static void coda9_jpeg_write_huff_tab(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-jpeg.c
798
static void coda9_jpeg_load_qmat_tab(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda-jpeg.c
861
static int coda_jpeg_define_quantization_table(struct coda_ctx *ctx, u8 index,
drivers/media/platform/chips-media/coda/coda-jpeg.c
875
static int coda9_jpeg_encode_header(struct coda_ctx *ctx, int len, u8 *buf)
drivers/media/platform/chips-media/coda/coda-mpeg2.c
64
u32 coda_mpeg2_parse_headers(struct coda_ctx *ctx, u8 *buf, u32 size)
drivers/media/platform/chips-media/coda/coda-mpeg4.c
61
u32 coda_mpeg4_parse_headers(struct coda_ctx *ctx, u8 *buf, u32 size)
drivers/media/platform/chips-media/coda/coda.h
201
struct coda_ctx;
drivers/media/platform/chips-media/coda/coda.h
206
int (*reqbufs)(struct coda_ctx *ctx, struct v4l2_requestbuffers *rb);
drivers/media/platform/chips-media/coda/coda.h
207
int (*start_streaming)(struct coda_ctx *ctx);
drivers/media/platform/chips-media/coda/coda.h
208
int (*prepare_run)(struct coda_ctx *ctx);
drivers/media/platform/chips-media/coda/coda.h
209
void (*finish_run)(struct coda_ctx *ctx);
drivers/media/platform/chips-media/coda/coda.h
210
void (*run_timeout)(struct coda_ctx *ctx);
drivers/media/platform/chips-media/coda/coda.h
213
void (*release)(struct coda_ctx *ctx);
drivers/media/platform/chips-media/coda/coda.h
307
void coda_write_base(struct coda_ctx *ctx, struct coda_q_data *q_data,
drivers/media/platform/chips-media/coda/coda.h
319
int coda_hw_reset(struct coda_ctx *ctx);
drivers/media/platform/chips-media/coda/coda.h
321
void coda_fill_bitstream(struct coda_ctx *ctx, struct list_head *buffer_list);
drivers/media/platform/chips-media/coda/coda.h
323
void coda_set_gdi_regs(struct coda_ctx *ctx);
drivers/media/platform/chips-media/coda/coda.h
325
static inline struct coda_q_data *get_q_data(struct coda_ctx *ctx,
drivers/media/platform/chips-media/coda/coda.h
342
static inline unsigned int coda_get_bitstream_payload(struct coda_ctx *ctx)
drivers/media/platform/chips-media/coda/coda.h
351
static inline bool coda_bitstream_can_fetch_past(struct coda_ctx *ctx,
drivers/media/platform/chips-media/coda/coda.h
357
bool coda_bitstream_can_fetch_past(struct coda_ctx *ctx, unsigned int pos);
drivers/media/platform/chips-media/coda/coda.h
358
int coda_bitstream_flush(struct coda_ctx *ctx);
drivers/media/platform/chips-media/coda/coda.h
360
void coda_bit_stream_end_flag(struct coda_ctx *ctx);
drivers/media/platform/chips-media/coda/coda.h
362
void coda_m2m_buf_done(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf,
drivers/media/platform/chips-media/coda/coda.h
369
int coda_sps_parse_profile(struct coda_ctx *ctx, struct vb2_buffer *vb);
drivers/media/platform/chips-media/coda/coda.h
370
int coda_h264_sps_fixup(struct coda_ctx *ctx, int width, int height, char *buf,
drivers/media/platform/chips-media/coda/coda.h
375
u32 coda_mpeg2_parse_headers(struct coda_ctx *ctx, u8 *buf, u32 size);
drivers/media/platform/chips-media/coda/coda.h
378
u32 coda_mpeg4_parse_headers(struct coda_ctx *ctx, u8 *buf, u32 size);
drivers/media/platform/chips-media/coda/coda.h
380
void coda_update_profile_level_ctrls(struct coda_ctx *ctx, u8 profile_idc,
drivers/media/platform/chips-media/coda/coda.h
390
bool coda_jpeg_check_buffer(struct coda_ctx *ctx, struct vb2_buffer *vb);
drivers/media/platform/chips-media/coda/coda.h
391
int coda_jpeg_decode_header(struct coda_ctx *ctx, struct vb2_buffer *vb);
drivers/media/platform/chips-media/coda/coda.h
392
int coda_jpeg_write_tables(struct coda_ctx *ctx);
drivers/media/platform/chips-media/coda/coda.h
393
void coda_set_jpeg_compression_quality(struct coda_ctx *ctx, int quality);
drivers/media/platform/chips-media/coda/trace.h
111
TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf,
drivers/media/platform/chips-media/coda/trace.h
117
TP_PROTO(struct coda_ctx *ctx, struct coda_buffer_meta *meta),
drivers/media/platform/chips-media/coda/trace.h
14
TP_PROTO(struct coda_ctx *ctx, int cmd),
drivers/media/platform/chips-media/coda/trace.h
142
TP_PROTO(struct coda_ctx *ctx, struct coda_buffer_meta *meta),
drivers/media/platform/chips-media/coda/trace.h
147
TP_PROTO(struct coda_ctx *ctx, struct coda_buffer_meta *meta),
drivers/media/platform/chips-media/coda/trace.h
152
TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf,
drivers/media/platform/chips-media/coda/trace.h
158
TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf),
drivers/media/platform/chips-media/coda/trace.h
163
TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf),
drivers/media/platform/chips-media/coda/trace.h
35
TP_PROTO(struct coda_ctx *ctx),
drivers/media/platform/chips-media/coda/trace.h
53
TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf),
drivers/media/platform/chips-media/coda/trace.h
74
TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf),
drivers/media/platform/chips-media/coda/trace.h
79
TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf),
drivers/media/platform/chips-media/coda/trace.h
84
TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf,