• Home
  • Raw
  • Download

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()
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()
1476 static int coda_prepare_encode(struct coda_ctx *ctx) in coda_prepare_encode()
1637 static void coda_finish_encode(struct coda_ctx *ctx) in coda_finish_encode()
1705 struct coda_ctx *ctx = container_of(work, struct coda_ctx, seq_end_work); in coda_seq_end_work() local
1740 static void coda_bit_release(struct coda_ctx *ctx) in coda_bit_release()
1763 static int coda_alloc_bitstream_buffer(struct coda_ctx *ctx, in coda_alloc_bitstream_buffer()
1783 static void coda_free_bitstream_buffer(struct coda_ctx *ctx) in coda_free_bitstream_buffer()
1794 static int coda_decoder_reqbufs(struct coda_ctx *ctx, in coda_decoder_reqbufs()
1821 static bool coda_reorder_enable(struct coda_ctx *ctx) in coda_reorder_enable()
1846 static void coda_decoder_drop_used_metas(struct coda_ctx *ctx) in coda_decoder_drop_used_metas()
1869 static int __coda_decoder_seq_init(struct coda_ctx *ctx) in __coda_decoder_seq_init()
2041 struct coda_ctx *ctx = container_of(work, in coda_dec_seq_init_work() local
2055 static int __coda_start_decoding(struct coda_ctx *ctx) in __coda_start_decoding()
2150 static int coda_start_decoding(struct coda_ctx *ctx) in coda_start_decoding()
2162 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