Lines Matching defs:cx18_stream
366 struct cx18_stream { struct
369 struct video_device video_dev; /* v4l2_dev is NULL when stream not created */
370 struct cx18_dvb *dvb; /* DVB / Digital Transport */
371 struct cx18 *cx; /* for ease of use */
372 const char *name; /* name of the stream */
373 int type; /* stream type */
374 u32 handle; /* task handle */
375 u32 v4l2_dev_caps; /* device capabilities */
376 unsigned int mdl_base_idx;
378 u32 id;
379 unsigned long s_flags; /* status flags, see above */
380 int dma; /* can be PCI_DMA_TODEVICE,
383 wait_queue_head_t waitq;
386 struct list_head buf_pool; /* buffers not attached to an MDL */
387 u32 buffers; /* total buffers owned by this stream */
388 u32 buf_size; /* size in bytes of a single buffer */
391 u32 bufs_per_mdl;
392 u32 mdl_size; /* total bytes in all buffers in a mdl */
395 struct cx18_queue q_free; /* free - in rotation, not committed */
396 struct cx18_queue q_busy; /* busy - in use by firmware */
397 struct cx18_queue q_full; /* full - data for user apps */
398 struct cx18_queue q_idle; /* idle - not in rotation */
400 struct work_struct out_work_order;
403 u32 pixelformat;
404 u32 vb_bytes_per_frame;
405 u32 vb_bytes_per_line;
406 struct list_head vb_capture; /* video capture queue */
407 spinlock_t vb_lock;
408 struct timer_list vb_timeout;
409 u32 sequence;
411 struct vb2_queue vidq;
412 enum v4l2_buf_type vb_type;