| /linux/drivers/virtio/ |
| H A D | virtio_rtc_driver.c | 492 #define VIORTC_DECLARE_MSG_HDL_ONSTACK(hdl, msg_id, msg_req, msg_resp) \ argument 500 } hdl = { \ 510 #define VIORTC_MSG(hdl) ((hdl).msg) argument 520 #define VIORTC_MSG_INIT(hdl, viortc) \ argument 522 typeof(hdl) *_hdl = &(hdl); \ 541 #define VIORTC_MSG_WRITE(hdl, dest_member, src_ptr) \ argument 543 typeof(hdl) _hdl = (hdl); \ 562 #define VIORTC_MSG_READ(hdl, src_member, dest_ptr) \ argument 567 typecheck(typeof(virtio_le_to_cpu((hdl).resp->src_member)), \ 570 *_dest_ptr = virtio_le_to_cpu((hdl).resp->src_member); \ [all …]
|
| /linux/drivers/media/i2c/s5c73m3/ |
| H A D | s5c73m3-ctrls.c | 445 struct v4l2_ctrl_handler *hdl = &ctrls->handler; in s5c73m3_init_controls() local 447 int ret = v4l2_ctrl_handler_init(hdl, 22); in s5c73m3_init_controls() 452 ctrls->auto_wb = v4l2_ctrl_new_std_menu(hdl, ops, in s5c73m3_init_controls() 457 ctrls->auto_exposure = v4l2_ctrl_new_std_menu(hdl, ops, in s5c73m3_init_controls() 460 ctrls->exposure_bias = v4l2_ctrl_new_int_menu(hdl, ops, in s5c73m3_init_controls() 466 ctrls->exposure_metering = v4l2_ctrl_new_std_menu(hdl, ops, in s5c73m3_init_controls() 471 ctrls->focus_auto = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls() 474 ctrls->af_start = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls() 477 ctrls->af_stop = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls() 480 ctrls->af_status = v4l2_ctrl_new_std(hdl, ops, in s5c73m3_init_controls() [all …]
|
| /linux/drivers/media/test-drivers/vimc/ |
| H A D | vimc-lens.c | 20 struct v4l2_ctrl_handler hdl; member 37 container_of(ctrl->handler, struct vimc_lens_device, hdl); in vimc_lens_s_ctrl() 61 v4l2_ctrl_handler_init(&vlens->hdl, 1); in vimc_lens_add() 63 v4l2_ctrl_new_std(&vlens->hdl, &vimc_lens_ctrl_ops, in vimc_lens_add() 66 vlens->sd.ctrl_handler = &vlens->hdl; in vimc_lens_add() 67 if (vlens->hdl.error) { in vimc_lens_add() 68 ret = vlens->hdl.error; in vimc_lens_add() 82 v4l2_ctrl_handler_free(&vlens->hdl); in vimc_lens_add() 94 v4l2_ctrl_handler_free(&vlens->hdl); in vimc_lens_release()
|
| /linux/drivers/media/v4l2-core/ |
| H A D | v4l2-ctrls-api.c | 229 static int prepare_ext_ctrls(struct v4l2_ctrl_handler *hdl, in prepare_ext_ctrls() argument 266 ref = find_ref_lock(hdl, id); in prepare_ext_ctrls() 290 ref = find_ref_lock(hdl, ctrl->cluster[0]->id); in prepare_ext_ctrls() 357 mutex_lock(hdl->lock); in prepare_ext_ctrls() 385 mutex_unlock(hdl->lock); in prepare_ext_ctrls() 394 static int class_check(struct v4l2_ctrl_handler *hdl, u32 which) in class_check() argument 399 return find_ref_lock(hdl, which | 1) ? 0 : -EINVAL; in class_check() 409 int v4l2_g_ext_ctrls_common(struct v4l2_ctrl_handler *hdl, in v4l2_g_ext_ctrls_common() argument 427 if (!hdl) in v4l2_g_ext_ctrls_common() 431 return class_check(hdl, cs->which); in v4l2_g_ext_ctrls_common() [all …]
|
| /linux/drivers/media/radio/ |
| H A 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 …]
|
| H A D | radio-sf16fmi.c | 50 struct v4l2_ctrl_handler hdl; member 192 struct fmi *fmi = container_of(ctrl->handler, struct fmi, hdl); in fmi_s_ctrl() 276 struct v4l2_ctrl_handler *hdl = &fmi->hdl; in fmi_init() local 329 v4l2_ctrl_handler_init(hdl, 1); in fmi_init() 330 v4l2_ctrl_new_std(hdl, &fmi_ctrl_ops, in fmi_init() 332 v4l2_dev->ctrl_handler = hdl; in fmi_init() 333 if (hdl->error) { in fmi_init() 334 res = hdl->error; in fmi_init() 336 v4l2_ctrl_handler_free(hdl); in fmi_init() 357 v4l2_ctrl_handler_free(hdl); in fmi_init() [all …]
|
| /linux/drivers/media/usb/pwc/ |
| H A 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 …]
|
| /linux/drivers/media/platform/st/sti/delta/ |
| H A D | delta-ipc.h | 40 struct delta_buf **ipc_buf, void **hdl); 50 int delta_ipc_set_stream(void *hdl, struct delta_ipc_param *param); 67 int delta_ipc_decode(void *hdl, struct delta_ipc_param *param, 74 void delta_ipc_close(void *hdl);
|
| H A D | delta-ipc.c | 26 #define to_ctx(hdl) ((struct delta_ipc_ctx *)hdl) argument 112 struct delta_buf **ipc_buf, void **hdl) in delta_ipc_open() argument 216 *hdl = (void *)ctx; in delta_ipc_open() 228 int delta_ipc_set_stream(void *hdl, struct delta_ipc_param *param) in delta_ipc_set_stream() argument 230 struct delta_ipc_ctx *ctx = to_ctx(hdl); in delta_ipc_set_stream() 237 if (!hdl) { in delta_ipc_set_stream() 318 int delta_ipc_decode(void *hdl, struct delta_ipc_param *param, in delta_ipc_decode() argument 321 struct delta_ipc_ctx *ctx = to_ctx(hdl); in delta_ipc_decode() 328 if (!hdl) { in delta_ipc_decode() 432 void delta_ipc_close(void *hdl) in delta_ipc_close() argument [all …]
|
| /linux/drivers/media/tuners/ |
| H A D | msi001.c | 35 struct v4l2_ctrl_handler hdl; member 381 struct msi001_dev *dev = container_of(ctrl->handler, struct msi001_dev, hdl); in msi001_s_ctrl() 440 v4l2_ctrl_handler_init(&dev->hdl, 5); in msi001_probe() 441 dev->bandwidth_auto = v4l2_ctrl_new_std(&dev->hdl, &msi001_ctrl_ops, in msi001_probe() 443 dev->bandwidth = v4l2_ctrl_new_std(&dev->hdl, &msi001_ctrl_ops, in msi001_probe() 445 if (dev->hdl.error) { in msi001_probe() 446 ret = dev->hdl.error; in msi001_probe() 453 dev->lna_gain = v4l2_ctrl_new_std(&dev->hdl, &msi001_ctrl_ops, in msi001_probe() 455 dev->mixer_gain = v4l2_ctrl_new_std(&dev->hdl, &msi001_ctrl_ops, in msi001_probe() 457 dev->if_gain = v4l2_ctrl_new_std(&dev->hdl, &msi001_ctrl_ops, in msi001_probe() [all …]
|
| /linux/drivers/media/usb/gspca/ |
| H A D | mars.c | 193 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 195 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 196 v4l2_ctrl_handler_init(hdl, 6); in sd_init_controls() 197 sd->brightness = v4l2_ctrl_new_std(hdl, &mars_ctrl_ops, in sd_init_controls() 199 sd->saturation = v4l2_ctrl_new_std(hdl, &mars_ctrl_ops, in sd_init_controls() 201 sd->gamma = v4l2_ctrl_new_std(hdl, &mars_ctrl_ops, in sd_init_controls() 203 sd->sharpness = v4l2_ctrl_new_std(hdl, &mars_ctrl_ops, in sd_init_controls() 205 sd->illum_top = v4l2_ctrl_new_std(hdl, &mars_ctrl_ops, in sd_init_controls() 208 sd->illum_bottom = v4l2_ctrl_new_std(hdl, &mars_ctrl_ops, in sd_init_controls() 211 if (hdl->error) { in sd_init_controls() [all …]
|
| H A D | spca561.c | 791 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls_12a() local 793 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls_12a() 794 v4l2_ctrl_handler_init(hdl, 3); in sd_init_controls_12a() 795 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls_12a() 797 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls_12a() 799 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls_12a() 801 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls_12a() 804 if (hdl->error) { in sd_init_controls_12a() 806 return hdl->error; in sd_init_controls_12a() 814 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls_72a() local [all …]
|
| H A D | spca501.c | 1969 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 1971 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 1972 v4l2_ctrl_handler_init(hdl, 5); in sd_init_controls() 1973 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1975 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1977 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1979 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1981 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 1984 if (hdl->error) { in sd_init_controls() 1986 return hdl->error; in sd_init_controls()
|
| H A D | pac7302.c | 634 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 636 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 637 v4l2_ctrl_handler_init(hdl, 12); in sd_init_controls() 639 sd->brightness = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 641 sd->contrast = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 644 sd->saturation = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 646 sd->white_balance = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 649 sd->red_balance = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 654 sd->blue_balance = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 660 gspca_dev->autogain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() [all …]
|
| H A D | dtcs033.c | 218 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in dtcs033_init_controls() local 221 gspca_dev->vdev.ctrl_handler = hdl; in dtcs033_init_controls() 222 v4l2_ctrl_handler_init(hdl, 2); in dtcs033_init_controls() 224 sd->exposure = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in dtcs033_init_controls() 227 sd->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in dtcs033_init_controls() 230 if (hdl->error) { in dtcs033_init_controls() 232 hdl->error); in dtcs033_init_controls() 233 return hdl->error; in dtcs033_init_controls()
|
| H A D | spca1528.c | 373 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 375 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 376 v4l2_ctrl_handler_init(hdl, 5); in sd_init_controls() 377 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 379 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 381 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 383 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 385 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 388 if (hdl->error) { in sd_init_controls() 390 return hdl->error; in sd_init_controls()
|
| H A D | t613.c | 948 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, 12); in sd_init_controls() 952 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 954 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 956 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 958 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() 965 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 967 sd->awb = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() [all …]
|
| H A D | jeilinj.c | 430 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 441 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 442 v4l2_ctrl_handler_init(hdl, 6); in sd_init_controls() 443 sd->freq = v4l2_ctrl_new_std_menu(hdl, &sd_ctrl_ops, in sd_init_controls() 447 v4l2_ctrl_new_custom(hdl, &custom_autogain, NULL); in sd_init_controls() 448 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 450 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 452 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 454 sd->jpegqual = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 458 if (hdl->error) { in sd_init_controls() [all …]
|
| /linux/drivers/media/usb/gspca/stv06xx/ |
| H A D | stv06xx_st6422.c | 89 struct v4l2_ctrl_handler *hdl = &sd->gspca_dev.ctrl_handler; in st6422_init_controls() local 91 v4l2_ctrl_handler_init(hdl, 4); in st6422_init_controls() 92 v4l2_ctrl_new_std(hdl, &st6422_ctrl_ops, in st6422_init_controls() 94 v4l2_ctrl_new_std(hdl, &st6422_ctrl_ops, in st6422_init_controls() 96 v4l2_ctrl_new_std(hdl, &st6422_ctrl_ops, in st6422_init_controls() 98 v4l2_ctrl_new_std(hdl, &st6422_ctrl_ops, in st6422_init_controls() 101 return hdl->error; in st6422_init_controls()
|
| H A D | stv06xx_pb0100.c | 108 struct v4l2_ctrl_handler *hdl = &sd->gspca_dev.ctrl_handler; in pb0100_init_controls() local 133 v4l2_ctrl_handler_init(hdl, 6); in pb0100_init_controls() 134 ctrls->autogain = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops, in pb0100_init_controls() 136 ctrls->exposure = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops, in pb0100_init_controls() 138 ctrls->gain = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops, in pb0100_init_controls() 140 ctrls->red = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops, in pb0100_init_controls() 142 ctrls->blue = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops, in pb0100_init_controls() 144 ctrls->natural = v4l2_ctrl_new_custom(hdl, &natural_light, NULL); in pb0100_init_controls() 145 ctrls->target = v4l2_ctrl_new_custom(hdl, &autogain_target, NULL); in pb0100_init_controls() 146 if (hdl->error) { in pb0100_init_controls() [all …]
|
| /linux/drivers/media/usb/gspca/gl860/ |
| H A D | gl860.c | 106 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 108 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 109 v4l2_ctrl_handler_init(hdl, 11); in sd_init_controls() 112 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, V4L2_CID_BRIGHTNESS, in sd_init_controls() 117 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, V4L2_CID_CONTRAST, in sd_init_controls() 122 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, V4L2_CID_SATURATION, in sd_init_controls() 127 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, V4L2_CID_HUE, in sd_init_controls() 131 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, V4L2_CID_GAMMA, in sd_init_controls() 135 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, V4L2_CID_HFLIP, in sd_init_controls() 139 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, V4L2_CID_VFLIP, in sd_init_controls() [all …]
|
| /linux/drivers/media/usb/hdpvr/ |
| H A D | hdpvr-video.c | 885 container_of(ctrl->handler, struct hdpvr_device, hdl); in hdpvr_try_ctrl() 901 container_of(ctrl->handler, struct hdpvr_device, hdl); in hdpvr_s_ctrl() 1138 v4l2_ctrl_handler_free(&dev->hdl); in hdpvr_device_release() 1168 struct v4l2_ctrl_handler *hdl = &dev->hdl; in hdpvr_register_videodev() local 1179 v4l2_ctrl_handler_init(hdl, 11); in hdpvr_register_videodev() 1181 v4l2_ctrl_new_std(hdl, &hdpvr_ctrl_ops, in hdpvr_register_videodev() 1183 v4l2_ctrl_new_std(hdl, &hdpvr_ctrl_ops, in hdpvr_register_videodev() 1185 v4l2_ctrl_new_std(hdl, &hdpvr_ctrl_ops, in hdpvr_register_videodev() 1187 v4l2_ctrl_new_std(hdl, &hdpvr_ctrl_ops, in hdpvr_register_videodev() 1189 v4l2_ctrl_new_std(hdl, &hdpvr_ctrl_ops, in hdpvr_register_videodev() [all …]
|
| /linux/drivers/media/usb/gspca/m5602/ |
| H A D | m5602_po1030.c | 239 struct v4l2_ctrl_handler *hdl = &sd->gspca_dev.ctrl_handler; in po1030_init_controls() local 241 sd->gspca_dev.vdev.ctrl_handler = hdl; in po1030_init_controls() 242 v4l2_ctrl_handler_init(hdl, 9); in po1030_init_controls() 244 sd->auto_white_bal = v4l2_ctrl_new_std(hdl, &po1030_ctrl_ops, in po1030_init_controls() 247 sd->green_bal = v4l2_ctrl_new_custom(hdl, &po1030_greenbal_cfg, NULL); in po1030_init_controls() 248 sd->red_bal = v4l2_ctrl_new_std(hdl, &po1030_ctrl_ops, in po1030_init_controls() 251 sd->blue_bal = v4l2_ctrl_new_std(hdl, &po1030_ctrl_ops, in po1030_init_controls() 255 sd->autoexpo = v4l2_ctrl_new_std_menu(hdl, &po1030_ctrl_ops, in po1030_init_controls() 257 sd->expo = v4l2_ctrl_new_std(hdl, &po1030_ctrl_ops, V4L2_CID_EXPOSURE, in po1030_init_controls() 260 sd->gain = v4l2_ctrl_new_std(hdl, &po1030_ctrl_ops, V4L2_CID_GAIN, 0, in po1030_init_controls() [all …]
|
| H A D | m5602_ov7660.c | 275 struct v4l2_ctrl_handler *hdl = &sd->gspca_dev.ctrl_handler; in ov7660_init_controls() local 277 sd->gspca_dev.vdev.ctrl_handler = hdl; in ov7660_init_controls() 278 v4l2_ctrl_handler_init(hdl, 6); in ov7660_init_controls() 280 v4l2_ctrl_new_std(hdl, &ov7660_ctrl_ops, V4L2_CID_AUTO_WHITE_BALANCE, in ov7660_init_controls() 282 v4l2_ctrl_new_std_menu(hdl, &ov7660_ctrl_ops, in ov7660_init_controls() 285 sd->autogain = v4l2_ctrl_new_std(hdl, &ov7660_ctrl_ops, in ov7660_init_controls() 287 sd->gain = v4l2_ctrl_new_std(hdl, &ov7660_ctrl_ops, V4L2_CID_GAIN, 0, in ov7660_init_controls() 290 sd->hflip = v4l2_ctrl_new_std(hdl, &ov7660_ctrl_ops, V4L2_CID_HFLIP, in ov7660_init_controls() 292 sd->vflip = v4l2_ctrl_new_std(hdl, &ov7660_ctrl_ops, V4L2_CID_VFLIP, in ov7660_init_controls() 295 if (hdl->error) { in ov7660_init_controls() [all …]
|
| /linux/drivers/media/i2c/ |
| H A D | lm3560.c | 352 struct v4l2_ctrl_handler *hdl = &flash->ctrls_led[led_no]; in lm3560_init_controls() local 356 v4l2_ctrl_handler_init(hdl, 8); in lm3560_init_controls() 359 v4l2_ctrl_new_std_menu(hdl, ops, V4L2_CID_FLASH_LED_MODE, in lm3560_init_controls() 365 v4l2_ctrl_new_std_menu(hdl, ops, V4L2_CID_FLASH_STROBE_SOURCE, in lm3560_init_controls() 369 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_STROBE, 0, 0, 0, 0); in lm3560_init_controls() 372 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_STROBE_STOP, 0, 0, 0, 0); in lm3560_init_controls() 375 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_TIMEOUT, in lm3560_init_controls() 382 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_INTENSITY, in lm3560_init_controls() 387 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_TORCH_INTENSITY, in lm3560_init_controls() 392 fault = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_FAULT, 0, in lm3560_init_controls() [all …]
|