Lines Matching defs:cx18_stream
373 struct cx18_stream { struct
376 struct video_device video_dev; /* v4l2_dev is 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 u32 v4l2_dev_caps; /* device capabilities */
383 unsigned int mdl_base_idx;
385 u32 id;
386 unsigned long s_flags; /* status flags, see above */
387 int dma; /* can be PCI_DMA_TODEVICE,
390 wait_queue_head_t waitq;
393 struct list_head buf_pool; /* buffers not attached to an MDL */
394 u32 buffers; /* total buffers owned by this stream */
395 u32 buf_size; /* size in bytes of a single buffer */
398 u32 bufs_per_mdl;
399 u32 mdl_size; /* total bytes in all buffers in a mdl */
402 struct cx18_queue q_free; /* free - in rotation, not committed */
403 struct cx18_queue q_busy; /* busy - in use by firmware */
404 struct cx18_queue q_full; /* full - data for user apps */
405 struct cx18_queue q_idle; /* idle - not in rotation */
407 struct work_struct out_work_order;
410 u32 pixelformat;
411 u32 vb_bytes_per_frame;
412 u32 vb_bytes_per_line;
413 struct list_head vb_capture; /* video capture queue */
414 spinlock_t vb_lock;
415 struct timer_list vb_timeout;
417 struct videobuf_queue vbuf_q;
418 spinlock_t vbuf_q_lock; /* Protect vbuf_q */
419 enum v4l2_buf_type vb_type;