Lines Matching refs:ivtv_stream
18 static inline int ivtv_might_use_pio(struct ivtv_stream *s)
23 static inline int ivtv_use_pio(struct ivtv_stream *s)
31 static inline int ivtv_might_use_dma(struct ivtv_stream *s)
36 static inline int ivtv_use_dma(struct ivtv_stream *s)
41 static inline void ivtv_buf_sync_for_cpu(struct ivtv_stream *s, struct ivtv_buffer *buf)
48 static inline void ivtv_buf_sync_for_device(struct ivtv_stream *s, struct ivtv_buffer *buf)
56 int ivtv_buf_copy_from_user(struct ivtv_stream *s, struct ivtv_buffer *buf, const char __user *src, int copybytes);
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,
65 void ivtv_flush_queues(struct ivtv_stream *s);
67 /* ivtv_stream utility functions */
68 int ivtv_stream_alloc(struct ivtv_stream *s);
69 void ivtv_stream_free(struct ivtv_stream *s);
71 static inline void ivtv_stream_sync_for_cpu(struct ivtv_stream *s)
79 static inline void ivtv_stream_sync_for_device(struct ivtv_stream *s)