Lines Matching refs:v4l2_event
208 struct v4l2_event v4l2_event; in uvc_function_ep0_complete() local
209 struct uvc_event *uvc_event = (void *)&v4l2_event.u.data; in uvc_function_ep0_complete()
214 memset(&v4l2_event, 0, sizeof(v4l2_event)); in uvc_function_ep0_complete()
215 v4l2_event.type = UVC_EVENT_DATA; in uvc_function_ep0_complete()
218 v4l2_event_queue(&uvc->vdev, &v4l2_event); in uvc_function_ep0_complete()
226 struct v4l2_event v4l2_event; in uvc_function_setup() local
227 struct uvc_event *uvc_event = (void *)&v4l2_event.u.data; in uvc_function_setup()
244 memset(&v4l2_event, 0, sizeof(v4l2_event)); in uvc_function_setup()
245 v4l2_event.type = UVC_EVENT_SETUP; in uvc_function_setup()
247 v4l2_event_queue(&uvc->vdev, &v4l2_event); in uvc_function_setup()
279 struct v4l2_event v4l2_event; in uvc_function_set_alt() local
280 struct uvc_event *uvc_event = (void *)&v4l2_event.u.data; in uvc_function_set_alt()
299 memset(&v4l2_event, 0, sizeof(v4l2_event)); in uvc_function_set_alt()
300 v4l2_event.type = UVC_EVENT_CONNECT; in uvc_function_set_alt()
302 v4l2_event_queue(&uvc->vdev, &v4l2_event); in uvc_function_set_alt()
326 memset(&v4l2_event, 0, sizeof(v4l2_event)); in uvc_function_set_alt()
327 v4l2_event.type = UVC_EVENT_STREAMOFF; in uvc_function_set_alt()
328 v4l2_event_queue(&uvc->vdev, &v4l2_event); in uvc_function_set_alt()
349 memset(&v4l2_event, 0, sizeof(v4l2_event)); in uvc_function_set_alt()
350 v4l2_event.type = UVC_EVENT_STREAMON; in uvc_function_set_alt()
351 v4l2_event_queue(&uvc->vdev, &v4l2_event); in uvc_function_set_alt()
363 struct v4l2_event v4l2_event; in uvc_function_disable() local
367 memset(&v4l2_event, 0, sizeof(v4l2_event)); in uvc_function_disable()
368 v4l2_event.type = UVC_EVENT_DISCONNECT; in uvc_function_disable()
369 v4l2_event_queue(&uvc->vdev, &v4l2_event); in uvc_function_disable()