Lines Matching refs:vq
875 static int queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in queue_setup() argument
879 struct em28xx *dev = vb2_get_drv_priv(vq); in queue_setup()
923 int em28xx_start_analog_streaming(struct vb2_queue *vq, unsigned int count) in em28xx_start_analog_streaming() argument
925 struct em28xx *dev = vb2_get_drv_priv(vq); in em28xx_start_analog_streaming()
934 rc = res_get(dev, vq->type); in em28xx_start_analog_streaming()
968 if (vq->owner && vq->owner->vdev->vfl_type == VFL_TYPE_RADIO) in em28xx_start_analog_streaming()
981 static void em28xx_stop_streaming(struct vb2_queue *vq) in em28xx_stop_streaming() argument
983 struct em28xx *dev = vb2_get_drv_priv(vq); in em28xx_stop_streaming()
990 res_free(dev, vq->type); in em28xx_stop_streaming()
1012 void em28xx_stop_vbi_streaming(struct vb2_queue *vq) in em28xx_stop_vbi_streaming() argument
1014 struct em28xx *dev = vb2_get_drv_priv(vq); in em28xx_stop_vbi_streaming()
1021 res_free(dev, vq->type); in em28xx_stop_vbi_streaming()