Lines Matching defs:ctx

63 static void coda_command_async(struct coda_ctx *ctx, int cmd)  in coda_command_async()
96 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()
148 static void coda_kfifo_sync_from_device(struct coda_ctx *ctx) in coda_kfifo_sync_from_device()
161 static void coda_kfifo_sync_to_device_full(struct coda_ctx *ctx) in coda_kfifo_sync_to_device_full()
173 static void coda_kfifo_sync_to_device_write(struct coda_ctx *ctx) in coda_kfifo_sync_to_device_write()
183 static int coda_h264_bitstream_pad(struct coda_ctx *ctx, u32 size) in coda_h264_bitstream_pad()
202 int coda_bitstream_flush(struct coda_ctx *ctx) in coda_bitstream_flush()
222 static int coda_bitstream_queue(struct coda_ctx *ctx, const u8 *buf, u32 size) in coda_bitstream_queue()
229 static u32 coda_buffer_parse_headers(struct coda_ctx *ctx, in coda_buffer_parse_headers()
250 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()
433 void coda_bit_stream_end_flag(struct coda_ctx *ctx) in coda_bit_stream_end_flag()
448 static void coda_parabuf_write(struct coda_ctx *ctx, int index, u32 value) in coda_parabuf_write()
459 static inline int coda_alloc_context_buf(struct coda_ctx *ctx, in coda_alloc_context_buf()
467 static void coda_free_framebuffers(struct coda_ctx *ctx) in coda_free_framebuffers()
475 static int coda_alloc_framebuffers(struct coda_ctx *ctx, in coda_alloc_framebuffers()
556 static void coda_free_context_buffers(struct coda_ctx *ctx) in coda_free_context_buffers()
567 static int coda_alloc_context_buffers(struct coda_ctx *ctx, in coda_alloc_context_buffers()
620 static int coda_encode_header(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf, in coda_encode_header()
678 static u32 coda_slice_mode(struct coda_ctx *ctx) in coda_slice_mode()
701 static int coda_enc_param_change(struct coda_ctx *ctx) in coda_enc_param_change()
789 static void coda_setup_iram(struct coda_ctx *ctx) in coda_setup_iram()
1008 static void coda9_set_frame_cache(struct coda_ctx *ctx, u32 fourcc) in coda9_set_frame_cache()
1038 static int coda_encoder_reqbufs(struct coda_ctx *ctx, in coda_encoder_reqbufs()
1059 static int coda_start_encoding(struct coda_ctx *ctx) in coda_start_encoding()
1470 static int coda_prepare_encode(struct coda_ctx *ctx) in coda_prepare_encode()
1631 static void coda_finish_encode(struct coda_ctx *ctx) in coda_finish_encode()
1699 struct coda_ctx *ctx = container_of(work, struct coda_ctx, seq_end_work); in coda_seq_end_work() local
1734 static void coda_bit_release(struct coda_ctx *ctx) in coda_bit_release()
1757 static int coda_alloc_bitstream_buffer(struct coda_ctx *ctx, in coda_alloc_bitstream_buffer()
1777 static void coda_free_bitstream_buffer(struct coda_ctx *ctx) in coda_free_bitstream_buffer()
1788 static int coda_decoder_reqbufs(struct coda_ctx *ctx, in coda_decoder_reqbufs()
1815 static bool coda_reorder_enable(struct coda_ctx *ctx) in coda_reorder_enable()
1840 static int __coda_decoder_seq_init(struct coda_ctx *ctx) in __coda_decoder_seq_init()
2005 struct coda_ctx *ctx = container_of(work, in coda_dec_seq_init_work() local
2027 static int __coda_start_decoding(struct coda_ctx *ctx) in __coda_start_decoding()
2122 static int coda_start_decoding(struct coda_ctx *ctx) in coda_start_decoding()
2134 static int coda_prepare_decode(struct coda_ctx *ctx) in coda_prepare_decode()
2273 static void coda_finish_decode(struct coda_ctx *ctx) in coda_finish_decode()
2568 static void coda_decode_timeout(struct coda_ctx *ctx) in coda_decode_timeout()
2602 struct coda_ctx *ctx; in coda_irq_handler() local