Home
last modified time | relevance | path

Searched refs:hdl (Results 1 - 25 of 463) sorted by relevance

12345678910>>...19

/kernel/linux/linux-5.10/drivers/staging/rtl8712/
H A Drtl8712_io.c27 struct intf_hdl *hdl = &adapter->pio_queue->intf; in r8712_read8() local
29 return hdl->io_ops._read8(hdl, addr); in r8712_read8()
34 struct intf_hdl *hdl = &adapter->pio_queue->intf; in r8712_read16() local
36 return hdl->io_ops._read16(hdl, addr); in r8712_read16()
41 struct intf_hdl *hdl = &adapter->pio_queue->intf; in r8712_read32() local
43 return hdl->io_ops._read32(hdl, addr); in r8712_read32()
48 struct intf_hdl *hdl in r8712_write8() local
55 struct intf_hdl *hdl = &adapter->pio_queue->intf; r8712_write16() local
62 struct intf_hdl *hdl = &adapter->pio_queue->intf; r8712_write32() local
69 struct intf_hdl *hdl = &adapter->pio_queue->intf; r8712_read_mem() local
79 struct intf_hdl *hdl = &adapter->pio_queue->intf; r8712_write_mem() local
86 struct intf_hdl *hdl = &adapter->pio_queue->intf; r8712_read_port() local
96 struct intf_hdl *hdl = &adapter->pio_queue->intf; r8712_write_port() local
[all...]
/kernel/linux/linux-6.6/drivers/staging/rtl8712/
H A Drtl8712_io.c27 struct intf_hdl *hdl = &adapter->pio_queue->intf; in r8712_read8() local
29 return hdl->io_ops._read8(hdl, addr); in r8712_read8()
34 struct intf_hdl *hdl = &adapter->pio_queue->intf; in r8712_read16() local
36 return hdl->io_ops._read16(hdl, addr); in r8712_read16()
41 struct intf_hdl *hdl = &adapter->pio_queue->intf; in r8712_read32() local
43 return hdl->io_ops._read32(hdl, addr); in r8712_read32()
48 struct intf_hdl *hdl in r8712_write8() local
55 struct intf_hdl *hdl = &adapter->pio_queue->intf; r8712_write16() local
62 struct intf_hdl *hdl = &adapter->pio_queue->intf; r8712_write32() local
69 struct intf_hdl *hdl = &adapter->pio_queue->intf; r8712_read_mem() local
79 struct intf_hdl *hdl = &adapter->pio_queue->intf; r8712_write_mem() local
86 struct intf_hdl *hdl = &adapter->pio_queue->intf; r8712_read_port() local
96 struct intf_hdl *hdl = &adapter->pio_queue->intf; r8712_write_port() local
[all...]
/kernel/linux/linux-6.6/drivers/media/v4l2-core/
H A Dv4l2-ctrls-request.c19 void v4l2_ctrl_handler_init_request(struct v4l2_ctrl_handler *hdl) in v4l2_ctrl_handler_init_request() argument
21 INIT_LIST_HEAD(&hdl->requests); in v4l2_ctrl_handler_init_request()
22 INIT_LIST_HEAD(&hdl->requests_queued); in v4l2_ctrl_handler_init_request()
23 hdl->request_is_queued = false; in v4l2_ctrl_handler_init_request()
24 media_request_object_init(&hdl->req_obj); in v4l2_ctrl_handler_init_request()
28 void v4l2_ctrl_handler_free_request(struct v4l2_ctrl_handler *hdl) in v4l2_ctrl_handler_free_request() argument
39 if (hdl->req_obj.ops || list_empty(&hdl->requests)) in v4l2_ctrl_handler_free_request()
47 list_for_each_entry_safe(req, next_req, &hdl->requests, requests) { in v4l2_ctrl_handler_free_request()
53 static int v4l2_ctrl_request_clone(struct v4l2_ctrl_handler *hdl, in v4l2_ctrl_request_clone() argument
85 struct v4l2_ctrl_handler *hdl = v4l2_ctrl_request_queue() local
97 struct v4l2_ctrl_handler *hdl = v4l2_ctrl_request_unbind() local
112 struct v4l2_ctrl_handler *hdl = v4l2_ctrl_request_release() local
142 v4l2_ctrl_request_hdl_ctrl_find(struct v4l2_ctrl_handler *hdl, u32 id) v4l2_ctrl_request_hdl_ctrl_find() argument
150 v4l2_ctrl_request_bind(struct media_request *req, struct v4l2_ctrl_handler *hdl, struct v4l2_ctrl_handler *from) v4l2_ctrl_request_bind() argument
171 v4l2_ctrls_find_req_obj(struct v4l2_ctrl_handler *hdl, struct media_request *req, bool set) v4l2_ctrls_find_req_obj() argument
219 v4l2_g_ext_ctrls_request(struct v4l2_ctrl_handler *hdl, struct video_device *vdev, struct media_device *mdev, struct v4l2_ext_controls *cs) v4l2_g_ext_ctrls_request() argument
261 try_set_ext_ctrls_request(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl, struct video_device *vdev, struct media_device *mdev, struct v4l2_ext_controls *cs, bool set) try_set_ext_ctrls_request() argument
328 struct v4l2_ctrl_handler *hdl; v4l2_ctrl_request_complete() local
399 struct v4l2_ctrl_handler *hdl; v4l2_ctrl_request_setup() local
[all...]
H A Dv4l2-ctrls-core.c1524 static inline int handler_set_err(struct v4l2_ctrl_handler *hdl, int err) in handler_set_err() argument
1526 if (hdl->error == 0) in handler_set_err()
1527 hdl->error = err; in handler_set_err()
1532 int v4l2_ctrl_handler_init_class(struct v4l2_ctrl_handler *hdl, in v4l2_ctrl_handler_init_class() argument
1536 mutex_init(&hdl->_lock); in v4l2_ctrl_handler_init_class()
1537 hdl->lock = &hdl->_lock; in v4l2_ctrl_handler_init_class()
1538 lockdep_set_class_and_name(hdl->lock, key, name); in v4l2_ctrl_handler_init_class()
1539 INIT_LIST_HEAD(&hdl->ctrls); in v4l2_ctrl_handler_init_class()
1540 INIT_LIST_HEAD(&hdl in v4l2_ctrl_handler_init_class()
1551 v4l2_ctrl_handler_free(struct v4l2_ctrl_handler *hdl) v4l2_ctrl_handler_free() argument
1593 find_private_ref( struct v4l2_ctrl_handler *hdl, u32 id) find_private_ref() argument
1615 find_ref(struct v4l2_ctrl_handler *hdl, u32 id) find_ref() argument
1642 find_ref_lock(struct v4l2_ctrl_handler *hdl, u32 id) find_ref_lock() argument
1655 v4l2_ctrl_find(struct v4l2_ctrl_handler *hdl, u32 id) v4l2_ctrl_find() argument
1664 handler_new_ref(struct v4l2_ctrl_handler *hdl, struct v4l2_ctrl *ctrl, struct v4l2_ctrl_ref **ctrl_ref, bool from_other_dev, bool allocate_req) handler_new_ref() argument
1749 v4l2_ctrl_new(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_ops *ops, const struct v4l2_ctrl_type_ops *type_ops, u32 id, const char *name, enum v4l2_ctrl_type type, s64 min, s64 max, u64 step, s64 def, const u32 dims[V4L2_CTRL_MAX_DIMS], u32 elem_size, u32 flags, const char * const *qmenu, const s64 *qmenu_int, const union v4l2_ctrl_ptr p_def, void *priv) v4l2_ctrl_new() argument
2005 v4l2_ctrl_new_custom(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_config *cfg, void *priv) v4l2_ctrl_new_custom() argument
2049 v4l2_ctrl_new_std(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_ops *ops, u32 id, s64 min, s64 max, u64 step, s64 def) v4l2_ctrl_new_std() argument
2071 v4l2_ctrl_new_std_menu(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_ops *ops, u32 id, u8 _max, u64 mask, u8 _def) v4l2_ctrl_new_std_menu() argument
2104 v4l2_ctrl_new_std_menu_items(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_ops *ops, u32 id, u8 _max, u64 mask, u8 _def, const char * const *qmenu) v4l2_ctrl_new_std_menu_items() argument
2137 v4l2_ctrl_new_std_compound(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_ops *ops, u32 id, const union v4l2_ctrl_ptr p_def) v4l2_ctrl_new_std_compound() argument
2158 v4l2_ctrl_new_int_menu(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_ops *ops, u32 id, u8 _max, u8 _def, const s64 *qmenu_int) v4l2_ctrl_new_int_menu() argument
2182 v4l2_ctrl_add_handler(struct v4l2_ctrl_handler *hdl, struct v4l2_ctrl_handler *add, bool (*filter)(const struct v4l2_ctrl *ctrl), bool from_other_dev) v4l2_ctrl_add_handler() argument
2451 __v4l2_ctrl_handler_setup(struct v4l2_ctrl_handler *hdl) __v4l2_ctrl_handler_setup() argument
2490 v4l2_ctrl_handler_setup(struct v4l2_ctrl_handler *hdl) v4l2_ctrl_handler_setup() argument
2532 v4l2_ctrl_handler_log_status(struct v4l2_ctrl_handler *hdl, const char *prefix) v4l2_ctrl_handler_log_status() argument
2554 v4l2_ctrl_new_fwnode_properties(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_ops *ctrl_ops, const struct v4l2_fwnode_device_properties *p) v4l2_ctrl_new_fwnode_properties() argument
[all...]
H A Dv4l2-ctrls-priv.h63 int handler_new_ref(struct v4l2_ctrl_handler *hdl,
67 struct v4l2_ctrl_ref *find_ref(struct v4l2_ctrl_handler *hdl, u32 id);
68 struct v4l2_ctrl_ref *find_ref_lock(struct v4l2_ctrl_handler *hdl, u32 id);
76 int v4l2_g_ext_ctrls_common(struct v4l2_ctrl_handler *hdl,
80 struct v4l2_ctrl_handler *hdl,
85 void v4l2_ctrl_handler_init_request(struct v4l2_ctrl_handler *hdl);
86 void v4l2_ctrl_handler_free_request(struct v4l2_ctrl_handler *hdl);
87 int v4l2_g_ext_ctrls_request(struct v4l2_ctrl_handler *hdl, struct video_device *vdev,
90 struct v4l2_ctrl_handler *hdl,
/kernel/linux/linux-5.10/drivers/media/common/
H A Dcx2341x.c1297 return container_of(ctrl->handler, struct cx2341x_handler, hdl); in to_cxhdl()
1300 static int cx2341x_hdl_api(struct cx2341x_handler *hdl, in cx2341x_hdl_api() argument
1312 return hdl->func(hdl->priv, cmd, args, 0, data); in cx2341x_hdl_api()
1323 struct cx2341x_handler *hdl = to_cxhdl(ctrl); in cx2341x_try_ctrl() local
1330 int gop = hdl->video_gop_size->val; in cx2341x_try_ctrl()
1337 hdl->video_gop_size->val = gop; in cx2341x_try_ctrl()
1343 hdl->video_encoding->val = in cx2341x_try_ctrl()
1344 (hdl->stream_type->val == V4L2_MPEG_STREAM_TYPE_MPEG1_SS || in cx2341x_try_ctrl()
1345 hdl in cx2341x_try_ctrl()
1371 struct cx2341x_handler *hdl = to_cxhdl(ctrl); cx2341x_s_ctrl() local
1539 cx2341x_ctrl_new_custom(struct v4l2_ctrl_handler *hdl, u32 id, s32 min, s32 max, s32 step, s32 def) cx2341x_ctrl_new_custom() argument
1562 cx2341x_ctrl_new_std(struct v4l2_ctrl_handler *hdl, u32 id, s32 min, s32 max, s32 step, s32 def) cx2341x_ctrl_new_std() argument
1568 cx2341x_ctrl_new_menu(struct v4l2_ctrl_handler *hdl, u32 id, s32 max, s32 mask, s32 def) cx2341x_ctrl_new_menu() argument
1577 struct v4l2_ctrl_handler *hdl = &cxhdl->hdl; cx2341x_handler_init() local
[all...]
/kernel/linux/linux-6.6/drivers/media/common/
H A Dcx2341x.c1297 return container_of(ctrl->handler, struct cx2341x_handler, hdl); in to_cxhdl()
1300 static int cx2341x_hdl_api(struct cx2341x_handler *hdl, in cx2341x_hdl_api() argument
1312 return hdl->func(hdl->priv, cmd, args, 0, data); in cx2341x_hdl_api()
1323 struct cx2341x_handler *hdl = to_cxhdl(ctrl); in cx2341x_try_ctrl() local
1330 int gop = hdl->video_gop_size->val; in cx2341x_try_ctrl()
1337 hdl->video_gop_size->val = gop; in cx2341x_try_ctrl()
1343 hdl->video_encoding->val = in cx2341x_try_ctrl()
1344 (hdl->stream_type->val == V4L2_MPEG_STREAM_TYPE_MPEG1_SS || in cx2341x_try_ctrl()
1345 hdl in cx2341x_try_ctrl()
1371 struct cx2341x_handler *hdl = to_cxhdl(ctrl); cx2341x_s_ctrl() local
1539 cx2341x_ctrl_new_custom(struct v4l2_ctrl_handler *hdl, u32 id, s32 min, s32 max, s32 step, s32 def) cx2341x_ctrl_new_custom() argument
1562 cx2341x_ctrl_new_std(struct v4l2_ctrl_handler *hdl, u32 id, s32 min, s32 max, s32 step, s32 def) cx2341x_ctrl_new_std() argument
1568 cx2341x_ctrl_new_menu(struct v4l2_ctrl_handler *hdl, u32 id, s32 max, s32 mask, s32 def) cx2341x_ctrl_new_menu() argument
1577 struct v4l2_ctrl_handler *hdl = &cxhdl->hdl; cx2341x_handler_init() local
[all...]
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
H A Dv4l2-ctrls.c2319 static inline int handler_set_err(struct v4l2_ctrl_handler *hdl, int err) in handler_set_err() argument
2321 if (hdl->error == 0) in handler_set_err()
2322 hdl->error = err; in handler_set_err()
2327 int v4l2_ctrl_handler_init_class(struct v4l2_ctrl_handler *hdl, in v4l2_ctrl_handler_init_class() argument
2331 mutex_init(&hdl->_lock); in v4l2_ctrl_handler_init_class()
2332 hdl->lock = &hdl->_lock; in v4l2_ctrl_handler_init_class()
2333 lockdep_set_class_and_name(hdl->lock, key, name); in v4l2_ctrl_handler_init_class()
2334 INIT_LIST_HEAD(&hdl->ctrls); in v4l2_ctrl_handler_init_class()
2335 INIT_LIST_HEAD(&hdl in v4l2_ctrl_handler_init_class()
2350 v4l2_ctrl_handler_free(struct v4l2_ctrl_handler *hdl) v4l2_ctrl_handler_free() argument
2403 find_private_ref( struct v4l2_ctrl_handler *hdl, u32 id) find_private_ref() argument
2425 find_ref(struct v4l2_ctrl_handler *hdl, u32 id) find_ref() argument
2452 find_ref_lock( struct v4l2_ctrl_handler *hdl, u32 id) find_ref_lock() argument
2466 v4l2_ctrl_find(struct v4l2_ctrl_handler *hdl, u32 id) v4l2_ctrl_find() argument
2475 handler_new_ref(struct v4l2_ctrl_handler *hdl, struct v4l2_ctrl *ctrl, struct v4l2_ctrl_ref **ctrl_ref, bool from_other_dev, bool allocate_req) handler_new_ref() argument
2560 v4l2_ctrl_new(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_ops *ops, const struct v4l2_ctrl_type_ops *type_ops, u32 id, const char *name, enum v4l2_ctrl_type type, s64 min, s64 max, u64 step, s64 def, const u32 dims[V4L2_CTRL_MAX_DIMS], u32 elem_size, u32 flags, const char * const *qmenu, const s64 *qmenu_int, const union v4l2_ctrl_ptr p_def, void *priv) v4l2_ctrl_new() argument
2756 v4l2_ctrl_new_custom(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_config *cfg, void *priv) v4l2_ctrl_new_custom() argument
2800 v4l2_ctrl_new_std(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_ops *ops, u32 id, s64 min, s64 max, u64 step, s64 def) v4l2_ctrl_new_std() argument
2822 v4l2_ctrl_new_std_menu(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_ops *ops, u32 id, u8 _max, u64 mask, u8 _def) v4l2_ctrl_new_std_menu() argument
2855 v4l2_ctrl_new_std_menu_items(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_ops *ops, u32 id, u8 _max, u64 mask, u8 _def, const char * const *qmenu) v4l2_ctrl_new_std_menu_items() argument
2888 v4l2_ctrl_new_std_compound(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_ops *ops, u32 id, const union v4l2_ctrl_ptr p_def) v4l2_ctrl_new_std_compound() argument
2909 v4l2_ctrl_new_int_menu(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_ops *ops, u32 id, u8 _max, u8 _def, const s64 *qmenu_int) v4l2_ctrl_new_int_menu() argument
2933 v4l2_ctrl_add_handler(struct v4l2_ctrl_handler *hdl, struct v4l2_ctrl_handler *add, bool (*filter)(const struct v4l2_ctrl *ctrl), bool from_other_dev) v4l2_ctrl_add_handler() argument
3105 v4l2_ctrl_handler_log_status(struct v4l2_ctrl_handler *hdl, const char *prefix) v4l2_ctrl_handler_log_status() argument
3135 __v4l2_ctrl_handler_setup(struct v4l2_ctrl_handler *hdl) __v4l2_ctrl_handler_setup() argument
3174 v4l2_ctrl_handler_setup(struct v4l2_ctrl_handler *hdl) v4l2_ctrl_handler_setup() argument
3190 v4l2_query_ext_ctrl(struct v4l2_ctrl_handler *hdl, struct v4l2_query_ext_ctrl *qc) v4l2_query_ext_ctrl() argument
3283 v4l2_queryctrl(struct v4l2_ctrl_handler *hdl, struct v4l2_queryctrl *qc) v4l2_queryctrl() argument
3320 v4l2_querymenu(struct v4l2_ctrl_handler *hdl, struct v4l2_querymenu *qm) v4l2_querymenu() argument
3362 v4l2_ctrl_request_clone(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_handler *from) v4l2_ctrl_request_clone() argument
3397 struct v4l2_ctrl_handler *hdl = v4l2_ctrl_request_queue() local
3409 struct v4l2_ctrl_handler *hdl = v4l2_ctrl_request_unbind() local
3424 struct v4l2_ctrl_handler *hdl = v4l2_ctrl_request_release() local
3454 v4l2_ctrl_request_hdl_ctrl_find(struct v4l2_ctrl_handler *hdl, u32 id) v4l2_ctrl_request_hdl_ctrl_find() argument
3462 v4l2_ctrl_request_bind(struct media_request *req, struct v4l2_ctrl_handler *hdl, struct v4l2_ctrl_handler *from) v4l2_ctrl_request_bind() argument
3523 prepare_ext_ctrls(struct v4l2_ctrl_handler *hdl, struct v4l2_ext_controls *cs, struct v4l2_ctrl_helper *helpers, struct video_device *vdev, bool get) prepare_ext_ctrls() argument
3639 class_check(struct v4l2_ctrl_handler *hdl, u32 which) class_check() argument
3654 v4l2_g_ext_ctrls_common(struct v4l2_ctrl_handler *hdl, struct v4l2_ext_controls *cs, struct video_device *vdev) v4l2_g_ext_ctrls_common() argument
3754 v4l2_ctrls_find_req_obj(struct v4l2_ctrl_handler *hdl, struct media_request *req, bool set) v4l2_ctrls_find_req_obj() argument
3791 v4l2_g_ext_ctrls(struct v4l2_ctrl_handler *hdl, struct video_device *vdev, struct media_device *mdev, struct v4l2_ext_controls *cs) v4l2_g_ext_ctrls() argument
3870 v4l2_g_ctrl(struct v4l2_ctrl_handler *hdl, struct v4l2_control *control) v4l2_g_ctrl() argument
4037 try_set_ext_ctrls_common(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl, struct v4l2_ext_controls *cs, struct video_device *vdev, bool set) try_set_ext_ctrls_common() argument
4159 try_set_ext_ctrls(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl, struct video_device *vdev, struct media_device *mdev, struct v4l2_ext_controls *cs, bool set) try_set_ext_ctrls() argument
4226 v4l2_try_ext_ctrls(struct v4l2_ctrl_handler *hdl, struct video_device *vdev, struct media_device *mdev, struct v4l2_ext_controls *cs) v4l2_try_ext_ctrls() argument
4235 v4l2_s_ext_ctrls(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl, struct video_device *vdev, struct media_device *mdev, struct v4l2_ext_controls *cs) v4l2_s_ext_ctrls() argument
4287 v4l2_s_ctrl(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl, struct v4l2_control *control) v4l2_s_ctrl() argument
4360 struct v4l2_ctrl_handler *hdl; v4l2_ctrl_request_complete() local
4414 struct v4l2_ctrl_handler *hdl; v4l2_ctrl_request_setup() local
4688 v4l2_ctrl_new_fwnode_properties(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_ops *ctrl_ops, const struct v4l2_fwnode_device_properties *p) v4l2_ctrl_new_fwnode_properties() argument
[all...]
/kernel/linux/linux-5.10/include/media/
H A Dv4l2-ctrls.h463 * @hdl: The control handler.
480 * error will also be stored in @hdl->error.
482 int v4l2_ctrl_handler_init_class(struct v4l2_ctrl_handler *hdl,
492 * @hdl: The control handler.
507 #define v4l2_ctrl_handler_init(hdl, nr_of_controls_hint) \
511 v4l2_ctrl_handler_init_class(hdl, nr_of_controls_hint, \
515 "(" #hdl ")->_lock"); \
519 #define v4l2_ctrl_handler_init(hdl, nr_of_controls_hint) \
520 v4l2_ctrl_handler_init_class(hdl, nr_of_controls_hint, NULL, NULL)
526 * @hdl
1290 v4l2_ctrl_request_hdl_put(struct v4l2_ctrl_handler *hdl) v4l2_ctrl_request_hdl_put() argument
[all...]
/kernel/linux/linux-6.6/include/media/
H A Dv4l2-ctrls.h496 * @hdl: The control handler.
513 * error will also be stored in @hdl->error.
515 int v4l2_ctrl_handler_init_class(struct v4l2_ctrl_handler *hdl,
525 * @hdl: The control handler.
540 #define v4l2_ctrl_handler_init(hdl, nr_of_controls_hint) \
544 v4l2_ctrl_handler_init_class(hdl, nr_of_controls_hint, \
548 "(" #hdl ")->_lock"); \
552 #define v4l2_ctrl_handler_init(hdl, nr_of_controls_hint) \
553 v4l2_ctrl_handler_init_class(hdl, nr_of_controls_hint, NULL, NULL)
559 * @hdl
1376 v4l2_ctrl_request_hdl_put(struct v4l2_ctrl_handler *hdl) v4l2_ctrl_request_hdl_put() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/i2c/s5c73m3/
H A Ds5c73m3-ctrls.c447 struct v4l2_ctrl_handler *hdl = &ctrls->handler; in s5c73m3_init_controls() local
449 int ret = v4l2_ctrl_handler_init(hdl, 22); in s5c73m3_init_controls()
454 ctrls->auto_wb = v4l2_ctrl_new_std_menu(hdl, ops, in s5c73m3_init_controls()
459 ctrls->auto_exposure = v4l2_ctrl_new_std_menu(hdl, ops, in s5c73m3_init_controls()
462 ctrls->exposure_bias = v4l2_ctrl_new_int_menu(hdl, ops, in s5c73m3_init_controls()
468 ctrls->exposure_metering = v4l2_ctrl_new_std_menu(hdl, ops, in s5c73m3_init_controls()
473 ctrls->focus_auto = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls()
476 ctrls->af_start = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls()
479 ctrls->af_stop = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls()
482 ctrls->af_status = v4l2_ctrl_new_std(hdl, op in s5c73m3_init_controls()
[all...]
/kernel/linux/linux-6.6/drivers/media/i2c/s5c73m3/
H A Ds5c73m3-ctrls.c445 struct v4l2_ctrl_handler *hdl = &ctrls->handler; in s5c73m3_init_controls() local
447 int ret = v4l2_ctrl_handler_init(hdl, 22); in s5c73m3_init_controls()
452 ctrls->auto_wb = v4l2_ctrl_new_std_menu(hdl, ops, in s5c73m3_init_controls()
457 ctrls->auto_exposure = v4l2_ctrl_new_std_menu(hdl, ops, in s5c73m3_init_controls()
460 ctrls->exposure_bias = v4l2_ctrl_new_int_menu(hdl, ops, in s5c73m3_init_controls()
466 ctrls->exposure_metering = v4l2_ctrl_new_std_menu(hdl, ops, in s5c73m3_init_controls()
471 ctrls->focus_auto = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls()
474 ctrls->af_start = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls()
477 ctrls->af_stop = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls()
480 ctrls->af_status = v4l2_ctrl_new_std(hdl, op in s5c73m3_init_controls()
[all...]
/kernel/linux/linux-6.6/drivers/media/test-drivers/vimc/
H A Dvimc-lens.c20 struct v4l2_ctrl_handler hdl; member
37 container_of(ctrl->handler, struct vimc_lens_device, hdl); in vimc_lens_s_ctrl()
61 v4l2_ctrl_handler_init(&vlens->hdl, 1); in vimc_lens_add()
63 v4l2_ctrl_new_std(&vlens->hdl, &vimc_lens_ctrl_ops, in vimc_lens_add()
66 vlens->sd.ctrl_handler = &vlens->hdl; in vimc_lens_add()
67 if (vlens->hdl.error) { in vimc_lens_add()
68 ret = vlens->hdl.error; in vimc_lens_add()
82 v4l2_ctrl_handler_free(&vlens->hdl); in vimc_lens_add()
94 v4l2_ctrl_handler_free(&vlens->hdl); in vimc_lens_release()
/kernel/linux/linux-5.10/drivers/media/i2c/
H A Dtw9903.c29 struct v4l2_ctrl_handler hdl; member
141 struct tw9903 *dec = container_of(ctrl->handler, struct tw9903, hdl); in tw9903_s_ctrl()
197 struct v4l2_ctrl_handler *hdl; in tw9903_probe() local
211 hdl = &dec->hdl; in tw9903_probe()
212 v4l2_ctrl_handler_init(hdl, 4); in tw9903_probe()
213 v4l2_ctrl_new_std(hdl, &tw9903_ctrl_ops, in tw9903_probe()
215 v4l2_ctrl_new_std(hdl, &tw9903_ctrl_ops, in tw9903_probe()
217 v4l2_ctrl_new_std(hdl, &tw9903_ctrl_ops, in tw9903_probe()
219 sd->ctrl_handler = hdl; in tw9903_probe()
[all...]
H A Dtw9906.c20 struct v4l2_ctrl_handler hdl; member
111 struct tw9906 *dec = container_of(ctrl->handler, struct tw9906, hdl); in tw9906_s_ctrl()
165 struct v4l2_ctrl_handler *hdl; in tw9906_probe() local
179 hdl = &dec->hdl; in tw9906_probe()
180 v4l2_ctrl_handler_init(hdl, 4); in tw9906_probe()
181 v4l2_ctrl_new_std(hdl, &tw9906_ctrl_ops, in tw9906_probe()
183 v4l2_ctrl_new_std(hdl, &tw9906_ctrl_ops, in tw9906_probe()
185 v4l2_ctrl_new_std(hdl, &tw9906_ctrl_ops, in tw9906_probe()
187 sd->ctrl_handler = hdl; in tw9906_probe()
[all...]
H A Dcs53l32a.c33 struct v4l2_ctrl_handler hdl; member
43 return &container_of(ctrl->handler, struct cs53l32a_state, hdl)->sd; in to_sd()
99 v4l2_ctrl_handler_log_status(&state->hdl, sd->name); in cs53l32a_log_status()
160 v4l2_ctrl_handler_init(&state->hdl, 2); in cs53l32a_probe()
161 v4l2_ctrl_new_std(&state->hdl, &cs53l32a_ctrl_ops, in cs53l32a_probe()
163 v4l2_ctrl_new_std(&state->hdl, &cs53l32a_ctrl_ops, in cs53l32a_probe()
165 sd->ctrl_handler = &state->hdl; in cs53l32a_probe()
166 if (state->hdl.error) { in cs53l32a_probe()
167 int err = state->hdl.error; in cs53l32a_probe()
169 v4l2_ctrl_handler_free(&state->hdl); in cs53l32a_probe()
[all...]
H A Dcs5345.c28 struct v4l2_ctrl_handler hdl; member
38 return &container_of(ctrl->handler, struct cs5345_state, hdl)->sd; in to_sd()
158 v4l2_ctrl_handler_init(&state->hdl, 2); in cs5345_probe()
159 v4l2_ctrl_new_std(&state->hdl, &cs5345_ctrl_ops, in cs5345_probe()
161 v4l2_ctrl_new_std(&state->hdl, &cs5345_ctrl_ops, in cs5345_probe()
163 sd->ctrl_handler = &state->hdl; in cs5345_probe()
164 if (state->hdl.error) { in cs5345_probe()
165 int err = state->hdl.error; in cs5345_probe()
167 v4l2_ctrl_handler_free(&state->hdl); in cs5345_probe()
171 v4l2_ctrl_handler_setup(&state->hdl); in cs5345_probe()
[all...]
H A Dtlv320aic23b.c32 struct v4l2_ctrl_handler hdl; member
42 return &container_of(ctrl->handler, struct tlv320aic23b_state, hdl)->sd; in to_sd()
100 v4l2_ctrl_handler_log_status(&state->hdl, sd->name); in tlv320aic23b_log_status()
166 v4l2_ctrl_handler_init(&state->hdl, 1); in tlv320aic23b_probe()
167 v4l2_ctrl_new_std(&state->hdl, &tlv320aic23b_ctrl_ops, in tlv320aic23b_probe()
169 sd->ctrl_handler = &state->hdl; in tlv320aic23b_probe()
170 if (state->hdl.error) { in tlv320aic23b_probe()
171 int err = state->hdl.error; in tlv320aic23b_probe()
173 v4l2_ctrl_handler_free(&state->hdl); in tlv320aic23b_probe()
176 v4l2_ctrl_handler_setup(&state->hdl); in tlv320aic23b_probe()
[all...]
H A Dwm8739.c42 struct v4l2_ctrl_handler hdl; member
59 return &container_of(ctrl->handler, struct wm8739_state, hdl)->sd; in to_sd()
154 v4l2_ctrl_handler_log_status(&state->hdl, sd->name); in wm8739_log_status()
199 v4l2_ctrl_handler_init(&state->hdl, 2); in wm8739_probe()
200 state->volume = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, in wm8739_probe()
202 state->mute = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, in wm8739_probe()
204 state->balance = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, in wm8739_probe()
206 sd->ctrl_handler = &state->hdl; in wm8739_probe()
207 if (state->hdl.error) { in wm8739_probe()
208 int err = state->hdl in wm8739_probe()
[all...]
H A Dsaa6752hs.c83 struct v4l2_ctrl_handler hdl; member
361 container_of(ctrl->handler, struct saa6752hs_state, hdl); in saa6752hs_try_ctrl()
377 container_of(ctrl->handler, struct saa6752hs_state, hdl); in saa6752hs_s_ctrl()
667 struct v4l2_ctrl_handler *hdl; in saa6752hs_probe() local
690 hdl = &h->hdl; in saa6752hs_probe()
691 v4l2_ctrl_handler_init(hdl, 14); in saa6752hs_probe()
692 v4l2_ctrl_new_std_menu(hdl, &saa6752hs_ctrl_ops, in saa6752hs_probe()
698 v4l2_ctrl_new_std_menu(hdl, &saa6752hs_ctrl_ops, in saa6752hs_probe()
706 v4l2_ctrl_new_std_menu(hdl, in saa6752hs_probe()
[all...]
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Dtw9903.c29 struct v4l2_ctrl_handler hdl; member
141 struct tw9903 *dec = container_of(ctrl->handler, struct tw9903, hdl); in tw9903_s_ctrl()
196 struct v4l2_ctrl_handler *hdl; in tw9903_probe() local
210 hdl = &dec->hdl; in tw9903_probe()
211 v4l2_ctrl_handler_init(hdl, 4); in tw9903_probe()
212 v4l2_ctrl_new_std(hdl, &tw9903_ctrl_ops, in tw9903_probe()
214 v4l2_ctrl_new_std(hdl, &tw9903_ctrl_ops, in tw9903_probe()
216 v4l2_ctrl_new_std(hdl, &tw9903_ctrl_ops, in tw9903_probe()
218 sd->ctrl_handler = hdl; in tw9903_probe()
[all...]
H A Dtw9906.c20 struct v4l2_ctrl_handler hdl; member
111 struct tw9906 *dec = container_of(ctrl->handler, struct tw9906, hdl); in tw9906_s_ctrl()
164 struct v4l2_ctrl_handler *hdl; in tw9906_probe() local
178 hdl = &dec->hdl; in tw9906_probe()
179 v4l2_ctrl_handler_init(hdl, 4); in tw9906_probe()
180 v4l2_ctrl_new_std(hdl, &tw9906_ctrl_ops, in tw9906_probe()
182 v4l2_ctrl_new_std(hdl, &tw9906_ctrl_ops, in tw9906_probe()
184 v4l2_ctrl_new_std(hdl, &tw9906_ctrl_ops, in tw9906_probe()
186 sd->ctrl_handler = hdl; in tw9906_probe()
[all...]
H A Dcs5345.c28 struct v4l2_ctrl_handler hdl; member
38 return &container_of(ctrl->handler, struct cs5345_state, hdl)->sd; in to_sd()
157 v4l2_ctrl_handler_init(&state->hdl, 2); in cs5345_probe()
158 v4l2_ctrl_new_std(&state->hdl, &cs5345_ctrl_ops, in cs5345_probe()
160 v4l2_ctrl_new_std(&state->hdl, &cs5345_ctrl_ops, in cs5345_probe()
162 sd->ctrl_handler = &state->hdl; in cs5345_probe()
163 if (state->hdl.error) { in cs5345_probe()
164 int err = state->hdl.error; in cs5345_probe()
166 v4l2_ctrl_handler_free(&state->hdl); in cs5345_probe()
170 v4l2_ctrl_handler_setup(&state->hdl); in cs5345_probe()
[all...]
H A Dtlv320aic23b.c32 struct v4l2_ctrl_handler hdl; member
42 return &container_of(ctrl->handler, struct tlv320aic23b_state, hdl)->sd; in to_sd()
100 v4l2_ctrl_handler_log_status(&state->hdl, sd->name); in tlv320aic23b_log_status()
165 v4l2_ctrl_handler_init(&state->hdl, 1); in tlv320aic23b_probe()
166 v4l2_ctrl_new_std(&state->hdl, &tlv320aic23b_ctrl_ops, in tlv320aic23b_probe()
168 sd->ctrl_handler = &state->hdl; in tlv320aic23b_probe()
169 if (state->hdl.error) { in tlv320aic23b_probe()
170 int err = state->hdl.error; in tlv320aic23b_probe()
172 v4l2_ctrl_handler_free(&state->hdl); in tlv320aic23b_probe()
175 v4l2_ctrl_handler_setup(&state->hdl); in tlv320aic23b_probe()
[all...]
H A Dwm8739.c42 struct v4l2_ctrl_handler hdl; member
59 return &container_of(ctrl->handler, struct wm8739_state, hdl)->sd; in to_sd()
154 v4l2_ctrl_handler_log_status(&state->hdl, sd->name); in wm8739_log_status()
198 v4l2_ctrl_handler_init(&state->hdl, 2); in wm8739_probe()
199 state->volume = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, in wm8739_probe()
201 state->mute = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, in wm8739_probe()
203 state->balance = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, in wm8739_probe()
205 sd->ctrl_handler = &state->hdl; in wm8739_probe()
206 if (state->hdl.error) { in wm8739_probe()
207 int err = state->hdl in wm8739_probe()
[all...]

Completed in 20 milliseconds

12345678910>>...19