Lines Matching refs:probe

159 	struct uvc_streaming_control *ctrl, int probe, __u8 query)  in uvc_get_video_ctrl()  argument
175 probe ? UVC_VS_PROBE_CONTROL : UVC_VS_COMMIT_CONTROL, data, in uvc_get_video_ctrl()
190 } else if (query == UVC_GET_DEF && probe == 1 && ret != size) { in uvc_get_video_ctrl()
202 "%d (exp. %u).\n", query, probe ? "probe" : "commit", in uvc_get_video_ctrl()
247 struct uvc_streaming_control *ctrl, int probe) in uvc_set_video_ctrl() argument
279 probe ? UVC_VS_PROBE_CONTROL : UVC_VS_COMMIT_CONTROL, data, in uvc_set_video_ctrl()
283 "%d (exp. %u).\n", probe ? "probe" : "commit", in uvc_set_video_ctrl()
293 struct uvc_streaming_control *probe) in uvc_probe_video() argument
307 ret = uvc_set_video_ctrl(stream, probe, 1); in uvc_probe_video()
320 probe->wCompQuality = probe_max.wCompQuality; in uvc_probe_video()
324 ret = uvc_set_video_ctrl(stream, probe, 1); in uvc_probe_video()
327 ret = uvc_get_video_ctrl(stream, probe, 1, UVC_GET_CUR); in uvc_probe_video()
334 bandwidth = probe->dwMaxPayloadTransferSize; in uvc_probe_video()
344 probe->wKeyFrameRate = probe_min.wKeyFrameRate; in uvc_probe_video()
345 probe->wPFrameRate = probe_min.wPFrameRate; in uvc_probe_video()
346 probe->wCompQuality = probe_max.wCompQuality; in uvc_probe_video()
347 probe->wCompWindowSize = probe_min.wCompWindowSize; in uvc_probe_video()
355 struct uvc_streaming_control *probe) in uvc_commit_video() argument
357 return uvc_set_video_ctrl(stream, probe, 0); in uvc_commit_video()
1763 struct uvc_streaming_control *probe = &stream->ctrl; in uvc_video_init() local
1788 if (uvc_get_video_ctrl(stream, probe, 1, UVC_GET_DEF) == 0) in uvc_video_init()
1789 uvc_set_video_ctrl(stream, probe, 1); in uvc_video_init()
1796 ret = uvc_get_video_ctrl(stream, probe, 1, UVC_GET_CUR); in uvc_video_init()
1805 if (format->index == probe->bFormatIndex) in uvc_video_init()
1822 if (frame->bFrameIndex == probe->bFrameIndex) in uvc_video_init()
1826 probe->bFormatIndex = format->index; in uvc_video_init()
1827 probe->bFrameIndex = frame->bFrameIndex; in uvc_video_init()