Home
last modified time | relevance | path

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

/openbmc/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()
66 struct cx18_queue *cx18_push(struct cx18_stream *s, struct cx18_mdl *mdl, in cx18_push()
74 struct cx18_mdl *cx18_queue_get_mdl(struct cx18_stream *s, u32 id,
76 void cx18_flush_queues(struct cx18_stream *s);
79 void cx18_unload_queues(struct cx18_stream *s);
80 void cx18_load_queues(struct cx18_stream *s);
83 int cx18_stream_alloc(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()
485 struct cx18_stream *s = &cx->streams[id->type]; in cx18_start_capture()
486 struct cx18_stream *s_vbi; in cx18_start_capture()
487 struct cx18_stream *s_idx; in cx18_start_capture()
576 struct cx18_stream *s = &cx->streams[id->type]; in cx18_v4l2_read()
595 struct cx18_stream *s = &cx->streams[id->type]; in cx18_v4l2_enc_poll()
631 struct cx18_stream *s = from_timer(s, t, vb_timeout); in cx18_vb_timeout()
[all …]
H A Dcx18-streams.c107 struct cx18_stream *s = vb2_get_drv_priv(vq); in cx18_queue_setup()
189 struct cx18_stream *s = vb2_get_drv_priv(vq); in cx18_start_streaming()
215 struct cx18_stream *s = vb2_get_drv_priv(vq); in cx18_stop_streaming()
237 struct cx18_stream *s = &cx->streams[type]; in cx18_stream_init()
304 struct cx18_stream *s = &cx->streams[type]; in cx18_prep_dev()
409 struct cx18_stream *s = &cx->streams[type]; in cx18_reg_dev()
731 struct cx18_stream *s = in cx18_out_work_handler()
786 struct cx18_stream *s_idx; in cx18_start_v4l2_encode_stream()
963 struct cx18_stream *s = &cx->streams[i]; in cx18_stop_all_captures()
1028 struct cx18_stream *s = &cx->streams[i]; in cx18_find_handle()
[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()
332 int cx18_stream_alloc(struct cx18_stream *s) in cx18_stream_alloc()
[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-mailbox.h68 struct cx18_stream;
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-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.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-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()