Home
last modified time | relevance | path

Searched refs:coda_ctx (Results 1 – 6 of 6) sorted by relevance

/linux-4.4.14/drivers/media/platform/coda/
Dcoda.h173 struct coda_ctx;
178 int (*reqbufs)(struct coda_ctx *ctx, struct v4l2_requestbuffers *rb);
179 int (*start_streaming)(struct coda_ctx *ctx);
180 int (*prepare_run)(struct coda_ctx *ctx);
181 void (*finish_run)(struct coda_ctx *ctx);
183 void (*release)(struct coda_ctx *ctx);
186 struct coda_ctx { struct
245 void coda_write_base(struct coda_ctx *ctx, struct coda_q_data *q_data, argument
257 int coda_hw_reset(struct coda_ctx *ctx);
259 void coda_fill_bitstream(struct coda_ctx *ctx, bool streaming);
[all …]
Dtrace.h13 TP_PROTO(struct coda_ctx *ctx, int cmd),
34 TP_PROTO(struct coda_ctx *ctx),
52 TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf),
73 TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf),
78 TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf),
83 TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf,
110 TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf,
116 TP_PROTO(struct coda_ctx *ctx, struct coda_buffer_meta *meta),
139 TP_PROTO(struct coda_ctx *ctx, struct coda_buffer_meta *meta),
144 TP_PROTO(struct coda_ctx *ctx, struct coda_buffer_meta *meta),
[all …]
Dcoda-common.c59 #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()
330 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_querycap()
368 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_g_fmt()
389 static int coda_try_pixelformat(struct coda_ctx *ctx, struct v4l2_format *f) in coda_try_pixelformat()
416 static unsigned int coda_estimate_sizeimage(struct coda_ctx *ctx, u32 sizeimage, in coda_estimate_sizeimage()
428 static int coda_try_fmt(struct coda_ctx *ctx, const struct coda_codec *codec, in coda_try_fmt()
488 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_cap()
537 struct coda_ctx *ctx = fh_to_ctx(priv); in coda_try_fmt_vid_out()
564 static int coda_s_fmt(struct coda_ctx *ctx, struct v4l2_format *f) in coda_s_fmt()
[all …]
Dcoda-bit.c43 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()
226 void coda_fill_bitstream(struct coda_ctx *ctx, bool streaming) in coda_fill_bitstream()
[all …]
Dcoda-jpeg.c151 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_v4l2_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()
Dcoda-gdi.c114 void coda_set_gdi_regs(struct coda_ctx *ctx) in coda_set_gdi_regs()