Lines Matching refs:hdl
96 static int uvc_check_handle(uvc_t hdl)
103 if (hdl == NULL)
119 hdl != (uvc_t)uvc)
183 static int uvc_wait_host_sub(uvc_t hdl, int *connected)
189 ret = uvc_check_handle(hdl);
194 uvc = (struct uvc_handle *)hdl;
215 int uvc_wait_host(uvc_t hdl, int wait_option, int *connected)
227 ret = uvc_wait_host_sub(hdl, connected);
233 ret = uvc_wait_host_sub(hdl, connected);
249 int uvc_open_device(uvc_t *hdl, struct uvc_open_param *param)
257 if (hdl == NULL || param == NULL)
329 *hdl = (uvc_t)uvc;
370 int uvc_video_stop(uvc_t hdl)
374 ret = uvc_check_handle(hdl);
380 ret = uvc_video_tran_stop((struct uvc_handle *)hdl);
385 int uvc_close_device(uvc_t hdl)
392 ret = uvc_check_handle(hdl);
397 uvc = (struct uvc_handle *)hdl;
426 int uvc_get_state(uvc_t hdl, uint32_t *state)
438 ret = uvc_check_handle(hdl);
444 uvc = (struct uvc_handle *)hdl;
456 int uvc_video_tran_nocp(uvc_t hdl, uvc_continue_func next_func, void *priv)
469 ret = uvc_check_handle(hdl);
474 uvc = (struct uvc_handle *)hdl;
509 ret = next_func(hdl, &(uvc->tdata), priv);
528 int uvc_video_tran_copy(uvc_t hdl, uvc_continue_func copy_func, void *priv)
539 ret = uvc_check_handle(hdl);
545 uvc = (struct uvc_handle *)hdl;
608 ret = uvc_check_handle(hdl);