Searched refs:coda_ctx (Results 1 – 5 of 5) sorted by relevance
/linux-4.1.27/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); 188 void (*release)(struct coda_ctx *ctx); 191 struct coda_ctx { struct 248 void coda_write_base(struct coda_ctx *ctx, struct coda_q_data *q_data, argument 260 int coda_hw_reset(struct coda_ctx *ctx); 262 void coda_fill_bitstream(struct coda_ctx *ctx, bool streaming); [all …]
|
D | trace.h | 15 TP_PROTO(struct coda_ctx *ctx, int cmd), 36 TP_PROTO(struct coda_ctx *ctx), 54 TP_PROTO(struct coda_ctx *ctx, struct vb2_buffer *buf), 75 TP_PROTO(struct coda_ctx *ctx, struct vb2_buffer *buf), 96 TP_PROTO(struct coda_ctx *ctx, struct vb2_buffer *buf, 123 TP_PROTO(struct coda_ctx *ctx, struct coda_buffer_meta *meta), 146 TP_PROTO(struct coda_ctx *ctx, struct coda_buffer_meta *meta), 169 TP_PROTO(struct coda_ctx *ctx, struct coda_buffer_meta *meta,
|
D | coda-common.c | 58 #define fh_to_ctx(__fh) container_of(__fh, struct coda_ctx, fh) 86 void coda_write_base(struct coda_ctx *ctx, struct coda_q_data *q_data, in coda_write_base() 381 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_querycap() 424 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_g_fmt() 445 static int coda_try_pixelformat(struct coda_ctx *ctx, struct v4l2_format *f) in coda_try_pixelformat() 472 static unsigned int coda_estimate_sizeimage(struct coda_ctx *ctx, u32 sizeimage, in coda_estimate_sizeimage() 484 static int coda_try_fmt(struct coda_ctx *ctx, const struct coda_codec *codec, in coda_try_fmt() 544 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_cap() 593 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_out() 620 static int coda_s_fmt(struct coda_ctx *ctx, struct v4l2_format *f) in coda_s_fmt() [all …]
|
D | coda-bit.c | 43 static void coda_free_bitstream_buffer(struct coda_ctx *ctx); 66 static void coda_command_async(struct coda_ctx *ctx, int cmd) in coda_command_async() 98 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() 146 static void coda_kfifo_sync_from_device(struct coda_ctx *ctx) in coda_kfifo_sync_from_device() 159 static void coda_kfifo_sync_to_device_full(struct coda_ctx *ctx) in coda_kfifo_sync_to_device_full() 171 static void coda_kfifo_sync_to_device_write(struct coda_ctx *ctx) in coda_kfifo_sync_to_device_write() 181 static int coda_bitstream_queue(struct coda_ctx *ctx, in coda_bitstream_queue() 197 static bool coda_bitstream_try_queue(struct coda_ctx *ctx, in coda_bitstream_try_queue() 225 void coda_fill_bitstream(struct coda_ctx *ctx, bool streaming) in coda_fill_bitstream() [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() 210 void coda_set_jpeg_compression_quality(struct coda_ctx *ctx, int quality) in coda_set_jpeg_compression_quality()
|