Home
last modified time | relevance | path

Searched refs:cx18_stream (Results 1 – 14 of 14) sorted by relevance

/linux-4.4.14/drivers/media/pci/cx18/
Dcx18-queue.h29 static inline void cx18_buf_sync_for_cpu(struct cx18_stream *s, in cx18_buf_sync_for_cpu()
36 static inline void cx18_buf_sync_for_device(struct cx18_stream *s, in cx18_buf_sync_for_device()
43 void _cx18_mdl_sync_for_device(struct cx18_stream *s, struct cx18_mdl *mdl);
45 static inline void cx18_mdl_sync_for_device(struct cx18_stream *s, in cx18_mdl_sync_for_device()
69 struct cx18_queue *_cx18_enqueue(struct cx18_stream *s, struct cx18_mdl *mdl,
73 struct cx18_queue *cx18_enqueue(struct cx18_stream *s, struct cx18_mdl *mdl, in cx18_enqueue()
80 struct cx18_queue *cx18_push(struct cx18_stream *s, struct cx18_mdl *mdl, in cx18_push()
87 struct cx18_mdl *cx18_dequeue(struct cx18_stream *s, struct cx18_queue *q);
88 struct cx18_mdl *cx18_queue_get_mdl(struct cx18_stream *s, u32 id,
90 void cx18_flush_queues(struct cx18_stream *s);
[all …]
Dcx18-streams.h26 struct cx18_stream *cx18_handle_to_stream(struct cx18 *cx, u32 handle);
34 static inline bool cx18_stream_enabled(struct cx18_stream *s) in cx18_stream_enabled()
43 static inline void cx18_stream_load_fw_queue(struct cx18_stream *s) in cx18_stream_load_fw_queue()
48 static inline void cx18_stream_put_mdl_fw(struct cx18_stream *s, in cx18_stream_put_mdl_fw()
59 int cx18_start_v4l2_encode_stream(struct cx18_stream *s);
60 int cx18_stop_v4l2_encode_stream(struct cx18_stream *s, int gop_end);
Dcx18-fileops.c47 struct cx18_stream *s = &cx->streams[type]; in cx18_claim_stream()
48 struct cx18_stream *s_assoc; in cx18_claim_stream()
104 void cx18_release_stream(struct cx18_stream *s) in cx18_release_stream()
107 struct cx18_stream *s_assoc; in cx18_release_stream()
184 static struct cx18_mdl *cx18_get_mdl(struct cx18_stream *s, int non_block, in cx18_get_mdl()
188 struct cx18_stream *s_vbi = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_get_mdl()
274 static size_t cx18_copy_buf_to_user(struct cx18_stream *s, in cx18_copy_buf_to_user()
378 static size_t cx18_copy_mdl_to_user(struct cx18_stream *s, in cx18_copy_mdl_to_user()
420 static ssize_t cx18_read(struct cx18_stream *s, char __user *ubuf, in cx18_read()
485 static ssize_t cx18_read_pos(struct cx18_stream *s, char __user *ubuf, in cx18_read_pos()
[all …]
Dcx18-streams.c110 struct cx18_stream *s, struct cx18_videobuf_buffer *buf) in cx18_dma_free()
118 struct cx18_stream *s, in cx18_prepare_buffer()
198 struct cx18_stream *s = q->priv_data; in buffer_setup()
220 struct cx18_stream *s = q->priv_data; in buffer_prepare()
232 struct cx18_stream *s = q->priv_data; in buffer_release()
241 struct cx18_stream *s = q->priv_data; in buffer_queue()
257 struct cx18_stream *s = &cx->streams[type]; in cx18_stream_init()
314 struct cx18_stream *s = &cx->streams[type]; in cx18_prep_dev()
413 struct cx18_stream *s = &cx->streams[type]; in cx18_reg_dev()
432 struct cx18_stream *s_mpg = &cx->streams[CX18_ENC_STREAM_TYPE_MPG]; in cx18_reg_dev()
[all …]
Dcx18-queue.c57 struct cx18_queue *_cx18_enqueue(struct cx18_stream *s, struct cx18_mdl *mdl, in _cx18_enqueue()
87 struct cx18_mdl *cx18_dequeue(struct cx18_stream *s, struct cx18_queue *q) in cx18_dequeue()
103 static void _cx18_mdl_update_bufs_for_cpu(struct cx18_stream *s, in _cx18_mdl_update_bufs_for_cpu()
123 static inline void cx18_mdl_update_bufs_for_cpu(struct cx18_stream *s, in cx18_mdl_update_bufs_for_cpu()
139 struct cx18_mdl *cx18_queue_get_mdl(struct cx18_stream *s, u32 id, in cx18_queue_get_mdl()
210 static void cx18_queue_flush(struct cx18_stream *s, in cx18_queue_flush()
236 void cx18_flush_queues(struct cx18_stream *s) in cx18_flush_queues()
246 void cx18_unload_queues(struct cx18_stream *s) in cx18_unload_queues()
277 void cx18_load_queues(struct cx18_stream *s) in cx18_load_queues()
335 void _cx18_mdl_sync_for_device(struct cx18_stream *s, struct cx18_mdl *mdl) in _cx18_mdl_sync_for_device()
[all …]
Dcx18-dvb.h24 int cx18_dvb_register(struct cx18_stream *stream);
25 void cx18_dvb_unregister(struct cx18_stream *stream);
Dcx18-dvb.c136 static int yuan_mpc718_mt352_reqfw(struct cx18_stream *stream, in yuan_mpc718_mt352_reqfw()
170 struct cx18_stream *stream = dvb->stream; in yuan_mpc718_mt352_init()
244 static int dvb_register(struct cx18_stream *stream);
253 struct cx18_stream *stream = (struct cx18_stream *) demux->priv; in cx18_dvb_start_feed()
324 struct cx18_stream *stream = (struct cx18_stream *)demux->priv; in cx18_dvb_stop_feed()
347 int cx18_dvb_register(struct cx18_stream *stream) in cx18_dvb_register()
439 void cx18_dvb_unregister(struct cx18_stream *stream) in cx18_dvb_unregister()
470 static int dvb_register(struct cx18_stream *stream) in dvb_register()
Dcx18-ioctl.c153 struct cx18_stream *s = &cx->streams[id->type]; in cx18_g_fmt_vid_cap()
273 struct cx18_stream *s = &cx->streams[id->type]; in cx18_s_fmt_vid_cap()
402 struct cx18_stream *s = video_drvdata(file); in cx18_querycap()
730 static int cx18_process_idx_data(struct cx18_stream *s, struct cx18_mdl *mdl, in cx18_process_idx_data()
771 struct cx18_stream *s = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_g_enc_index()
818 struct cx18_stream *s = &cx->streams[id->type]; in cx18_vb_queue()
837 struct cx18_stream *s = &cx->streams[id->type]; in cx18_streamon()
858 struct cx18_stream *s = &cx->streams[id->type]; in cx18_streamoff()
876 struct cx18_stream *s = &cx->streams[id->type]; in cx18_reqbufs()
890 struct cx18_stream *s = &cx->streams[id->type]; in cx18_querybuf()
[all …]
Dcx18-fileops.h41 void cx18_release_stream(struct cx18_stream *s);
Dcx18-driver.h331 struct cx18_stream; /* forward reference */
334 struct cx18_stream *stream;
373 struct cx18_stream { struct
613 struct cx18_stream streams[CX18_MAX_STREAMS]; /* Stream data */
Dcx18-mailbox.h82 struct cx18_stream;
Dcx18-mailbox.c136 static void cx18_mdl_send_to_dvb(struct cx18_stream *s, struct cx18_mdl *mdl) in cx18_mdl_send_to_dvb()
162 static void cx18_mdl_send_to_videobuf(struct cx18_stream *s, in cx18_mdl_send_to_videobuf()
217 static void cx18_mdl_send_to_alsa(struct cx18 *cx, struct cx18_stream *s, in cx18_mdl_send_to_alsa()
249 struct cx18_stream *s; in epu_dma_done()
758 static int cx18_set_filter_param(struct cx18_stream *s) in cx18_set_filter_param()
778 struct cx18_stream *s = priv; in cx18_api_func()
Dcx18-alsa-pcm.c155 struct cx18_stream *s; in snd_cx18_pcm_capture_open()
202 struct cx18_stream *s; in snd_cx18_pcm_capture_close()
Dcx18-alsa-main.c204 struct cx18_stream *s; in cx18_alsa_load()