Lines Matching defs:ivtv_stream
326 struct ivtv_stream { struct
329 struct video_device vdev; /* vdev.v4l2_dev is NULL if there is no device */
330 struct ivtv *itv; /* for ease of use */
331 const char *name; /* name of the stream */
332 int type; /* stream type */
334 struct v4l2_fh *fh; /* pointer to the streaming filehandle */
335 spinlock_t qlock; /* locks access to the queues */
336 unsigned long s_flags; /* status flags, see above */
337 int dma; /* can be PCI_DMA_TODEVICE, PCI_DMA_FROMDEVICE or PCI_DMA_NONE */
338 u32 pending_offset;
339 u32 pending_backup;
340 u64 pending_pts;
342 u32 dma_offset;
343 u32 dma_backup;
344 u64 dma_pts;
346 int subtype;
347 wait_queue_head_t waitq;
348 u32 dma_last_offset;
351 u32 buffers;
352 u32 buf_size;
353 u32 buffers_stolen;
356 struct ivtv_queue q_free; /* free buffers */
357 struct ivtv_queue q_full; /* full buffers */
358 struct ivtv_queue q_io; /* waiting for I/O */
359 struct ivtv_queue q_dma; /* waiting for DMA */
360 struct ivtv_queue q_predma; /* waiting for DMA */
364 u16 dma_xfer_cnt;
367 struct ivtv_sg_host_element *sg_pending;
368 struct ivtv_sg_host_element *sg_processing;
369 struct ivtv_sg_element *sg_dma;
370 dma_addr_t sg_handle;
371 int sg_pending_size;
372 int sg_processing_size;
373 int sg_processed;
376 struct scatterlist *SGlist;