Searched refs:ivtv_stream (Results 1 – 13 of 13) sorted by relevance
/drivers/media/pci/ivtv/ |
D | ivtv-queue.h | 30 static inline int ivtv_might_use_pio(struct ivtv_stream *s) in ivtv_might_use_pio() 35 static inline int ivtv_use_pio(struct ivtv_stream *s) in ivtv_use_pio() 43 static inline int ivtv_might_use_dma(struct ivtv_stream *s) in ivtv_might_use_dma() 48 static inline int ivtv_use_dma(struct ivtv_stream *s) in ivtv_use_dma() 53 static inline void ivtv_buf_sync_for_cpu(struct ivtv_stream *s, struct ivtv_buffer *buf) in ivtv_buf_sync_for_cpu() 60 static inline void ivtv_buf_sync_for_device(struct ivtv_stream *s, struct ivtv_buffer *buf) in ivtv_buf_sync_for_device() 67 int ivtv_buf_copy_from_user(struct ivtv_stream *s, struct ivtv_buffer *buf, const char __user *src,… 72 void ivtv_enqueue(struct ivtv_stream *s, struct ivtv_buffer *buf, struct ivtv_queue *q); 73 struct ivtv_buffer *ivtv_dequeue(struct ivtv_stream *s, struct ivtv_queue *q); 74 int ivtv_queue_move(struct ivtv_stream *s, struct ivtv_queue *from, struct ivtv_queue *steal, [all …]
|
D | ivtv-streams.h | 29 int ivtv_start_v4l2_encode_stream(struct ivtv_stream *s); 30 int ivtv_stop_v4l2_encode_stream(struct ivtv_stream *s, int gop_end); 31 int ivtv_start_v4l2_decode_stream(struct ivtv_stream *s, int gop_offset); 32 int ivtv_stop_v4l2_decode_stream(struct ivtv_stream *s, int flags, u64 pts);
|
D | ivtv-fileops.c | 47 struct ivtv_stream *s = &itv->streams[type]; in ivtv_claim_stream() 48 struct ivtv_stream *s_vbi; in ivtv_claim_stream() 103 void ivtv_release_stream(struct ivtv_stream *s) in ivtv_release_stream() 106 struct ivtv_stream *s_vbi; in ivtv_release_stream() 205 static struct ivtv_buffer *ivtv_get_buffer(struct ivtv_stream *s, int non_block, int *err) in ivtv_get_buffer() 208 struct ivtv_stream *s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_get_buffer() 298 static size_t ivtv_copy_buf_to_user(struct ivtv_stream *s, struct ivtv_buffer *buf, in ivtv_copy_buf_to_user() 358 static ssize_t ivtv_read(struct ivtv_stream *s, char __user *ubuf, size_t tot_count, int non_block) in ivtv_read() 415 static ssize_t ivtv_read_pos(struct ivtv_stream *s, char __user *ubuf, size_t count, in ivtv_read_pos() 430 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_start_capture() [all …]
|
D | ivtv-irq.c | 32 static void ivtv_dma_dec_start(struct ivtv_stream *s); 43 struct ivtv_stream *s = &itv->streams[IVTV_ENC_STREAM_TYPE_PCM]; in ivtv_pcm_work_handler() 72 struct ivtv_stream *s = &itv->streams[itv->cur_pio_stream]; in ivtv_pio_work_handler() 123 static int stream_enc_dma_append(struct ivtv_stream *s, u32 data[CX2341X_MBOX_MAX_DATA]) in stream_enc_dma_append() 258 static void dma_post(struct ivtv_stream *s) in dma_post() 349 void ivtv_dma_stream_dec_prepare(struct ivtv_stream *s, u32 offset, int lock) in ivtv_dma_stream_dec_prepare() 426 static void ivtv_dma_enc_start_xfer(struct ivtv_stream *s) in ivtv_dma_enc_start_xfer() 442 static void ivtv_dma_dec_start_xfer(struct ivtv_stream *s) in ivtv_dma_dec_start_xfer() 459 static void ivtv_dma_enc_start(struct ivtv_stream *s) in ivtv_dma_enc_start() 462 struct ivtv_stream *s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_dma_enc_start() [all …]
|
D | ivtv-queue.c | 25 int ivtv_buf_copy_from_user(struct ivtv_stream *s, struct ivtv_buffer *buf, const char __user *src,… in ivtv_buf_copy_from_user() 52 void ivtv_enqueue(struct ivtv_stream *s, struct ivtv_buffer *buf, struct ivtv_queue *q) in ivtv_enqueue() 71 struct ivtv_buffer *ivtv_dequeue(struct ivtv_stream *s, struct ivtv_queue *q) in ivtv_dequeue() 88 static void ivtv_queue_move_buf(struct ivtv_stream *s, struct ivtv_queue *from, in ivtv_queue_move_buf() 122 int ivtv_queue_move(struct ivtv_stream *s, struct ivtv_queue *from, struct ivtv_queue *steal, in ivtv_queue_move() 185 void ivtv_flush_queues(struct ivtv_stream *s) in ivtv_flush_queues() 193 int ivtv_stream_alloc(struct ivtv_stream *s) in ivtv_stream_alloc() 265 void ivtv_stream_free(struct ivtv_stream *s) in ivtv_stream_free()
|
D | ivtv-streams.c | 163 struct ivtv_stream *s = &itv->streams[type]; in ivtv_stream_init() 193 struct ivtv_stream *s = &itv->streams[type]; in ivtv_prep_dev() 279 struct ivtv_stream *s = &itv->streams[type]; in ivtv_reg_dev() 290 struct ivtv_stream *s_mpg = &itv->streams[IVTV_ENC_STREAM_TYPE_MPG]; in ivtv_reg_dev() 475 int ivtv_start_v4l2_encode_stream(struct ivtv_stream *s) in ivtv_start_v4l2_encode_stream() 643 static int ivtv_setup_v4l2_decode_stream(struct ivtv_stream *s) in ivtv_setup_v4l2_decode_stream() 708 int ivtv_start_v4l2_decode_stream(struct ivtv_stream *s, int gop_offset) in ivtv_start_v4l2_decode_stream() 766 struct ivtv_stream *s = &itv->streams[i]; in ivtv_stop_all_captures() 776 int ivtv_stop_v4l2_encode_stream(struct ivtv_stream *s, int gop_end) in ivtv_stop_v4l2_encode_stream() 900 int ivtv_stop_v4l2_decode_stream(struct ivtv_stream *s, int flags, u64 pts) in ivtv_stop_v4l2_decode_stream() [all …]
|
D | ivtv-ioctl.c | 247 struct ivtv_stream *s = &itv->streams[IVTV_DEC_STREAM_TYPE_MPG]; in ivtv_video_command() 451 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_g_fmt_vid_out_overlay() 561 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_try_fmt_vid_out_overlay() 745 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_querycap() 947 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_enum_fmt_vid_cap() 973 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_enum_fmt_vid_out() 1075 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_g_frequency() 1089 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_s_frequency() 1379 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_g_fbuf() 1467 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_s_fbuf() [all …]
|
D | ivtv-irq.h | 50 void ivtv_dma_stream_dec_prepare(struct ivtv_stream *s, u32 offset, int lock);
|
D | ivtv-fileops.h | 42 void ivtv_release_stream(struct ivtv_stream *s);
|
D | ivtv-alsa-pcm.c | 156 struct ivtv_stream *s; in snd_ivtv_pcm_capture_open() 209 struct ivtv_stream *s; in snd_ivtv_pcm_capture_close()
|
D | ivtv-driver.h | 327 struct ivtv_stream { struct 669 struct ivtv_stream streams[IVTV_MAX_STREAMS]; /* stream data */ 779 struct ivtv_stream *ivtv_get_output_stream(struct ivtv *itv);
|
D | ivtv-alsa-main.c | 222 struct ivtv_stream *s; in ivtv_alsa_load()
|
D | ivtv-driver.c | 337 struct ivtv_stream *ivtv_get_output_stream(struct ivtv *itv) in ivtv_get_output_stream()
|