Lines Matching defs:cx18_stream
373 struct cx18_stream { struct
376 struct video_device *video_dev; /* NULL when stream not created */
377 struct cx18_dvb *dvb; /* DVB / Digital Transport */
378 struct cx18 *cx; /* for ease of use */
379 const char *name; /* name of the stream */
380 int type; /* stream type */
381 u32 handle; /* task handle */
382 unsigned int mdl_base_idx;
384 u32 id;
385 unsigned long s_flags; /* status flags, see above */
386 int dma; /* can be PCI_DMA_TODEVICE,
389 wait_queue_head_t waitq;
392 struct list_head buf_pool; /* buffers not attached to an MDL */
393 u32 buffers; /* total buffers owned by this stream */
394 u32 buf_size; /* size in bytes of a single buffer */
397 u32 bufs_per_mdl;
398 u32 mdl_size; /* total bytes in all buffers in a mdl */
401 struct cx18_queue q_free; /* free - in rotation, not committed */
402 struct cx18_queue q_busy; /* busy - in use by firmware */
403 struct cx18_queue q_full; /* full - data for user apps */
404 struct cx18_queue q_idle; /* idle - not in rotation */
406 struct work_struct out_work_order;
409 u32 pixelformat;
410 u32 vb_bytes_per_frame;
411 struct list_head vb_capture; /* video capture queue */
412 spinlock_t vb_lock;
413 struct timer_list vb_timeout;
415 struct videobuf_queue vbuf_q;
416 spinlock_t vbuf_q_lock; /* Protect vbuf_q */
417 enum v4l2_buf_type vb_type;