*参照元 [#x9680896]
#backlinks

*説明 [#mfc1fdd2]
-パス: [[linux-4.4.1/include/media/v4l2-ctrls.h]]

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


**引数 [#x699cdb9]
-hdl
-struct v4l2_ctrl_handler *hdl
--
-nr_of_controls_hint
--[[linux-4.4.1/v4l2_ctrl_handler]]
-unsigned nr_of_controls_hint
--


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


**参考 [#cb44c2cb]


*実装 [#w59390b8]
 #ifdef CONFIG_LOCKDEP
-
--[[linux-4.4.1/CONFIG_LOCKDEP]]

 #define v4l2_ctrl_handler_init(hdl, nr_of_controls_hint)                \
 (                                                                       \
         ({                                                              \
                 static struct lock_class_key _key;                      \
-
--[[linux-4.4.1/lock_class_key]]

                 v4l2_ctrl_handler_init_class(hdl, nr_of_controls_hint,  \
                                         &_key,                          \
                                         KBUILD_BASENAME ":"             \
                                         __stringify(__LINE__) ":"       \
                                         "(" #hdl ")->_lock");           \
-
--[[linux-4.4.1/v4l2_ctrl_handler_init_class()]]
--[[linux-4.4.1/KBUILD_BASENAME]]

         })                                                              \
 )
 #else
 #define v4l2_ctrl_handler_init(hdl, nr_of_controls_hint)                \
         v4l2_ctrl_handler_init_class(hdl, nr_of_controls_hint, NULL, NULL)
 #endif


*コメント [#b3120a3c]



トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS