Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/media/pci/cx18/
Dcx18-queue.h15 static inline void cx18_buf_sync_for_cpu(struct cx18_stream *s, in cx18_buf_sync_for_cpu()
22 static inline void cx18_buf_sync_for_device(struct cx18_stream *s, in cx18_buf_sync_for_device()
29 void _cx18_mdl_sync_for_device(struct cx18_stream *s, struct cx18_mdl *mdl);
31 static inline void cx18_mdl_sync_for_device(struct cx18_stream *s, in cx18_mdl_sync_for_device()
55 struct cx18_queue *_cx18_enqueue(struct cx18_stream *s, struct cx18_mdl *mdl,
59 struct cx18_queue *cx18_enqueue(struct cx18_stream *s, struct cx18_mdl *mdl, in cx18_enqueue()
66 struct cx18_queue *cx18_push(struct cx18_stream *s, struct cx18_mdl *mdl, in cx18_push()
73 struct cx18_mdl *cx18_dequeue(struct cx18_stream *s, struct cx18_queue *q);
74 struct cx18_mdl *cx18_queue_get_mdl(struct cx18_stream *s, u32 id,
76 void cx18_flush_queues(struct cx18_stream *s);
[all …]
Dcx18-streams.h12 struct cx18_stream *cx18_handle_to_stream(struct cx18 *cx, u32 handle);
20 static inline bool cx18_stream_enabled(struct cx18_stream *s) in cx18_stream_enabled()
29 static inline void cx18_stream_load_fw_queue(struct cx18_stream *s) in cx18_stream_load_fw_queue()
34 static inline void cx18_stream_put_mdl_fw(struct cx18_stream *s, in cx18_stream_put_mdl_fw()
45 int cx18_start_v4l2_encode_stream(struct cx18_stream *s);
46 int cx18_stop_v4l2_encode_stream(struct cx18_stream *s, int gop_end);
Dcx18-fileops.c33 struct cx18_stream *s = &cx->streams[type]; in cx18_claim_stream()
34 struct cx18_stream *s_assoc; in cx18_claim_stream()
89 void cx18_release_stream(struct cx18_stream *s) in cx18_release_stream()
92 struct cx18_stream *s_assoc; in cx18_release_stream()
169 static struct cx18_mdl *cx18_get_mdl(struct cx18_stream *s, int non_block, in cx18_get_mdl()
173 struct cx18_stream *s_vbi = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_get_mdl()
259 static size_t cx18_copy_buf_to_user(struct cx18_stream *s, in cx18_copy_buf_to_user()
363 static size_t cx18_copy_mdl_to_user(struct cx18_stream *s, in cx18_copy_mdl_to_user()
405 static ssize_t cx18_read(struct cx18_stream *s, char __user *ubuf, in cx18_read()
470 static ssize_t cx18_read_pos(struct cx18_stream *s, char __user *ubuf, in cx18_read_pos()
[all …]
Dcx18-streams.c96 struct cx18_stream *s, struct cx18_videobuf_buffer *buf) in cx18_dma_free()
104 struct cx18_stream *s, in cx18_prepare_buffer()
184 struct cx18_stream *s = q->priv_data; in buffer_setup()
206 struct cx18_stream *s = q->priv_data; in buffer_prepare()
218 struct cx18_stream *s = q->priv_data; in buffer_release()
227 struct cx18_stream *s = q->priv_data; in buffer_queue()
243 struct cx18_stream *s = &cx->streams[type]; in cx18_stream_init()
298 struct cx18_stream *s = &cx->streams[type]; in cx18_prep_dev()
397 struct cx18_stream *s = &cx->streams[type]; in cx18_reg_dev()
417 struct cx18_stream *s_mpg = &cx->streams[CX18_ENC_STREAM_TYPE_MPG]; in cx18_reg_dev()
[all …]
Dcx18-queue.c43 struct cx18_queue *_cx18_enqueue(struct cx18_stream *s, struct cx18_mdl *mdl, in _cx18_enqueue()
73 struct cx18_mdl *cx18_dequeue(struct cx18_stream *s, struct cx18_queue *q) in cx18_dequeue()
89 static void _cx18_mdl_update_bufs_for_cpu(struct cx18_stream *s, in _cx18_mdl_update_bufs_for_cpu()
109 static inline void cx18_mdl_update_bufs_for_cpu(struct cx18_stream *s, in cx18_mdl_update_bufs_for_cpu()
125 struct cx18_mdl *cx18_queue_get_mdl(struct cx18_stream *s, u32 id, in cx18_queue_get_mdl()
195 static void cx18_queue_flush(struct cx18_stream *s, in cx18_queue_flush()
221 void cx18_flush_queues(struct cx18_stream *s) in cx18_flush_queues()
231 void cx18_unload_queues(struct cx18_stream *s) in cx18_unload_queues()
262 void cx18_load_queues(struct cx18_stream *s) in cx18_load_queues()
320 void _cx18_mdl_sync_for_device(struct cx18_stream *s, struct cx18_mdl *mdl) in _cx18_mdl_sync_for_device()
[all …]
Dcx18-dvb.c122 static int yuan_mpc718_mt352_reqfw(struct cx18_stream *stream, in yuan_mpc718_mt352_reqfw()
154 struct cx18_stream *stream = dvb->stream; in yuan_mpc718_mt352_init()
228 static int dvb_register(struct cx18_stream *stream);
237 struct cx18_stream *stream = (struct cx18_stream *) demux->priv; in cx18_dvb_start_feed()
308 struct cx18_stream *stream = (struct cx18_stream *)demux->priv; in cx18_dvb_stop_feed()
331 int cx18_dvb_register(struct cx18_stream *stream) in cx18_dvb_register()
423 void cx18_dvb_unregister(struct cx18_stream *stream) in cx18_dvb_unregister()
454 static int dvb_register(struct cx18_stream *stream) in dvb_register()
Dcx18-dvb.h10 int cx18_dvb_register(struct cx18_stream *stream);
11 void cx18_dvb_unregister(struct cx18_stream *stream);
Dcx18-ioctl.c139 struct cx18_stream *s = &cx->streams[id->type]; in cx18_g_fmt_vid_cap()
259 struct cx18_stream *s = &cx->streams[id->type]; in cx18_s_fmt_vid_cap()
722 static int cx18_process_idx_data(struct cx18_stream *s, struct cx18_mdl *mdl, in cx18_process_idx_data()
763 struct cx18_stream *s = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_g_enc_index()
810 struct cx18_stream *s = &cx->streams[id->type]; in cx18_vb_queue()
829 struct cx18_stream *s = &cx->streams[id->type]; in cx18_streamon()
850 struct cx18_stream *s = &cx->streams[id->type]; in cx18_streamoff()
868 struct cx18_stream *s = &cx->streams[id->type]; in cx18_reqbufs()
882 struct cx18_stream *s = &cx->streams[id->type]; in cx18_querybuf()
895 struct cx18_stream *s = &cx->streams[id->type]; in cx18_qbuf()
[all …]
Dcx18-driver.h317 struct cx18_stream; /* forward reference */
320 struct cx18_stream *stream;
359 struct cx18_stream { struct
599 struct cx18_stream streams[CX18_MAX_STREAMS]; /* Stream data */
Dcx18-mailbox.c122 static void cx18_mdl_send_to_dvb(struct cx18_stream *s, struct cx18_mdl *mdl) in cx18_mdl_send_to_dvb()
148 static void cx18_mdl_send_to_videobuf(struct cx18_stream *s, in cx18_mdl_send_to_videobuf()
203 static void cx18_mdl_send_to_alsa(struct cx18 *cx, struct cx18_stream *s, in cx18_mdl_send_to_alsa()
235 struct cx18_stream *s; in epu_dma_done()
733 static int cx18_set_filter_param(struct cx18_stream *s) in cx18_set_filter_param()
753 struct cx18_stream *s = priv; in cx18_api_func()
Dcx18-fileops.h27 void cx18_release_stream(struct cx18_stream *s);
Dcx18-alsa-pcm.c140 struct cx18_stream *s; in snd_cx18_pcm_capture_open()
187 struct cx18_stream *s; in snd_cx18_pcm_capture_close()
Dcx18-mailbox.h68 struct cx18_stream;
Dcx18-alsa-main.c182 struct cx18_stream *s; in cx18_alsa_load()