Lines Matching refs:coda_ctx

41 static void coda_free_bitstream_buffer(struct coda_ctx *ctx);
64 static void coda_command_async(struct coda_ctx *ctx, int cmd)
97 static int coda_command_sync(struct coda_ctx *ctx, int cmd)
111 int coda_hw_reset(struct coda_ctx *ctx)
149 static void coda_kfifo_sync_from_device(struct coda_ctx *ctx)
162 static void coda_kfifo_sync_to_device_full(struct coda_ctx *ctx)
174 static void coda_kfifo_sync_to_device_write(struct coda_ctx *ctx)
184 static int coda_h264_bitstream_pad(struct coda_ctx *ctx, u32 size)
203 int coda_bitstream_flush(struct coda_ctx *ctx)
223 static int coda_bitstream_queue(struct coda_ctx *ctx, const u8 *buf, u32 size)
230 static u32 coda_buffer_parse_headers(struct coda_ctx *ctx,
251 static bool coda_bitstream_try_queue(struct coda_ctx *ctx,
323 void coda_fill_bitstream(struct coda_ctx *ctx, struct list_head *buffer_list)
435 void coda_bit_stream_end_flag(struct coda_ctx *ctx)
450 static void coda_parabuf_write(struct coda_ctx *ctx, int index, u32 value)
461 static inline int coda_alloc_context_buf(struct coda_ctx *ctx,
469 static void coda_free_framebuffers(struct coda_ctx *ctx)
477 static int coda_alloc_framebuffers(struct coda_ctx *ctx,
558 static void coda_free_context_buffers(struct coda_ctx *ctx)
569 static int coda_alloc_context_buffers(struct coda_ctx *ctx,
622 static int coda_encode_header(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf,
680 static u32 coda_slice_mode(struct coda_ctx *ctx)
703 static int coda_enc_param_change(struct coda_ctx *ctx)
791 static void coda_setup_iram(struct coda_ctx *ctx)
1010 static void coda9_set_frame_cache(struct coda_ctx *ctx, u32 fourcc)
1040 static int coda_encoder_reqbufs(struct coda_ctx *ctx,
1061 static int coda_start_encoding(struct coda_ctx *ctx)
1478 static int coda_prepare_encode(struct coda_ctx *ctx)
1639 static void coda_finish_encode(struct coda_ctx *ctx)
1707 struct coda_ctx *ctx = container_of(work, struct coda_ctx, seq_end_work);
1742 static void coda_bit_release(struct coda_ctx *ctx)
1765 static int coda_alloc_bitstream_buffer(struct coda_ctx *ctx,
1785 static void coda_free_bitstream_buffer(struct coda_ctx *ctx)
1796 static int coda_decoder_reqbufs(struct coda_ctx *ctx,
1823 static bool coda_reorder_enable(struct coda_ctx *ctx)
1848 static void coda_decoder_drop_used_metas(struct coda_ctx *ctx)
1871 static int __coda_decoder_seq_init(struct coda_ctx *ctx)
2043 struct coda_ctx *ctx = container_of(work,
2044 struct coda_ctx, seq_init_work);
2057 static int __coda_start_decoding(struct coda_ctx *ctx)
2152 static int coda_start_decoding(struct coda_ctx *ctx)
2164 static int coda_prepare_decode(struct coda_ctx *ctx)
2301 static void coda_finish_decode(struct coda_ctx *ctx)
2603 static void coda_decode_timeout(struct coda_ctx *ctx)
2637 struct coda_ctx *ctx;