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

12345678910

/linux-master/drivers/staging/rtl8712/
H A Drtl8712_io.c27 struct intf_hdl *hdl = &adapter->pio_queue->intf; local
29 return hdl->io_ops._read8(hdl, addr);
34 struct intf_hdl *hdl = &adapter->pio_queue->intf; local
36 return hdl->io_ops._read16(hdl, addr);
41 struct intf_hdl *hdl = &adapter->pio_queue->intf; local
43 return hdl->io_ops._read32(hdl, addr);
48 struct intf_hdl *hdl local
55 struct intf_hdl *hdl = &adapter->pio_queue->intf; local
62 struct intf_hdl *hdl = &adapter->pio_queue->intf; local
69 struct intf_hdl *hdl = &adapter->pio_queue->intf; local
79 struct intf_hdl *hdl = &adapter->pio_queue->intf; local
86 struct intf_hdl *hdl = &adapter->pio_queue->intf; local
96 struct intf_hdl *hdl = &adapter->pio_queue->intf; local
[all...]
/linux-master/drivers/media/platform/st/sti/delta/
H A Ddelta-ipc.h35 * @hdl: (out) handle of decoding instance.
40 struct delta_buf **ipc_buf, void **hdl);
44 * @hdl: (in) handle of decoding instance.
50 int delta_ipc_set_stream(void *hdl, struct delta_ipc_param *param);
55 * @hdl: (in) handle of decoding instance.
67 int delta_ipc_decode(void *hdl, struct delta_ipc_param *param,
72 * @hdl: (in) handle of decoding instance to close.
74 void delta_ipc_close(void *hdl);
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-ctrls-request.c19 void v4l2_ctrl_handler_init_request(struct v4l2_ctrl_handler *hdl) argument
21 INIT_LIST_HEAD(&hdl->requests);
22 INIT_LIST_HEAD(&hdl->requests_queued);
23 hdl->request_is_queued = false;
24 media_request_object_init(&hdl->req_obj);
28 void v4l2_ctrl_handler_free_request(struct v4l2_ctrl_handler *hdl) argument
39 if (hdl->req_obj.ops || list_empty(&hdl->requests))
47 list_for_each_entry_safe(req, next_req, &hdl->requests, requests) {
53 static int v4l2_ctrl_request_clone(struct v4l2_ctrl_handler *hdl, argument
85 struct v4l2_ctrl_handler *hdl = local
97 struct v4l2_ctrl_handler *hdl = local
112 struct v4l2_ctrl_handler *hdl = local
142 v4l2_ctrl_request_hdl_ctrl_find(struct v4l2_ctrl_handler *hdl, u32 id) argument
150 v4l2_ctrl_request_bind(struct media_request *req, struct v4l2_ctrl_handler *hdl, struct v4l2_ctrl_handler *from) argument
171 v4l2_ctrls_find_req_obj(struct v4l2_ctrl_handler *hdl, struct media_request *req, bool set) 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) 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) argument
328 struct v4l2_ctrl_handler *hdl; local
399 struct v4l2_ctrl_handler *hdl; local
[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,
H A Dv4l2-ctrls-core.c1525 static inline int handler_set_err(struct v4l2_ctrl_handler *hdl, int err) argument
1527 if (hdl->error == 0)
1528 hdl->error = err;
1533 int v4l2_ctrl_handler_init_class(struct v4l2_ctrl_handler *hdl, argument
1537 mutex_init(&hdl->_lock);
1538 hdl->lock = &hdl->_lock;
1539 lockdep_set_class_and_name(hdl->lock, key, name);
1540 INIT_LIST_HEAD(&hdl->ctrls);
1541 INIT_LIST_HEAD(&hdl
1552 v4l2_ctrl_handler_free(struct v4l2_ctrl_handler *hdl) argument
1594 find_private_ref( struct v4l2_ctrl_handler *hdl, u32 id) argument
1616 find_ref(struct v4l2_ctrl_handler *hdl, u32 id) argument
1643 find_ref_lock(struct v4l2_ctrl_handler *hdl, u32 id) argument
1656 v4l2_ctrl_find(struct v4l2_ctrl_handler *hdl, u32 id) argument
1665 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) argument
1750 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) argument
2006 v4l2_ctrl_new_custom(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_config *cfg, void *priv) argument
2050 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) argument
2072 v4l2_ctrl_new_std_menu(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_ops *ops, u32 id, u8 _max, u64 mask, u8 _def) argument
2105 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) argument
2138 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) argument
2159 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) argument
2183 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) argument
2452 __v4l2_ctrl_handler_setup(struct v4l2_ctrl_handler *hdl) argument
2491 v4l2_ctrl_handler_setup(struct v4l2_ctrl_handler *hdl) argument
2507 log_ctrl(const struct v4l2_ctrl_handler *hdl, struct v4l2_ctrl *ctrl, const char *prefix, const char *colon) argument
2538 v4l2_ctrl_handler_log_status(struct v4l2_ctrl_handler *hdl, const char *prefix) argument
2563 v4l2_ctrl_new_fwnode_properties(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_ops *ctrl_ops, const struct v4l2_fwnode_device_properties *p) argument
[all...]
/linux-master/drivers/media/test-drivers/vimc/
H A Dvimc-lens.c20 struct v4l2_ctrl_handler hdl; member in struct:vimc_lens_device
37 container_of(ctrl->handler, struct vimc_lens_device, hdl);
61 v4l2_ctrl_handler_init(&vlens->hdl, 1);
63 v4l2_ctrl_new_std(&vlens->hdl, &vimc_lens_ctrl_ops,
66 vlens->sd.ctrl_handler = &vlens->hdl;
67 if (vlens->hdl.error) {
68 ret = vlens->hdl.error;
82 v4l2_ctrl_handler_free(&vlens->hdl);
94 v4l2_ctrl_handler_free(&vlens->hdl);
H A Dvimc-sensor.c32 struct v4l2_ctrl_handler hdl; member in struct:vimc_sensor_device
303 container_of(ctrl->handler, struct vimc_sensor_device, hdl);
345 v4l2_ctrl_handler_free(&vsensor->hdl);
396 v4l2_ctrl_handler_init(&vsensor->hdl, 4);
398 v4l2_ctrl_new_custom(&vsensor->hdl, &vimc_sensor_ctrl_class, NULL);
399 v4l2_ctrl_new_custom(&vsensor->hdl, &vimc_sensor_ctrl_test_pattern, NULL);
400 v4l2_ctrl_new_custom(&vsensor->hdl, &vimc_sensor_ctrl_osd_mode, NULL);
401 v4l2_ctrl_new_std(&vsensor->hdl, &vimc_sensor_ctrl_ops,
403 v4l2_ctrl_new_std(&vsensor->hdl, &vimc_sensor_ctrl_ops,
405 v4l2_ctrl_new_std(&vsensor->hdl,
[all...]
/linux-master/drivers/media/common/
H A Dcx2341x.c1297 return container_of(ctrl->handler, struct cx2341x_handler, hdl);
1300 static int cx2341x_hdl_api(struct cx2341x_handler *hdl, argument
1312 return hdl->func(hdl->priv, cmd, args, 0, data);
1323 struct cx2341x_handler *hdl = to_cxhdl(ctrl); local
1330 int gop = hdl->video_gop_size->val;
1337 hdl->video_gop_size->val = gop;
1343 hdl->video_encoding->val =
1344 (hdl->stream_type->val == V4L2_MPEG_STREAM_TYPE_MPEG1_SS ||
1345 hdl
1371 struct cx2341x_handler *hdl = to_cxhdl(ctrl); local
1539 cx2341x_ctrl_new_custom(struct v4l2_ctrl_handler *hdl, u32 id, s32 min, s32 max, s32 step, s32 def) argument
1562 cx2341x_ctrl_new_std(struct v4l2_ctrl_handler *hdl, u32 id, s32 min, s32 max, s32 step, s32 def) argument
1568 cx2341x_ctrl_new_menu(struct v4l2_ctrl_handler *hdl, u32 id, s32 max, s32 mask, s32 def) argument
1577 struct v4l2_ctrl_handler *hdl = &cxhdl->hdl; local
[all...]
/linux-master/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) argument
[all...]
/linux-master/drivers/media/i2c/
H A Dtlv320aic23b.c32 struct v4l2_ctrl_handler hdl; member in struct:tlv320aic23b_state
42 return &container_of(ctrl->handler, struct tlv320aic23b_state, hdl)->sd;
100 v4l2_ctrl_handler_log_status(&state->hdl, sd->name);
165 v4l2_ctrl_handler_init(&state->hdl, 1);
166 v4l2_ctrl_new_std(&state->hdl, &tlv320aic23b_ctrl_ops,
168 sd->ctrl_handler = &state->hdl;
169 if (state->hdl.error) {
170 int err = state->hdl.error;
172 v4l2_ctrl_handler_free(&state->hdl);
175 v4l2_ctrl_handler_setup(&state->hdl);
[all...]
H A Dtda7432.c64 struct v4l2_ctrl_handler hdl; member in struct:tda7432
84 return &container_of(ctrl->handler, struct tda7432, hdl)->sd;
267 v4l2_ctrl_handler_log_status(&state->hdl, sd->name);
359 v4l2_ctrl_handler_init(&t->hdl, 5);
360 v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops,
362 t->mute = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops,
364 t->balance = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops,
366 t->bass = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops,
368 t->treble = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops,
370 sd->ctrl_handler = &t->hdl;
[all...]
H A Dtw9903.c29 struct v4l2_ctrl_handler hdl; member in struct:tw9903
141 struct tw9903 *dec = container_of(ctrl->handler, struct tw9903, hdl);
196 struct v4l2_ctrl_handler *hdl; local
210 hdl = &dec->hdl;
211 v4l2_ctrl_handler_init(hdl, 4);
212 v4l2_ctrl_new_std(hdl, &tw9903_ctrl_ops,
214 v4l2_ctrl_new_std(hdl, &tw9903_ctrl_ops,
216 v4l2_ctrl_new_std(hdl, &tw9903_ctrl_ops,
218 sd->ctrl_handler = hdl;
[all...]
H A Dtw9906.c20 struct v4l2_ctrl_handler hdl; member in struct:tw9906
111 struct tw9906 *dec = container_of(ctrl->handler, struct tw9906, hdl);
164 struct v4l2_ctrl_handler *hdl; local
178 hdl = &dec->hdl;
179 v4l2_ctrl_handler_init(hdl, 4);
180 v4l2_ctrl_new_std(hdl, &tw9906_ctrl_ops,
182 v4l2_ctrl_new_std(hdl, &tw9906_ctrl_ops,
184 v4l2_ctrl_new_std(hdl, &tw9906_ctrl_ops,
186 sd->ctrl_handler = hdl;
[all...]
H A Dwm8739.c42 struct v4l2_ctrl_handler hdl; member in struct:wm8739_state
59 return &container_of(ctrl->handler, struct wm8739_state, hdl)->sd;
154 v4l2_ctrl_handler_log_status(&state->hdl, sd->name);
198 v4l2_ctrl_handler_init(&state->hdl, 2);
199 state->volume = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops,
201 state->mute = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops,
203 state->balance = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops,
205 sd->ctrl_handler = &state->hdl;
206 if (state->hdl.error) {
207 int err = state->hdl
[all...]
H A Dwm8775.c45 struct v4l2_ctrl_handler hdl; member in struct:wm8775_state
60 return &container_of(ctrl->handler, struct wm8775_state, hdl)->sd;
150 v4l2_ctrl_handler_log_status(&state->hdl, sd->name);
219 v4l2_ctrl_handler_init(&state->hdl, 4);
220 state->mute = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops,
222 state->vol = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops,
224 state->bal = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops,
226 state->loud = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops,
228 sd->ctrl_handler = &state->hdl;
229 err = state->hdl
[all...]
H A Dcs53l32a.c33 struct v4l2_ctrl_handler hdl; member in struct:cs53l32a_state
43 return &container_of(ctrl->handler, struct cs53l32a_state, hdl)->sd;
99 v4l2_ctrl_handler_log_status(&state->hdl, sd->name);
160 v4l2_ctrl_handler_init(&state->hdl, 2);
161 v4l2_ctrl_new_std(&state->hdl, &cs53l32a_ctrl_ops,
163 v4l2_ctrl_new_std(&state->hdl, &cs53l32a_ctrl_ops,
165 sd->ctrl_handler = &state->hdl;
166 if (state->hdl.error) {
167 int err = state->hdl.error;
169 v4l2_ctrl_handler_free(&state->hdl);
[all...]
H A Dcs5345.c28 struct v4l2_ctrl_handler hdl; member in struct:cs5345_state
38 return &container_of(ctrl->handler, struct cs5345_state, hdl)->sd;
157 v4l2_ctrl_handler_init(&state->hdl, 2);
158 v4l2_ctrl_new_std(&state->hdl, &cs5345_ctrl_ops,
160 v4l2_ctrl_new_std(&state->hdl, &cs5345_ctrl_ops,
162 sd->ctrl_handler = &state->hdl;
163 if (state->hdl.error) {
164 int err = state->hdl.error;
166 v4l2_ctrl_handler_free(&state->hdl);
170 v4l2_ctrl_handler_setup(&state->hdl);
[all...]
H A Dsaa6752hs.c83 struct v4l2_ctrl_handler hdl; member in struct:saa6752hs_state
361 container_of(ctrl->handler, struct saa6752hs_state, hdl);
377 container_of(ctrl->handler, struct saa6752hs_state, hdl);
664 struct v4l2_ctrl_handler *hdl; local
687 hdl = &h->hdl;
688 v4l2_ctrl_handler_init(hdl, 14);
689 v4l2_ctrl_new_std_menu(hdl, &saa6752hs_ctrl_ops,
695 v4l2_ctrl_new_std_menu(hdl, &saa6752hs_ctrl_ops,
703 v4l2_ctrl_new_std_menu(hdl,
[all...]
H A Dlm3646.c206 struct v4l2_ctrl_handler *hdl = &flash->ctrls_led; local
209 v4l2_ctrl_handler_init(hdl, 8);
211 v4l2_ctrl_new_std_menu(hdl, ops, V4L2_CID_FLASH_LED_MODE,
216 v4l2_ctrl_new_std_menu(hdl, ops, V4L2_CID_FLASH_STROBE_SOURCE,
220 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_STROBE, 0, 0, 0, 0);
222 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_STROBE_STOP, 0, 0, 0, 0);
225 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_TIMEOUT,
231 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_INTENSITY,
238 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_TORCH_INTENSITY,
245 fault = v4l2_ctrl_new_std(hdl, op
[all...]
H A Dtw2804.c29 struct v4l2_ctrl_handler hdl; member in struct:tw2804
137 return container_of(ctrl->handler, struct tw2804, hdl);
365 v4l2_ctrl_handler_init(&state->hdl, 10);
366 v4l2_ctrl_new_std(&state->hdl, &tw2804_ctrl_ops,
368 v4l2_ctrl_new_std(&state->hdl, &tw2804_ctrl_ops,
370 v4l2_ctrl_new_std(&state->hdl, &tw2804_ctrl_ops,
372 v4l2_ctrl_new_std(&state->hdl, &tw2804_ctrl_ops,
374 v4l2_ctrl_new_std(&state->hdl, &tw2804_ctrl_ops,
376 v4l2_ctrl_new_std(&state->hdl, &tw2804_ctrl_ops,
378 ctrl = v4l2_ctrl_new_std(&state->hdl,
[all...]
H A Dml86v7667.c87 struct v4l2_ctrl_handler hdl; member in struct:ml86v7667_priv
98 return &container_of(ctrl->handler, struct ml86v7667_priv, hdl)->sd;
376 v4l2_ctrl_handler_init(&priv->hdl, 8);
377 v4l2_ctrl_new_std(&priv->hdl, &ml86v7667_ctrl_ops,
379 v4l2_ctrl_new_std(&priv->hdl, &ml86v7667_ctrl_ops,
381 v4l2_ctrl_new_std(&priv->hdl, &ml86v7667_ctrl_ops,
383 v4l2_ctrl_new_std(&priv->hdl, &ml86v7667_ctrl_ops,
385 v4l2_ctrl_new_std(&priv->hdl, &ml86v7667_ctrl_ops,
387 v4l2_ctrl_new_std(&priv->hdl, &ml86v7667_ctrl_ops,
389 v4l2_ctrl_new_std(&priv->hdl,
[all...]
/linux-master/drivers/media/i2c/s5c73m3/
H A Ds5c73m3-ctrls.c445 struct v4l2_ctrl_handler *hdl = &ctrls->handler; local
447 int ret = v4l2_ctrl_handler_init(hdl, 22);
452 ctrls->auto_wb = v4l2_ctrl_new_std_menu(hdl, ops,
457 ctrls->auto_exposure = v4l2_ctrl_new_std_menu(hdl, ops,
460 ctrls->exposure_bias = v4l2_ctrl_new_int_menu(hdl, ops,
466 ctrls->exposure_metering = v4l2_ctrl_new_std_menu(hdl, ops,
471 ctrls->focus_auto = v4l2_ctrl_new_std(hdl, ops,
474 ctrls->af_start = v4l2_ctrl_new_std(hdl, ops,
477 ctrls->af_stop = v4l2_ctrl_new_std(hdl, ops,
480 ctrls->af_status = v4l2_ctrl_new_std(hdl, op
[all...]
/linux-master/drivers/media/usb/pwc/
H A Dpwc-v4l.c152 struct v4l2_ctrl_handler *hdl; local
156 hdl = &pdev->ctrl_handler;
157 r = v4l2_ctrl_handler_init(hdl, 20);
165 pdev->brightness = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops,
171 pdev->contrast = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops,
183 pdev->saturation = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops,
190 pdev->gamma = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops,
200 pdev->auto_white_balance = v4l2_ctrl_new_custom(hdl, &cfg, NULL);
203 return hdl->error;
209 pdev->red_balance = v4l2_ctrl_new_std(hdl,
[all...]
/linux-master/drivers/media/radio/
H A Dradio-sf16fmi.c50 struct v4l2_ctrl_handler hdl; member in struct:fmi
192 struct fmi *fmi = container_of(ctrl->handler, struct fmi, hdl);
276 struct v4l2_ctrl_handler *hdl = &fmi->hdl; local
329 v4l2_ctrl_handler_init(hdl, 1);
330 v4l2_ctrl_new_std(hdl, &fmi_ctrl_ops,
332 v4l2_dev->ctrl_handler = hdl;
333 if (hdl->error) {
334 res = hdl->error;
336 v4l2_ctrl_handler_free(hdl);
[all...]
H A Dradio-keene.c52 struct v4l2_ctrl_handler hdl; member in struct:keene_device
235 container_of(ctrl->handler, struct keene_device, hdl);
288 v4l2_ctrl_handler_free(&radio->hdl);
299 struct v4l2_ctrl_handler *hdl; local
325 hdl = &radio->hdl;
326 v4l2_ctrl_handler_init(hdl, 4);
327 v4l2_ctrl_new_std(hdl, &keene_ctrl_ops, V4L2_CID_AUDIO_MUTE,
329 v4l2_ctrl_new_std_menu(hdl, &keene_ctrl_ops, V4L2_CID_TUNE_PREEMPHASIS,
331 v4l2_ctrl_new_std(hdl,
[all...]

Completed in 208 milliseconds

12345678910