/drivers/media/v4l2-core/ |
D | v4l2-ctrls-request.c | 19 void v4l2_ctrl_handler_init_request(struct v4l2_ctrl_handler *hdl) in v4l2_ctrl_handler_init_request() argument 21 INIT_LIST_HEAD(&hdl->requests); in v4l2_ctrl_handler_init_request() 22 INIT_LIST_HEAD(&hdl->requests_queued); in v4l2_ctrl_handler_init_request() 23 hdl->request_is_queued = false; in v4l2_ctrl_handler_init_request() 24 media_request_object_init(&hdl->req_obj); in v4l2_ctrl_handler_init_request() 28 void v4l2_ctrl_handler_free_request(struct v4l2_ctrl_handler *hdl) in v4l2_ctrl_handler_free_request() argument 39 if (hdl->req_obj.ops || list_empty(&hdl->requests)) in v4l2_ctrl_handler_free_request() 47 list_for_each_entry_safe(req, next_req, &hdl->requests, requests) { in v4l2_ctrl_handler_free_request() 53 static int v4l2_ctrl_request_clone(struct v4l2_ctrl_handler *hdl, in v4l2_ctrl_request_clone() argument 59 if (WARN_ON(!hdl || hdl == from)) in v4l2_ctrl_request_clone() [all …]
|
D | v4l2-ctrls-core.c | 940 static inline int handler_set_err(struct v4l2_ctrl_handler *hdl, int err) in handler_set_err() argument 942 if (hdl->error == 0) in handler_set_err() 943 hdl->error = err; in handler_set_err() 948 int v4l2_ctrl_handler_init_class(struct v4l2_ctrl_handler *hdl, in v4l2_ctrl_handler_init_class() argument 952 mutex_init(&hdl->_lock); in v4l2_ctrl_handler_init_class() 953 hdl->lock = &hdl->_lock; in v4l2_ctrl_handler_init_class() 954 lockdep_set_class_and_name(hdl->lock, key, name); in v4l2_ctrl_handler_init_class() 955 INIT_LIST_HEAD(&hdl->ctrls); in v4l2_ctrl_handler_init_class() 956 INIT_LIST_HEAD(&hdl->ctrl_refs); in v4l2_ctrl_handler_init_class() 957 hdl->nr_of_buckets = 1 + nr_of_controls_hint / 8; in v4l2_ctrl_handler_init_class() [all …]
|
D | v4l2-ctrls-api.c | 204 static int prepare_ext_ctrls(struct v4l2_ctrl_handler *hdl, in prepare_ext_ctrls() argument 241 ref = find_ref_lock(hdl, id); in prepare_ext_ctrls() 256 ref = find_ref_lock(hdl, ctrl->cluster[0]->id); in prepare_ext_ctrls() 299 mutex_lock(hdl->lock); in prepare_ext_ctrls() 327 mutex_unlock(hdl->lock); in prepare_ext_ctrls() 336 static int class_check(struct v4l2_ctrl_handler *hdl, u32 which) in class_check() argument 341 return find_ref_lock(hdl, which | 1) ? 0 : -EINVAL; in class_check() 351 int v4l2_g_ext_ctrls_common(struct v4l2_ctrl_handler *hdl, in v4l2_g_ext_ctrls_common() argument 367 if (!hdl) in v4l2_g_ext_ctrls_common() 371 return class_check(hdl, cs->which); in v4l2_g_ext_ctrls_common() [all …]
|
D | v4l2-ctrls-priv.h | 64 int handler_new_ref(struct v4l2_ctrl_handler *hdl, 68 struct v4l2_ctrl_ref *find_ref(struct v4l2_ctrl_handler *hdl, u32 id); 69 struct v4l2_ctrl_ref *find_ref_lock(struct v4l2_ctrl_handler *hdl, u32 id); 77 int v4l2_g_ext_ctrls_common(struct v4l2_ctrl_handler *hdl, 81 struct v4l2_ctrl_handler *hdl, 86 void v4l2_ctrl_handler_init_request(struct v4l2_ctrl_handler *hdl); 87 void v4l2_ctrl_handler_free_request(struct v4l2_ctrl_handler *hdl); 88 int v4l2_g_ext_ctrls_request(struct v4l2_ctrl_handler *hdl, struct video_device *vdev, 91 struct v4l2_ctrl_handler *hdl,
|
/drivers/staging/rtl8712/ |
D | rtl8712_io.c | 27 struct intf_hdl *hdl = &adapter->pio_queue->intf; in r8712_read8() local 29 return hdl->io_ops._read8(hdl, addr); in r8712_read8() 34 struct intf_hdl *hdl = &adapter->pio_queue->intf; in r8712_read16() local 36 return hdl->io_ops._read16(hdl, addr); in r8712_read16() 41 struct intf_hdl *hdl = &adapter->pio_queue->intf; in r8712_read32() local 43 return hdl->io_ops._read32(hdl, addr); in r8712_read32() 48 struct intf_hdl *hdl = &adapter->pio_queue->intf; in r8712_write8() local 50 hdl->io_ops._write8(hdl, addr, val); in r8712_write8() 55 struct intf_hdl *hdl = &adapter->pio_queue->intf; in r8712_write16() local 57 hdl->io_ops._write16(hdl, addr, val); in r8712_write16() [all …]
|
/drivers/media/common/ |
D | cx2341x.c | 1297 return container_of(ctrl->handler, struct cx2341x_handler, hdl); in to_cxhdl() 1300 static int cx2341x_hdl_api(struct cx2341x_handler *hdl, in cx2341x_hdl_api() argument 1312 return hdl->func(hdl->priv, cmd, args, 0, data); in cx2341x_hdl_api() 1323 struct cx2341x_handler *hdl = to_cxhdl(ctrl); in cx2341x_try_ctrl() local 1330 int gop = hdl->video_gop_size->val; in cx2341x_try_ctrl() 1337 hdl->video_gop_size->val = gop; in cx2341x_try_ctrl() 1343 hdl->video_encoding->val = in cx2341x_try_ctrl() 1344 (hdl->stream_type->val == V4L2_MPEG_STREAM_TYPE_MPEG1_SS || in cx2341x_try_ctrl() 1345 hdl->stream_type->val == V4L2_MPEG_STREAM_TYPE_MPEG1_VCD) ? in cx2341x_try_ctrl() 1348 if (hdl->video_encoding->val == V4L2_MPEG_VIDEO_ENCODING_MPEG_1) in cx2341x_try_ctrl() [all …]
|
/drivers/media/i2c/ |
D | tw9906.c | 20 struct v4l2_ctrl_handler hdl; member 111 struct tw9906 *dec = container_of(ctrl->handler, struct tw9906, hdl); in tw9906_s_ctrl() 165 struct v4l2_ctrl_handler *hdl; in tw9906_probe() local 179 hdl = &dec->hdl; in tw9906_probe() 180 v4l2_ctrl_handler_init(hdl, 4); in tw9906_probe() 181 v4l2_ctrl_new_std(hdl, &tw9906_ctrl_ops, in tw9906_probe() 183 v4l2_ctrl_new_std(hdl, &tw9906_ctrl_ops, in tw9906_probe() 185 v4l2_ctrl_new_std(hdl, &tw9906_ctrl_ops, in tw9906_probe() 187 sd->ctrl_handler = hdl; in tw9906_probe() 188 if (hdl->error) { in tw9906_probe() [all …]
|
D | tw9903.c | 29 struct v4l2_ctrl_handler hdl; member 141 struct tw9903 *dec = container_of(ctrl->handler, struct tw9903, hdl); in tw9903_s_ctrl() 197 struct v4l2_ctrl_handler *hdl; in tw9903_probe() local 211 hdl = &dec->hdl; in tw9903_probe() 212 v4l2_ctrl_handler_init(hdl, 4); in tw9903_probe() 213 v4l2_ctrl_new_std(hdl, &tw9903_ctrl_ops, in tw9903_probe() 215 v4l2_ctrl_new_std(hdl, &tw9903_ctrl_ops, in tw9903_probe() 217 v4l2_ctrl_new_std(hdl, &tw9903_ctrl_ops, in tw9903_probe() 219 sd->ctrl_handler = hdl; in tw9903_probe() 220 if (hdl->error) { in tw9903_probe() [all …]
|
D | saa6752hs.c | 83 struct v4l2_ctrl_handler hdl; member 361 container_of(ctrl->handler, struct saa6752hs_state, hdl); in saa6752hs_try_ctrl() 377 container_of(ctrl->handler, struct saa6752hs_state, hdl); in saa6752hs_s_ctrl() 667 struct v4l2_ctrl_handler *hdl; in saa6752hs_probe() local 690 hdl = &h->hdl; in saa6752hs_probe() 691 v4l2_ctrl_handler_init(hdl, 14); in saa6752hs_probe() 692 v4l2_ctrl_new_std_menu(hdl, &saa6752hs_ctrl_ops, in saa6752hs_probe() 698 v4l2_ctrl_new_std_menu(hdl, &saa6752hs_ctrl_ops, in saa6752hs_probe() 706 v4l2_ctrl_new_std_menu(hdl, &saa6752hs_ctrl_ops, in saa6752hs_probe() 713 v4l2_ctrl_new_std_menu(hdl, &saa6752hs_ctrl_ops, in saa6752hs_probe() [all …]
|
D | tlv320aic23b.c | 32 struct v4l2_ctrl_handler hdl; member 42 return &container_of(ctrl->handler, struct tlv320aic23b_state, hdl)->sd; in to_sd() 100 v4l2_ctrl_handler_log_status(&state->hdl, sd->name); in tlv320aic23b_log_status() 166 v4l2_ctrl_handler_init(&state->hdl, 1); in tlv320aic23b_probe() 167 v4l2_ctrl_new_std(&state->hdl, &tlv320aic23b_ctrl_ops, in tlv320aic23b_probe() 169 sd->ctrl_handler = &state->hdl; in tlv320aic23b_probe() 170 if (state->hdl.error) { in tlv320aic23b_probe() 171 int err = state->hdl.error; in tlv320aic23b_probe() 173 v4l2_ctrl_handler_free(&state->hdl); in tlv320aic23b_probe() 176 v4l2_ctrl_handler_setup(&state->hdl); in tlv320aic23b_probe() [all …]
|
D | wm8739.c | 42 struct v4l2_ctrl_handler hdl; member 59 return &container_of(ctrl->handler, struct wm8739_state, hdl)->sd; in to_sd() 154 v4l2_ctrl_handler_log_status(&state->hdl, sd->name); in wm8739_log_status() 199 v4l2_ctrl_handler_init(&state->hdl, 2); in wm8739_probe() 200 state->volume = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, in wm8739_probe() 202 state->mute = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, in wm8739_probe() 204 state->balance = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, in wm8739_probe() 206 sd->ctrl_handler = &state->hdl; in wm8739_probe() 207 if (state->hdl.error) { in wm8739_probe() 208 int err = state->hdl.error; in wm8739_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() 360 v4l2_ctrl_handler_init(&t->hdl, 5); in tda7432_probe() 361 v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe() 363 t->mute = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe() 365 t->balance = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe() 367 t->bass = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe() 369 t->treble = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe() 371 sd->ctrl_handler = &t->hdl; in tda7432_probe() [all …]
|
D | tw2804.c | 29 struct v4l2_ctrl_handler hdl; member 137 return container_of(ctrl->handler, struct tw2804, hdl); in to_state_from_ctrl() 366 v4l2_ctrl_handler_init(&state->hdl, 10); in tw2804_probe() 367 v4l2_ctrl_new_std(&state->hdl, &tw2804_ctrl_ops, in tw2804_probe() 369 v4l2_ctrl_new_std(&state->hdl, &tw2804_ctrl_ops, in tw2804_probe() 371 v4l2_ctrl_new_std(&state->hdl, &tw2804_ctrl_ops, in tw2804_probe() 373 v4l2_ctrl_new_std(&state->hdl, &tw2804_ctrl_ops, in tw2804_probe() 375 v4l2_ctrl_new_std(&state->hdl, &tw2804_ctrl_ops, in tw2804_probe() 377 v4l2_ctrl_new_std(&state->hdl, &tw2804_ctrl_ops, in tw2804_probe() 379 ctrl = v4l2_ctrl_new_std(&state->hdl, &tw2804_ctrl_ops, in tw2804_probe() [all …]
|
D | cs5345.c | 28 struct v4l2_ctrl_handler hdl; member 38 return &container_of(ctrl->handler, struct cs5345_state, hdl)->sd; in to_sd() 158 v4l2_ctrl_handler_init(&state->hdl, 2); in cs5345_probe() 159 v4l2_ctrl_new_std(&state->hdl, &cs5345_ctrl_ops, in cs5345_probe() 161 v4l2_ctrl_new_std(&state->hdl, &cs5345_ctrl_ops, in cs5345_probe() 163 sd->ctrl_handler = &state->hdl; in cs5345_probe() 164 if (state->hdl.error) { in cs5345_probe() 165 int err = state->hdl.error; in cs5345_probe() 167 v4l2_ctrl_handler_free(&state->hdl); in cs5345_probe() 171 v4l2_ctrl_handler_setup(&state->hdl); in cs5345_probe() [all …]
|
D | cs53l32a.c | 33 struct v4l2_ctrl_handler hdl; member 43 return &container_of(ctrl->handler, struct cs53l32a_state, hdl)->sd; in to_sd() 99 v4l2_ctrl_handler_log_status(&state->hdl, sd->name); in cs53l32a_log_status() 160 v4l2_ctrl_handler_init(&state->hdl, 2); in cs53l32a_probe() 161 v4l2_ctrl_new_std(&state->hdl, &cs53l32a_ctrl_ops, in cs53l32a_probe() 163 v4l2_ctrl_new_std(&state->hdl, &cs53l32a_ctrl_ops, in cs53l32a_probe() 165 sd->ctrl_handler = &state->hdl; in cs53l32a_probe() 166 if (state->hdl.error) { in cs53l32a_probe() 167 int err = state->hdl.error; in cs53l32a_probe() 169 v4l2_ctrl_handler_free(&state->hdl); in cs53l32a_probe() [all …]
|
D | ml86v7667.c | 87 struct v4l2_ctrl_handler hdl; member 98 return &container_of(ctrl->handler, struct ml86v7667_priv, hdl)->sd; in to_sd() 376 v4l2_ctrl_handler_init(&priv->hdl, 8); in ml86v7667_probe() 377 v4l2_ctrl_new_std(&priv->hdl, &ml86v7667_ctrl_ops, in ml86v7667_probe() 379 v4l2_ctrl_new_std(&priv->hdl, &ml86v7667_ctrl_ops, in ml86v7667_probe() 381 v4l2_ctrl_new_std(&priv->hdl, &ml86v7667_ctrl_ops, in ml86v7667_probe() 383 v4l2_ctrl_new_std(&priv->hdl, &ml86v7667_ctrl_ops, in ml86v7667_probe() 385 v4l2_ctrl_new_std(&priv->hdl, &ml86v7667_ctrl_ops, in ml86v7667_probe() 387 v4l2_ctrl_new_std(&priv->hdl, &ml86v7667_ctrl_ops, in ml86v7667_probe() 389 v4l2_ctrl_new_std(&priv->hdl, &ml86v7667_ctrl_ops, in ml86v7667_probe() [all …]
|
D | wm8775.c | 45 struct v4l2_ctrl_handler hdl; member 60 return &container_of(ctrl->handler, struct wm8775_state, hdl)->sd; in to_sd() 150 v4l2_ctrl_handler_log_status(&state->hdl, sd->name); in wm8775_log_status() 220 v4l2_ctrl_handler_init(&state->hdl, 4); in wm8775_probe() 221 state->mute = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops, in wm8775_probe() 223 state->vol = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops, in wm8775_probe() 225 state->bal = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops, in wm8775_probe() 227 state->loud = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops, in wm8775_probe() 229 sd->ctrl_handler = &state->hdl; in wm8775_probe() 230 err = state->hdl.error; in wm8775_probe() [all …]
|
D | lm3646.c | 206 struct v4l2_ctrl_handler *hdl = &flash->ctrls_led; in lm3646_init_controls() local 209 v4l2_ctrl_handler_init(hdl, 8); in lm3646_init_controls() 211 v4l2_ctrl_new_std_menu(hdl, ops, V4L2_CID_FLASH_LED_MODE, in lm3646_init_controls() 216 v4l2_ctrl_new_std_menu(hdl, ops, V4L2_CID_FLASH_STROBE_SOURCE, in lm3646_init_controls() 220 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_STROBE, 0, 0, 0, 0); in lm3646_init_controls() 222 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_STROBE_STOP, 0, 0, 0, 0); in lm3646_init_controls() 225 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_TIMEOUT, in lm3646_init_controls() 231 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_INTENSITY, in lm3646_init_controls() 238 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_TORCH_INTENSITY, in lm3646_init_controls() 245 fault = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_FAULT, 0, in lm3646_init_controls() [all …]
|
D | vs6624.c | 29 struct v4l2_ctrl_handler hdl; member 479 return &container_of(ctrl->handler, struct vs6624, hdl)->sd; in to_sd() 746 struct v4l2_ctrl_handler *hdl; in vs6624_probe() local 801 hdl = &sensor->hdl; in vs6624_probe() 802 v4l2_ctrl_handler_init(hdl, 4); in vs6624_probe() 803 v4l2_ctrl_new_std(hdl, &vs6624_ctrl_ops, in vs6624_probe() 805 v4l2_ctrl_new_std(hdl, &vs6624_ctrl_ops, in vs6624_probe() 807 v4l2_ctrl_new_std(hdl, &vs6624_ctrl_ops, in vs6624_probe() 809 v4l2_ctrl_new_std(hdl, &vs6624_ctrl_ops, in vs6624_probe() 812 sd->ctrl_handler = hdl; in vs6624_probe() [all …]
|
D | saa717x.c | 45 struct v4l2_ctrl_handler hdl; member 70 return &container_of(ctrl->handler, struct saa717x_state, hdl)->sd; in to_sd() 1179 v4l2_ctrl_handler_log_status(&state->hdl, sd->name); in saa717x_log_status() 1235 struct v4l2_ctrl_handler *hdl; in saa717x_probe() local 1271 hdl = &decoder->hdl; in saa717x_probe() 1272 v4l2_ctrl_handler_init(hdl, 9); in saa717x_probe() 1274 v4l2_ctrl_new_std(hdl, &saa717x_ctrl_ops, in saa717x_probe() 1276 v4l2_ctrl_new_std(hdl, &saa717x_ctrl_ops, in saa717x_probe() 1278 v4l2_ctrl_new_std(hdl, &saa717x_ctrl_ops, in saa717x_probe() 1280 v4l2_ctrl_new_std(hdl, &saa717x_ctrl_ops, in saa717x_probe() [all …]
|
/drivers/media/i2c/s5c73m3/ |
D | s5c73m3-ctrls.c | 447 struct v4l2_ctrl_handler *hdl = &ctrls->handler; in s5c73m3_init_controls() local 449 int ret = v4l2_ctrl_handler_init(hdl, 22); in s5c73m3_init_controls() 454 ctrls->auto_wb = v4l2_ctrl_new_std_menu(hdl, ops, in s5c73m3_init_controls() 459 ctrls->auto_exposure = v4l2_ctrl_new_std_menu(hdl, ops, in s5c73m3_init_controls() 462 ctrls->exposure_bias = v4l2_ctrl_new_int_menu(hdl, ops, in s5c73m3_init_controls() 468 ctrls->exposure_metering = v4l2_ctrl_new_std_menu(hdl, ops, in s5c73m3_init_controls() 473 ctrls->focus_auto = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls() 476 ctrls->af_start = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls() 479 ctrls->af_stop = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls() 482 ctrls->af_status = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls() [all …]
|
/drivers/media/radio/ |
D | radio-keene.c | 52 struct v4l2_ctrl_handler hdl; member 235 container_of(ctrl->handler, struct keene_device, hdl); in keene_s_ctrl() 288 v4l2_ctrl_handler_free(&radio->hdl); in usb_keene_video_device_release() 299 struct v4l2_ctrl_handler *hdl; in usb_keene_probe() local 325 hdl = &radio->hdl; in usb_keene_probe() 326 v4l2_ctrl_handler_init(hdl, 4); in usb_keene_probe() 327 v4l2_ctrl_new_std(hdl, &keene_ctrl_ops, V4L2_CID_AUDIO_MUTE, in usb_keene_probe() 329 v4l2_ctrl_new_std_menu(hdl, &keene_ctrl_ops, V4L2_CID_TUNE_PREEMPHASIS, in usb_keene_probe() 331 v4l2_ctrl_new_std(hdl, &keene_ctrl_ops, V4L2_CID_TUNE_POWER_LEVEL, in usb_keene_probe() 333 v4l2_ctrl_new_std(hdl, &keene_ctrl_ops, V4L2_CID_AUDIO_COMPRESSION_GAIN, in usb_keene_probe() [all …]
|
/drivers/media/usb/pwc/ |
D | pwc-v4l.c | 152 struct v4l2_ctrl_handler *hdl; in pwc_init_controls() local 156 hdl = &pdev->ctrl_handler; in pwc_init_controls() 157 r = v4l2_ctrl_handler_init(hdl, 20); in pwc_init_controls() 165 pdev->brightness = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops, in pwc_init_controls() 171 pdev->contrast = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops, in pwc_init_controls() 183 pdev->saturation = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops, in pwc_init_controls() 190 pdev->gamma = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops, in pwc_init_controls() 200 pdev->auto_white_balance = v4l2_ctrl_new_custom(hdl, &cfg, NULL); in pwc_init_controls() 203 return hdl->error; in pwc_init_controls() 209 pdev->red_balance = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops, in pwc_init_controls() [all …]
|
/drivers/media/test-drivers/vimc/ |
D | vimc-sensor.c | 32 struct v4l2_ctrl_handler hdl; member 299 container_of(ctrl->handler, struct vimc_sen_device, hdl); in vimc_sen_s_ctrl() 341 v4l2_ctrl_handler_free(&vsen->hdl); in vimc_sen_release() 392 v4l2_ctrl_handler_init(&vsen->hdl, 4); in vimc_sen_add() 394 v4l2_ctrl_new_custom(&vsen->hdl, &vimc_sen_ctrl_class, NULL); in vimc_sen_add() 395 v4l2_ctrl_new_custom(&vsen->hdl, &vimc_sen_ctrl_test_pattern, NULL); in vimc_sen_add() 396 v4l2_ctrl_new_custom(&vsen->hdl, &vimc_sen_ctrl_osd_mode, NULL); in vimc_sen_add() 397 v4l2_ctrl_new_std(&vsen->hdl, &vimc_sen_ctrl_ops, in vimc_sen_add() 399 v4l2_ctrl_new_std(&vsen->hdl, &vimc_sen_ctrl_ops, in vimc_sen_add() 401 v4l2_ctrl_new_std(&vsen->hdl, &vimc_sen_ctrl_ops, in vimc_sen_add() [all …]
|
/drivers/media/radio/si4713/ |
D | si4713.c | 1433 struct v4l2_ctrl_handler *hdl; in si4713_probe() local 1479 hdl = &sdev->ctrl_handler; in si4713_probe() 1480 v4l2_ctrl_handler_init(hdl, 20); in si4713_probe() 1481 sdev->mute = v4l2_ctrl_new_std(hdl, &si4713_ctrl_ops, in si4713_probe() 1484 sdev->rds_pi = v4l2_ctrl_new_std(hdl, &si4713_ctrl_ops, in si4713_probe() 1486 sdev->rds_pty = v4l2_ctrl_new_std(hdl, &si4713_ctrl_ops, in si4713_probe() 1488 sdev->rds_compressed = v4l2_ctrl_new_std(hdl, &si4713_ctrl_ops, in si4713_probe() 1490 sdev->rds_art_head = v4l2_ctrl_new_std(hdl, &si4713_ctrl_ops, in si4713_probe() 1492 sdev->rds_stereo = v4l2_ctrl_new_std(hdl, &si4713_ctrl_ops, in si4713_probe() 1494 sdev->rds_tp = v4l2_ctrl_new_std(hdl, &si4713_ctrl_ops, in si4713_probe() [all …]
|