Searched refs:ivtv_stream (Results 1 – 13 of 13) sorted by relevance
/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-queue.h | 18 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() 56 int ivtv_buf_copy_from_user(struct ivtv_stream *s, struct ivtv_buffer *buf, const char __user *src,… 61 void ivtv_enqueue(struct ivtv_stream *s, struct ivtv_buffer *buf, struct ivtv_queue *q); 62 struct ivtv_buffer *ivtv_dequeue(struct ivtv_stream *s, struct ivtv_queue *q); 63 int ivtv_queue_move(struct ivtv_stream *s, struct ivtv_queue *from, struct ivtv_queue *steal, [all …]
|
H A D | ivtv-streams.h | 17 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);
|
H A D | ivtv-fileops.c | 36 struct ivtv_stream *s = &itv->streams[type]; in ivtv_claim_stream() 37 struct ivtv_stream *s_vbi; in ivtv_claim_stream() 92 void ivtv_release_stream(struct ivtv_stream *s) in ivtv_release_stream() 95 struct ivtv_stream *s_vbi; in ivtv_release_stream() 194 static void ivtv_schedule(struct ivtv_stream *s) in ivtv_schedule() 210 static struct ivtv_buffer *ivtv_get_buffer(struct ivtv_stream *s, int non_block, int *err) in ivtv_get_buffer() 213 struct ivtv_stream *s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_get_buffer() 296 static size_t ivtv_copy_buf_to_user(struct ivtv_stream *s, struct ivtv_buffer *buf, in ivtv_copy_buf_to_user() 356 static ssize_t ivtv_read(struct ivtv_stream *s, char __user *ubuf, size_t tot_count, int non_block) in ivtv_read() 413 static ssize_t ivtv_read_pos(struct ivtv_stream *s, char __user *ubuf, size_t count, in ivtv_read_pos() [all …]
|
H A D | ivtv-queue.c | 13 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() 254 void ivtv_stream_free(struct ivtv_stream *s) in ivtv_stream_free()
|
H A D | ivtv-irq.c | 20 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 …]
|
H A D | ivtv-streams.c | 170 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() 657 static int ivtv_setup_v4l2_decode_stream(struct ivtv_stream *s) in ivtv_setup_v4l2_decode_stream() 722 int ivtv_start_v4l2_decode_stream(struct ivtv_stream *s, int gop_offset) in ivtv_start_v4l2_decode_stream() 780 struct ivtv_stream *s = &itv->streams[i]; in ivtv_stop_all_captures() 790 int ivtv_stop_v4l2_encode_stream(struct ivtv_stream *s, int gop_end) in ivtv_stop_v4l2_encode_stream() 914 int ivtv_stop_v4l2_decode_stream(struct ivtv_stream *s, int flags, u64 pts) in ivtv_stop_v4l2_decode_stream() [all …]
|
H A D | ivtv-irq.h | 38 void ivtv_dma_stream_dec_prepare(struct ivtv_stream *s, u32 offset, int lock);
|
H A D | ivtv-fileops.h | 30 void ivtv_release_stream(struct ivtv_stream *s);
|
H A D | ivtv-ioctl.c | 234 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() 928 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_enum_fmt_vid_cap() 955 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_enum_fmt_vid_out() 1057 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_g_frequency() 1071 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_s_frequency() 1361 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_g_fbuf() 1449 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_s_fbuf() 1470 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_overlay() [all …]
|
H A D | ivtv-alsa-pcm.c | 137 struct ivtv_stream *s; in snd_ivtv_pcm_capture_open() 191 struct ivtv_stream *s; in snd_ivtv_pcm_capture_close()
|
H A D | ivtv-driver.h | 326 struct ivtv_stream { struct 668 struct ivtv_stream streams[IVTV_MAX_STREAMS]; /* stream data */ 778 struct ivtv_stream *ivtv_get_output_stream(struct ivtv *itv);
|
H A D | ivtv-alsa-main.c | 184 struct ivtv_stream *s; in ivtv_alsa_load()
|
H A D | ivtv-driver.c | 334 struct ivtv_stream *ivtv_get_output_stream(struct ivtv *itv) in ivtv_get_output_stream()
|