*参照元 [#i7ab25cb]
#backlinks

*説明 [#i0c4929e]
-パス: [[linux-4.4.1/drivers/media/usb/uvc/uvc_v4l2.c]]

-FIXME: これは何?
--説明


**引数 [#he094911]
-struct file *file
--
--[[linux-4.4.1/file]]
-void *fh
--
-struct v4l2_buffer *buf
--
--[[linux-4.4.1/v4l2_buffer]]


**返り値 [#g0e0e978]
-int
--


**参考 [#zfe2bce1]


*実装 [#t6cb6385]
 static int uvc_ioctl_querybuf(struct file *file, void *fh,
                               struct v4l2_buffer *buf)
 {
         struct uvc_fh *handle = fh;
         struct uvc_streaming *stream = handle->stream;
 
-
--[[linux-4.4.1/uvc_fh]]
--[[linux-4.4.1/uvc_streaming]]

         if (!uvc_has_privileges(handle))
                 return -EBUSY;
 
-
--[[linux-4.4.1/uvc_has_privileges()]]

         return uvc_query_buffer(&stream->queue, buf);
-
--[[linux-4.4.1/uvc_query_buffer()]]

 }


*コメント [#bca63793]


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS