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