Home
last modified time | relevance | path

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

/linux/drivers/media/pci/cx18/
H A 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 …]
H A 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);
H A 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 …]
H A 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 …]
H A Dcx18-fileops.h19 void cx18_stop_capture(struct cx18_stream *s, int gop_end);
23 void cx18_clear_queue(struct cx18_stream *s, enum vb2_buffer_state state);
28 void cx18_release_stream(struct cx18_stream *s);
H A Dcx18-dvb.h10 int cx18_dvb_register(struct cx18_stream *stream);
11 void cx18_dvb_unregister(struct cx18_stream *stream);
H A 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 = demux->priv; in cx18_dvb_start_feed()
308 struct cx18_stream *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()
H A Dcx18-driver.h324 struct cx18_stream; /* forward reference */
327 struct cx18_stream *stream;
366 struct cx18_stream { struct
599 struct cx18_stream streams[CX18_MAX_STREAMS]; /* Stream data */
H A 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_vb2(struct cx18_stream *s, struct cx18_mdl *mdl) in cx18_mdl_send_to_vb2()
204 static void cx18_mdl_send_to_alsa(struct cx18 *cx, struct cx18_stream *s, in cx18_mdl_send_to_alsa()
236 struct cx18_stream *s; in epu_dma_done()
734 static int cx18_set_filter_param(struct cx18_stream *s) in cx18_set_filter_param()
754 struct cx18_stream *s = priv; in cx18_api_func()
H A 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()
H A Dcx18-mailbox.h68 struct cx18_stream;
H A Dcx18-ioctl.c57 struct cx18_stream *s = &cx->streams[id->type]; in cx18_g_fmt_vid_cap()
129 struct cx18_stream *s = &cx->streams[id->type]; in cx18_s_fmt_vid_cap()
757 static int cx18_process_idx_data(struct cx18_stream *s, struct cx18_mdl *mdl, in cx18_process_idx_data()
798 struct cx18_stream *s = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_g_enc_index()
960 struct cx18_stream *s = &cx->streams[i]; in cx18_log_status()
H A Dcx18-alsa-main.c182 struct cx18_stream *s; in cx18_alsa_load()