Lines Matching defs:cx18_stream
359 struct cx18_stream { struct
362 struct video_device video_dev; /* v4l2_dev is NULL when stream not created */
363 struct cx18_dvb *dvb; /* DVB / Digital Transport */
364 struct cx18 *cx; /* for ease of use */
365 const char *name; /* name of the stream */
366 int type; /* stream type */
367 u32 handle; /* task handle */
368 u32 v4l2_dev_caps; /* device capabilities */
369 unsigned int mdl_base_idx;
371 u32 id;
372 unsigned long s_flags; /* status flags, see above */
373 int dma; /* can be PCI_DMA_TODEVICE,
376 wait_queue_head_t waitq;
379 struct list_head buf_pool; /* buffers not attached to an MDL */
380 u32 buffers; /* total buffers owned by this stream */
381 u32 buf_size; /* size in bytes of a single buffer */
384 u32 bufs_per_mdl;
385 u32 mdl_size; /* total bytes in all buffers in a mdl */
388 struct cx18_queue q_free; /* free - in rotation, not committed */
389 struct cx18_queue q_busy; /* busy - in use by firmware */
390 struct cx18_queue q_full; /* full - data for user apps */
391 struct cx18_queue q_idle; /* idle - not in rotation */
393 struct work_struct out_work_order;
396 u32 pixelformat;
397 u32 vb_bytes_per_frame;
398 u32 vb_bytes_per_line;
399 struct list_head vb_capture; /* video capture queue */
400 spinlock_t vb_lock;
401 struct timer_list vb_timeout;
403 struct videobuf_queue vbuf_q;
404 spinlock_t vbuf_q_lock; /* Protect vbuf_q */
405 enum v4l2_buf_type vb_type;