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