coda_ctx 40 drivers/media/platform/coda/coda-bit.c static void coda_free_bitstream_buffer(struct coda_ctx *ctx); coda_ctx 63 drivers/media/platform/coda/coda-bit.c static void coda_command_async(struct coda_ctx *ctx, int cmd) coda_ctx 96 drivers/media/platform/coda/coda-bit.c static int coda_command_sync(struct coda_ctx *ctx, int cmd) coda_ctx 110 drivers/media/platform/coda/coda-bit.c int coda_hw_reset(struct coda_ctx *ctx) coda_ctx 148 drivers/media/platform/coda/coda-bit.c static void coda_kfifo_sync_from_device(struct coda_ctx *ctx) coda_ctx 161 drivers/media/platform/coda/coda-bit.c static void coda_kfifo_sync_to_device_full(struct coda_ctx *ctx) coda_ctx 173 drivers/media/platform/coda/coda-bit.c static void coda_kfifo_sync_to_device_write(struct coda_ctx *ctx) coda_ctx 183 drivers/media/platform/coda/coda-bit.c static int coda_h264_bitstream_pad(struct coda_ctx *ctx, u32 size) coda_ctx 202 drivers/media/platform/coda/coda-bit.c int coda_bitstream_flush(struct coda_ctx *ctx) coda_ctx 222 drivers/media/platform/coda/coda-bit.c static int coda_bitstream_queue(struct coda_ctx *ctx, const u8 *buf, u32 size) coda_ctx 229 drivers/media/platform/coda/coda-bit.c static u32 coda_buffer_parse_headers(struct coda_ctx *ctx, coda_ctx 250 drivers/media/platform/coda/coda-bit.c static bool coda_bitstream_try_queue(struct coda_ctx *ctx, coda_ctx 323 drivers/media/platform/coda/coda-bit.c void coda_fill_bitstream(struct coda_ctx *ctx, struct list_head *buffer_list) coda_ctx 433 drivers/media/platform/coda/coda-bit.c void coda_bit_stream_end_flag(struct coda_ctx *ctx) coda_ctx 448 drivers/media/platform/coda/coda-bit.c static void coda_parabuf_write(struct coda_ctx *ctx, int index, u32 value) coda_ctx 459 drivers/media/platform/coda/coda-bit.c static inline int coda_alloc_context_buf(struct coda_ctx *ctx, coda_ctx 467 drivers/media/platform/coda/coda-bit.c static void coda_free_framebuffers(struct coda_ctx *ctx) coda_ctx 475 drivers/media/platform/coda/coda-bit.c static int coda_alloc_framebuffers(struct coda_ctx *ctx, coda_ctx 556 drivers/media/platform/coda/coda-bit.c static void coda_free_context_buffers(struct coda_ctx *ctx) coda_ctx 567 drivers/media/platform/coda/coda-bit.c static int coda_alloc_context_buffers(struct coda_ctx *ctx, coda_ctx 620 drivers/media/platform/coda/coda-bit.c static int coda_encode_header(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf, coda_ctx 678 drivers/media/platform/coda/coda-bit.c static u32 coda_slice_mode(struct coda_ctx *ctx) coda_ctx 701 drivers/media/platform/coda/coda-bit.c static int coda_enc_param_change(struct coda_ctx *ctx) coda_ctx 789 drivers/media/platform/coda/coda-bit.c static void coda_setup_iram(struct coda_ctx *ctx) coda_ctx 1008 drivers/media/platform/coda/coda-bit.c static void coda9_set_frame_cache(struct coda_ctx *ctx, u32 fourcc) coda_ctx 1038 drivers/media/platform/coda/coda-bit.c static int coda_encoder_reqbufs(struct coda_ctx *ctx, coda_ctx 1059 drivers/media/platform/coda/coda-bit.c static int coda_start_encoding(struct coda_ctx *ctx) coda_ctx 1465 drivers/media/platform/coda/coda-bit.c static int coda_prepare_encode(struct coda_ctx *ctx) coda_ctx 1626 drivers/media/platform/coda/coda-bit.c static void coda_finish_encode(struct coda_ctx *ctx) coda_ctx 1691 drivers/media/platform/coda/coda-bit.c struct coda_ctx *ctx = container_of(work, struct coda_ctx, seq_end_work); coda_ctx 1726 drivers/media/platform/coda/coda-bit.c static void coda_bit_release(struct coda_ctx *ctx) coda_ctx 1749 drivers/media/platform/coda/coda-bit.c static int coda_alloc_bitstream_buffer(struct coda_ctx *ctx, coda_ctx 1769 drivers/media/platform/coda/coda-bit.c static void coda_free_bitstream_buffer(struct coda_ctx *ctx) coda_ctx 1780 drivers/media/platform/coda/coda-bit.c static int coda_decoder_reqbufs(struct coda_ctx *ctx, coda_ctx 1807 drivers/media/platform/coda/coda-bit.c static bool coda_reorder_enable(struct coda_ctx *ctx) coda_ctx 1832 drivers/media/platform/coda/coda-bit.c static int __coda_decoder_seq_init(struct coda_ctx *ctx) coda_ctx 1997 drivers/media/platform/coda/coda-bit.c struct coda_ctx *ctx = container_of(work, coda_ctx 1998 drivers/media/platform/coda/coda-bit.c struct coda_ctx, seq_init_work); coda_ctx 2019 drivers/media/platform/coda/coda-bit.c static int __coda_start_decoding(struct coda_ctx *ctx) coda_ctx 2106 drivers/media/platform/coda/coda-bit.c static int coda_start_decoding(struct coda_ctx *ctx) coda_ctx 2118 drivers/media/platform/coda/coda-bit.c static int coda_prepare_decode(struct coda_ctx *ctx) coda_ctx 2252 drivers/media/platform/coda/coda-bit.c static void coda_finish_decode(struct coda_ctx *ctx) coda_ctx 2544 drivers/media/platform/coda/coda-bit.c static void coda_decode_timeout(struct coda_ctx *ctx) coda_ctx 2578 drivers/media/platform/coda/coda-bit.c struct coda_ctx *ctx; coda_ctx 57 drivers/media/platform/coda/coda-common.c #define fh_to_ctx(__fh) container_of(__fh, struct coda_ctx, fh) coda_ctx 92 drivers/media/platform/coda/coda-common.c void coda_write_base(struct coda_ctx *ctx, struct coda_q_data *q_data, coda_ctx 387 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = fh_to_ctx(priv); coda_ctx 401 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = fh_to_ctx(priv); coda_ctx 428 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = fh_to_ctx(priv); coda_ctx 449 drivers/media/platform/coda/coda-common.c static int coda_try_pixelformat(struct coda_ctx *ctx, struct v4l2_format *f) coda_ctx 481 drivers/media/platform/coda/coda-common.c static int coda_try_fmt_vdoa(struct coda_ctx *ctx, struct v4l2_format *f, coda_ctx 508 drivers/media/platform/coda/coda-common.c static unsigned int coda_estimate_sizeimage(struct coda_ctx *ctx, u32 sizeimage, coda_ctx 520 drivers/media/platform/coda/coda-common.c static int coda_try_fmt(struct coda_ctx *ctx, const struct coda_codec *codec, coda_ctx 584 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = fh_to_ctx(priv); coda_ctx 666 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = fh_to_ctx(priv); coda_ctx 685 drivers/media/platform/coda/coda-common.c static int coda_s_fmt(struct coda_ctx *ctx, struct v4l2_format *f, coda_ctx 758 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = fh_to_ctx(priv); coda_ctx 801 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = fh_to_ctx(priv); coda_ctx 857 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = fh_to_ctx(priv); coda_ctx 877 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = fh_to_ctx(priv); coda_ctx 888 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = fh_to_ctx(priv); coda_ctx 900 drivers/media/platform/coda/coda-common.c void coda_m2m_buf_done(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf, coda_ctx 916 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = fh_to_ctx(fh); coda_ctx 960 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = fh_to_ctx(fh); coda_ctx 1004 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = fh_to_ctx(fh); coda_ctx 1012 drivers/media/platform/coda/coda-common.c static void coda_wake_up_capture_queue(struct coda_ctx *ctx) coda_ctx 1026 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = fh_to_ctx(fh); coda_ctx 1062 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = fh_to_ctx(fh); coda_ctx 1073 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = fh_to_ctx(fh); coda_ctx 1157 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = fh_to_ctx(fh); coda_ctx 1193 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = fh_to_ctx(fh); coda_ctx 1224 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = fh_to_ctx(fh); coda_ctx 1307 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = fh_to_ctx(fh); coda_ctx 1325 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = fh_to_ctx(fh); coda_ctx 1389 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = m2m_priv; coda_ctx 1397 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = container_of(work, struct coda_ctx, pic_run_work); coda_ctx 1438 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = m2m_priv; coda_ctx 1508 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = priv; coda_ctx 1521 drivers/media/platform/coda/coda-common.c static void set_default_params(struct coda_ctx *ctx) coda_ctx 1579 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = vb2_get_drv_priv(vq); coda_ctx 1601 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); coda_ctx 1652 drivers/media/platform/coda/coda-common.c void coda_update_profile_level_ctrls(struct coda_ctx *ctx, u8 profile_idc, coda_ctx 1719 drivers/media/platform/coda/coda-common.c static void coda_queue_source_change_event(struct coda_ctx *ctx) coda_ctx 1732 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); coda_ctx 1836 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = vb2_get_drv_priv(q); coda_ctx 1941 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = vb2_get_drv_priv(q); coda_ctx 2009 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = coda_ctx 2010 drivers/media/platform/coda/coda-common.c container_of(ctrl->handler, struct coda_ctx, ctrls); coda_ctx 2133 drivers/media/platform/coda/coda-common.c static void coda_encode_ctrls(struct coda_ctx *ctx) coda_ctx 2233 drivers/media/platform/coda/coda-common.c static void coda_jpeg_encode_ctrls(struct coda_ctx *ctx) coda_ctx 2241 drivers/media/platform/coda/coda-common.c static void coda_decode_ctrls(struct coda_ctx *ctx) coda_ctx 2296 drivers/media/platform/coda/coda-common.c static int coda_ctrls_setup(struct coda_ctx *ctx) coda_ctx 2330 drivers/media/platform/coda/coda-common.c static int coda_queue_init(struct coda_ctx *ctx, struct vb2_queue *vq) coda_ctx 2403 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx; coda_ctx 2537 drivers/media/platform/coda/coda-common.c struct coda_ctx *ctx = fh_to_ctx(file->private_data); coda_ctx 110 drivers/media/platform/coda/coda-gdi.c void coda_set_gdi_regs(struct coda_ctx *ctx) coda_ctx 31 drivers/media/platform/coda/coda-h264.c int coda_sps_parse_profile(struct coda_ctx *ctx, struct vb2_buffer *vb) coda_ctx 250 drivers/media/platform/coda/coda-h264.c int coda_h264_sps_fixup(struct coda_ctx *ctx, int width, int height, char *buf, coda_ctx 147 drivers/media/platform/coda/coda-jpeg.c int coda_jpeg_write_tables(struct coda_ctx *ctx) coda_ctx 177 drivers/media/platform/coda/coda-jpeg.c bool coda_jpeg_check_buffer(struct coda_ctx *ctx, struct vb2_buffer *vb) coda_ctx 220 drivers/media/platform/coda/coda-jpeg.c void coda_set_jpeg_compression_quality(struct coda_ctx *ctx, int quality) coda_ctx 64 drivers/media/platform/coda/coda-mpeg2.c u32 coda_mpeg2_parse_headers(struct coda_ctx *ctx, u8 *buf, u32 size) coda_ctx 61 drivers/media/platform/coda/coda-mpeg4.c u32 coda_mpeg4_parse_headers(struct coda_ctx *ctx, u8 *buf, u32 size) coda_ctx 185 drivers/media/platform/coda/coda.h struct coda_ctx; coda_ctx 190 drivers/media/platform/coda/coda.h int (*reqbufs)(struct coda_ctx *ctx, struct v4l2_requestbuffers *rb); coda_ctx 191 drivers/media/platform/coda/coda.h int (*start_streaming)(struct coda_ctx *ctx); coda_ctx 192 drivers/media/platform/coda/coda.h int (*prepare_run)(struct coda_ctx *ctx); coda_ctx 193 drivers/media/platform/coda/coda.h void (*finish_run)(struct coda_ctx *ctx); coda_ctx 194 drivers/media/platform/coda/coda.h void (*run_timeout)(struct coda_ctx *ctx); coda_ctx 197 drivers/media/platform/coda/coda.h void (*release)(struct coda_ctx *ctx); coda_ctx 288 drivers/media/platform/coda/coda.h void coda_write_base(struct coda_ctx *ctx, struct coda_q_data *q_data, coda_ctx 300 drivers/media/platform/coda/coda.h int coda_hw_reset(struct coda_ctx *ctx); coda_ctx 302 drivers/media/platform/coda/coda.h void coda_fill_bitstream(struct coda_ctx *ctx, struct list_head *buffer_list); coda_ctx 304 drivers/media/platform/coda/coda.h void coda_set_gdi_regs(struct coda_ctx *ctx); coda_ctx 306 drivers/media/platform/coda/coda.h static inline struct coda_q_data *get_q_data(struct coda_ctx *ctx, coda_ctx 323 drivers/media/platform/coda/coda.h static inline unsigned int coda_get_bitstream_payload(struct coda_ctx *ctx) coda_ctx 332 drivers/media/platform/coda/coda.h static inline bool coda_bitstream_can_fetch_past(struct coda_ctx *ctx, coda_ctx 338 drivers/media/platform/coda/coda.h bool coda_bitstream_can_fetch_past(struct coda_ctx *ctx, unsigned int pos); coda_ctx 339 drivers/media/platform/coda/coda.h int coda_bitstream_flush(struct coda_ctx *ctx); coda_ctx 341 drivers/media/platform/coda/coda.h void coda_bit_stream_end_flag(struct coda_ctx *ctx); coda_ctx 343 drivers/media/platform/coda/coda.h void coda_m2m_buf_done(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf, coda_ctx 350 drivers/media/platform/coda/coda.h int coda_sps_parse_profile(struct coda_ctx *ctx, struct vb2_buffer *vb); coda_ctx 351 drivers/media/platform/coda/coda.h int coda_h264_sps_fixup(struct coda_ctx *ctx, int width, int height, char *buf, coda_ctx 356 drivers/media/platform/coda/coda.h u32 coda_mpeg2_parse_headers(struct coda_ctx *ctx, u8 *buf, u32 size); coda_ctx 359 drivers/media/platform/coda/coda.h u32 coda_mpeg4_parse_headers(struct coda_ctx *ctx, u8 *buf, u32 size); coda_ctx 361 drivers/media/platform/coda/coda.h void coda_update_profile_level_ctrls(struct coda_ctx *ctx, u8 profile_idc, coda_ctx 364 drivers/media/platform/coda/coda.h bool coda_jpeg_check_buffer(struct coda_ctx *ctx, struct vb2_buffer *vb); coda_ctx 365 drivers/media/platform/coda/coda.h int coda_jpeg_write_tables(struct coda_ctx *ctx); coda_ctx 366 drivers/media/platform/coda/coda.h void coda_set_jpeg_compression_quality(struct coda_ctx *ctx, int quality); coda_ctx 14 drivers/media/platform/coda/trace.h TP_PROTO(struct coda_ctx *ctx, int cmd), coda_ctx 35 drivers/media/platform/coda/trace.h TP_PROTO(struct coda_ctx *ctx), coda_ctx 53 drivers/media/platform/coda/trace.h TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf), coda_ctx 74 drivers/media/platform/coda/trace.h TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf), coda_ctx 79 drivers/media/platform/coda/trace.h TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf), coda_ctx 84 drivers/media/platform/coda/trace.h TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf, coda_ctx 111 drivers/media/platform/coda/trace.h TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf, coda_ctx 117 drivers/media/platform/coda/trace.h TP_PROTO(struct coda_ctx *ctx, struct coda_buffer_meta *meta), coda_ctx 142 drivers/media/platform/coda/trace.h TP_PROTO(struct coda_ctx *ctx, struct coda_buffer_meta *meta), coda_ctx 147 drivers/media/platform/coda/trace.h TP_PROTO(struct coda_ctx *ctx, struct coda_buffer_meta *meta), coda_ctx 152 drivers/media/platform/coda/trace.h TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf,