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

123

/drivers/media/video/
H A Dcx2341x.c1246 return container_of(ctrl->handler, struct cx2341x_handler, hdl);
1249 static int cx2341x_hdl_api(struct cx2341x_handler *hdl, argument
1261 return hdl->func(hdl->priv, cmd, args, 0, data);
1272 struct cx2341x_handler *hdl = to_cxhdl(ctrl); local
1279 int gop = hdl->video_gop_size->val;
1286 hdl->video_gop_size->val = gop;
1292 hdl->video_encoding->val =
1293 (hdl->stream_type->val == V4L2_MPEG_STREAM_TYPE_MPEG1_SS ||
1294 hdl
1320 struct cx2341x_handler *hdl = to_cxhdl(ctrl); local
1488 cx2341x_ctrl_new_custom(struct v4l2_ctrl_handler *hdl, u32 id, s32 min, s32 max, s32 step, s32 def) argument
1510 cx2341x_ctrl_new_std(struct v4l2_ctrl_handler *hdl, u32 id, s32 min, s32 max, s32 step, s32 def) argument
1516 cx2341x_ctrl_new_menu(struct v4l2_ctrl_handler *hdl, u32 id, s32 max, s32 mask, s32 def) argument
1525 struct v4l2_ctrl_handler *hdl = &cxhdl->hdl; local
[all...]
H A Dv4l2-ctrls.c1144 static inline int handler_set_err(struct v4l2_ctrl_handler *hdl, int err) argument
1146 if (hdl->error == 0)
1147 hdl->error = err;
1152 int v4l2_ctrl_handler_init(struct v4l2_ctrl_handler *hdl, argument
1155 mutex_init(&hdl->lock);
1156 INIT_LIST_HEAD(&hdl->ctrls);
1157 INIT_LIST_HEAD(&hdl->ctrl_refs);
1158 hdl->nr_of_buckets = 1 + nr_of_controls_hint / 8;
1159 hdl->buckets = kcalloc(hdl
1167 v4l2_ctrl_handler_free(struct v4l2_ctrl_handler *hdl) argument
1203 find_private_ref( struct v4l2_ctrl_handler *hdl, u32 id) argument
1225 find_ref(struct v4l2_ctrl_handler *hdl, u32 id) argument
1252 find_ref_lock( struct v4l2_ctrl_handler *hdl, u32 id) argument
1266 v4l2_ctrl_find(struct v4l2_ctrl_handler *hdl, u32 id) argument
1275 handler_new_ref(struct v4l2_ctrl_handler *hdl, struct v4l2_ctrl *ctrl) argument
1342 v4l2_ctrl_new(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_ops *ops, u32 id, const char *name, enum v4l2_ctrl_type type, s32 min, s32 max, u32 step, s32 def, u32 flags, const char * const *qmenu, void *priv) argument
1423 v4l2_ctrl_new_custom(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_config *cfg, void *priv) argument
1460 v4l2_ctrl_new_std(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_ops *ops, u32 id, s32 min, s32 max, u32 step, s32 def) argument
1479 v4l2_ctrl_new_std_menu(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_ops *ops, u32 id, s32 max, s32 mask, s32 def) argument
1501 v4l2_ctrl_add_ctrl(struct v4l2_ctrl_handler *hdl, struct v4l2_ctrl *ctrl) argument
1517 v4l2_ctrl_add_handler(struct v4l2_ctrl_handler *hdl, struct v4l2_ctrl_handler *add) argument
1689 v4l2_ctrl_handler_log_status(struct v4l2_ctrl_handler *hdl, const char *prefix) argument
1712 v4l2_ctrl_handler_setup(struct v4l2_ctrl_handler *hdl) argument
1750 v4l2_queryctrl(struct v4l2_ctrl_handler *hdl, struct v4l2_queryctrl *qc) argument
1817 v4l2_querymenu(struct v4l2_ctrl_handler *hdl, struct v4l2_querymenu *qm) argument
1891 prepare_ext_ctrls(struct v4l2_ctrl_handler *hdl, struct v4l2_ext_controls *cs, struct v4l2_ctrl_helper *helpers) argument
1972 class_check(struct v4l2_ctrl_handler *hdl, u32 ctrl_class) argument
1982 v4l2_g_ext_ctrls(struct v4l2_ctrl_handler *hdl, struct v4l2_ext_controls *cs) argument
2083 v4l2_g_ctrl(struct v4l2_ctrl_handler *hdl, struct v4l2_control *control) argument
2202 try_set_ext_ctrls(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl, struct v4l2_ext_controls *cs, bool set) argument
2298 v4l2_try_ext_ctrls(struct v4l2_ctrl_handler *hdl, struct v4l2_ext_controls *cs) argument
2304 v4l2_s_ext_ctrls(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl, struct v4l2_ext_controls *cs) argument
2355 v4l2_s_ctrl(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl, struct v4l2_control *control) argument
[all...]
H A Dtlv320aic23b.c45 struct v4l2_ctrl_handler hdl; member in struct:tlv320aic23b_state
55 return &container_of(ctrl->handler, struct tlv320aic23b_state, hdl)->sd;
113 v4l2_ctrl_handler_log_status(&state->hdl, sd->name);
186 v4l2_ctrl_handler_init(&state->hdl, 1);
187 v4l2_ctrl_new_std(&state->hdl, &tlv320aic23b_ctrl_ops,
189 sd->ctrl_handler = &state->hdl;
190 if (state->hdl.error) {
191 int err = state->hdl.error;
193 v4l2_ctrl_handler_free(&state->hdl);
197 v4l2_ctrl_handler_setup(&state->hdl);
[all...]
H A Dwm8739.c56 struct v4l2_ctrl_handler hdl; member in struct:wm8739_state
73 return &container_of(ctrl->handler, struct wm8739_state, hdl)->sd;
175 v4l2_ctrl_handler_log_status(&state->hdl, sd->name);
228 v4l2_ctrl_handler_init(&state->hdl, 2);
229 state->volume = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops,
231 state->mute = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops,
233 state->balance = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops,
235 sd->ctrl_handler = &state->hdl;
236 if (state->hdl.error) {
237 int err = state->hdl
[all...]
H A Dcs5345.c42 struct v4l2_ctrl_handler hdl; member in struct:cs5345_state
52 return &container_of(ctrl->handler, struct cs5345_state, hdl)->sd;
199 v4l2_ctrl_handler_init(&state->hdl, 2);
200 v4l2_ctrl_new_std(&state->hdl, &cs5345_ctrl_ops,
202 v4l2_ctrl_new_std(&state->hdl, &cs5345_ctrl_ops,
204 sd->ctrl_handler = &state->hdl;
205 if (state->hdl.error) {
206 int err = state->hdl.error;
208 v4l2_ctrl_handler_free(&state->hdl);
213 v4l2_ctrl_handler_setup(&state->hdl);
[all...]
H A Dcs53l32a.c47 struct v4l2_ctrl_handler hdl; member in struct:cs53l32a_state
57 return &container_of(ctrl->handler, struct cs53l32a_state, hdl)->sd;
121 v4l2_ctrl_handler_log_status(&state->hdl, sd->name);
190 v4l2_ctrl_handler_init(&state->hdl, 2);
191 v4l2_ctrl_new_std(&state->hdl, &cs53l32a_ctrl_ops,
193 v4l2_ctrl_new_std(&state->hdl, &cs53l32a_ctrl_ops,
195 sd->ctrl_handler = &state->hdl;
196 if (state->hdl.error) {
197 int err = state->hdl.error;
199 v4l2_ctrl_handler_free(&state->hdl);
[all...]
H A Dwm8775.c59 struct v4l2_ctrl_handler hdl; member in struct:wm8775_state
74 return &container_of(ctrl->handler, struct wm8775_state, hdl)->sd;
173 v4l2_ctrl_handler_log_status(&state->hdl, sd->name);
251 v4l2_ctrl_handler_init(&state->hdl, 4);
252 state->mute = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops,
254 state->vol = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops,
256 state->bal = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops,
258 state->loud = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops,
260 sd->ctrl_handler = &state->hdl;
261 err = state->hdl
[all...]
H A Dadv7343.c45 struct v4l2_ctrl_handler hdl; member in struct:adv7343_state
63 return &container_of(ctrl->handler, struct adv7343_state, hdl)->sd;
418 v4l2_ctrl_handler_init(&state->hdl, 2);
419 v4l2_ctrl_new_std(&state->hdl, &adv7343_ctrl_ops,
423 v4l2_ctrl_new_std(&state->hdl, &adv7343_ctrl_ops,
427 v4l2_ctrl_new_std(&state->hdl, &adv7343_ctrl_ops,
431 state->sd.ctrl_handler = &state->hdl;
432 if (state->hdl.error) {
433 int err = state->hdl.error;
435 v4l2_ctrl_handler_free(&state->hdl);
[all...]
H A Dbt819.c56 struct v4l2_ctrl_handler hdl; member in struct:bt819
72 return &container_of(ctrl->handler, struct bt819, hdl)->sd;
465 v4l2_ctrl_handler_init(&decoder->hdl, 4);
466 v4l2_ctrl_new_std(&decoder->hdl, &bt819_ctrl_ops,
468 v4l2_ctrl_new_std(&decoder->hdl, &bt819_ctrl_ops,
470 v4l2_ctrl_new_std(&decoder->hdl, &bt819_ctrl_ops,
472 v4l2_ctrl_new_std(&decoder->hdl, &bt819_ctrl_ops,
474 sd->ctrl_handler = &decoder->hdl;
475 if (decoder->hdl.error) {
476 int err = decoder->hdl
[all...]
H A Dsaa7110.c57 struct v4l2_ctrl_handler hdl; member in struct:saa7110
74 return &container_of(ctrl->handler, struct saa7110, hdl)->sd;
417 v4l2_ctrl_handler_init(&decoder->hdl, 2);
418 v4l2_ctrl_new_std(&decoder->hdl, &saa7110_ctrl_ops,
420 v4l2_ctrl_new_std(&decoder->hdl, &saa7110_ctrl_ops,
422 v4l2_ctrl_new_std(&decoder->hdl, &saa7110_ctrl_ops,
424 v4l2_ctrl_new_std(&decoder->hdl, &saa7110_ctrl_ops,
426 sd->ctrl_handler = &decoder->hdl;
427 if (decoder->hdl.error) {
428 int err = decoder->hdl
[all...]
H A Dvpx3220.c48 struct v4l2_ctrl_handler hdl; member in struct:vpx3220
64 return &container_of(ctrl->handler, struct vpx3220, hdl)->sd;
510 v4l2_ctrl_handler_init(&decoder->hdl, 4);
511 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops,
513 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops,
515 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops,
517 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops,
519 sd->ctrl_handler = &decoder->hdl;
520 if (decoder->hdl.error) {
521 int err = decoder->hdl
[all...]
H A Dadv7183.c39 struct v4l2_ctrl_handler hdl; member in struct:adv7183
82 return &container_of(ctrl->handler, struct adv7183, hdl)->sd;
198 v4l2_ctrl_handler_log_status(&decoder->hdl, sd->name);
560 struct v4l2_ctrl_handler *hdl; local
598 hdl = &decoder->hdl;
599 v4l2_ctrl_handler_init(hdl, 4);
600 v4l2_ctrl_new_std(hdl, &adv7183_ctrl_ops,
602 v4l2_ctrl_new_std(hdl, &adv7183_ctrl_ops,
604 v4l2_ctrl_new_std(hdl,
[all...]
H A Dov6650.c182 struct v4l2_ctrl_handler hdl; member in struct:ov6650
310 struct ov6650 *priv = container_of(ctrl->handler, struct ov6650, hdl);
343 struct ov6650 *priv = container_of(ctrl->handler, struct ov6650, hdl);
963 v4l2_ctrl_handler_init(&priv->hdl, 13);
964 v4l2_ctrl_new_std(&priv->hdl, &ov6550_ctrl_ops,
966 v4l2_ctrl_new_std(&priv->hdl, &ov6550_ctrl_ops,
968 priv->autogain = v4l2_ctrl_new_std(&priv->hdl, &ov6550_ctrl_ops,
970 priv->gain = v4l2_ctrl_new_std(&priv->hdl, &ov6550_ctrl_ops,
972 priv->autowb = v4l2_ctrl_new_std(&priv->hdl, &ov6550_ctrl_ops,
974 priv->blue = v4l2_ctrl_new_std(&priv->hdl,
[all...]
H A Dmt9m001.c90 struct v4l2_ctrl_handler hdl; member in struct:mt9m001
383 struct mt9m001, hdl);
400 struct mt9m001, hdl);
539 return v4l2_ctrl_handler_setup(&mt9m001->hdl);
665 v4l2_ctrl_handler_init(&mt9m001->hdl, 4);
666 v4l2_ctrl_new_std(&mt9m001->hdl, &mt9m001_ctrl_ops,
668 v4l2_ctrl_new_std(&mt9m001->hdl, &mt9m001_ctrl_ops,
670 mt9m001->exposure = v4l2_ctrl_new_std(&mt9m001->hdl, &mt9m001_ctrl_ops,
676 mt9m001->autoexposure = v4l2_ctrl_new_std_menu(&mt9m001->hdl,
679 mt9m001->subdev.ctrl_handler = &mt9m001->hdl;
[all...]
H A Dmsp3400-driver.h55 struct v4l2_ctrl_handler hdl; member in struct:msp_state
114 return container_of(ctrl->handler, struct msp_state, hdl);
H A Dmsp3400-driver.c566 v4l2_ctrl_handler_log_status(&state->hdl, prefix);
662 struct v4l2_ctrl_handler *hdl; local
777 hdl = &state->hdl;
778 v4l2_ctrl_handler_init(hdl, 6);
780 v4l2_ctrl_new_std(hdl, &msp_ctrl_ops,
782 v4l2_ctrl_new_std(hdl, &msp_ctrl_ops,
784 v4l2_ctrl_new_std(hdl, &msp_ctrl_ops,
787 state->volume = v4l2_ctrl_new_std(hdl, &msp_ctrl_ops,
789 v4l2_ctrl_new_std(hdl,
[all...]
H A Dsaa717x.c58 struct v4l2_ctrl_handler hdl; member in struct:saa717x_state
83 return &container_of(ctrl->handler, struct saa717x_state, hdl)->sd;
1197 v4l2_ctrl_handler_log_status(&state->hdl, sd->name);
1256 struct v4l2_ctrl_handler *hdl; local
1293 hdl = &decoder->hdl;
1294 v4l2_ctrl_handler_init(hdl, 9);
1296 v4l2_ctrl_new_std(hdl, &saa717x_ctrl_ops,
1298 v4l2_ctrl_new_std(hdl, &saa717x_ctrl_ops,
1300 v4l2_ctrl_new_std(hdl,
[all...]
H A Dvivi.c1238 struct v4l2_ctrl_handler *hdl; local
1255 hdl = &dev->ctrl_handler;
1256 v4l2_ctrl_handler_init(hdl, 11);
1257 dev->volume = v4l2_ctrl_new_std(hdl, &vivi_ctrl_ops,
1259 dev->brightness = v4l2_ctrl_new_std(hdl, &vivi_ctrl_ops,
1261 dev->contrast = v4l2_ctrl_new_std(hdl, &vivi_ctrl_ops,
1263 dev->saturation = v4l2_ctrl_new_std(hdl, &vivi_ctrl_ops,
1265 dev->hue = v4l2_ctrl_new_std(hdl, &vivi_ctrl_ops,
1267 dev->autogain = v4l2_ctrl_new_std(hdl, &vivi_ctrl_ops,
1269 dev->gain = v4l2_ctrl_new_std(hdl,
[all...]
/drivers/media/radio/
H A Dradio-keene.c66 struct v4l2_ctrl_handler hdl; member in struct:keene_device
235 container_of(ctrl->handler, struct keene_device, hdl);
300 v4l2_ctrl_handler_free(&radio->hdl);
311 struct v4l2_ctrl_handler *hdl; local
337 hdl = &radio->hdl;
338 v4l2_ctrl_handler_init(hdl, 4);
339 v4l2_ctrl_new_std(hdl, &keene_ctrl_ops, V4L2_CID_AUDIO_MUTE,
341 v4l2_ctrl_new_std_menu(hdl, &keene_ctrl_ops, V4L2_CID_TUNE_PREEMPHASIS,
343 v4l2_ctrl_new_std(hdl,
[all...]
H A Dradio-isa.c134 container_of(ctrl->handler, struct radio_isa_card, hdl);
149 v4l2_ctrl_handler_log_status(&isa->hdl, isa->v4l2_dev.name);
263 v4l2_ctrl_handler_init(&isa->hdl, 1);
264 isa->mute = v4l2_ctrl_new_std(&isa->hdl, &radio_isa_ctrl_ops,
267 isa->volume = v4l2_ctrl_new_std(&isa->hdl, &radio_isa_ctrl_ops,
270 v4l2_dev->ctrl_handler = &isa->hdl;
271 if (isa->hdl.error) {
272 res = isa->hdl.error;
278 v4l2_dev->ctrl_handler = &isa->hdl;
295 res = v4l2_ctrl_handler_setup(&isa->hdl);
[all...]
H A Dradio-isa.h38 struct v4l2_ctrl_handler hdl; member in struct:radio_isa_card
H A Dradio-trust.c165 container_of(ctrl->handler, struct radio_isa_card, hdl);
194 v4l2_ctrl_new_std(&isa->hdl, &trust_ctrl_ops,
196 v4l2_ctrl_new_std(&isa->hdl, &trust_ctrl_ops,
198 return isa->hdl.error;
/drivers/media/video/pwc/
H A Dpwc-v4l.c164 struct v4l2_ctrl_handler *hdl; local
168 hdl = &pdev->ctrl_handler;
169 r = v4l2_ctrl_handler_init(hdl, 20);
177 pdev->brightness = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops,
183 pdev->contrast = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops,
195 pdev->saturation = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops,
202 pdev->gamma = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops,
212 pdev->auto_white_balance = v4l2_ctrl_new_custom(hdl, &cfg, NULL);
215 return hdl->error;
221 pdev->red_balance = v4l2_ctrl_new_std(hdl,
[all...]
/drivers/staging/tidspbridge/include/dspbridge/
H A Ddblldefs.h77 typedef s32(*dbll_alloc_fxn) (void *hdl, s32 space, u32 size, u32 align,
91 typedef bool(*dbll_free_fxn) (void *hdl, u32 addr, s32 space, u32 size,
146 typedef s32(*dbll_write_fxn) (void *hdl, u32 dsp_address, void *buf,
/drivers/media/video/cx25840/
H A Dcx25840-core.h35 struct v4l2_ctrl_handler hdl; member in struct:cx25840_state
64 return &container_of(ctrl->handler, struct cx25840_state, hdl)->sd;

Completed in 429 milliseconds

123