Lines Matching defs:ctx
66 static void coda_command_async(struct coda_ctx *ctx, int cmd) in coda_command_async()
98 static int coda_command_sync(struct coda_ctx *ctx, int cmd) in coda_command_sync()
110 int coda_hw_reset(struct coda_ctx *ctx) in coda_hw_reset()
146 static void coda_kfifo_sync_from_device(struct coda_ctx *ctx) in coda_kfifo_sync_from_device()
159 static void coda_kfifo_sync_to_device_full(struct coda_ctx *ctx) in coda_kfifo_sync_to_device_full()
171 static void coda_kfifo_sync_to_device_write(struct coda_ctx *ctx) in coda_kfifo_sync_to_device_write()
181 static int coda_bitstream_queue(struct coda_ctx *ctx, in coda_bitstream_queue()
197 static bool coda_bitstream_try_queue(struct coda_ctx *ctx, in coda_bitstream_try_queue()
226 void coda_fill_bitstream(struct coda_ctx *ctx, bool streaming) in coda_fill_bitstream()
304 void coda_bit_stream_end_flag(struct coda_ctx *ctx) in coda_bit_stream_end_flag()
319 static void coda_parabuf_write(struct coda_ctx *ctx, int index, u32 value) in coda_parabuf_write()
330 static inline int coda_alloc_context_buf(struct coda_ctx *ctx, in coda_alloc_context_buf()
338 static void coda_free_framebuffers(struct coda_ctx *ctx) in coda_free_framebuffers()
346 static int coda_alloc_framebuffers(struct coda_ctx *ctx, in coda_alloc_framebuffers()
424 static void coda_free_context_buffers(struct coda_ctx *ctx) in coda_free_context_buffers()
435 static int coda_alloc_context_buffers(struct coda_ctx *ctx, in coda_alloc_context_buffers()
487 static int coda_encode_header(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf, in coda_encode_header()
541 static void coda_setup_iram(struct coda_ctx *ctx) in coda_setup_iram()
747 static void coda9_set_frame_cache(struct coda_ctx *ctx, u32 fourcc) in coda9_set_frame_cache()
777 static int coda_encoder_reqbufs(struct coda_ctx *ctx, in coda_encoder_reqbufs()
798 static int coda_start_encoding(struct coda_ctx *ctx) in coda_start_encoding()
1187 static int coda_prepare_encode(struct coda_ctx *ctx) in coda_prepare_encode()
1328 static void coda_finish_encode(struct coda_ctx *ctx) in coda_finish_encode()
1391 struct coda_ctx *ctx = container_of(work, struct coda_ctx, seq_end_work); in coda_seq_end_work() local
1428 static void coda_bit_release(struct coda_ctx *ctx) in coda_bit_release()
1451 static int coda_alloc_bitstream_buffer(struct coda_ctx *ctx, in coda_alloc_bitstream_buffer()
1472 static void coda_free_bitstream_buffer(struct coda_ctx *ctx) in coda_free_bitstream_buffer()
1483 static int coda_decoder_reqbufs(struct coda_ctx *ctx, in coda_decoder_reqbufs()
1510 static int __coda_start_decoding(struct coda_ctx *ctx) in __coda_start_decoding()
1708 static int coda_start_decoding(struct coda_ctx *ctx) in coda_start_decoding()
1720 static int coda_prepare_decode(struct coda_ctx *ctx) in coda_prepare_decode()
1839 static void coda_finish_decode(struct coda_ctx *ctx) in coda_finish_decode()
2090 struct coda_ctx *ctx; in coda_irq_handler() local