Lines Matching defs:ctx

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