Home
last modified time | relevance | path

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

/drivers/media/pci/ivtv/
Divtv-queue.h18 static inline int ivtv_might_use_pio(struct ivtv_stream *s) in ivtv_might_use_pio()
23 static inline int ivtv_use_pio(struct ivtv_stream *s) in ivtv_use_pio()
31 static inline int ivtv_might_use_dma(struct ivtv_stream *s) in ivtv_might_use_dma()
36 static inline int ivtv_use_dma(struct ivtv_stream *s) in ivtv_use_dma()
41 static inline void ivtv_buf_sync_for_cpu(struct ivtv_stream *s, struct ivtv_buffer *buf) in ivtv_buf_sync_for_cpu()
48 static inline void ivtv_buf_sync_for_device(struct ivtv_stream *s, struct ivtv_buffer *buf) in ivtv_buf_sync_for_device()
55 int ivtv_buf_copy_from_user(struct ivtv_stream *s, struct ivtv_buffer *buf, const char __user *src,…
60 void ivtv_enqueue(struct ivtv_stream *s, struct ivtv_buffer *buf, struct ivtv_queue *q);
61 struct ivtv_buffer *ivtv_dequeue(struct ivtv_stream *s, struct ivtv_queue *q);
62 int ivtv_queue_move(struct ivtv_stream *s, struct ivtv_queue *from, struct ivtv_queue *steal,
[all …]
Divtv-streams.h17 int ivtv_start_v4l2_encode_stream(struct ivtv_stream *s);
18 int ivtv_stop_v4l2_encode_stream(struct ivtv_stream *s, int gop_end);
19 int ivtv_start_v4l2_decode_stream(struct ivtv_stream *s, int gop_offset);
20 int ivtv_stop_v4l2_decode_stream(struct ivtv_stream *s, int flags, u64 pts);
Divtv-fileops.c35 struct ivtv_stream *s = &itv->streams[type]; in ivtv_claim_stream()
36 struct ivtv_stream *s_vbi; in ivtv_claim_stream()
91 void ivtv_release_stream(struct ivtv_stream *s) in ivtv_release_stream()
94 struct ivtv_stream *s_vbi; in ivtv_release_stream()
193 static struct ivtv_buffer *ivtv_get_buffer(struct ivtv_stream *s, int non_block, int *err) in ivtv_get_buffer()
196 struct ivtv_stream *s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_get_buffer()
286 static size_t ivtv_copy_buf_to_user(struct ivtv_stream *s, struct ivtv_buffer *buf, in ivtv_copy_buf_to_user()
346 static ssize_t ivtv_read(struct ivtv_stream *s, char __user *ubuf, size_t tot_count, int non_block) in ivtv_read()
403 static ssize_t ivtv_read_pos(struct ivtv_stream *s, char __user *ubuf, size_t count, in ivtv_read_pos()
418 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_start_capture()
[all …]
Divtv-irq.c20 static void ivtv_dma_dec_start(struct ivtv_stream *s);
31 struct ivtv_stream *s = &itv->streams[IVTV_ENC_STREAM_TYPE_PCM]; in ivtv_pcm_work_handler()
60 struct ivtv_stream *s = &itv->streams[itv->cur_pio_stream]; in ivtv_pio_work_handler()
111 static int stream_enc_dma_append(struct ivtv_stream *s, u32 data[CX2341X_MBOX_MAX_DATA]) in stream_enc_dma_append()
246 static void dma_post(struct ivtv_stream *s) in dma_post()
337 void ivtv_dma_stream_dec_prepare(struct ivtv_stream *s, u32 offset, int lock) in ivtv_dma_stream_dec_prepare()
414 static void ivtv_dma_enc_start_xfer(struct ivtv_stream *s) in ivtv_dma_enc_start_xfer()
430 static void ivtv_dma_dec_start_xfer(struct ivtv_stream *s) in ivtv_dma_dec_start_xfer()
447 static void ivtv_dma_enc_start(struct ivtv_stream *s) in ivtv_dma_enc_start()
450 struct ivtv_stream *s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_dma_enc_start()
[all …]
Divtv-queue.c13 int ivtv_buf_copy_from_user(struct ivtv_stream *s, struct ivtv_buffer *buf, const char __user *src,… in ivtv_buf_copy_from_user()
40 void ivtv_enqueue(struct ivtv_stream *s, struct ivtv_buffer *buf, struct ivtv_queue *q) in ivtv_enqueue()
59 struct ivtv_buffer *ivtv_dequeue(struct ivtv_stream *s, struct ivtv_queue *q) in ivtv_dequeue()
76 static void ivtv_queue_move_buf(struct ivtv_stream *s, struct ivtv_queue *from, in ivtv_queue_move_buf()
110 int ivtv_queue_move(struct ivtv_stream *s, struct ivtv_queue *from, struct ivtv_queue *steal, in ivtv_queue_move()
173 void ivtv_flush_queues(struct ivtv_stream *s) in ivtv_flush_queues()
181 int ivtv_stream_alloc(struct ivtv_stream *s) in ivtv_stream_alloc()
253 void ivtv_stream_free(struct ivtv_stream *s) in ivtv_stream_free()
Divtv-streams.c170 struct ivtv_stream *s = &itv->streams[type]; in ivtv_stream_init()
200 struct ivtv_stream *s = &itv->streams[type]; in ivtv_prep_dev()
286 struct ivtv_stream *s = &itv->streams[type]; in ivtv_reg_dev()
297 struct ivtv_stream *s_mpg = &itv->streams[IVTV_ENC_STREAM_TYPE_MPG]; in ivtv_reg_dev()
487 int ivtv_start_v4l2_encode_stream(struct ivtv_stream *s) in ivtv_start_v4l2_encode_stream()
655 static int ivtv_setup_v4l2_decode_stream(struct ivtv_stream *s) in ivtv_setup_v4l2_decode_stream()
720 int ivtv_start_v4l2_decode_stream(struct ivtv_stream *s, int gop_offset) in ivtv_start_v4l2_decode_stream()
778 struct ivtv_stream *s = &itv->streams[i]; in ivtv_stop_all_captures()
788 int ivtv_stop_v4l2_encode_stream(struct ivtv_stream *s, int gop_end) in ivtv_stop_v4l2_encode_stream()
912 int ivtv_stop_v4l2_decode_stream(struct ivtv_stream *s, int flags, u64 pts) in ivtv_stop_v4l2_decode_stream()
[all …]
Divtv-ioctl.c234 struct ivtv_stream *s = &itv->streams[IVTV_DEC_STREAM_TYPE_MPG]; in ivtv_video_command()
438 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_g_fmt_vid_out_overlay()
548 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_try_fmt_vid_out_overlay()
929 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_enum_fmt_vid_cap()
956 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_enum_fmt_vid_out()
1058 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_g_frequency()
1072 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_s_frequency()
1362 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_g_fbuf()
1450 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_s_fbuf()
1471 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_overlay()
[all …]
Divtv-alsa-pcm.c137 struct ivtv_stream *s; in snd_ivtv_pcm_capture_open()
191 struct ivtv_stream *s; in snd_ivtv_pcm_capture_close()
Divtv-irq.h38 void ivtv_dma_stream_dec_prepare(struct ivtv_stream *s, u32 offset, int lock);
Divtv-fileops.h30 void ivtv_release_stream(struct ivtv_stream *s);
Divtv-driver.h326 struct ivtv_stream { struct
667 struct ivtv_stream streams[IVTV_MAX_STREAMS]; /* stream data */
777 struct ivtv_stream *ivtv_get_output_stream(struct ivtv *itv);
Divtv-alsa-main.c190 struct ivtv_stream *s; in ivtv_alsa_load()
Divtv-driver.c334 struct ivtv_stream *ivtv_get_output_stream(struct ivtv *itv) in ivtv_get_output_stream()