Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/pci/cx18/
Dcx18-queue.h24 static inline void cx18_buf_sync_for_cpu(struct cx18_stream *s, in cx18_buf_sync_for_cpu()
31 static inline void cx18_buf_sync_for_device(struct cx18_stream *s, in cx18_buf_sync_for_device()
38 void _cx18_mdl_sync_for_device(struct cx18_stream *s, struct cx18_mdl *mdl);
40 static inline void cx18_mdl_sync_for_device(struct cx18_stream *s, in cx18_mdl_sync_for_device()
64 struct cx18_queue *_cx18_enqueue(struct cx18_stream *s, struct cx18_mdl *mdl,
68 struct cx18_queue *cx18_enqueue(struct cx18_stream *s, struct cx18_mdl *mdl, in cx18_enqueue()
75 struct cx18_queue *cx18_push(struct cx18_stream *s, struct cx18_mdl *mdl, in cx18_push()
82 struct cx18_mdl *cx18_dequeue(struct cx18_stream *s, struct cx18_queue *q);
83 struct cx18_mdl *cx18_queue_get_mdl(struct cx18_stream *s, u32 id,
85 void cx18_flush_queues(struct cx18_stream *s);
[all …]
Dcx18-streams.h21 struct cx18_stream *cx18_handle_to_stream(struct cx18 *cx, u32 handle);
29 static inline bool cx18_stream_enabled(struct cx18_stream *s) in cx18_stream_enabled()
38 static inline void cx18_stream_load_fw_queue(struct cx18_stream *s) in cx18_stream_load_fw_queue()
43 static inline void cx18_stream_put_mdl_fw(struct cx18_stream *s, in cx18_stream_put_mdl_fw()
54 int cx18_start_v4l2_encode_stream(struct cx18_stream *s);
55 int cx18_stop_v4l2_encode_stream(struct cx18_stream *s, int gop_end);
Dcx18-fileops.c42 struct cx18_stream *s = &cx->streams[type]; in cx18_claim_stream()
43 struct cx18_stream *s_assoc; in cx18_claim_stream()
98 void cx18_release_stream(struct cx18_stream *s) in cx18_release_stream()
101 struct cx18_stream *s_assoc; in cx18_release_stream()
178 static struct cx18_mdl *cx18_get_mdl(struct cx18_stream *s, int non_block, in cx18_get_mdl()
182 struct cx18_stream *s_vbi = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_get_mdl()
268 static size_t cx18_copy_buf_to_user(struct cx18_stream *s, in cx18_copy_buf_to_user()
372 static size_t cx18_copy_mdl_to_user(struct cx18_stream *s, in cx18_copy_mdl_to_user()
414 static ssize_t cx18_read(struct cx18_stream *s, char __user *ubuf, in cx18_read()
479 static ssize_t cx18_read_pos(struct cx18_stream *s, char __user *ubuf, in cx18_read_pos()
[all …]
Dcx18-streams.c105 struct cx18_stream *s, struct cx18_videobuf_buffer *buf) in cx18_dma_free()
113 struct cx18_stream *s, in cx18_prepare_buffer()
193 struct cx18_stream *s = q->priv_data; in buffer_setup()
215 struct cx18_stream *s = q->priv_data; in buffer_prepare()
227 struct cx18_stream *s = q->priv_data; in buffer_release()
236 struct cx18_stream *s = q->priv_data; in buffer_queue()
252 struct cx18_stream *s = &cx->streams[type]; in cx18_stream_init()
307 struct cx18_stream *s = &cx->streams[type]; in cx18_prep_dev()
406 struct cx18_stream *s = &cx->streams[type]; in cx18_reg_dev()
425 struct cx18_stream *s_mpg = &cx->streams[CX18_ENC_STREAM_TYPE_MPG]; in cx18_reg_dev()
[all …]
Dcx18-queue.c52 struct cx18_queue *_cx18_enqueue(struct cx18_stream *s, struct cx18_mdl *mdl, in _cx18_enqueue()
82 struct cx18_mdl *cx18_dequeue(struct cx18_stream *s, struct cx18_queue *q) in cx18_dequeue()
98 static void _cx18_mdl_update_bufs_for_cpu(struct cx18_stream *s, in _cx18_mdl_update_bufs_for_cpu()
118 static inline void cx18_mdl_update_bufs_for_cpu(struct cx18_stream *s, in cx18_mdl_update_bufs_for_cpu()
134 struct cx18_mdl *cx18_queue_get_mdl(struct cx18_stream *s, u32 id, in cx18_queue_get_mdl()
204 static void cx18_queue_flush(struct cx18_stream *s, in cx18_queue_flush()
230 void cx18_flush_queues(struct cx18_stream *s) in cx18_flush_queues()
240 void cx18_unload_queues(struct cx18_stream *s) in cx18_unload_queues()
271 void cx18_load_queues(struct cx18_stream *s) in cx18_load_queues()
329 void _cx18_mdl_sync_for_device(struct cx18_stream *s, struct cx18_mdl *mdl) in _cx18_mdl_sync_for_device()
[all …]
Dcx18-dvb.c132 static int yuan_mpc718_mt352_reqfw(struct cx18_stream *stream, in yuan_mpc718_mt352_reqfw()
164 struct cx18_stream *stream = dvb->stream; in yuan_mpc718_mt352_init()
238 static int dvb_register(struct cx18_stream *stream);
247 struct cx18_stream *stream = (struct cx18_stream *) demux->priv; in cx18_dvb_start_feed()
318 struct cx18_stream *stream = (struct cx18_stream *)demux->priv; in cx18_dvb_stop_feed()
341 int cx18_dvb_register(struct cx18_stream *stream) in cx18_dvb_register()
433 void cx18_dvb_unregister(struct cx18_stream *stream) in cx18_dvb_unregister()
464 static int dvb_register(struct cx18_stream *stream) in dvb_register()
Dcx18-dvb.h20 int cx18_dvb_register(struct cx18_stream *stream);
21 void cx18_dvb_unregister(struct cx18_stream *stream);
Dcx18-ioctl.c148 struct cx18_stream *s = &cx->streams[id->type]; in cx18_g_fmt_vid_cap()
268 struct cx18_stream *s = &cx->streams[id->type]; in cx18_s_fmt_vid_cap()
397 struct cx18_stream *s = video_drvdata(file); in cx18_querycap()
725 static int cx18_process_idx_data(struct cx18_stream *s, struct cx18_mdl *mdl, in cx18_process_idx_data()
766 struct cx18_stream *s = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_g_enc_index()
813 struct cx18_stream *s = &cx->streams[id->type]; in cx18_vb_queue()
832 struct cx18_stream *s = &cx->streams[id->type]; in cx18_streamon()
853 struct cx18_stream *s = &cx->streams[id->type]; in cx18_streamoff()
871 struct cx18_stream *s = &cx->streams[id->type]; in cx18_reqbufs()
885 struct cx18_stream *s = &cx->streams[id->type]; in cx18_querybuf()
[all …]
Dcx18-driver.h326 struct cx18_stream; /* forward reference */
329 struct cx18_stream *stream;
368 struct cx18_stream { struct
608 struct cx18_stream streams[CX18_MAX_STREAMS]; /* Stream data */
Dcx18-fileops.h36 void cx18_release_stream(struct cx18_stream *s);
Dcx18-mailbox.c131 static void cx18_mdl_send_to_dvb(struct cx18_stream *s, struct cx18_mdl *mdl) in cx18_mdl_send_to_dvb()
157 static void cx18_mdl_send_to_videobuf(struct cx18_stream *s, in cx18_mdl_send_to_videobuf()
212 static void cx18_mdl_send_to_alsa(struct cx18 *cx, struct cx18_stream *s, in cx18_mdl_send_to_alsa()
244 struct cx18_stream *s; in epu_dma_done()
742 static int cx18_set_filter_param(struct cx18_stream *s) in cx18_set_filter_param()
762 struct cx18_stream *s = priv; in cx18_api_func()
Dcx18-mailbox.h77 struct cx18_stream;
Dcx18-alsa-pcm.c150 struct cx18_stream *s; in snd_cx18_pcm_capture_open()
197 struct cx18_stream *s; in snd_cx18_pcm_capture_close()
Dcx18-alsa-main.c198 struct cx18_stream *s; in cx18_alsa_load()