Searched refs:coda_ctx (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/drivers/media/platform/coda/ |
D | coda.h | 178 struct coda_ctx; 183 int (*reqbufs)(struct coda_ctx *ctx, struct v4l2_requestbuffers *rb); 184 int (*start_streaming)(struct coda_ctx *ctx); 185 int (*prepare_run)(struct coda_ctx *ctx); 186 void (*finish_run)(struct coda_ctx *ctx); 187 void (*run_timeout)(struct coda_ctx *ctx); 189 void (*release)(struct coda_ctx *ctx); 192 struct coda_ctx { struct 258 void coda_write_base(struct coda_ctx *ctx, struct coda_q_data *q_data, argument 270 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), 140 TP_PROTO(struct coda_ctx *ctx, struct coda_buffer_meta *meta), 145 TP_PROTO(struct coda_ctx *ctx, struct coda_buffer_meta *meta), [all …]
|
D | coda-bit.c | 44 static void coda_free_bitstream_buffer(struct coda_ctx *ctx); 67 static void coda_command_async(struct coda_ctx *ctx, int cmd) in coda_command_async() 100 static int coda_command_sync(struct coda_ctx *ctx, int cmd) in coda_command_sync() 112 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_bitstream_pad(struct coda_ctx *ctx, u32 size) in coda_bitstream_pad() 202 static int coda_bitstream_queue(struct coda_ctx *ctx, in coda_bitstream_queue() 218 static bool coda_bitstream_try_queue(struct coda_ctx *ctx, in coda_bitstream_try_queue() [all …]
|
D | coda-common.c | 60 #define fh_to_ctx(__fh) container_of(__fh, struct coda_ctx, fh) 95 void coda_write_base(struct coda_ctx *ctx, struct coda_q_data *q_data, in coda_write_base() 391 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_querycap() 408 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_enum_fmt() 435 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_g_fmt() 456 static int coda_try_pixelformat(struct coda_ctx *ctx, struct v4l2_format *f) in coda_try_pixelformat() 488 static int coda_try_fmt_vdoa(struct coda_ctx *ctx, struct v4l2_format *f, in coda_try_fmt_vdoa() 515 static unsigned int coda_estimate_sizeimage(struct coda_ctx *ctx, u32 sizeimage, in coda_estimate_sizeimage() 527 static int coda_try_fmt(struct coda_ctx *ctx, const struct coda_codec *codec, in coda_try_fmt() 591 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_cap() [all …]
|
D | coda-jpeg.c | 151 int coda_jpeg_write_tables(struct coda_ctx *ctx) in coda_jpeg_write_tables() 181 bool coda_jpeg_check_buffer(struct coda_ctx *ctx, struct vb2_buffer *vb) in coda_jpeg_check_buffer() 224 void coda_set_jpeg_compression_quality(struct coda_ctx *ctx, int quality) in coda_set_jpeg_compression_quality()
|
D | coda-h264.c | 34 int coda_sps_parse_profile(struct coda_ctx *ctx, struct vb2_buffer *vb) in coda_sps_parse_profile() 253 int coda_h264_sps_fixup(struct coda_ctx *ctx, int width, int height, char *buf, in coda_h264_sps_fixup()
|
D | coda-gdi.c | 114 void coda_set_gdi_regs(struct coda_ctx *ctx) in coda_set_gdi_regs()
|