/linux-4.1.27/drivers/media/common/ |
D | cx2341x.c | 1275 return container_of(ctrl->handler, struct cx2341x_handler, hdl); in to_cxhdl() 1278 static int cx2341x_hdl_api(struct cx2341x_handler *hdl, in cx2341x_hdl_api() argument 1290 return hdl->func(hdl->priv, cmd, args, 0, data); in cx2341x_hdl_api() 1301 struct cx2341x_handler *hdl = to_cxhdl(ctrl); in cx2341x_try_ctrl() local 1308 int gop = hdl->video_gop_size->val; in cx2341x_try_ctrl() 1315 hdl->video_gop_size->val = gop; in cx2341x_try_ctrl() 1321 hdl->video_encoding->val = in cx2341x_try_ctrl() 1322 (hdl->stream_type->val == V4L2_MPEG_STREAM_TYPE_MPEG1_SS || in cx2341x_try_ctrl() 1323 hdl->stream_type->val == V4L2_MPEG_STREAM_TYPE_MPEG1_VCD) ? in cx2341x_try_ctrl() 1326 if (hdl->video_encoding->val == V4L2_MPEG_VIDEO_ENCODING_MPEG_1) in cx2341x_try_ctrl() [all …]
|
/linux-4.1.27/include/media/ |
D | v4l2-ctrls.h | 343 int v4l2_ctrl_handler_init_class(struct v4l2_ctrl_handler *hdl, 348 #define v4l2_ctrl_handler_init(hdl, nr_of_controls_hint) \ argument 352 v4l2_ctrl_handler_init_class(hdl, nr_of_controls_hint, \ 356 "(" #hdl ")->_lock"); \ 360 #define v4l2_ctrl_handler_init(hdl, nr_of_controls_hint) \ argument 361 v4l2_ctrl_handler_init_class(hdl, nr_of_controls_hint, NULL, NULL) 370 void v4l2_ctrl_handler_free(struct v4l2_ctrl_handler *hdl); 398 int v4l2_ctrl_handler_setup(struct v4l2_ctrl_handler *hdl); 411 void v4l2_ctrl_handler_log_status(struct v4l2_ctrl_handler *hdl, 423 struct v4l2_ctrl *v4l2_ctrl_new_custom(struct v4l2_ctrl_handler *hdl, [all …]
|
D | cx2341x.h | 108 int (*s_audio_sampling_freq)(struct cx2341x_handler *hdl, u32 val); 110 int (*s_audio_mode)(struct cx2341x_handler *hdl, u32 val); 112 int (*s_video_encoding)(struct cx2341x_handler *hdl, u32 val); 114 int (*s_stream_vbi_fmt)(struct cx2341x_handler *hdl, u32 val); 125 struct v4l2_ctrl_handler hdl; member
|
/linux-4.1.27/drivers/media/v4l2-core/ |
D | v4l2-ctrls.c | 1707 static inline int handler_set_err(struct v4l2_ctrl_handler *hdl, int err) in handler_set_err() argument 1709 if (hdl->error == 0) in handler_set_err() 1710 hdl->error = err; in handler_set_err() 1715 int v4l2_ctrl_handler_init_class(struct v4l2_ctrl_handler *hdl, in v4l2_ctrl_handler_init_class() argument 1719 hdl->lock = &hdl->_lock; in v4l2_ctrl_handler_init_class() 1720 mutex_init(hdl->lock); in v4l2_ctrl_handler_init_class() 1721 lockdep_set_class_and_name(hdl->lock, key, name); in v4l2_ctrl_handler_init_class() 1722 INIT_LIST_HEAD(&hdl->ctrls); in v4l2_ctrl_handler_init_class() 1723 INIT_LIST_HEAD(&hdl->ctrl_refs); in v4l2_ctrl_handler_init_class() 1724 hdl->nr_of_buckets = 1 + nr_of_controls_hint / 8; in v4l2_ctrl_handler_init_class() [all …]
|
/linux-4.1.27/drivers/media/i2c/ |
D | tw9906.c | 32 struct v4l2_ctrl_handler hdl; member 123 struct tw9906 *dec = container_of(ctrl->handler, struct tw9906, hdl); in tw9906_s_ctrl() 177 struct v4l2_ctrl_handler *hdl; in tw9906_probe() local 191 hdl = &dec->hdl; in tw9906_probe() 192 v4l2_ctrl_handler_init(hdl, 4); in tw9906_probe() 193 v4l2_ctrl_new_std(hdl, &tw9906_ctrl_ops, in tw9906_probe() 195 v4l2_ctrl_new_std(hdl, &tw9906_ctrl_ops, in tw9906_probe() 197 v4l2_ctrl_new_std(hdl, &tw9906_ctrl_ops, in tw9906_probe() 199 sd->ctrl_handler = hdl; in tw9906_probe() 200 if (hdl->error) { in tw9906_probe() [all …]
|
D | tw9903.c | 41 struct v4l2_ctrl_handler hdl; member 153 struct tw9903 *dec = container_of(ctrl->handler, struct tw9903, hdl); in tw9903_s_ctrl() 209 struct v4l2_ctrl_handler *hdl; in tw9903_probe() local 223 hdl = &dec->hdl; in tw9903_probe() 224 v4l2_ctrl_handler_init(hdl, 4); in tw9903_probe() 225 v4l2_ctrl_new_std(hdl, &tw9903_ctrl_ops, in tw9903_probe() 227 v4l2_ctrl_new_std(hdl, &tw9903_ctrl_ops, in tw9903_probe() 229 v4l2_ctrl_new_std(hdl, &tw9903_ctrl_ops, in tw9903_probe() 231 sd->ctrl_handler = hdl; in tw9903_probe() 232 if (hdl->error) { in tw9903_probe() [all …]
|
D | tlv320aic23b.c | 45 struct v4l2_ctrl_handler hdl; member 55 return &container_of(ctrl->handler, struct tlv320aic23b_state, hdl)->sd; in to_sd() 113 v4l2_ctrl_handler_log_status(&state->hdl, sd->name); in tlv320aic23b_log_status() 186 v4l2_ctrl_handler_init(&state->hdl, 1); in tlv320aic23b_probe() 187 v4l2_ctrl_new_std(&state->hdl, &tlv320aic23b_ctrl_ops, in tlv320aic23b_probe() 189 sd->ctrl_handler = &state->hdl; in tlv320aic23b_probe() 190 if (state->hdl.error) { in tlv320aic23b_probe() 191 int err = state->hdl.error; in tlv320aic23b_probe() 193 v4l2_ctrl_handler_free(&state->hdl); in tlv320aic23b_probe() 196 v4l2_ctrl_handler_setup(&state->hdl); in tlv320aic23b_probe() [all …]
|
D | tda7432.c | 64 struct v4l2_ctrl_handler hdl; member 84 return &container_of(ctrl->handler, struct tda7432, hdl)->sd; in to_sd() 267 v4l2_ctrl_handler_log_status(&state->hdl, sd->name); in tda7432_log_status() 367 v4l2_ctrl_handler_init(&t->hdl, 5); in tda7432_probe() 368 v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe() 370 t->mute = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe() 372 t->balance = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe() 374 t->bass = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe() 376 t->treble = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe() 378 sd->ctrl_handler = &t->hdl; in tda7432_probe() [all …]
|
D | saa6752hs.c | 95 struct v4l2_ctrl_handler hdl; member 373 container_of(ctrl->handler, struct saa6752hs_state, hdl); in saa6752hs_try_ctrl() 389 container_of(ctrl->handler, struct saa6752hs_state, hdl); in saa6752hs_s_ctrl() 665 struct v4l2_ctrl_handler *hdl; in saa6752hs_probe() local 688 hdl = &h->hdl; in saa6752hs_probe() 689 v4l2_ctrl_handler_init(hdl, 14); in saa6752hs_probe() 690 v4l2_ctrl_new_std_menu(hdl, &saa6752hs_ctrl_ops, in saa6752hs_probe() 696 v4l2_ctrl_new_std_menu(hdl, &saa6752hs_ctrl_ops, in saa6752hs_probe() 704 v4l2_ctrl_new_std_menu(hdl, &saa6752hs_ctrl_ops, in saa6752hs_probe() 711 v4l2_ctrl_new_std_menu(hdl, &saa6752hs_ctrl_ops, in saa6752hs_probe() [all …]
|
D | wm8739.c | 55 struct v4l2_ctrl_handler hdl; member 72 return &container_of(ctrl->handler, struct wm8739_state, hdl)->sd; in to_sd() 167 v4l2_ctrl_handler_log_status(&state->hdl, sd->name); in wm8739_log_status() 219 v4l2_ctrl_handler_init(&state->hdl, 2); in wm8739_probe() 220 state->volume = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, in wm8739_probe() 222 state->mute = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, in wm8739_probe() 224 state->balance = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, in wm8739_probe() 226 sd->ctrl_handler = &state->hdl; in wm8739_probe() 227 if (state->hdl.error) { in wm8739_probe() 228 int err = state->hdl.error; in wm8739_probe() [all …]
|
D | tw2804.c | 41 struct v4l2_ctrl_handler hdl; member 149 return container_of(ctrl->handler, struct tw2804, hdl); in to_state_from_ctrl() 378 v4l2_ctrl_handler_init(&state->hdl, 10); in tw2804_probe() 379 v4l2_ctrl_new_std(&state->hdl, &tw2804_ctrl_ops, in tw2804_probe() 381 v4l2_ctrl_new_std(&state->hdl, &tw2804_ctrl_ops, in tw2804_probe() 383 v4l2_ctrl_new_std(&state->hdl, &tw2804_ctrl_ops, in tw2804_probe() 385 v4l2_ctrl_new_std(&state->hdl, &tw2804_ctrl_ops, in tw2804_probe() 387 v4l2_ctrl_new_std(&state->hdl, &tw2804_ctrl_ops, in tw2804_probe() 389 v4l2_ctrl_new_std(&state->hdl, &tw2804_ctrl_ops, in tw2804_probe() 391 ctrl = v4l2_ctrl_new_std(&state->hdl, &tw2804_ctrl_ops, in tw2804_probe() [all …]
|
D | cs5345.c | 41 struct v4l2_ctrl_handler hdl; member 51 return &container_of(ctrl->handler, struct cs5345_state, hdl)->sd; in to_sd() 178 v4l2_ctrl_handler_init(&state->hdl, 2); in cs5345_probe() 179 v4l2_ctrl_new_std(&state->hdl, &cs5345_ctrl_ops, in cs5345_probe() 181 v4l2_ctrl_new_std(&state->hdl, &cs5345_ctrl_ops, in cs5345_probe() 183 sd->ctrl_handler = &state->hdl; in cs5345_probe() 184 if (state->hdl.error) { in cs5345_probe() 185 int err = state->hdl.error; in cs5345_probe() 187 v4l2_ctrl_handler_free(&state->hdl); in cs5345_probe() 191 v4l2_ctrl_handler_setup(&state->hdl); in cs5345_probe() [all …]
|
D | cs53l32a.c | 46 struct v4l2_ctrl_handler hdl; member 56 return &container_of(ctrl->handler, struct cs53l32a_state, hdl)->sd; in to_sd() 112 v4l2_ctrl_handler_log_status(&state->hdl, sd->name); in cs53l32a_log_status() 180 v4l2_ctrl_handler_init(&state->hdl, 2); in cs53l32a_probe() 181 v4l2_ctrl_new_std(&state->hdl, &cs53l32a_ctrl_ops, in cs53l32a_probe() 183 v4l2_ctrl_new_std(&state->hdl, &cs53l32a_ctrl_ops, in cs53l32a_probe() 185 sd->ctrl_handler = &state->hdl; in cs53l32a_probe() 186 if (state->hdl.error) { in cs53l32a_probe() 187 int err = state->hdl.error; in cs53l32a_probe() 189 v4l2_ctrl_handler_free(&state->hdl); in cs53l32a_probe() [all …]
|
D | ml86v7667.c | 91 struct v4l2_ctrl_handler hdl; member 102 return &container_of(ctrl->handler, struct ml86v7667_priv, hdl)->sd; in to_sd() 360 v4l2_ctrl_handler_init(&priv->hdl, 8); in ml86v7667_probe() 361 v4l2_ctrl_new_std(&priv->hdl, &ml86v7667_ctrl_ops, in ml86v7667_probe() 363 v4l2_ctrl_new_std(&priv->hdl, &ml86v7667_ctrl_ops, in ml86v7667_probe() 365 v4l2_ctrl_new_std(&priv->hdl, &ml86v7667_ctrl_ops, in ml86v7667_probe() 367 v4l2_ctrl_new_std(&priv->hdl, &ml86v7667_ctrl_ops, in ml86v7667_probe() 369 v4l2_ctrl_new_std(&priv->hdl, &ml86v7667_ctrl_ops, in ml86v7667_probe() 371 v4l2_ctrl_new_std(&priv->hdl, &ml86v7667_ctrl_ops, in ml86v7667_probe() 373 v4l2_ctrl_new_std(&priv->hdl, &ml86v7667_ctrl_ops, in ml86v7667_probe() [all …]
|
D | wm8775.c | 58 struct v4l2_ctrl_handler hdl; member 73 return &container_of(ctrl->handler, struct wm8775_state, hdl)->sd; in to_sd() 163 v4l2_ctrl_handler_log_status(&state->hdl, sd->name); in wm8775_log_status() 240 v4l2_ctrl_handler_init(&state->hdl, 4); in wm8775_probe() 241 state->mute = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops, in wm8775_probe() 243 state->vol = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops, in wm8775_probe() 245 state->bal = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops, in wm8775_probe() 247 state->loud = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops, in wm8775_probe() 249 sd->ctrl_handler = &state->hdl; in wm8775_probe() 250 err = state->hdl.error; in wm8775_probe() [all …]
|
D | lm3646.c | 209 struct v4l2_ctrl_handler *hdl = &flash->ctrls_led; in lm3646_init_controls() local 212 v4l2_ctrl_handler_init(hdl, 8); in lm3646_init_controls() 214 v4l2_ctrl_new_std_menu(hdl, ops, V4L2_CID_FLASH_LED_MODE, in lm3646_init_controls() 219 v4l2_ctrl_new_std_menu(hdl, ops, V4L2_CID_FLASH_STROBE_SOURCE, in lm3646_init_controls() 223 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_STROBE, 0, 0, 0, 0); in lm3646_init_controls() 225 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_STROBE_STOP, 0, 0, 0, 0); in lm3646_init_controls() 228 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_TIMEOUT, in lm3646_init_controls() 234 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_INTENSITY, in lm3646_init_controls() 241 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_TORCH_INTENSITY, in lm3646_init_controls() 248 fault = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_FAULT, 0, in lm3646_init_controls() [all …]
|
D | vs6624.c | 41 struct v4l2_ctrl_handler hdl; member 491 return &container_of(ctrl->handler, struct vs6624, hdl)->sd; in to_sd() 760 struct v4l2_ctrl_handler *hdl; in vs6624_probe() local 815 hdl = &sensor->hdl; in vs6624_probe() 816 v4l2_ctrl_handler_init(hdl, 4); in vs6624_probe() 817 v4l2_ctrl_new_std(hdl, &vs6624_ctrl_ops, in vs6624_probe() 819 v4l2_ctrl_new_std(hdl, &vs6624_ctrl_ops, in vs6624_probe() 821 v4l2_ctrl_new_std(hdl, &vs6624_ctrl_ops, in vs6624_probe() 823 v4l2_ctrl_new_std(hdl, &vs6624_ctrl_ops, in vs6624_probe() 826 sd->ctrl_handler = hdl; in vs6624_probe() [all …]
|
D | saa717x.c | 58 struct v4l2_ctrl_handler hdl; member 83 return &container_of(ctrl->handler, struct saa717x_state, hdl)->sd; in to_sd() 1186 v4l2_ctrl_handler_log_status(&state->hdl, sd->name); in saa717x_log_status() 1245 struct v4l2_ctrl_handler *hdl; in saa717x_probe() local 1281 hdl = &decoder->hdl; in saa717x_probe() 1282 v4l2_ctrl_handler_init(hdl, 9); in saa717x_probe() 1284 v4l2_ctrl_new_std(hdl, &saa717x_ctrl_ops, in saa717x_probe() 1286 v4l2_ctrl_new_std(hdl, &saa717x_ctrl_ops, in saa717x_probe() 1288 v4l2_ctrl_new_std(hdl, &saa717x_ctrl_ops, in saa717x_probe() 1290 v4l2_ctrl_new_std(hdl, &saa717x_ctrl_ops, in saa717x_probe() [all …]
|
D | saa7110.c | 56 struct v4l2_ctrl_handler hdl; member 73 return &container_of(ctrl->handler, struct saa7110, hdl)->sd; in to_sd() 408 v4l2_ctrl_handler_init(&decoder->hdl, 2); in saa7110_probe() 409 v4l2_ctrl_new_std(&decoder->hdl, &saa7110_ctrl_ops, in saa7110_probe() 411 v4l2_ctrl_new_std(&decoder->hdl, &saa7110_ctrl_ops, in saa7110_probe() 413 v4l2_ctrl_new_std(&decoder->hdl, &saa7110_ctrl_ops, in saa7110_probe() 415 v4l2_ctrl_new_std(&decoder->hdl, &saa7110_ctrl_ops, in saa7110_probe() 417 sd->ctrl_handler = &decoder->hdl; in saa7110_probe() 418 if (decoder->hdl.error) { in saa7110_probe() 419 int err = decoder->hdl.error; in saa7110_probe() [all …]
|
D | vpx3220.c | 47 struct v4l2_ctrl_handler hdl; member 62 return &container_of(ctrl->handler, struct vpx3220, hdl)->sd; in to_sd() 501 v4l2_ctrl_handler_init(&decoder->hdl, 4); in vpx3220_probe() 502 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops, in vpx3220_probe() 504 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops, in vpx3220_probe() 506 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops, in vpx3220_probe() 508 v4l2_ctrl_new_std(&decoder->hdl, &vpx3220_ctrl_ops, in vpx3220_probe() 510 sd->ctrl_handler = &decoder->hdl; in vpx3220_probe() 511 if (decoder->hdl.error) { in vpx3220_probe() 512 int err = decoder->hdl.error; in vpx3220_probe() [all …]
|
D | adv7393.c | 49 struct v4l2_ctrl_handler hdl; member 67 return &container_of(ctrl->handler, struct adv7393_state, hdl)->sd; in to_sd() 419 v4l2_ctrl_handler_init(&state->hdl, 3); in adv7393_probe() 420 v4l2_ctrl_new_std(&state->hdl, &adv7393_ctrl_ops, in adv7393_probe() 424 v4l2_ctrl_new_std(&state->hdl, &adv7393_ctrl_ops, in adv7393_probe() 428 v4l2_ctrl_new_std(&state->hdl, &adv7393_ctrl_ops, in adv7393_probe() 432 state->sd.ctrl_handler = &state->hdl; in adv7393_probe() 433 if (state->hdl.error) { in adv7393_probe() 434 int err = state->hdl.error; in adv7393_probe() 436 v4l2_ctrl_handler_free(&state->hdl); in adv7393_probe() [all …]
|
D | adv7183.c | 38 struct v4l2_ctrl_handler hdl; member 81 return &container_of(ctrl->handler, struct adv7183, hdl)->sd; in to_sd() 197 v4l2_ctrl_handler_log_status(&decoder->hdl, sd->name); in adv7183_log_status() 534 struct v4l2_ctrl_handler *hdl; in adv7183_probe() local 573 hdl = &decoder->hdl; in adv7183_probe() 574 v4l2_ctrl_handler_init(hdl, 4); in adv7183_probe() 575 v4l2_ctrl_new_std(hdl, &adv7183_ctrl_ops, in adv7183_probe() 577 v4l2_ctrl_new_std(hdl, &adv7183_ctrl_ops, in adv7183_probe() 579 v4l2_ctrl_new_std(hdl, &adv7183_ctrl_ops, in adv7183_probe() 581 v4l2_ctrl_new_std(hdl, &adv7183_ctrl_ops, in adv7183_probe() [all …]
|
D | lm3560.c | 291 struct v4l2_ctrl_handler *hdl = &flash->ctrls_led[led_no]; in lm3560_init_controls() local 294 v4l2_ctrl_handler_init(hdl, 8); in lm3560_init_controls() 297 v4l2_ctrl_new_std_menu(hdl, ops, V4L2_CID_FLASH_LED_MODE, in lm3560_init_controls() 303 v4l2_ctrl_new_std_menu(hdl, ops, V4L2_CID_FLASH_STROBE_SOURCE, in lm3560_init_controls() 307 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_STROBE, 0, 0, 0, 0); in lm3560_init_controls() 310 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_STROBE_STOP, 0, 0, 0, 0); in lm3560_init_controls() 313 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_TIMEOUT, in lm3560_init_controls() 320 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_INTENSITY, in lm3560_init_controls() 325 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_TORCH_INTENSITY, in lm3560_init_controls() 330 fault = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_FAULT, 0, in lm3560_init_controls() [all …]
|
D | bt819.c | 55 struct v4l2_ctrl_handler hdl; member 70 return &container_of(ctrl->handler, struct bt819, hdl)->sd; in to_sd() 453 v4l2_ctrl_handler_init(&decoder->hdl, 4); in bt819_probe() 454 v4l2_ctrl_new_std(&decoder->hdl, &bt819_ctrl_ops, in bt819_probe() 456 v4l2_ctrl_new_std(&decoder->hdl, &bt819_ctrl_ops, in bt819_probe() 458 v4l2_ctrl_new_std(&decoder->hdl, &bt819_ctrl_ops, in bt819_probe() 460 v4l2_ctrl_new_std(&decoder->hdl, &bt819_ctrl_ops, in bt819_probe() 462 sd->ctrl_handler = &decoder->hdl; in bt819_probe() 463 if (decoder->hdl.error) { in bt819_probe() 464 int err = decoder->hdl.error; in bt819_probe() [all …]
|
D | sr030pc30.c | 146 struct v4l2_ctrl_handler hdl; member 424 container_of(ctrl->handler, struct sr030pc30_info, hdl); in sr030pc30_s_ctrl() 687 struct v4l2_ctrl_handler *hdl; in sr030pc30_probe() local 711 hdl = &info->hdl; in sr030pc30_probe() 712 v4l2_ctrl_handler_init(hdl, 6); in sr030pc30_probe() 713 info->awb = v4l2_ctrl_new_std(hdl, &sr030pc30_ctrl_ops, in sr030pc30_probe() 715 info->red = v4l2_ctrl_new_std(hdl, &sr030pc30_ctrl_ops, in sr030pc30_probe() 717 info->blue = v4l2_ctrl_new_std(hdl, &sr030pc30_ctrl_ops, in sr030pc30_probe() 719 info->autoexp = v4l2_ctrl_new_std(hdl, &sr030pc30_ctrl_ops, in sr030pc30_probe() 721 info->exp = v4l2_ctrl_new_std(hdl, &sr030pc30_ctrl_ops, in sr030pc30_probe() [all …]
|
D | msp3400-driver.c | 585 v4l2_ctrl_handler_log_status(&state->hdl, prefix); in msp_log_status() 684 struct v4l2_ctrl_handler *hdl; in msp_probe() local 798 hdl = &state->hdl; in msp_probe() 799 v4l2_ctrl_handler_init(hdl, 6); in msp_probe() 801 v4l2_ctrl_new_std(hdl, &msp_ctrl_ops, in msp_probe() 803 v4l2_ctrl_new_std(hdl, &msp_ctrl_ops, in msp_probe() 805 v4l2_ctrl_new_std(hdl, &msp_ctrl_ops, in msp_probe() 808 state->volume = v4l2_ctrl_new_std(hdl, &msp_ctrl_ops, in msp_probe() 810 v4l2_ctrl_new_std(hdl, &msp_ctrl_ops, in msp_probe() 812 state->muted = v4l2_ctrl_new_std(hdl, &msp_ctrl_ops, in msp_probe() [all …]
|
D | adv7343.c | 47 struct v4l2_ctrl_handler hdl; member 66 return &container_of(ctrl->handler, struct adv7343_state, hdl)->sd; in to_sd() 470 v4l2_ctrl_handler_init(&state->hdl, 2); in adv7343_probe() 471 v4l2_ctrl_new_std(&state->hdl, &adv7343_ctrl_ops, in adv7343_probe() 475 v4l2_ctrl_new_std(&state->hdl, &adv7343_ctrl_ops, in adv7343_probe() 479 v4l2_ctrl_new_std(&state->hdl, &adv7343_ctrl_ops, in adv7343_probe() 483 state->sd.ctrl_handler = &state->hdl; in adv7343_probe() 484 if (state->hdl.error) { in adv7343_probe() 485 err = state->hdl.error; in adv7343_probe() 488 v4l2_ctrl_handler_setup(&state->hdl); in adv7343_probe() [all …]
|
D | noon010pc30.c | 135 struct v4l2_ctrl_handler hdl; member 242 return &container_of(ctrl->handler, struct noon010_info, hdl)->sd; in to_sd() 609 ret = v4l2_ctrl_handler_setup(&info->hdl); in noon010_s_power() 638 v4l2_ctrl_handler_log_status(&info->hdl, sd->name); in noon010_log_status() 728 v4l2_ctrl_handler_init(&info->hdl, 3); in noon010_probe() 730 v4l2_ctrl_new_std(&info->hdl, &noon010_ctrl_ops, in noon010_probe() 732 v4l2_ctrl_new_std(&info->hdl, &noon010_ctrl_ops, in noon010_probe() 734 v4l2_ctrl_new_std(&info->hdl, &noon010_ctrl_ops, in noon010_probe() 737 sd->ctrl_handler = &info->hdl; in noon010_probe() 739 ret = info->hdl.error; in noon010_probe() [all …]
|
D | tvp5150.c | 37 struct v4l2_ctrl_handler hdl; member 53 return &container_of(ctrl->handler, struct tvp5150, hdl)->sd; in to_sd() 771 v4l2_ctrl_handler_setup(&decoder->hdl); in tvp5150_reset() 1155 v4l2_ctrl_handler_init(&core->hdl, 4); in tvp5150_probe() 1156 v4l2_ctrl_new_std(&core->hdl, &tvp5150_ctrl_ops, in tvp5150_probe() 1158 v4l2_ctrl_new_std(&core->hdl, &tvp5150_ctrl_ops, in tvp5150_probe() 1160 v4l2_ctrl_new_std(&core->hdl, &tvp5150_ctrl_ops, in tvp5150_probe() 1162 v4l2_ctrl_new_std(&core->hdl, &tvp5150_ctrl_ops, in tvp5150_probe() 1164 sd->ctrl_handler = &core->hdl; in tvp5150_probe() 1165 if (core->hdl.error) { in tvp5150_probe() [all …]
|
D | ov7670.c | 213 struct v4l2_ctrl_handler hdl; member 247 return &container_of(ctrl->handler, struct ov7670_info, hdl)->sd; in to_sd() 1586 v4l2_ctrl_handler_init(&info->hdl, 10); in ov7670_probe() 1587 v4l2_ctrl_new_std(&info->hdl, &ov7670_ctrl_ops, in ov7670_probe() 1589 v4l2_ctrl_new_std(&info->hdl, &ov7670_ctrl_ops, in ov7670_probe() 1591 v4l2_ctrl_new_std(&info->hdl, &ov7670_ctrl_ops, in ov7670_probe() 1593 v4l2_ctrl_new_std(&info->hdl, &ov7670_ctrl_ops, in ov7670_probe() 1595 info->saturation = v4l2_ctrl_new_std(&info->hdl, &ov7670_ctrl_ops, in ov7670_probe() 1597 info->hue = v4l2_ctrl_new_std(&info->hdl, &ov7670_ctrl_ops, in ov7670_probe() 1599 info->gain = v4l2_ctrl_new_std(&info->hdl, &ov7670_ctrl_ops, in ov7670_probe() [all …]
|
D | tvp514x.c | 108 struct v4l2_ctrl_handler hdl; member 277 return &container_of(ctrl->handler, struct tvp514x_decoder, hdl)->sd; in to_sd() 1167 v4l2_ctrl_handler_init(&decoder->hdl, 5); in tvp514x_probe() 1168 v4l2_ctrl_new_std(&decoder->hdl, &tvp514x_ctrl_ops, in tvp514x_probe() 1170 v4l2_ctrl_new_std(&decoder->hdl, &tvp514x_ctrl_ops, in tvp514x_probe() 1172 v4l2_ctrl_new_std(&decoder->hdl, &tvp514x_ctrl_ops, in tvp514x_probe() 1174 v4l2_ctrl_new_std(&decoder->hdl, &tvp514x_ctrl_ops, in tvp514x_probe() 1176 v4l2_ctrl_new_std(&decoder->hdl, &tvp514x_ctrl_ops, in tvp514x_probe() 1178 sd->ctrl_handler = &decoder->hdl; in tvp514x_probe() 1179 if (decoder->hdl.error) { in tvp514x_probe() [all …]
|
D | ad9389b.c | 83 struct v4l2_ctrl_handler hdl; member 118 return &container_of(ctrl->handler, struct ad9389b_state, hdl)->sd; in to_sd() 899 v4l2_ctrl_handler_setup(&state->hdl); in ad9389b_setup() 1104 struct v4l2_ctrl_handler *hdl; in ad9389b_probe() local 1130 hdl = &state->hdl; in ad9389b_probe() 1131 v4l2_ctrl_handler_init(hdl, 5); in ad9389b_probe() 1135 state->hdmi_mode_ctrl = v4l2_ctrl_new_std_menu(hdl, &ad9389b_ctrl_ops, in ad9389b_probe() 1138 state->hotplug_ctrl = v4l2_ctrl_new_std(hdl, NULL, in ad9389b_probe() 1140 state->rx_sense_ctrl = v4l2_ctrl_new_std(hdl, NULL, in ad9389b_probe() 1142 state->have_edid0_ctrl = v4l2_ctrl_new_std(hdl, NULL, in ad9389b_probe() [all …]
|
D | saa7115.c | 77 struct v4l2_ctrl_handler hdl; member 108 return &container_of(ctrl->handler, struct saa711x_state, hdl)->sd; in to_sd() 1565 v4l2_ctrl_handler_log_status(&state->hdl, sd->name); in saa711x_log_status() 1798 struct v4l2_ctrl_handler *hdl; in saa711x_probe() local 1827 hdl = &state->hdl; in saa711x_probe() 1828 v4l2_ctrl_handler_init(hdl, 6); in saa711x_probe() 1830 v4l2_ctrl_new_std(hdl, &saa711x_ctrl_ops, in saa711x_probe() 1832 v4l2_ctrl_new_std(hdl, &saa711x_ctrl_ops, in saa711x_probe() 1834 v4l2_ctrl_new_std(hdl, &saa711x_ctrl_ops, in saa711x_probe() 1836 v4l2_ctrl_new_std(hdl, &saa711x_ctrl_ops, in saa711x_probe() [all …]
|
D | ov9650.c | 992 struct v4l2_ctrl_handler *hdl = &ctrls->handler; in ov965x_initialize_controls() local 995 ret = v4l2_ctrl_handler_init(hdl, 16); in ov965x_initialize_controls() 1000 ctrls->auto_wb = v4l2_ctrl_new_std(hdl, ops, in ov965x_initialize_controls() 1003 ctrls->blue_balance = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_BLUE_BALANCE, in ov965x_initialize_controls() 1005 ctrls->red_balance = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_RED_BALANCE, in ov965x_initialize_controls() 1008 ctrls->auto_exp = v4l2_ctrl_new_std_menu(hdl, ops, in ov965x_initialize_controls() 1012 ctrls->exposure = v4l2_ctrl_new_std(hdl, ops, in ov965x_initialize_controls() 1016 ctrls->auto_gain = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_AUTOGAIN, in ov965x_initialize_controls() 1018 ctrls->gain = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_GAIN, in ov965x_initialize_controls() 1021 ctrls->saturation = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_SATURATION, in ov965x_initialize_controls() [all …]
|
D | s5k6aa.c | 1369 struct v4l2_ctrl_handler *hdl = &ctrls->handler; in s5k6aa_initialize_ctrls() local 1371 int ret = v4l2_ctrl_handler_init(hdl, 16); in s5k6aa_initialize_ctrls() 1375 ctrls->awb = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_AUTO_WHITE_BALANCE, in s5k6aa_initialize_ctrls() 1377 ctrls->gain_red = v4l2_ctrl_new_custom(hdl, &s5k6aa_ctrls[0], NULL); in s5k6aa_initialize_ctrls() 1378 ctrls->gain_green = v4l2_ctrl_new_custom(hdl, &s5k6aa_ctrls[1], NULL); in s5k6aa_initialize_ctrls() 1379 ctrls->gain_blue = v4l2_ctrl_new_custom(hdl, &s5k6aa_ctrls[2], NULL); in s5k6aa_initialize_ctrls() 1382 ctrls->hflip = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_HFLIP, 0, 1, 1, 0); in s5k6aa_initialize_ctrls() 1383 ctrls->vflip = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_VFLIP, 0, 1, 1, 0); in s5k6aa_initialize_ctrls() 1386 ctrls->auto_exp = v4l2_ctrl_new_std_menu(hdl, ops, in s5k6aa_initialize_ctrls() 1390 ctrls->exposure = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_EXPOSURE, in s5k6aa_initialize_ctrls() [all …]
|
D | adv7511.c | 90 struct v4l2_ctrl_handler hdl; member 144 return &container_of(ctrl->handler, struct adv7511_state, hdl)->sd; in to_sd() 1136 v4l2_ctrl_handler_setup(&state->hdl); in adv7511_setup() 1324 struct v4l2_ctrl_handler *hdl; in adv7511_probe() local 1353 hdl = &state->hdl; in adv7511_probe() 1354 v4l2_ctrl_handler_init(hdl, 10); in adv7511_probe() 1356 state->hdmi_mode_ctrl = v4l2_ctrl_new_std_menu(hdl, &adv7511_ctrl_ops, in adv7511_probe() 1359 state->hotplug_ctrl = v4l2_ctrl_new_std(hdl, NULL, in adv7511_probe() 1361 state->rx_sense_ctrl = v4l2_ctrl_new_std(hdl, NULL, in adv7511_probe() 1363 state->have_edid0_ctrl = v4l2_ctrl_new_std(hdl, NULL, in adv7511_probe() [all …]
|
D | s5k5baf.c | 1635 struct v4l2_ctrl_handler *hdl = &ctrls->handler; in s5k5baf_initialize_ctrls() local 1638 ret = v4l2_ctrl_handler_init(hdl, 16); in s5k5baf_initialize_ctrls() 1645 ctrls->awb = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_AUTO_WHITE_BALANCE, in s5k5baf_initialize_ctrls() 1647 ctrls->gain_red = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_RED_BALANCE, in s5k5baf_initialize_ctrls() 1649 ctrls->gain_blue = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_BLUE_BALANCE, in s5k5baf_initialize_ctrls() 1653 ctrls->hflip = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_HFLIP, 0, 1, 1, 0); in s5k5baf_initialize_ctrls() 1654 ctrls->vflip = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_VFLIP, 0, 1, 1, 0); in s5k5baf_initialize_ctrls() 1657 ctrls->auto_exp = v4l2_ctrl_new_std_menu(hdl, ops, in s5k5baf_initialize_ctrls() 1661 ctrls->exposure = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_EXPOSURE, in s5k5baf_initialize_ctrls() 1664 ctrls->gain = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_GAIN, in s5k5baf_initialize_ctrls() [all …]
|
D | tvp7002.c | 421 struct v4l2_ctrl_handler hdl; member 444 return &container_of(ctrl->handler, struct tvp7002, hdl)->sd; in to_sd() 823 v4l2_ctrl_handler_log_status(&device->hdl, sd->name); in tvp7002_log_status() 1077 v4l2_ctrl_handler_init(&device->hdl, 1); in tvp7002_probe() 1078 v4l2_ctrl_new_std(&device->hdl, &tvp7002_ctrl_ops, in tvp7002_probe() 1080 sd->ctrl_handler = &device->hdl; in tvp7002_probe() 1081 if (device->hdl.error) { in tvp7002_probe() 1082 error = device->hdl.error; in tvp7002_probe() 1085 v4l2_ctrl_handler_setup(&device->hdl); in tvp7002_probe() 1094 v4l2_ctrl_handler_free(&device->hdl); in tvp7002_probe() [all …]
|
D | tvaudio.c | 116 struct v4l2_ctrl_handler hdl; member 149 return &container_of(ctrl->handler, struct CHIPSTATE, hdl)->sd; in to_sd() 1846 v4l2_ctrl_handler_log_status(&chip->hdl, sd->name); in tvaudio_log_status() 1952 v4l2_ctrl_handler_init(&chip->hdl, 5); in tvaudio_probe() 1954 v4l2_ctrl_new_std(&chip->hdl, &tvaudio_ctrl_ops, in tvaudio_probe() 1964 chip->volume = v4l2_ctrl_new_std(&chip->hdl, in tvaudio_probe() 1968 chip->balance = v4l2_ctrl_new_std(&chip->hdl, in tvaudio_probe() 1982 v4l2_ctrl_new_std(&chip->hdl, in tvaudio_probe() 1986 v4l2_ctrl_new_std(&chip->hdl, in tvaudio_probe() 1993 sd->ctrl_handler = &chip->hdl; in tvaudio_probe() [all …]
|
D | s5k4ecgx.c | 910 struct v4l2_ctrl_handler *hdl = &priv->handler; in s5k4ecgx_init_v4l2_ctrls() local 913 ret = v4l2_ctrl_handler_init(hdl, 4); in s5k4ecgx_init_v4l2_ctrls() 917 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_BRIGHTNESS, -208, 127, 1, 0); in s5k4ecgx_init_v4l2_ctrls() 918 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_CONTRAST, -127, 127, 1, 0); in s5k4ecgx_init_v4l2_ctrls() 919 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_SATURATION, -127, 127, 1, 0); in s5k4ecgx_init_v4l2_ctrls() 922 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_SHARPNESS, -32704/SHARPNESS_DIV, in s5k4ecgx_init_v4l2_ctrls() 924 if (hdl->error) { in s5k4ecgx_init_v4l2_ctrls() 925 ret = hdl->error; in s5k4ecgx_init_v4l2_ctrls() 926 v4l2_ctrl_handler_free(hdl); in s5k4ecgx_init_v4l2_ctrls() 929 priv->sd.ctrl_handler = hdl; in s5k4ecgx_init_v4l2_ctrls()
|
D | msp3400-driver.h | 55 struct v4l2_ctrl_handler hdl; member 114 return container_of(ctrl->handler, struct msp_state, hdl); in ctrl_to_state()
|
D | adv7842.c | 71 struct v4l2_ctrl_handler hdl; member 119 static bool adv7842_check_dv_timings(const struct v4l2_dv_timings *t, void *hdl) in adv7842_check_dv_timings() argument 221 return &container_of(ctrl->handler, struct adv7842_state, hdl)->sd; in to_sd() 2963 struct v4l2_ctrl_handler *hdl; in adv7842_probe() local 3016 hdl = &state->hdl; in adv7842_probe() 3017 v4l2_ctrl_handler_init(hdl, 6); in adv7842_probe() 3020 v4l2_ctrl_new_std(hdl, &adv7842_ctrl_ops, in adv7842_probe() 3022 v4l2_ctrl_new_std(hdl, &adv7842_ctrl_ops, in adv7842_probe() 3024 v4l2_ctrl_new_std(hdl, &adv7842_ctrl_ops, in adv7842_probe() 3026 v4l2_ctrl_new_std(hdl, &adv7842_ctrl_ops, in adv7842_probe() [all …]
|
D | adv7604.c | 147 struct v4l2_ctrl_handler hdl; member 1131 &container_of(ctrl->handler, struct adv76xx_state, hdl)->sd; in adv76xx_s_ctrl() 2682 struct v4l2_ctrl_handler *hdl; in adv76xx_probe() local 2772 hdl = &state->hdl; in adv76xx_probe() 2773 v4l2_ctrl_handler_init(hdl, adv76xx_has_afe(state) ? 9 : 8); in adv76xx_probe() 2775 v4l2_ctrl_new_std(hdl, &adv76xx_ctrl_ops, in adv76xx_probe() 2777 v4l2_ctrl_new_std(hdl, &adv76xx_ctrl_ops, in adv76xx_probe() 2779 v4l2_ctrl_new_std(hdl, &adv76xx_ctrl_ops, in adv76xx_probe() 2781 v4l2_ctrl_new_std(hdl, &adv76xx_ctrl_ops, in adv76xx_probe() 2785 state->detect_tx_5v_ctrl = v4l2_ctrl_new_std(hdl, NULL, in adv76xx_probe() [all …]
|
/linux-4.1.27/drivers/media/i2c/s5c73m3/ |
D | s5c73m3-ctrls.c | 455 struct v4l2_ctrl_handler *hdl = &ctrls->handler; in s5c73m3_init_controls() local 457 int ret = v4l2_ctrl_handler_init(hdl, 22); in s5c73m3_init_controls() 462 ctrls->auto_wb = v4l2_ctrl_new_std_menu(hdl, ops, in s5c73m3_init_controls() 467 ctrls->auto_exposure = v4l2_ctrl_new_std_menu(hdl, ops, in s5c73m3_init_controls() 470 ctrls->exposure_bias = v4l2_ctrl_new_int_menu(hdl, ops, in s5c73m3_init_controls() 476 ctrls->exposure_metering = v4l2_ctrl_new_std_menu(hdl, ops, in s5c73m3_init_controls() 481 ctrls->focus_auto = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls() 484 ctrls->af_start = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls() 487 ctrls->af_stop = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls() 490 ctrls->af_status = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls() [all …]
|
/linux-4.1.27/drivers/media/radio/ |
D | radio-keene.c | 65 struct v4l2_ctrl_handler hdl; member 250 container_of(ctrl->handler, struct keene_device, hdl); in keene_s_ctrl() 303 v4l2_ctrl_handler_free(&radio->hdl); in usb_keene_video_device_release() 314 struct v4l2_ctrl_handler *hdl; in usb_keene_probe() local 340 hdl = &radio->hdl; in usb_keene_probe() 341 v4l2_ctrl_handler_init(hdl, 4); in usb_keene_probe() 342 v4l2_ctrl_new_std(hdl, &keene_ctrl_ops, V4L2_CID_AUDIO_MUTE, in usb_keene_probe() 344 v4l2_ctrl_new_std_menu(hdl, &keene_ctrl_ops, V4L2_CID_TUNE_PREEMPHASIS, in usb_keene_probe() 346 v4l2_ctrl_new_std(hdl, &keene_ctrl_ops, V4L2_CID_TUNE_POWER_LEVEL, in usb_keene_probe() 348 v4l2_ctrl_new_std(hdl, &keene_ctrl_ops, V4L2_CID_AUDIO_COMPRESSION_GAIN, in usb_keene_probe() [all …]
|
D | radio-sf16fmi.c | 49 struct v4l2_ctrl_handler hdl; member 193 struct fmi *fmi = container_of(ctrl->handler, struct fmi, hdl); in fmi_s_ctrl() 277 struct v4l2_ctrl_handler *hdl = &fmi->hdl; in fmi_init() local 330 v4l2_ctrl_handler_init(hdl, 1); in fmi_init() 331 v4l2_ctrl_new_std(hdl, &fmi_ctrl_ops, in fmi_init() 333 v4l2_dev->ctrl_handler = hdl; in fmi_init() 334 if (hdl->error) { in fmi_init() 335 res = hdl->error; in fmi_init() 337 v4l2_ctrl_handler_free(hdl); in fmi_init() 357 v4l2_ctrl_handler_free(hdl); in fmi_init() [all …]
|
D | radio-miropcm20.c | 437 struct v4l2_ctrl_handler *hdl; in pcm20_init() local 455 hdl = &dev->ctrl_handler; in pcm20_init() 456 v4l2_ctrl_handler_init(hdl, 7); in pcm20_init() 457 v4l2_ctrl_new_std(hdl, &pcm20_ctrl_ops, in pcm20_init() 459 dev->rds_pty = v4l2_ctrl_new_std(hdl, NULL, in pcm20_init() 461 dev->rds_ps_name = v4l2_ctrl_new_std(hdl, NULL, in pcm20_init() 463 dev->rds_radio_test = v4l2_ctrl_new_std(hdl, NULL, in pcm20_init() 465 dev->rds_ta = v4l2_ctrl_new_std(hdl, NULL, in pcm20_init() 467 dev->rds_tp = v4l2_ctrl_new_std(hdl, NULL, in pcm20_init() 469 dev->rds_ms = v4l2_ctrl_new_std(hdl, NULL, in pcm20_init() [all …]
|
D | radio-isa.c | 135 container_of(ctrl->handler, struct radio_isa_card, hdl); in radio_isa_s_ctrl() 150 v4l2_ctrl_handler_log_status(&isa->hdl, isa->v4l2_dev.name); in radio_isa_log_status() 232 v4l2_ctrl_handler_init(&isa->hdl, 1); in radio_isa_common_probe() 233 isa->mute = v4l2_ctrl_new_std(&isa->hdl, &radio_isa_ctrl_ops, in radio_isa_common_probe() 236 isa->volume = v4l2_ctrl_new_std(&isa->hdl, &radio_isa_ctrl_ops, in radio_isa_common_probe() 239 v4l2_dev->ctrl_handler = &isa->hdl; in radio_isa_common_probe() 240 if (isa->hdl.error) { in radio_isa_common_probe() 241 res = isa->hdl.error; in radio_isa_common_probe() 247 v4l2_dev->ctrl_handler = &isa->hdl; in radio_isa_common_probe() 263 res = v4l2_ctrl_handler_setup(&isa->hdl); in radio_isa_common_probe() [all …]
|
D | radio-ma901.c | 90 struct v4l2_ctrl_handler hdl; member 287 container_of(ctrl->handler, struct ma901radio_device, hdl); in usb_ma901radio_s_ctrl() 340 v4l2_ctrl_handler_free(&radio->hdl); in usb_ma901radio_release() 384 v4l2_ctrl_handler_init(&radio->hdl, 1); in usb_ma901radio_probe() 394 v4l2_ctrl_new_std(&radio->hdl, &usb_ma901radio_ctrl_ops, in usb_ma901radio_probe() 398 if (radio->hdl.error) { in usb_ma901radio_probe() 399 retval = radio->hdl.error; in usb_ma901radio_probe() 405 radio->v4l2_dev.ctrl_handler = &radio->hdl; in usb_ma901radio_probe() 439 v4l2_ctrl_handler_free(&radio->hdl); in usb_ma901radio_probe()
|
D | dsbr100.c | 82 struct v4l2_ctrl_handler hdl; member 243 container_of(ctrl->handler, struct dsbr100_device, hdl); in usb_dsbr100_s_ctrl() 318 v4l2_ctrl_handler_free(&radio->hdl); in usb_dsbr100_release() 377 v4l2_ctrl_handler_init(&radio->hdl, 1); in usb_dsbr100_probe() 378 v4l2_ctrl_new_std(&radio->hdl, &usb_dsbr100_ctrl_ops, in usb_dsbr100_probe() 380 if (radio->hdl.error) { in usb_dsbr100_probe() 381 retval = radio->hdl.error; in usb_dsbr100_probe() 392 radio->videodev.ctrl_handler = &radio->hdl; in usb_dsbr100_probe() 407 v4l2_ctrl_handler_free(&radio->hdl); in usb_dsbr100_probe()
|
D | saa7706h.c | 130 struct v4l2_ctrl_handler hdl; member 324 container_of(ctrl->handler, struct saa7706h_state, hdl); in saa7706h_s_ctrl() 378 v4l2_ctrl_handler_init(&state->hdl, 4); in saa7706h_probe() 379 v4l2_ctrl_new_std(&state->hdl, &saa7706h_ctrl_ops, in saa7706h_probe() 381 sd->ctrl_handler = &state->hdl; in saa7706h_probe() 382 err = state->hdl.error; in saa7706h_probe() 403 v4l2_ctrl_handler_free(&state->hdl); in saa7706h_probe() 418 v4l2_ctrl_handler_free(&state->hdl); in saa7706h_remove()
|
D | radio-mr800.c | 134 struct v4l2_ctrl_handler hdl; member 413 container_of(ctrl->handler, struct amradio_device, hdl); in usb_amradio_s_ctrl() 507 v4l2_ctrl_handler_free(&radio->hdl); in usb_amradio_release() 542 v4l2_ctrl_handler_init(&radio->hdl, 1); in usb_amradio_probe() 543 v4l2_ctrl_new_std(&radio->hdl, &usb_amradio_ctrl_ops, in usb_amradio_probe() 545 if (radio->hdl.error) { in usb_amradio_probe() 546 retval = radio->hdl.error; in usb_amradio_probe() 552 radio->v4l2_dev.ctrl_handler = &radio->hdl; in usb_amradio_probe() 582 v4l2_ctrl_handler_free(&radio->hdl); in usb_amradio_probe()
|
D | radio-tea5764.c | 434 struct v4l2_ctrl_handler *hdl; in tea5764_i2c_probe() local 450 hdl = &radio->ctrl_handler; in tea5764_i2c_probe() 451 v4l2_ctrl_handler_init(hdl, 1); in tea5764_i2c_probe() 452 v4l2_ctrl_new_std(hdl, &tea5764_ctrl_ops, in tea5764_i2c_probe() 454 v4l2_dev->ctrl_handler = hdl; in tea5764_i2c_probe() 455 if (hdl->error) { in tea5764_i2c_probe() 456 ret = hdl->error; in tea5764_i2c_probe() 497 v4l2_ctrl_handler_free(hdl); in tea5764_i2c_probe()
|
D | radio-trust.c | 165 container_of(ctrl->handler, struct radio_isa_card, hdl); in trust_s_ctrl() 194 v4l2_ctrl_new_std(&isa->hdl, &trust_ctrl_ops, in trust_initialize() 196 v4l2_ctrl_new_std(&isa->hdl, &trust_ctrl_ops, in trust_initialize() 198 return isa->hdl.error; in trust_initialize()
|
D | radio-cadet.c | 600 struct v4l2_ctrl_handler *hdl; in cadet_init() local 633 hdl = &dev->ctrl_handler; in cadet_init() 634 v4l2_ctrl_handler_init(hdl, 2); in cadet_init() 635 v4l2_ctrl_new_std(hdl, &cadet_ctrl_ops, in cadet_init() 637 v4l2_dev->ctrl_handler = hdl; in cadet_init() 638 if (hdl->error) { in cadet_init() 639 res = hdl->error; in cadet_init() 661 v4l2_ctrl_handler_free(hdl); in cadet_init()
|
D | radio-isa.h | 39 struct v4l2_ctrl_handler hdl; member
|
/linux-4.1.27/drivers/media/usb/pwc/ |
D | pwc-v4l.c | 164 struct v4l2_ctrl_handler *hdl; in pwc_init_controls() local 168 hdl = &pdev->ctrl_handler; in pwc_init_controls() 169 r = v4l2_ctrl_handler_init(hdl, 20); in pwc_init_controls() 177 pdev->brightness = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops, in pwc_init_controls() 183 pdev->contrast = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops, in pwc_init_controls() 195 pdev->saturation = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops, in pwc_init_controls() 202 pdev->gamma = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops, in pwc_init_controls() 212 pdev->auto_white_balance = v4l2_ctrl_new_custom(hdl, &cfg, NULL); in pwc_init_controls() 215 return hdl->error; in pwc_init_controls() 221 pdev->red_balance = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops, in pwc_init_controls() [all …]
|
/linux-4.1.27/drivers/media/usb/gspca/m5602/ |
D | m5602_ov7660.c | 126 struct v4l2_ctrl_handler *hdl = &sd->gspca_dev.ctrl_handler; in ov7660_init_controls() local 128 sd->gspca_dev.vdev.ctrl_handler = hdl; in ov7660_init_controls() 129 v4l2_ctrl_handler_init(hdl, 6); in ov7660_init_controls() 131 v4l2_ctrl_new_std(hdl, &ov7660_ctrl_ops, V4L2_CID_AUTO_WHITE_BALANCE, in ov7660_init_controls() 133 v4l2_ctrl_new_std_menu(hdl, &ov7660_ctrl_ops, in ov7660_init_controls() 136 sd->autogain = v4l2_ctrl_new_std(hdl, &ov7660_ctrl_ops, in ov7660_init_controls() 138 sd->gain = v4l2_ctrl_new_std(hdl, &ov7660_ctrl_ops, V4L2_CID_GAIN, 0, in ov7660_init_controls() 141 sd->hflip = v4l2_ctrl_new_std(hdl, &ov7660_ctrl_ops, V4L2_CID_HFLIP, in ov7660_init_controls() 143 sd->vflip = v4l2_ctrl_new_std(hdl, &ov7660_ctrl_ops, V4L2_CID_VFLIP, in ov7660_init_controls() 146 if (hdl->error) { in ov7660_init_controls() [all …]
|
D | m5602_po1030.c | 135 struct v4l2_ctrl_handler *hdl = &sd->gspca_dev.ctrl_handler; in po1030_init_controls() local 137 sd->gspca_dev.vdev.ctrl_handler = hdl; in po1030_init_controls() 138 v4l2_ctrl_handler_init(hdl, 9); in po1030_init_controls() 140 sd->auto_white_bal = v4l2_ctrl_new_std(hdl, &po1030_ctrl_ops, in po1030_init_controls() 143 sd->green_bal = v4l2_ctrl_new_custom(hdl, &po1030_greenbal_cfg, NULL); in po1030_init_controls() 144 sd->red_bal = v4l2_ctrl_new_std(hdl, &po1030_ctrl_ops, in po1030_init_controls() 147 sd->blue_bal = v4l2_ctrl_new_std(hdl, &po1030_ctrl_ops, in po1030_init_controls() 151 sd->autoexpo = v4l2_ctrl_new_std_menu(hdl, &po1030_ctrl_ops, in po1030_init_controls() 153 sd->expo = v4l2_ctrl_new_std(hdl, &po1030_ctrl_ops, V4L2_CID_EXPOSURE, in po1030_init_controls() 156 sd->gain = v4l2_ctrl_new_std(hdl, &po1030_ctrl_ops, V4L2_CID_GAIN, 0, in po1030_init_controls() [all …]
|
D | m5602_mt9m111.c | 132 struct v4l2_ctrl_handler *hdl = &sd->gspca_dev.ctrl_handler; in mt9m111_init_controls() local 134 sd->gspca_dev.vdev.ctrl_handler = hdl; in mt9m111_init_controls() 135 v4l2_ctrl_handler_init(hdl, 7); in mt9m111_init_controls() 137 sd->auto_white_bal = v4l2_ctrl_new_std(hdl, &mt9m111_ctrl_ops, in mt9m111_init_controls() 140 sd->green_bal = v4l2_ctrl_new_custom(hdl, &mt9m111_greenbal_cfg, NULL); in mt9m111_init_controls() 141 sd->red_bal = v4l2_ctrl_new_std(hdl, &mt9m111_ctrl_ops, in mt9m111_init_controls() 144 sd->blue_bal = v4l2_ctrl_new_std(hdl, &mt9m111_ctrl_ops, in mt9m111_init_controls() 148 v4l2_ctrl_new_std(hdl, &mt9m111_ctrl_ops, V4L2_CID_GAIN, 0, in mt9m111_init_controls() 152 sd->hflip = v4l2_ctrl_new_std(hdl, &mt9m111_ctrl_ops, V4L2_CID_HFLIP, in mt9m111_init_controls() 154 sd->vflip = v4l2_ctrl_new_std(hdl, &mt9m111_ctrl_ops, V4L2_CID_VFLIP, in mt9m111_init_controls() [all …]
|
D | m5602_ov9650.c | 219 struct v4l2_ctrl_handler *hdl = &sd->gspca_dev.ctrl_handler; in ov9650_init_controls() local 221 sd->gspca_dev.vdev.ctrl_handler = hdl; in ov9650_init_controls() 222 v4l2_ctrl_handler_init(hdl, 9); in ov9650_init_controls() 224 sd->auto_white_bal = v4l2_ctrl_new_std(hdl, &ov9650_ctrl_ops, in ov9650_init_controls() 227 sd->red_bal = v4l2_ctrl_new_std(hdl, &ov9650_ctrl_ops, in ov9650_init_controls() 230 sd->blue_bal = v4l2_ctrl_new_std(hdl, &ov9650_ctrl_ops, in ov9650_init_controls() 234 sd->autoexpo = v4l2_ctrl_new_std_menu(hdl, &ov9650_ctrl_ops, in ov9650_init_controls() 236 sd->expo = v4l2_ctrl_new_std(hdl, &ov9650_ctrl_ops, V4L2_CID_EXPOSURE, in ov9650_init_controls() 239 sd->autogain = v4l2_ctrl_new_std(hdl, &ov9650_ctrl_ops, in ov9650_init_controls() 241 sd->gain = v4l2_ctrl_new_std(hdl, &ov9650_ctrl_ops, V4L2_CID_GAIN, 0, in ov9650_init_controls() [all …]
|
D | m5602_s5k4aa.c | 334 struct v4l2_ctrl_handler *hdl = &sd->gspca_dev.ctrl_handler; in s5k4aa_init_controls() local 336 sd->gspca_dev.vdev.ctrl_handler = hdl; in s5k4aa_init_controls() 337 v4l2_ctrl_handler_init(hdl, 6); in s5k4aa_init_controls() 339 v4l2_ctrl_new_std(hdl, &s5k4aa_ctrl_ops, V4L2_CID_BRIGHTNESS, in s5k4aa_init_controls() 342 v4l2_ctrl_new_std(hdl, &s5k4aa_ctrl_ops, V4L2_CID_EXPOSURE, in s5k4aa_init_controls() 345 v4l2_ctrl_new_std(hdl, &s5k4aa_ctrl_ops, V4L2_CID_GAIN, in s5k4aa_init_controls() 348 v4l2_ctrl_new_std(hdl, &s5k4aa_ctrl_ops, V4L2_CID_SHARPNESS, in s5k4aa_init_controls() 351 sd->hflip = v4l2_ctrl_new_std(hdl, &s5k4aa_ctrl_ops, V4L2_CID_HFLIP, in s5k4aa_init_controls() 353 sd->vflip = v4l2_ctrl_new_std(hdl, &s5k4aa_ctrl_ops, V4L2_CID_VFLIP, in s5k4aa_init_controls() 356 if (hdl->error) { in s5k4aa_init_controls() [all …]
|
D | m5602_s5k83a.c | 143 struct v4l2_ctrl_handler *hdl = &sd->gspca_dev.ctrl_handler; in s5k83a_init_controls() local 145 sd->gspca_dev.vdev.ctrl_handler = hdl; in s5k83a_init_controls() 146 v4l2_ctrl_handler_init(hdl, 6); in s5k83a_init_controls() 148 v4l2_ctrl_new_std(hdl, &s5k83a_ctrl_ops, V4L2_CID_BRIGHTNESS, in s5k83a_init_controls() 151 v4l2_ctrl_new_std(hdl, &s5k83a_ctrl_ops, V4L2_CID_EXPOSURE, in s5k83a_init_controls() 155 v4l2_ctrl_new_std(hdl, &s5k83a_ctrl_ops, V4L2_CID_GAIN, in s5k83a_init_controls() 158 sd->hflip = v4l2_ctrl_new_std(hdl, &s5k83a_ctrl_ops, V4L2_CID_HFLIP, in s5k83a_init_controls() 160 sd->vflip = v4l2_ctrl_new_std(hdl, &s5k83a_ctrl_ops, V4L2_CID_VFLIP, in s5k83a_init_controls() 163 if (hdl->error) { in s5k83a_init_controls() 165 return hdl->error; in s5k83a_init_controls()
|
/linux-4.1.27/drivers/media/radio/si4713/ |
D | si4713.c | 1448 struct v4l2_ctrl_handler *hdl; in si4713_probe() local 1494 hdl = &sdev->ctrl_handler; in si4713_probe() 1495 v4l2_ctrl_handler_init(hdl, 20); in si4713_probe() 1496 sdev->mute = v4l2_ctrl_new_std(hdl, &si4713_ctrl_ops, in si4713_probe() 1499 sdev->rds_pi = v4l2_ctrl_new_std(hdl, &si4713_ctrl_ops, in si4713_probe() 1501 sdev->rds_pty = v4l2_ctrl_new_std(hdl, &si4713_ctrl_ops, in si4713_probe() 1503 sdev->rds_compressed = v4l2_ctrl_new_std(hdl, &si4713_ctrl_ops, in si4713_probe() 1505 sdev->rds_art_head = v4l2_ctrl_new_std(hdl, &si4713_ctrl_ops, in si4713_probe() 1507 sdev->rds_stereo = v4l2_ctrl_new_std(hdl, &si4713_ctrl_ops, in si4713_probe() 1509 sdev->rds_tp = v4l2_ctrl_new_std(hdl, &si4713_ctrl_ops, in si4713_probe() [all …]
|
/linux-4.1.27/drivers/media/usb/gspca/stv06xx/ |
D | stv06xx_st6422.c | 103 struct v4l2_ctrl_handler *hdl = &sd->gspca_dev.ctrl_handler; in st6422_init_controls() local 105 v4l2_ctrl_handler_init(hdl, 4); in st6422_init_controls() 106 v4l2_ctrl_new_std(hdl, &st6422_ctrl_ops, in st6422_init_controls() 108 v4l2_ctrl_new_std(hdl, &st6422_ctrl_ops, in st6422_init_controls() 110 v4l2_ctrl_new_std(hdl, &st6422_ctrl_ops, in st6422_init_controls() 112 v4l2_ctrl_new_std(hdl, &st6422_ctrl_ops, in st6422_init_controls() 115 return hdl->error; in st6422_init_controls()
|
D | stv06xx_pb0100.c | 121 struct v4l2_ctrl_handler *hdl = &sd->gspca_dev.ctrl_handler; in pb0100_init_controls() local 146 v4l2_ctrl_handler_init(hdl, 6); in pb0100_init_controls() 147 ctrls->autogain = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops, in pb0100_init_controls() 149 ctrls->exposure = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops, in pb0100_init_controls() 151 ctrls->gain = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops, in pb0100_init_controls() 153 ctrls->red = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops, in pb0100_init_controls() 155 ctrls->blue = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops, in pb0100_init_controls() 157 ctrls->natural = v4l2_ctrl_new_custom(hdl, &natural_light, NULL); in pb0100_init_controls() 158 ctrls->target = v4l2_ctrl_new_custom(hdl, &autogain_target, NULL); in pb0100_init_controls() 159 if (hdl->error) { in pb0100_init_controls() [all …]
|
D | stv06xx_vv6410.c | 99 struct v4l2_ctrl_handler *hdl = &sd->gspca_dev.ctrl_handler; in vv6410_init_controls() local 101 v4l2_ctrl_handler_init(hdl, 2); in vv6410_init_controls() 109 v4l2_ctrl_new_std(hdl, &vv6410_ctrl_ops, in vv6410_init_controls() 111 v4l2_ctrl_new_std(hdl, &vv6410_ctrl_ops, in vv6410_init_controls() 113 return hdl->error; in vv6410_init_controls()
|
D | stv06xx_hdcs.c | 359 struct v4l2_ctrl_handler *hdl = &sd->gspca_dev.ctrl_handler; in hdcs_init_controls() local 361 v4l2_ctrl_handler_init(hdl, 2); in hdcs_init_controls() 362 v4l2_ctrl_new_std(hdl, &hdcs_ctrl_ops, in hdcs_init_controls() 364 v4l2_ctrl_new_std(hdl, &hdcs_ctrl_ops, in hdcs_init_controls() 366 return hdl->error; in hdcs_init_controls()
|
/linux-4.1.27/drivers/media/usb/gspca/ |
D | mars.c | 206 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 208 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 209 v4l2_ctrl_handler_init(hdl, 6); in sd_init_controls() 210 sd->brightness = v4l2_ctrl_new_std(hdl, &mars_ctrl_ops, in sd_init_controls() 212 sd->saturation = v4l2_ctrl_new_std(hdl, &mars_ctrl_ops, in sd_init_controls() 214 sd->gamma = v4l2_ctrl_new_std(hdl, &mars_ctrl_ops, in sd_init_controls() 216 sd->sharpness = v4l2_ctrl_new_std(hdl, &mars_ctrl_ops, in sd_init_controls() 218 sd->illum_top = v4l2_ctrl_new_std(hdl, &mars_ctrl_ops, in sd_init_controls() 221 sd->illum_bottom = v4l2_ctrl_new_std(hdl, &mars_ctrl_ops, in sd_init_controls() 224 if (hdl->error) { in sd_init_controls() [all …]
|
D | spca561.c | 812 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls_12a() local 814 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls_12a() 815 v4l2_ctrl_handler_init(hdl, 3); in sd_init_controls_12a() 816 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls_12a() 818 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls_12a() 820 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls_12a() 822 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls_12a() 825 if (hdl->error) { in sd_init_controls_12a() 827 return hdl->error; in sd_init_controls_12a() 835 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls_72a() local [all …]
|
D | spca501.c | 1983 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 1985 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 1986 v4l2_ctrl_handler_init(hdl, 5); in sd_init_controls() 1987 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1989 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1991 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1993 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1995 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1998 if (hdl->error) { in sd_init_controls() 2000 return hdl->error; in sd_init_controls()
|
D | dtcs033.c | 229 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in dtcs033_init_controls() local 232 gspca_dev->vdev.ctrl_handler = hdl; in dtcs033_init_controls() 233 v4l2_ctrl_handler_init(hdl, 2); in dtcs033_init_controls() 235 sd->exposure = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in dtcs033_init_controls() 238 sd->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in dtcs033_init_controls() 241 if (hdl->error) { in dtcs033_init_controls() 243 hdl->error); in dtcs033_init_controls() 244 return hdl->error; in dtcs033_init_controls()
|
D | pac7302.c | 648 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 650 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 651 v4l2_ctrl_handler_init(hdl, 12); in sd_init_controls() 653 sd->brightness = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 655 sd->contrast = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 658 sd->saturation = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 660 sd->white_balance = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 663 sd->red_balance = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 668 sd->blue_balance = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 674 gspca_dev->autogain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() [all …]
|
D | spca1528.c | 380 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 382 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 383 v4l2_ctrl_handler_init(hdl, 5); in sd_init_controls() 384 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 386 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 388 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 390 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 392 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 395 if (hdl->error) { in sd_init_controls() 397 return hdl->error; in sd_init_controls()
|
D | t613.c | 961 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 963 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 964 v4l2_ctrl_handler_init(hdl, 12); in sd_init_controls() 965 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 967 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 969 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 971 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 975 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 978 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 980 sd->awb = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() [all …]
|
D | jeilinj.c | 442 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 453 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 454 v4l2_ctrl_handler_init(hdl, 6); in sd_init_controls() 455 sd->freq = v4l2_ctrl_new_std_menu(hdl, &sd_ctrl_ops, in sd_init_controls() 459 v4l2_ctrl_new_custom(hdl, &custom_autogain, NULL); in sd_init_controls() 460 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 462 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 464 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 466 sd->jpegqual = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 470 if (hdl->error) { in sd_init_controls() [all …]
|
D | konica.c | 419 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 421 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 422 v4l2_ctrl_handler_init(hdl, 5); in sd_init_controls() 423 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 426 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 428 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 430 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 433 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 436 if (hdl->error) { in sd_init_controls() 438 return hdl->error; in sd_init_controls()
|
D | stk014.c | 387 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 389 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 390 v4l2_ctrl_handler_init(hdl, 4); in sd_init_controls() 391 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 393 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 395 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 397 v4l2_ctrl_new_std_menu(hdl, &sd_ctrl_ops, in sd_init_controls() 402 if (hdl->error) { in sd_init_controls() 404 return hdl->error; in sd_init_controls()
|
D | vicam.c | 307 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 309 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 310 v4l2_ctrl_handler_init(hdl, 2); in sd_init_controls() 311 gspca_dev->exposure = v4l2_ctrl_new_std(hdl, NULL, in sd_init_controls() 313 gspca_dev->gain = v4l2_ctrl_new_std(hdl, NULL, in sd_init_controls() 316 if (hdl->error) { in sd_init_controls() 318 return hdl->error; in sd_init_controls()
|
D | tv8532.c | 320 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 322 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 323 v4l2_ctrl_handler_init(hdl, 2); in sd_init_controls() 324 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 326 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 329 if (hdl->error) { in sd_init_controls() 331 return hdl->error; in sd_init_controls()
|
D | pac207.c | 262 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 264 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 265 v4l2_ctrl_handler_init(hdl, 4); in sd_init_controls() 267 sd->brightness = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 271 gspca_dev->autogain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 273 gspca_dev->exposure = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 277 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 281 if (hdl->error) { in sd_init_controls() 283 return hdl->error; in sd_init_controls()
|
D | ov534.c | 1153 struct v4l2_ctrl_handler *hdl = &sd->ctrl_handler; in sd_init_controls() local 1196 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 1198 v4l2_ctrl_handler_init(hdl, 13); in sd_init_controls() 1201 sd->hue = v4l2_ctrl_new_std(hdl, &ov534_ctrl_ops, in sd_init_controls() 1204 sd->saturation = v4l2_ctrl_new_std(hdl, &ov534_ctrl_ops, in sd_init_controls() 1207 sd->brightness = v4l2_ctrl_new_std(hdl, &ov534_ctrl_ops, in sd_init_controls() 1210 sd->contrast = v4l2_ctrl_new_std(hdl, &ov534_ctrl_ops, in sd_init_controls() 1214 sd->autogain = v4l2_ctrl_new_std(hdl, &ov534_ctrl_ops, in sd_init_controls() 1216 sd->gain = v4l2_ctrl_new_std(hdl, &ov534_ctrl_ops, in sd_init_controls() 1220 sd->autoexposure = v4l2_ctrl_new_std_menu(hdl, &ov534_ctrl_ops, in sd_init_controls() [all …]
|
D | pac7311.c | 417 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 419 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 420 v4l2_ctrl_handler_init(hdl, 5); in sd_init_controls() 422 sd->contrast = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 424 gspca_dev->autogain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 426 gspca_dev->exposure = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 429 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 432 sd->hflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 435 if (hdl->error) { in sd_init_controls() 437 return hdl->error; in sd_init_controls()
|
D | touptek.c | 627 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 629 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 630 v4l2_ctrl_handler_init(hdl, 4); in sd_init_controls() 632 gspca_dev->exposure = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 636 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 638 sd->blue = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 640 sd->red = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 643 if (hdl->error) { in sd_init_controls() 645 return hdl->error; in sd_init_controls()
|
D | sonixb.c | 1009 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 1011 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 1012 v4l2_ctrl_handler_init(hdl, 5); in sd_init_controls() 1016 sd->brightness = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1024 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1028 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1032 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1038 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1043 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1046 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() [all …]
|
D | ov534_9.c | 1754 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 1760 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 1761 v4l2_ctrl_handler_init(hdl, 7); in sd_init_controls() 1763 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1766 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1768 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1770 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1773 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1775 gspca_dev->autogain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1777 gspca_dev->exposure = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() [all …]
|
D | spca505.c | 750 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 752 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 753 v4l2_ctrl_handler_init(hdl, 5); in sd_init_controls() 754 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 757 if (hdl->error) { in sd_init_controls() 759 return hdl->error; in sd_init_controls()
|
D | spca508.c | 1478 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 1480 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 1481 v4l2_ctrl_handler_init(hdl, 5); in sd_init_controls() 1482 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1485 if (hdl->error) { in sd_init_controls() 1487 return hdl->error; in sd_init_controls()
|
D | nw80x.c | 2008 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 2010 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 2011 v4l2_ctrl_handler_init(hdl, 3); in sd_init_controls() 2014 gspca_dev->autogain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 2018 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 2020 gspca_dev->exposure = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 2024 gspca_dev->autogain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 2026 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 2032 gspca_dev->exposure = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 2039 if (hdl->error) { in sd_init_controls() [all …]
|
D | mr97310a.c | 931 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 950 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 951 v4l2_ctrl_handler_init(hdl, 4); in sd_init_controls() 984 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 988 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 992 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 996 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1000 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, V4L2_CID_GAIN, in sd_init_controls() 1004 sd->exposure = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1008 sd->min_clockdiv = v4l2_ctrl_new_custom(hdl, &clockdiv, NULL); in sd_init_controls() [all …]
|
D | spca506.c | 550 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 552 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 553 v4l2_ctrl_handler_init(hdl, 4); in sd_init_controls() 554 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 556 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 558 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 560 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 563 if (hdl->error) { in sd_init_controls() 565 return hdl->error; in sd_init_controls()
|
D | vc032x.c | 3706 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 3742 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 3743 v4l2_ctrl_handler_init(hdl, 8); in sd_init_controls() 3745 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 3748 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 3751 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 3754 sd->hflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 3756 sd->vflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 3760 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 3763 v4l2_ctrl_new_std_menu(hdl, &sd_ctrl_ops, in sd_init_controls() [all …]
|
D | se401.c | 656 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 658 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 659 v4l2_ctrl_handler_init(hdl, 4); in sd_init_controls() 661 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 664 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 666 sd->exposure = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 668 sd->freq = v4l2_ctrl_new_std_menu(hdl, &sd_ctrl_ops, in sd_init_controls() 672 if (hdl->error) { in sd_init_controls() 674 return hdl->error; in sd_init_controls()
|
D | conex.c | 910 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 912 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 913 v4l2_ctrl_handler_init(hdl, 3); in sd_init_controls() 914 sd->brightness = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 916 sd->contrast = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 918 sd->sat = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 920 if (hdl->error) { in sd_init_controls() 922 return hdl->error; in sd_init_controls()
|
D | spca500.c | 921 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 923 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 924 v4l2_ctrl_handler_init(hdl, 3); in sd_init_controls() 925 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 927 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 929 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 932 if (hdl->error) { in sd_init_controls() 934 return hdl->error; in sd_init_controls()
|
D | stk1135.c | 602 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 604 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 605 v4l2_ctrl_handler_init(hdl, 2); in sd_init_controls() 606 sd->hflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 608 sd->vflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 611 if (hdl->error) { in sd_init_controls() 613 return hdl->error; in sd_init_controls()
|
D | sonixj.c | 1627 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 1629 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 1630 v4l2_ctrl_handler_init(hdl, 14); in sd_init_controls() 1632 sd->brightness = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1635 sd->contrast = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1638 sd->saturation = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1640 sd->red_bal = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1642 sd->blue_bal = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1645 sd->gamma = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1649 sd->sharpness = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() [all …]
|
D | etoms.c | 734 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 736 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 737 v4l2_ctrl_handler_init(hdl, 4); in sd_init_controls() 738 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 740 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 743 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 745 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 747 if (hdl->error) { in sd_init_controls() 749 return hdl->error; in sd_init_controls()
|
D | sunplus.c | 956 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 958 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 959 v4l2_ctrl_handler_init(hdl, 4); in sd_init_controls() 960 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 962 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 964 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 966 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 969 if (hdl->error) { in sd_init_controls() 971 return hdl->error; in sd_init_controls()
|
D | sn9c20x.c | 1716 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 1718 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 1719 v4l2_ctrl_handler_init(hdl, 13); in sd_init_controls() 1721 sd->brightness = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1723 sd->contrast = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1725 sd->saturation = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1727 sd->hue = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1730 sd->gamma = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1733 sd->blue = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1735 sd->red = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() [all …]
|
D | sq930x.c | 1096 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 1099 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 1100 v4l2_ctrl_handler_init(hdl, 2); in sd_init_controls() 1101 sd->exposure = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1103 sd->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1106 if (hdl->error) { in sd_init_controls() 1108 return hdl->error; in sd_init_controls()
|
D | topro.c | 4894 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 4896 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 4897 v4l2_ctrl_handler_init(hdl, 4); in sd_init_controls() 4898 gspca_dev->exposure = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 4901 sd->red = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 4903 sd->blue = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 4907 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 4910 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 4912 sd->sharpness = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 4914 sd->gamma = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() [all …]
|
D | ov519.c | 4894 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 4896 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 4897 v4l2_ctrl_handler_init(hdl, 10); in sd_init_controls() 4899 sd->brightness = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 4905 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 4908 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 4914 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 4919 gspca_dev->exposure = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 4922 sd->hflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 4924 sd->vflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() [all …]
|
D | cpia1.c | 1814 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 1830 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 1831 v4l2_ctrl_handler_init(hdl, 7); in sd_init_controls() 1832 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1834 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1836 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1838 sd->freq = v4l2_ctrl_new_std_menu(hdl, &sd_ctrl_ops, in sd_init_controls() 1843 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1846 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1850 v4l2_ctrl_new_custom(hdl, &comp_target, NULL); in sd_init_controls() [all …]
|
D | xirlink_cit.c | 2991 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 3023 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 3024 v4l2_ctrl_handler_init(hdl, 5); in sd_init_controls() 3026 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 3029 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 3032 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 3035 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 3038 sd->lighting = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 3041 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 3044 if (hdl->error) { in sd_init_controls() [all …]
|
D | zc3xx.c | 6411 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 6434 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 6435 v4l2_ctrl_handler_init(hdl, 8); in sd_init_controls() 6436 sd->brightness = v4l2_ctrl_new_std(hdl, &zcxx_ctrl_ops, in sd_init_controls() 6438 sd->contrast = v4l2_ctrl_new_std(hdl, &zcxx_ctrl_ops, in sd_init_controls() 6440 sd->gamma = v4l2_ctrl_new_std(hdl, &zcxx_ctrl_ops, in sd_init_controls() 6443 sd->exposure = v4l2_ctrl_new_std(hdl, &zcxx_ctrl_ops, in sd_init_controls() 6445 sd->autogain = v4l2_ctrl_new_std(hdl, &zcxx_ctrl_ops, in sd_init_controls() 6448 sd->plfreq = v4l2_ctrl_new_std_menu(hdl, &zcxx_ctrl_ops, in sd_init_controls() 6452 sd->sharpness = v4l2_ctrl_new_std(hdl, &zcxx_ctrl_ops, in sd_init_controls() [all …]
|
/linux-4.1.27/drivers/media/tuners/ |
D | e4000.c | 395 struct e4000 *s = container_of(ctrl->handler, struct e4000, hdl); in e4000_g_volatile_ctrl() 416 struct e4000 *s = container_of(ctrl->handler, struct e4000, hdl); in e4000_s_ctrl() 524 v4l2_ctrl_handler_init(&s->hdl, 9); in e4000_probe() 525 s->bandwidth_auto = v4l2_ctrl_new_std(&s->hdl, &e4000_ctrl_ops, in e4000_probe() 527 s->bandwidth = v4l2_ctrl_new_std(&s->hdl, &e4000_ctrl_ops, in e4000_probe() 530 s->lna_gain_auto = v4l2_ctrl_new_std(&s->hdl, &e4000_ctrl_ops, in e4000_probe() 532 s->lna_gain = v4l2_ctrl_new_std(&s->hdl, &e4000_ctrl_ops, in e4000_probe() 535 s->mixer_gain_auto = v4l2_ctrl_new_std(&s->hdl, &e4000_ctrl_ops, in e4000_probe() 537 s->mixer_gain = v4l2_ctrl_new_std(&s->hdl, &e4000_ctrl_ops, in e4000_probe() 540 s->if_gain_auto = v4l2_ctrl_new_std(&s->hdl, &e4000_ctrl_ops, in e4000_probe() [all …]
|
D | msi001.c | 44 struct v4l2_ctrl_handler hdl; member 384 struct msi001 *s = container_of(ctrl->handler, struct msi001, hdl); in msi001_s_ctrl() 441 v4l2_ctrl_handler_init(&s->hdl, 5); in msi001_probe() 442 s->bandwidth_auto = v4l2_ctrl_new_std(&s->hdl, &msi001_ctrl_ops, in msi001_probe() 444 s->bandwidth = v4l2_ctrl_new_std(&s->hdl, &msi001_ctrl_ops, in msi001_probe() 447 s->lna_gain = v4l2_ctrl_new_std(&s->hdl, &msi001_ctrl_ops, in msi001_probe() 449 s->mixer_gain = v4l2_ctrl_new_std(&s->hdl, &msi001_ctrl_ops, in msi001_probe() 451 s->if_gain = v4l2_ctrl_new_std(&s->hdl, &msi001_ctrl_ops, in msi001_probe() 453 if (s->hdl.error) { in msi001_probe() 454 ret = s->hdl.error; in msi001_probe() [all …]
|
D | e4000_priv.h | 38 struct v4l2_ctrl_handler hdl; member
|
/linux-4.1.27/drivers/media/usb/go7007/ |
D | go7007-v4l2.c | 806 container_of(ctrl->handler, struct go7007, hdl); in go7007_s_ctrl() 1044 struct v4l2_ctrl_handler *hdl = &go->hdl; in go7007_v4l2_ctrl_init() local 1047 v4l2_ctrl_handler_init(hdl, 22); in go7007_v4l2_ctrl_init() 1048 go->mpeg_video_gop_size = v4l2_ctrl_new_std(hdl, NULL, in go7007_v4l2_ctrl_init() 1050 go->mpeg_video_gop_closure = v4l2_ctrl_new_std(hdl, NULL, in go7007_v4l2_ctrl_init() 1052 go->mpeg_video_bitrate = v4l2_ctrl_new_std(hdl, NULL, in go7007_v4l2_ctrl_init() 1055 go->mpeg_video_b_frames = v4l2_ctrl_new_std(hdl, NULL, in go7007_v4l2_ctrl_init() 1057 go->mpeg_video_rep_seqheader = v4l2_ctrl_new_std(hdl, NULL, in go7007_v4l2_ctrl_init() 1060 go->mpeg_video_aspect_ratio = v4l2_ctrl_new_std_menu(hdl, NULL, in go7007_v4l2_ctrl_init() 1064 ctrl = v4l2_ctrl_new_std(hdl, NULL, in go7007_v4l2_ctrl_init() [all …]
|
D | s2250-board.c | 121 struct v4l2_ctrl_handler hdl; member 373 struct s2250 *state = container_of(ctrl->handler, struct s2250, hdl); in s2250_s_ctrl() 520 v4l2_ctrl_handler_init(&state->hdl, 4); in s2250_probe() 521 v4l2_ctrl_new_std(&state->hdl, &s2250_ctrl_ops, in s2250_probe() 523 v4l2_ctrl_new_std(&state->hdl, &s2250_ctrl_ops, in s2250_probe() 525 v4l2_ctrl_new_std(&state->hdl, &s2250_ctrl_ops, in s2250_probe() 527 v4l2_ctrl_new_std(&state->hdl, &s2250_ctrl_ops, in s2250_probe() 529 sd->ctrl_handler = &state->hdl; in s2250_probe() 530 if (state->hdl.error) { in s2250_probe() 531 int err = state->hdl.error; in s2250_probe() [all …]
|
D | go7007-priv.h | 173 struct v4l2_ctrl_handler hdl; member
|
/linux-4.1.27/drivers/media/usb/gspca/gl860/ |
D | gl860.c | 118 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 120 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 121 v4l2_ctrl_handler_init(hdl, 11); in sd_init_controls() 124 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, V4L2_CID_BRIGHTNESS, in sd_init_controls() 129 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, V4L2_CID_CONTRAST, in sd_init_controls() 134 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, V4L2_CID_SATURATION, in sd_init_controls() 139 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, V4L2_CID_HUE, in sd_init_controls() 143 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, V4L2_CID_GAMMA, in sd_init_controls() 147 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, V4L2_CID_HFLIP, in sd_init_controls() 151 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, V4L2_CID_VFLIP, in sd_init_controls() [all …]
|
/linux-4.1.27/drivers/media/usb/hdpvr/ |
D | hdpvr-video.c | 875 container_of(ctrl->handler, struct hdpvr_device, hdl); in hdpvr_try_ctrl() 891 container_of(ctrl->handler, struct hdpvr_device, hdl); in hdpvr_s_ctrl() 1132 v4l2_ctrl_handler_free(&dev->hdl); in hdpvr_device_release() 1160 struct v4l2_ctrl_handler *hdl = &dev->hdl; in hdpvr_register_videodev() local 1168 v4l2_ctrl_handler_init(hdl, 11); in hdpvr_register_videodev() 1170 v4l2_ctrl_new_std(hdl, &hdpvr_ctrl_ops, in hdpvr_register_videodev() 1172 v4l2_ctrl_new_std(hdl, &hdpvr_ctrl_ops, in hdpvr_register_videodev() 1174 v4l2_ctrl_new_std(hdl, &hdpvr_ctrl_ops, in hdpvr_register_videodev() 1176 v4l2_ctrl_new_std(hdl, &hdpvr_ctrl_ops, in hdpvr_register_videodev() 1178 v4l2_ctrl_new_std(hdl, &hdpvr_ctrl_ops, in hdpvr_register_videodev() [all …]
|
D | hdpvr.h | 71 struct v4l2_ctrl_handler hdl; member
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
D | au8522_decoder.c | 495 container_of(ctrl->handler, struct au8522_state, hdl); in au8522_s_ctrl() 730 struct v4l2_ctrl_handler *hdl; in au8522_probe() local 771 hdl = &state->hdl; in au8522_probe() 772 v4l2_ctrl_handler_init(hdl, 4); in au8522_probe() 773 v4l2_ctrl_new_std(hdl, &au8522_ctrl_ops, in au8522_probe() 775 v4l2_ctrl_new_std(hdl, &au8522_ctrl_ops, in au8522_probe() 778 v4l2_ctrl_new_std(hdl, &au8522_ctrl_ops, in au8522_probe() 780 v4l2_ctrl_new_std(hdl, &au8522_ctrl_ops, in au8522_probe() 782 sd->ctrl_handler = hdl; in au8522_probe() 783 if (hdl->error) { in au8522_probe() [all …]
|
D | rtl2832_sdr.c | 149 struct v4l2_ctrl_handler hdl; member 816 bandwidth_auto = v4l2_ctrl_find(&dev->hdl, in rtl2832_sdr_set_tuner_freq() 818 bandwidth = v4l2_ctrl_find(&dev->hdl, V4L2_CID_RF_TUNER_BANDWIDTH); in rtl2832_sdr_set_tuner_freq() 1236 hdl); in rtl2832_sdr_s_ctrl() 1292 v4l2_ctrl_handler_free(&dev->hdl); in rtl2832_sdr_video_release() 1364 v4l2_ctrl_handler_init(&dev->hdl, 9); in rtl2832_sdr_probe() 1366 v4l2_ctrl_add_handler(&dev->hdl, subdev->ctrl_handler, NULL); in rtl2832_sdr_probe() 1370 v4l2_ctrl_handler_init(&dev->hdl, 2); in rtl2832_sdr_probe() 1371 dev->bandwidth_auto = v4l2_ctrl_new_std(&dev->hdl, ops, in rtl2832_sdr_probe() 1374 dev->bandwidth = v4l2_ctrl_new_std(&dev->hdl, ops, in rtl2832_sdr_probe() [all …]
|
D | au8522_priv.h | 70 struct v4l2_ctrl_handler hdl; member
|
/linux-4.1.27/drivers/media/i2c/soc_camera/ |
D | ov6650.c | 182 struct v4l2_ctrl_handler hdl; member 311 struct ov6650 *priv = container_of(ctrl->handler, struct ov6650, hdl); in ov6550_g_volatile_ctrl() 344 struct ov6650 *priv = container_of(ctrl->handler, struct ov6650, hdl); in ov6550_s_ctrl() 861 ret = v4l2_ctrl_handler_setup(&priv->hdl); in ov6650_video_probe() 973 v4l2_ctrl_handler_init(&priv->hdl, 13); in ov6650_probe() 974 v4l2_ctrl_new_std(&priv->hdl, &ov6550_ctrl_ops, in ov6650_probe() 976 v4l2_ctrl_new_std(&priv->hdl, &ov6550_ctrl_ops, in ov6650_probe() 978 priv->autogain = v4l2_ctrl_new_std(&priv->hdl, &ov6550_ctrl_ops, in ov6650_probe() 980 priv->gain = v4l2_ctrl_new_std(&priv->hdl, &ov6550_ctrl_ops, in ov6650_probe() 982 priv->autowb = v4l2_ctrl_new_std(&priv->hdl, &ov6550_ctrl_ops, in ov6650_probe() [all …]
|
D | mt9m001.c | 90 struct v4l2_ctrl_handler hdl; member 368 struct mt9m001, hdl); in mt9m001_g_volatile_ctrl() 385 struct mt9m001, hdl); in mt9m001_s_ctrl() 529 ret = v4l2_ctrl_handler_setup(&mt9m001->hdl); in mt9m001_video_probe() 659 v4l2_ctrl_handler_init(&mt9m001->hdl, 4); in mt9m001_probe() 660 v4l2_ctrl_new_std(&mt9m001->hdl, &mt9m001_ctrl_ops, in mt9m001_probe() 662 v4l2_ctrl_new_std(&mt9m001->hdl, &mt9m001_ctrl_ops, in mt9m001_probe() 664 mt9m001->exposure = v4l2_ctrl_new_std(&mt9m001->hdl, &mt9m001_ctrl_ops, in mt9m001_probe() 670 mt9m001->autoexposure = v4l2_ctrl_new_std_menu(&mt9m001->hdl, in mt9m001_probe() 673 mt9m001->subdev.ctrl_handler = &mt9m001->hdl; in mt9m001_probe() [all …]
|
D | mt9v022.c | 143 struct v4l2_ctrl_handler hdl; member 237 return v4l2_ctrl_handler_setup(&mt9v022->hdl); in mt9v022_init() 511 struct mt9v022, hdl); in mt9v022_g_volatile_ctrl() 555 struct mt9v022, hdl); in mt9v022_s_ctrl() 889 v4l2_ctrl_handler_init(&mt9v022->hdl, 6); in mt9v022_probe() 890 v4l2_ctrl_new_std(&mt9v022->hdl, &mt9v022_ctrl_ops, in mt9v022_probe() 892 v4l2_ctrl_new_std(&mt9v022->hdl, &mt9v022_ctrl_ops, in mt9v022_probe() 894 mt9v022->autogain = v4l2_ctrl_new_std(&mt9v022->hdl, &mt9v022_ctrl_ops, in mt9v022_probe() 896 mt9v022->gain = v4l2_ctrl_new_std(&mt9v022->hdl, &mt9v022_ctrl_ops, in mt9v022_probe() 903 mt9v022->autoexposure = v4l2_ctrl_new_std_menu(&mt9v022->hdl, in mt9v022_probe() [all …]
|
D | mt9t031.c | 72 struct v4l2_ctrl_handler hdl; member 430 struct mt9t031, hdl); in mt9t031_g_volatile_ctrl() 449 struct mt9t031, hdl); in mt9t031_s_ctrl() 644 ret = v4l2_ctrl_handler_setup(&mt9t031->hdl); in mt9t031_video_probe() 760 v4l2_ctrl_handler_init(&mt9t031->hdl, 5); in mt9t031_probe() 761 v4l2_ctrl_new_std(&mt9t031->hdl, &mt9t031_ctrl_ops, in mt9t031_probe() 763 v4l2_ctrl_new_std(&mt9t031->hdl, &mt9t031_ctrl_ops, in mt9t031_probe() 765 v4l2_ctrl_new_std(&mt9t031->hdl, &mt9t031_ctrl_ops, in mt9t031_probe() 772 mt9t031->autoexposure = v4l2_ctrl_new_std_menu(&mt9t031->hdl, in mt9t031_probe() 775 mt9t031->exposure = v4l2_ctrl_new_std(&mt9t031->hdl, &mt9t031_ctrl_ops, in mt9t031_probe() [all …]
|
D | ov9640.c | 272 struct ov9640_priv *priv = container_of(ctrl->handler, struct ov9640_priv, hdl); in ov9640_s_ctrl() 622 ret = v4l2_ctrl_handler_setup(&priv->hdl); in ov9640_video_probe() 696 v4l2_ctrl_handler_init(&priv->hdl, 2); in ov9640_probe() 697 v4l2_ctrl_new_std(&priv->hdl, &ov9640_ctrl_ops, in ov9640_probe() 699 v4l2_ctrl_new_std(&priv->hdl, &ov9640_ctrl_ops, in ov9640_probe() 701 priv->subdev.ctrl_handler = &priv->hdl; in ov9640_probe() 702 if (priv->hdl.error) in ov9640_probe() 703 return priv->hdl.error; in ov9640_probe() 715 v4l2_ctrl_handler_free(&priv->hdl); in ov9640_probe() 728 v4l2_ctrl_handler_free(&priv->hdl); in ov9640_remove()
|
D | ov9740.c | 198 struct v4l2_ctrl_handler hdl; member 759 container_of(ctrl->handler, struct ov9740_priv, hdl); in ov9740_s_ctrl() 882 ret = v4l2_ctrl_handler_setup(&priv->hdl); in ov9740_video_probe() 954 v4l2_ctrl_handler_init(&priv->hdl, 13); in ov9740_probe() 955 v4l2_ctrl_new_std(&priv->hdl, &ov9740_ctrl_ops, in ov9740_probe() 957 v4l2_ctrl_new_std(&priv->hdl, &ov9740_ctrl_ops, in ov9740_probe() 959 priv->subdev.ctrl_handler = &priv->hdl; in ov9740_probe() 960 if (priv->hdl.error) in ov9740_probe() 961 return priv->hdl.error; in ov9740_probe() 973 v4l2_ctrl_handler_free(&priv->hdl); in ov9740_probe() [all …]
|
D | mt9m111.c | 206 struct v4l2_ctrl_handler hdl; member 701 struct mt9m111, hdl); in mt9m111_s_ctrl() 745 v4l2_ctrl_handler_setup(&mt9m111->hdl); in mt9m111_restore_state() 919 ret = v4l2_ctrl_handler_setup(&mt9m111->hdl); in mt9m111_video_probe() 963 v4l2_ctrl_handler_init(&mt9m111->hdl, 5); in mt9m111_probe() 964 v4l2_ctrl_new_std(&mt9m111->hdl, &mt9m111_ctrl_ops, in mt9m111_probe() 966 v4l2_ctrl_new_std(&mt9m111->hdl, &mt9m111_ctrl_ops, in mt9m111_probe() 968 v4l2_ctrl_new_std(&mt9m111->hdl, &mt9m111_ctrl_ops, in mt9m111_probe() 970 mt9m111->gain = v4l2_ctrl_new_std(&mt9m111->hdl, &mt9m111_ctrl_ops, in mt9m111_probe() 972 v4l2_ctrl_new_std_menu(&mt9m111->hdl, in mt9m111_probe() [all …]
|
D | ov772x.c | 395 struct v4l2_ctrl_handler hdl; member 577 struct ov772x_priv, hdl); in ov772x_s_ctrl() 973 ret = v4l2_ctrl_handler_setup(&priv->hdl); in ov772x_video_probe() 1064 v4l2_ctrl_handler_init(&priv->hdl, 3); in ov772x_probe() 1065 v4l2_ctrl_new_std(&priv->hdl, &ov772x_ctrl_ops, in ov772x_probe() 1067 v4l2_ctrl_new_std(&priv->hdl, &ov772x_ctrl_ops, in ov772x_probe() 1069 v4l2_ctrl_new_std(&priv->hdl, &ov772x_ctrl_ops, in ov772x_probe() 1071 priv->subdev.ctrl_handler = &priv->hdl; in ov772x_probe() 1072 if (priv->hdl.error) in ov772x_probe() 1073 return priv->hdl.error; in ov772x_probe() [all …]
|
D | rj54n1cb0c.c | 153 struct v4l2_ctrl_handler hdl; member 1170 struct rj54n1 *rj54n1 = container_of(ctrl->handler, struct rj54n1, hdl); in rj54n1_s_ctrl() 1302 ret = v4l2_ctrl_handler_setup(&rj54n1->hdl); in rj54n1_video_probe() 1336 v4l2_ctrl_handler_init(&rj54n1->hdl, 4); in rj54n1_probe() 1337 v4l2_ctrl_new_std(&rj54n1->hdl, &rj54n1_ctrl_ops, in rj54n1_probe() 1339 v4l2_ctrl_new_std(&rj54n1->hdl, &rj54n1_ctrl_ops, in rj54n1_probe() 1341 v4l2_ctrl_new_std(&rj54n1->hdl, &rj54n1_ctrl_ops, in rj54n1_probe() 1343 v4l2_ctrl_new_std(&rj54n1->hdl, &rj54n1_ctrl_ops, in rj54n1_probe() 1345 rj54n1->subdev.ctrl_handler = &rj54n1->hdl; in rj54n1_probe() 1346 if (rj54n1->hdl.error) in rj54n1_probe() [all …]
|
D | ov2640.c | 285 struct v4l2_ctrl_handler hdl; member 690 &container_of(ctrl->handler, struct ov2640_priv, hdl)->subdev; in ov2640_s_ctrl() 998 ret = v4l2_ctrl_handler_setup(&priv->hdl); in ov2640_video_probe() 1146 v4l2_ctrl_handler_init(&priv->hdl, 2); in ov2640_probe() 1147 v4l2_ctrl_new_std(&priv->hdl, &ov2640_ctrl_ops, in ov2640_probe() 1149 v4l2_ctrl_new_std(&priv->hdl, &ov2640_ctrl_ops, in ov2640_probe() 1151 priv->subdev.ctrl_handler = &priv->hdl; in ov2640_probe() 1152 if (priv->hdl.error) { in ov2640_probe() 1153 ret = priv->hdl.error; in ov2640_probe() 1170 v4l2_ctrl_handler_free(&priv->hdl); in ov2640_probe() [all …]
|
D | ov9640.h | 201 struct v4l2_ctrl_handler hdl; member
|
/linux-4.1.27/drivers/media/common/saa7146/ |
D | saa7146_fops.c | 469 struct v4l2_ctrl_handler *hdl = &dev->ctrl_handler; in saa7146_vv_init() local 479 v4l2_ctrl_handler_init(hdl, 6); in saa7146_vv_init() 480 v4l2_ctrl_new_std(hdl, &saa7146_ctrl_ops, in saa7146_vv_init() 482 v4l2_ctrl_new_std(hdl, &saa7146_ctrl_ops, in saa7146_vv_init() 484 v4l2_ctrl_new_std(hdl, &saa7146_ctrl_ops, in saa7146_vv_init() 486 v4l2_ctrl_new_std(hdl, &saa7146_ctrl_ops, in saa7146_vv_init() 488 v4l2_ctrl_new_std(hdl, &saa7146_ctrl_ops, in saa7146_vv_init() 490 if (hdl->error) { in saa7146_vv_init() 491 err = hdl->error; in saa7146_vv_init() 492 v4l2_ctrl_handler_free(hdl); in saa7146_vv_init() [all …]
|
/linux-4.1.27/drivers/media/pci/saa7134/ |
D | saa7134-empress.c | 254 struct v4l2_ctrl_handler *hdl = &dev->empress_ctrl_handler; in empress_init() local 269 v4l2_ctrl_handler_init(hdl, 21); in empress_init() 270 v4l2_ctrl_add_handler(hdl, &dev->ctrl_handler, empress_ctrl_filter); in empress_init() 272 v4l2_ctrl_add_handler(hdl, dev->empress_sd->ctrl_handler, NULL); in empress_init() 273 if (hdl->error) { in empress_init() 275 return hdl->error; in empress_init() 277 dev->empress_dev->ctrl_handler = hdl; in empress_init()
|
D | saa7134-video.c | 2015 struct v4l2_ctrl_handler *hdl = &dev->ctrl_handler; in saa7134_video_init1() local 2026 v4l2_ctrl_handler_init(hdl, 11); in saa7134_video_init1() 2027 v4l2_ctrl_new_std(hdl, &saa7134_ctrl_ops, in saa7134_video_init1() 2029 v4l2_ctrl_new_std(hdl, &saa7134_ctrl_ops, in saa7134_video_init1() 2031 v4l2_ctrl_new_std(hdl, &saa7134_ctrl_ops, in saa7134_video_init1() 2033 v4l2_ctrl_new_std(hdl, &saa7134_ctrl_ops, in saa7134_video_init1() 2035 v4l2_ctrl_new_std(hdl, &saa7134_ctrl_ops, in saa7134_video_init1() 2037 v4l2_ctrl_new_std(hdl, &saa7134_ctrl_ops, in saa7134_video_init1() 2039 v4l2_ctrl_new_std(hdl, &saa7134_ctrl_ops, in saa7134_video_init1() 2041 v4l2_ctrl_new_custom(hdl, &saa7134_ctrl_invert, NULL); in saa7134_video_init1() [all …]
|
/linux-4.1.27/drivers/media/usb/cpia2/ |
D | cpia2_v4l.c | 641 container_of(ctrl->handler, struct camera_data, hdl); in cpia2_s_ctrl() 1095 v4l2_ctrl_handler_free(&cam->hdl); in cpia2_camera_release() 1111 struct v4l2_ctrl_handler *hdl = &cam->hdl; in cpia2_register_camera() local 1123 v4l2_ctrl_handler_init(hdl, 12); in cpia2_register_camera() 1124 v4l2_ctrl_new_std(hdl, &cpia2_ctrl_ops, in cpia2_register_camera() 1128 v4l2_ctrl_new_std(hdl, &cpia2_ctrl_ops, in cpia2_register_camera() 1130 v4l2_ctrl_new_std(hdl, &cpia2_ctrl_ops, in cpia2_register_camera() 1132 v4l2_ctrl_new_std(hdl, &cpia2_ctrl_ops, in cpia2_register_camera() 1134 v4l2_ctrl_new_std(hdl, &cpia2_ctrl_ops, in cpia2_register_camera() 1138 v4l2_ctrl_new_std(hdl, &cpia2_ctrl_ops, in cpia2_register_camera() [all …]
|
D | cpia2.h | 371 struct v4l2_ctrl_handler hdl; member
|
D | cpia2_usb.c | 924 v4l2_ctrl_handler_setup(&cam->hdl); in cpia2_usb_resume()
|
D | cpia2_core.c | 1552 v4l2_ctrl_handler_setup(&cam->hdl); in set_all_properties()
|
/linux-4.1.27/drivers/media/platform/ |
D | vim2m.c | 160 struct v4l2_ctrl_handler hdl; member 645 container_of(ctrl->handler, struct vim2m_ctx, hdl); in vim2m_s_ctrl() 877 struct v4l2_ctrl_handler *hdl; in vim2m_open() local 891 hdl = &ctx->hdl; in vim2m_open() 892 v4l2_ctrl_handler_init(hdl, 4); in vim2m_open() 893 v4l2_ctrl_new_std(hdl, &vim2m_ctrl_ops, V4L2_CID_HFLIP, 0, 1, 1, 0); in vim2m_open() 894 v4l2_ctrl_new_std(hdl, &vim2m_ctrl_ops, V4L2_CID_VFLIP, 0, 1, 1, 0); in vim2m_open() 895 v4l2_ctrl_new_custom(hdl, &vim2m_ctrl_trans_time_msec, NULL); in vim2m_open() 896 v4l2_ctrl_new_custom(hdl, &vim2m_ctrl_trans_num_bufs, NULL); in vim2m_open() 897 if (hdl->error) { in vim2m_open() [all …]
|
/linux-4.1.27/drivers/media/pci/tw68/ |
D | tw68-video.c | 551 container_of(ctrl->handler, struct tw68_dev, hdl); in tw68_s_ctrl() 935 struct v4l2_ctrl_handler *hdl = &dev->hdl; in tw68_video_init1() local 937 v4l2_ctrl_handler_init(hdl, 6); in tw68_video_init1() 938 v4l2_ctrl_new_std(hdl, &tw68_ctrl_ops, in tw68_video_init1() 940 v4l2_ctrl_new_std(hdl, &tw68_ctrl_ops, in tw68_video_init1() 942 v4l2_ctrl_new_std(hdl, &tw68_ctrl_ops, in tw68_video_init1() 945 v4l2_ctrl_new_std(hdl, &tw68_ctrl_ops, in tw68_video_init1() 947 v4l2_ctrl_new_std(hdl, &tw68_ctrl_ops, in tw68_video_init1() 949 v4l2_ctrl_new_std(hdl, &tw68_ctrl_ops, in tw68_video_init1() 951 if (hdl->error) { in tw68_video_init1() [all …]
|
D | tw68.h | 164 struct v4l2_ctrl_handler hdl; member
|
D | tw68-core.c | 368 v4l2_ctrl_handler_free(&dev->hdl); in tw68_finidev()
|
/linux-4.1.27/drivers/media/pci/cx18/ |
D | cx18-av-core.c | 266 v4l2_ctrl_handler_setup(&state->hdl); in cx18_av_initialize() 1327 v4l2_ctrl_handler_init(&state->hdl, 9); in cx18_av_probe() 1328 v4l2_ctrl_new_std(&state->hdl, &cx18_av_ctrl_ops, in cx18_av_probe() 1330 v4l2_ctrl_new_std(&state->hdl, &cx18_av_ctrl_ops, in cx18_av_probe() 1332 v4l2_ctrl_new_std(&state->hdl, &cx18_av_ctrl_ops, in cx18_av_probe() 1334 v4l2_ctrl_new_std(&state->hdl, &cx18_av_ctrl_ops, in cx18_av_probe() 1337 state->volume = v4l2_ctrl_new_std(&state->hdl, in cx18_av_probe() 1340 v4l2_ctrl_new_std(&state->hdl, in cx18_av_probe() 1343 v4l2_ctrl_new_std(&state->hdl, &cx18_av_audio_ctrl_ops, in cx18_av_probe() 1346 v4l2_ctrl_new_std(&state->hdl, &cx18_av_audio_ctrl_ops, in cx18_av_probe() [all …]
|
D | cx18-av-core.h | 99 struct v4l2_ctrl_handler hdl; member 353 return &container_of(ctrl->handler, struct cx18_av_state, hdl)->sd; in to_sd()
|
D | cx18-driver.c | 757 cx->v4l2_dev.ctrl_handler = &cx->cxhdl.hdl; in cx18_init_struct1() 1318 v4l2_ctrl_handler_free(&cx->av_state.hdl); in cx18_remove()
|
D | cx18-ioctl.c | 1041 v4l2_ctrl_handler_log_status(&cx->cxhdl.hdl, cx->v4l2_dev.name); in cx18_log_status()
|
/linux-4.1.27/drivers/media/radio/si470x/ |
D | radio-si470x-usb.c | 505 v4l2_ctrl_handler_free(&radio->hdl); in si470x_usb_release() 567 v4l2_ctrl_handler_setup(&radio->hdl); in si470x_start_usb() 666 v4l2_ctrl_handler_init(&radio->hdl, 2); in si470x_usb_driver_probe() 667 v4l2_ctrl_new_std(&radio->hdl, &si470x_ctrl_ops, in si470x_usb_driver_probe() 669 v4l2_ctrl_new_std(&radio->hdl, &si470x_ctrl_ops, in si470x_usb_driver_probe() 671 if (radio->hdl.error) { in si470x_usb_driver_probe() 672 retval = radio->hdl.error; in si470x_usb_driver_probe() 677 radio->videodev.ctrl_handler = &radio->hdl; in si470x_usb_driver_probe() 763 v4l2_ctrl_handler_free(&radio->hdl); in si470x_usb_driver_probe() 818 v4l2_ctrl_handler_setup(&radio->hdl); in si470x_usb_driver_resume()
|
D | radio-si470x.h | 149 struct v4l2_ctrl_handler hdl; member
|
D | radio-si470x-common.c | 558 container_of(ctrl->handler, struct si470x_device, hdl); in si470x_s_ctrl()
|
/linux-4.1.27/drivers/media/pci/solo6x10/ |
D | solo6x10-v4l2-enc.c | 1079 container_of(ctrl->handler, struct solo_enc_dev, hdl); in solo_s_ctrl() 1230 struct v4l2_ctrl_handler *hdl; in solo_enc_alloc() local 1237 hdl = &solo_enc->hdl; in solo_enc_alloc() 1243 v4l2_ctrl_handler_init(hdl, 10); in solo_enc_alloc() 1244 v4l2_ctrl_new_std(hdl, &solo_ctrl_ops, in solo_enc_alloc() 1246 v4l2_ctrl_new_std(hdl, &solo_ctrl_ops, in solo_enc_alloc() 1248 v4l2_ctrl_new_std(hdl, &solo_ctrl_ops, in solo_enc_alloc() 1250 v4l2_ctrl_new_std(hdl, &solo_ctrl_ops, in solo_enc_alloc() 1253 v4l2_ctrl_new_std(hdl, &solo_ctrl_ops, in solo_enc_alloc() 1255 v4l2_ctrl_new_std(hdl, &solo_ctrl_ops, in solo_enc_alloc() [all …]
|
D | solo6x10.h | 150 struct v4l2_ctrl_handler hdl; member
|
/linux-4.1.27/Documentation/video4linux/ |
D | v4l2-pci-skeleton.c | 766 struct v4l2_ctrl_handler *hdl; in skeleton_probe() local 807 hdl = &skel->ctrl_handler; in skeleton_probe() 808 v4l2_ctrl_handler_init(hdl, 4); in skeleton_probe() 809 v4l2_ctrl_new_std(hdl, &skel_ctrl_ops, in skeleton_probe() 811 v4l2_ctrl_new_std(hdl, &skel_ctrl_ops, in skeleton_probe() 813 v4l2_ctrl_new_std(hdl, &skel_ctrl_ops, in skeleton_probe() 815 v4l2_ctrl_new_std(hdl, &skel_ctrl_ops, in skeleton_probe() 817 if (hdl->error) { in skeleton_probe() 818 ret = hdl->error; in skeleton_probe() 821 skel->v4l2_dev.ctrl_handler = hdl; in skeleton_probe()
|
D | v4l2-controls.txt | 123 struct v4l2_ctrl *v4l2_ctrl_new_std(struct v4l2_ctrl_handler *hdl, 129 struct v4l2_ctrl *v4l2_ctrl_new_std_menu(struct v4l2_ctrl_handler *hdl, 137 struct v4l2_ctrl_handler *hdl, 144 struct v4l2_ctrl *v4l2_ctrl_new_int_menu(struct v4l2_ctrl_handler *hdl,
|
/linux-4.1.27/drivers/media/pci/cx25821/ |
D | cx25821-video.c | 509 container_of(ctrl->handler, struct cx25821_channel, hdl); in cx25821_s_ctrl() 681 v4l2_ctrl_handler_free(&dev->channels[chan_num].hdl); in cx25821_video_unregister() 698 struct v4l2_ctrl_handler *hdl = &chan->hdl; in cx25821_video_register() local 706 v4l2_ctrl_handler_init(hdl, 4); in cx25821_video_register() 707 v4l2_ctrl_new_std(hdl, &cx25821_ctrl_ops, in cx25821_video_register() 709 v4l2_ctrl_new_std(hdl, &cx25821_ctrl_ops, in cx25821_video_register() 711 v4l2_ctrl_new_std(hdl, &cx25821_ctrl_ops, in cx25821_video_register() 713 v4l2_ctrl_new_std(hdl, &cx25821_ctrl_ops, in cx25821_video_register() 715 if (hdl->error) { in cx25821_video_register() 716 err = hdl->error; in cx25821_video_register() [all …]
|
D | cx25821.h | 216 struct v4l2_ctrl_handler hdl; member
|
/linux-4.1.27/drivers/media/usb/airspy/ |
D | airspy.c | 145 struct v4l2_ctrl_handler hdl; member 871 v4l2_ctrl_handler_free(&s->hdl); in airspy_video_release() 950 struct airspy *s = container_of(ctrl->handler, struct airspy, hdl); in airspy_s_ctrl() 1046 v4l2_ctrl_handler_init(&s->hdl, 5); in airspy_probe() 1047 s->lna_gain_auto = v4l2_ctrl_new_std(&s->hdl, &airspy_ctrl_ops, in airspy_probe() 1049 s->lna_gain = v4l2_ctrl_new_std(&s->hdl, &airspy_ctrl_ops, in airspy_probe() 1052 s->mixer_gain_auto = v4l2_ctrl_new_std(&s->hdl, &airspy_ctrl_ops, in airspy_probe() 1054 s->mixer_gain = v4l2_ctrl_new_std(&s->hdl, &airspy_ctrl_ops, in airspy_probe() 1057 s->if_gain = v4l2_ctrl_new_std(&s->hdl, &airspy_ctrl_ops, in airspy_probe() 1059 if (s->hdl.error) { in airspy_probe() [all …]
|
/linux-4.1.27/drivers/media/usb/hackrf/ |
D | hackrf.c | 133 struct v4l2_ctrl_handler hdl; member 883 v4l2_ctrl_handler_free(&dev->hdl); in hackrf_video_release() 987 struct hackrf_dev, hdl); in hackrf_s_ctrl() 1080 v4l2_ctrl_handler_init(&dev->hdl, 4); in hackrf_probe() 1081 dev->bandwidth_auto = v4l2_ctrl_new_std(&dev->hdl, &hackrf_ctrl_ops, in hackrf_probe() 1083 dev->bandwidth = v4l2_ctrl_new_std(&dev->hdl, &hackrf_ctrl_ops, in hackrf_probe() 1087 dev->lna_gain = v4l2_ctrl_new_std(&dev->hdl, &hackrf_ctrl_ops, in hackrf_probe() 1089 dev->if_gain = v4l2_ctrl_new_std(&dev->hdl, &hackrf_ctrl_ops, in hackrf_probe() 1091 if (dev->hdl.error) { in hackrf_probe() 1092 ret = dev->hdl.error; in hackrf_probe() [all …]
|
/linux-4.1.27/drivers/media/usb/stkwebcam/ |
D | stk-webcam.c | 833 container_of(ctrl->handler, struct stk_camera, hdl); in stk_s_ctrl() 1280 struct v4l2_ctrl_handler *hdl; in stk_camera_probe() local 1300 hdl = &dev->hdl; in stk_camera_probe() 1301 v4l2_ctrl_handler_init(hdl, 3); in stk_camera_probe() 1302 v4l2_ctrl_new_std(hdl, &stk_ctrl_ops, in stk_camera_probe() 1304 v4l2_ctrl_new_std(hdl, &stk_ctrl_ops, in stk_camera_probe() 1306 v4l2_ctrl_new_std(hdl, &stk_ctrl_ops, in stk_camera_probe() 1308 if (hdl->error) { in stk_camera_probe() 1309 err = hdl->error; in stk_camera_probe() 1313 dev->v4l2_dev.ctrl_handler = hdl; in stk_camera_probe() [all …]
|
D | stk-webcam.h | 96 struct v4l2_ctrl_handler hdl; member
|
/linux-4.1.27/drivers/media/usb/em28xx/ |
D | em28xx-video.c | 2265 struct v4l2_ctrl_handler *hdl; in em28xx_v4l2_init() local 2298 hdl = &v4l2->ctrl_handler; in em28xx_v4l2_init() 2299 v4l2_ctrl_handler_init(hdl, 8); in em28xx_v4l2_init() 2300 v4l2->v4l2_dev.ctrl_handler = hdl; in em28xx_v4l2_init() 2383 v4l2_ctrl_new_std(hdl, &em28xx_ctrl_ops, in em28xx_v4l2_init() 2385 v4l2_ctrl_new_std(hdl, &em28xx_ctrl_ops, in em28xx_v4l2_init() 2389 v4l2_ctrl_notify(v4l2_ctrl_find(hdl, V4L2_CID_AUDIO_MUTE), in em28xx_v4l2_init() 2391 v4l2_ctrl_notify(v4l2_ctrl_find(hdl, V4L2_CID_AUDIO_VOLUME), in em28xx_v4l2_init() 2454 if (NULL == v4l2_ctrl_find(hdl, V4L2_CID_CONTRAST)) in em28xx_v4l2_init() 2455 v4l2_ctrl_new_std(hdl, &em28xx_ctrl_ops, in em28xx_v4l2_init() [all …]
|
/linux-4.1.27/drivers/media/pci/meye/ |
D | meye.c | 1719 v4l2_ctrl_handler_init(&meye.hdl, 3); in meye_probe() 1720 v4l2_ctrl_new_std(&meye.hdl, &meye_ctrl_ops, in meye_probe() 1722 v4l2_ctrl_new_std(&meye.hdl, &meye_ctrl_ops, in meye_probe() 1724 v4l2_ctrl_new_std(&meye.hdl, &meye_ctrl_ops, in meye_probe() 1726 v4l2_ctrl_new_std(&meye.hdl, &meye_ctrl_ops, in meye_probe() 1728 v4l2_ctrl_new_custom(&meye.hdl, &ctrl_agc, NULL); in meye_probe() 1729 v4l2_ctrl_new_std(&meye.hdl, &meye_ctrl_ops, in meye_probe() 1731 v4l2_ctrl_new_custom(&meye.hdl, &ctrl_picture, NULL); in meye_probe() 1732 v4l2_ctrl_new_std(&meye.hdl, &meye_ctrl_ops, in meye_probe() 1734 v4l2_ctrl_new_custom(&meye.hdl, &ctrl_framerate, NULL); in meye_probe() [all …]
|
D | meye.h | 294 struct v4l2_ctrl_handler hdl; member
|
/linux-4.1.27/arch/mips/alchemy/common/ |
D | irq.c | 669 irq_flow_handler_t hdl = NULL; in au1300_gpic_settype() local 675 hdl = handle_level_irq; in au1300_gpic_settype() 680 hdl = handle_level_irq; in au1300_gpic_settype() 685 hdl = handle_edge_irq; in au1300_gpic_settype() 690 hdl = handle_edge_irq; in au1300_gpic_settype() 695 hdl = handle_edge_irq; in au1300_gpic_settype() 700 hdl = handle_level_irq; in au1300_gpic_settype() 706 __irq_set_chip_handler_name_locked(d->irq, &au1300_gpic, hdl, name); in au1300_gpic_settype()
|
/linux-4.1.27/drivers/media/i2c/cx25840/ |
D | cx25840-core.h | 55 struct v4l2_ctrl_handler hdl; member 87 return &container_of(ctrl->handler, struct cx25840_state, hdl)->sd; in to_sd()
|
D | cx25840-core.c | 1941 v4l2_ctrl_handler_log_status(&state->hdl, sd->name); in cx25840_log_status() 5258 v4l2_ctrl_handler_init(&state->hdl, 9); in cx25840_probe() 5259 v4l2_ctrl_new_std(&state->hdl, &cx25840_ctrl_ops, in cx25840_probe() 5261 v4l2_ctrl_new_std(&state->hdl, &cx25840_ctrl_ops, in cx25840_probe() 5263 v4l2_ctrl_new_std(&state->hdl, &cx25840_ctrl_ops, in cx25840_probe() 5265 v4l2_ctrl_new_std(&state->hdl, &cx25840_ctrl_ops, in cx25840_probe() 5286 state->volume = v4l2_ctrl_new_std(&state->hdl, in cx25840_probe() 5289 state->mute = v4l2_ctrl_new_std(&state->hdl, in cx25840_probe() 5292 v4l2_ctrl_new_std(&state->hdl, &cx25840_audio_ctrl_ops, in cx25840_probe() 5295 v4l2_ctrl_new_std(&state->hdl, &cx25840_audio_ctrl_ops, in cx25840_probe() [all …]
|
/linux-4.1.27/drivers/media/usb/msi2500/ |
D | msi2500.c | 152 struct v4l2_ctrl_handler hdl; member 697 bandwidth_auto = v4l2_ctrl_find(&s->hdl, in msi2500_set_usb_adc() 700 bandwidth = v4l2_ctrl_find(&s->hdl, in msi2500_set_usb_adc() 1137 v4l2_ctrl_handler_free(&s->hdl); in msi2500_video_release() 1253 v4l2_ctrl_handler_init(&s->hdl, 0); in msi2500_probe() 1254 if (s->hdl.error) { in msi2500_probe() 1255 ret = s->hdl.error; in msi2500_probe() 1261 v4l2_ctrl_add_handler(&s->hdl, sd->ctrl_handler, NULL); in msi2500_probe() 1263 s->v4l2_dev.ctrl_handler = &s->hdl; in msi2500_probe() 1280 v4l2_ctrl_handler_free(&s->hdl); in msi2500_probe()
|
/linux-4.1.27/drivers/media/pci/ivtv/ |
D | ivtv-driver.c | 1030 itv->v4l2_dev.ctrl_handler = &itv->cxhdl.hdl; in ivtv_probe() 1226 struct v4l2_ctrl_handler *hdl = itv->v4l2_dev.ctrl_handler; in ivtv_probe() local 1228 itv->ctrl_pts = v4l2_ctrl_new_std(hdl, &ivtv_hdl_out_ops, in ivtv_probe() 1230 itv->ctrl_frame = v4l2_ctrl_new_std(hdl, &ivtv_hdl_out_ops, in ivtv_probe() 1235 v4l2_ctrl_new_std_menu(hdl, &ivtv_hdl_out_ops, in ivtv_probe() 1241 v4l2_ctrl_new_std_menu(hdl, &ivtv_hdl_out_ops, in ivtv_probe() 1246 if (hdl->error) { in ivtv_probe() 1247 retval = hdl->error; in ivtv_probe() 1291 v4l2_ctrl_handler_free(&itv->cxhdl.hdl); in ivtv_probe() 1450 v4l2_ctrl_handler_free(&itv->cxhdl.hdl); in ivtv_remove()
|
D | ivtv-controls.c | 132 struct ivtv *itv = container_of(ctrl->handler, struct ivtv, cxhdl.hdl); in ivtv_g_volatile_ctrl() 146 struct ivtv *itv = container_of(ctrl->handler, struct ivtv, cxhdl.hdl); in ivtv_s_ctrl()
|
D | ivtv-ioctl.c | 1584 v4l2_ctrl_handler_log_status(&itv->cxhdl.hdl, itv->v4l2_dev.name); in ivtv_log_status()
|
/linux-4.1.27/drivers/media/pci/bt8xx/ |
D | bttv-driver.c | 4021 struct v4l2_ctrl_handler *hdl; in bttv_probe() local 4080 hdl = &btv->ctrl_handler; in bttv_probe() 4081 v4l2_ctrl_handler_init(hdl, 20); in bttv_probe() 4082 btv->c.v4l2_dev.ctrl_handler = hdl; in bttv_probe() 4146 v4l2_ctrl_new_std(hdl, &bttv_ctrl_ops, in bttv_probe() 4148 v4l2_ctrl_new_std(hdl, &bttv_ctrl_ops, in bttv_probe() 4150 v4l2_ctrl_new_std(hdl, &bttv_ctrl_ops, in bttv_probe() 4152 v4l2_ctrl_new_std(hdl, &bttv_ctrl_ops, in bttv_probe() 4154 v4l2_ctrl_new_std(hdl, &bttv_ctrl_ops, in bttv_probe() 4156 v4l2_ctrl_new_std(hdl, &bttv_ctrl_ops, in bttv_probe() [all …]
|
/linux-4.1.27/drivers/media/platform/ti-vpe/ |
D | vpe.c | 377 struct v4l2_ctrl_handler hdl; member 1751 container_of(ctrl->handler, struct vpe_ctx, hdl); in vpe_s_ctrl() 1947 struct v4l2_ctrl_handler *hdl; in vpe_open() local 1986 hdl = &ctx->hdl; in vpe_open() 1987 v4l2_ctrl_handler_init(hdl, 1); in vpe_open() 1988 v4l2_ctrl_new_custom(hdl, &vpe_bufs_per_job, NULL); in vpe_open() 1989 if (hdl->error) { in vpe_open() 1990 ret = hdl->error; in vpe_open() 1993 ctx->fh.ctrl_handler = hdl; in vpe_open() 1994 v4l2_ctrl_handler_setup(hdl); in vpe_open() [all …]
|
/linux-4.1.27/drivers/media/pci/saa7146/ |
D | mxb.c | 232 struct v4l2_ctrl_handler *hdl = &dev->ctrl_handler; in mxb_probe() local 235 v4l2_ctrl_new_std(hdl, &mxb_ctrl_ops, in mxb_probe() 237 if (hdl->error) in mxb_probe() 238 return hdl->error; in mxb_probe() 282 v4l2_ctrl_handler_setup(hdl); in mxb_probe()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/ |
D | pub.h | 302 struct brcms_info *hdl, 305 struct brcms_info *hdl);
|
D | main.h | 285 struct brcms_info *hdl; member
|
D | main.c | 5216 wlc->modulecb[i].down_fn(wlc->modulecb[i].hdl); in brcms_c_down() 5598 const char *name, struct brcms_info *hdl, in brcms_c_module_register() argument 5609 wlc->modulecb[i].hdl = hdl; in brcms_c_module_register() 5620 struct brcms_info *hdl) in brcms_c_module_unregister() argument 5630 (wlc->modulecb[i].hdl == hdl)) { in brcms_c_module_unregister()
|
/linux-4.1.27/drivers/media/usb/s2255/ |
D | s2255drv.c | 219 struct v4l2_ctrl_handler hdl; member 1231 container_of(ctrl->handler, struct s2255_vc, hdl); in s2255_s_ctrl() 1587 v4l2_ctrl_handler_free(&vc->hdl); in s2255_video_device_release() 1633 v4l2_ctrl_handler_init(&vc->hdl, 6); in s2255_probe_v4l() 1634 v4l2_ctrl_new_std(&vc->hdl, &s2255_ctrl_ops, in s2255_probe_v4l() 1636 v4l2_ctrl_new_std(&vc->hdl, &s2255_ctrl_ops, in s2255_probe_v4l() 1638 v4l2_ctrl_new_std(&vc->hdl, &s2255_ctrl_ops, in s2255_probe_v4l() 1640 v4l2_ctrl_new_std(&vc->hdl, &s2255_ctrl_ops, in s2255_probe_v4l() 1642 vc->jpegqual_ctrl = v4l2_ctrl_new_std(&vc->hdl, in s2255_probe_v4l() 1648 v4l2_ctrl_new_custom(&vc->hdl, &color_filter_ctrl, in s2255_probe_v4l() [all …]
|
/linux-4.1.27/drivers/media/usb/zr364xx/ |
D | zr364xx.c | 1416 struct v4l2_ctrl_handler *hdl; in zr364xx_probe() local 1440 hdl = &cam->ctrl_handler; in zr364xx_probe() 1441 v4l2_ctrl_handler_init(hdl, 1); in zr364xx_probe() 1442 v4l2_ctrl_new_std(hdl, &zr364xx_ctrl_ops, in zr364xx_probe() 1444 if (hdl->error) { in zr364xx_probe() 1445 err = hdl->error; in zr364xx_probe() 1532 err = v4l2_ctrl_handler_setup(hdl); in zr364xx_probe() 1557 v4l2_ctrl_handler_free(hdl); in zr364xx_probe()
|
/linux-4.1.27/drivers/media/usb/cx231xx/ |
D | cx231xx-417.c | 1873 v4l2_ctrl_handler_free(&dev->mpeg_ctrl_handler.hdl); in cx231xx_417_unregister() 1925 vfd->ctrl_handler = &dev->mpeg_ctrl_handler.hdl; in cx231xx_video_dev_init() 1961 v4l2_ctrl_add_handler(&dev->mpeg_ctrl_handler.hdl, in cx231xx_417_register() 1963 if (dev->mpeg_ctrl_handler.hdl.error) { in cx231xx_417_register() 1964 err = dev->mpeg_ctrl_handler.hdl.error; in cx231xx_417_register() 1966 v4l2_ctrl_handler_free(&dev->mpeg_ctrl_handler.hdl); in cx231xx_417_register() 1981 v4l2_ctrl_handler_free(&dev->mpeg_ctrl_handler.hdl); in cx231xx_417_register()
|
/linux-4.1.27/drivers/media/pci/cx23885/ |
D | cx23885-core.c | 1949 struct v4l2_ctrl_handler *hdl; in cx23885_initdev() local 1960 hdl = &dev->ctrl_handler; in cx23885_initdev() 1961 v4l2_ctrl_handler_init(hdl, 6); in cx23885_initdev() 1962 if (hdl->error) { in cx23885_initdev() 1963 err = hdl->error; in cx23885_initdev() 1966 dev->v4l2_dev.ctrl_handler = hdl; in cx23885_initdev() 2036 v4l2_ctrl_handler_free(hdl); in cx23885_initdev()
|
D | cx23885-417.c | 1422 v4l2_ctrl_handler_log_status(&dev->cxhdl.hdl, name); in vidioc_log_status() 1482 v4l2_ctrl_handler_free(&dev->cxhdl.hdl); in cx23885_417_unregister() 1537 v4l2_ctrl_add_handler(&dev->ctrl_handler, &dev->cxhdl.hdl, NULL); in cx23885_417_register()
|
/linux-4.1.27/drivers/media/pci/cx88/ |
D | cx88-blackbird.c | 903 v4l2_ctrl_handler_log_status(&dev->cxhdl.hdl, name); in vidioc_log_status() 1114 dev->mpeg_dev.ctrl_handler = &dev->cxhdl.hdl; in blackbird_register_video() 1156 v4l2_ctrl_add_handler(&dev->cxhdl.hdl, &core->video_hdl, NULL); in cx8802_blackbird_probe() 1203 v4l2_ctrl_handler_free(&dev->cxhdl.hdl); in cx8802_blackbird_remove()
|
/linux-4.1.27/Documentation/fmc/ |
D | FMC-and-SDB.txt | 65 `git://ohwr.org/hdl-core-lib/fpga-config-space.git' and what is used in
|
/linux-4.1.27/arch/ia64/kernel/ |
D | perfmon.c | 6435 pfm_install_alt_pmu_interrupt(pfm_intr_handler_desc_t *hdl) in pfm_install_alt_pmu_interrupt() argument 6441 if (hdl == NULL || hdl->handler == NULL) return -EINVAL; in pfm_install_alt_pmu_interrupt() 6465 pfm_alt_intr_handler = hdl; in pfm_install_alt_pmu_interrupt() 6486 pfm_remove_alt_pmu_interrupt(pfm_intr_handler_desc_t *hdl) in pfm_remove_alt_pmu_interrupt() argument 6491 if (hdl == NULL) return -EINVAL; in pfm_remove_alt_pmu_interrupt() 6494 if (pfm_alt_intr_handler != hdl) return -EINVAL; in pfm_remove_alt_pmu_interrupt()
|
/linux-4.1.27/arch/x86/kernel/apic/ |
D | io_apic.c | 1196 irq_flow_handler_t hdl; in ioapic_register_intr() local 1211 hdl = fasteoi ? handle_fasteoi_irq : handle_edge_irq; in ioapic_register_intr() 1212 irq_set_chip_and_handler_name(irq, chip, hdl, in ioapic_register_intr()
|
/linux-4.1.27/Documentation/ |
D | devices.txt | 1132 64 = /dev/hdl Slave: whole disk (or CD-ROM)
|