Lines Matching defs:rtl2832_sdr_dev
116 struct rtl2832_sdr_dev { struct
119 unsigned long flags;
121 struct platform_device *pdev;
123 struct video_device vdev;
124 struct v4l2_device v4l2_dev;
125 struct v4l2_subdev *v4l2_subdev;
128 struct vb2_queue vb_queue;
129 struct list_head queued_bufs;
130 spinlock_t queued_bufs_lock; /* Protects queued_bufs */
131 unsigned sequence; /* buffer sequence counter */
134 struct mutex v4l2_lock; /* Protects everything else */
135 struct mutex vb_queue_lock; /* Protects vb_queue and capt_file */
138 struct usb_device *udev; /* Both mutexes most be hold when setting! */
140 unsigned int vb_full; /* vb is full and packets dropped */
142 struct urb *urb_list[MAX_BULK_BUFS];
143 int buf_num;
167 static int rtl2832_sdr_wr_regs(struct rtl2832_sdr_dev *dev, u16 reg, in rtl2832_sdr_wr_regs() argument