Searched refs:coda_ctx (Results 1 – 9 of 9) sorted by relevance
| /Linux-v5.4/drivers/media/platform/coda/ |
| D | coda.h | 185 struct coda_ctx; 190 int (*reqbufs)(struct coda_ctx *ctx, struct v4l2_requestbuffers *rb); 191 int (*start_streaming)(struct coda_ctx *ctx); 192 int (*prepare_run)(struct coda_ctx *ctx); 193 void (*finish_run)(struct coda_ctx *ctx); 194 void (*run_timeout)(struct coda_ctx *ctx); 197 void (*release)(struct coda_ctx *ctx); 207 struct coda_ctx { struct 288 void coda_write_base(struct coda_ctx *ctx, struct coda_q_data *q_data, argument 300 int coda_hw_reset(struct coda_ctx *ctx); [all …]
|
| D | trace.h | 14 TP_PROTO(struct coda_ctx *ctx, int cmd), 35 TP_PROTO(struct coda_ctx *ctx), 53 TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf), 74 TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf), 79 TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf), 84 TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf, 111 TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf, 117 TP_PROTO(struct coda_ctx *ctx, struct coda_buffer_meta *meta), 142 TP_PROTO(struct coda_ctx *ctx, struct coda_buffer_meta *meta), 147 TP_PROTO(struct coda_ctx *ctx, struct coda_buffer_meta *meta), [all …]
|
| D | coda-bit.c | 40 static void coda_free_bitstream_buffer(struct coda_ctx *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() [all …]
|
| D | coda-common.c | 57 #define fh_to_ctx(__fh) container_of(__fh, struct coda_ctx, fh) 92 void coda_write_base(struct coda_ctx *ctx, struct coda_q_data *q_data, in coda_write_base() 387 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_querycap() 401 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_enum_fmt() 428 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_g_fmt() 449 static int coda_try_pixelformat(struct coda_ctx *ctx, struct v4l2_format *f) in coda_try_pixelformat() 481 static int coda_try_fmt_vdoa(struct coda_ctx *ctx, struct v4l2_format *f, in coda_try_fmt_vdoa() 508 static unsigned int coda_estimate_sizeimage(struct coda_ctx *ctx, u32 sizeimage, in coda_estimate_sizeimage() 520 static int coda_try_fmt(struct coda_ctx *ctx, const struct coda_codec *codec, in coda_try_fmt() 584 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_cap() [all …]
|
| D | coda-jpeg.c | 147 int coda_jpeg_write_tables(struct coda_ctx *ctx) in coda_jpeg_write_tables() 177 bool coda_jpeg_check_buffer(struct coda_ctx *ctx, struct vb2_buffer *vb) in coda_jpeg_check_buffer() 220 void coda_set_jpeg_compression_quality(struct coda_ctx *ctx, int quality) in coda_set_jpeg_compression_quality()
|
| D | coda-mpeg2.c | 64 u32 coda_mpeg2_parse_headers(struct coda_ctx *ctx, u8 *buf, u32 size) in coda_mpeg2_parse_headers()
|
| D | coda-mpeg4.c | 61 u32 coda_mpeg4_parse_headers(struct coda_ctx *ctx, u8 *buf, u32 size) in coda_mpeg4_parse_headers()
|
| D | coda-h264.c | 31 int coda_sps_parse_profile(struct coda_ctx *ctx, struct vb2_buffer *vb) in coda_sps_parse_profile() 250 int coda_h264_sps_fixup(struct coda_ctx *ctx, int width, int height, char *buf, in coda_h264_sps_fixup()
|
| D | coda-gdi.c | 110 void coda_set_gdi_regs(struct coda_ctx *ctx) in coda_set_gdi_regs()
|