| /linux/drivers/virtio/ |
| H A D | virtio_rtc_driver.c | 487 * @hdl: message handle name 492 #define VIORTC_DECLARE_MSG_HDL_ONSTACK(hdl, msg_id, msg_req, msg_resp) \ argument 500 } hdl = { \ 506 * @hdl: message handle 510 #define VIORTC_MSG(hdl) ((hdl).msg) argument 514 * @hdl: message handle 520 #define VIORTC_MSG_INIT(hdl, viortc) \ argument 522 typeof(hdl) *_hdl = &(hdl); \ 535 * @hdl: message handle 541 #define VIORTC_MSG_WRITE(hdl, dest_member, src_ptr) \ argument [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/scsi/leapraid/ |
| H A D | leapraid_func.c | 642 u16 hdl) in leapraid_tgt_not_responding() argument 656 if (!hdl || hdl > adapter->adapter_attr.features.max_dev_handle || in leapraid_tgt_not_responding() 657 test_bit(hdl, adapter->dev_topo.pd_hdls)) in leapraid_tgt_not_responding() 661 sas_dev = leapraid_hold_lock_get_sas_dev_by_hdl(adapter, hdl); in leapraid_tgt_not_responding() 669 starget_priv->hdl = LEAPRAID_INVALID_DEV_HANDLE; in leapraid_tgt_not_responding() 675 static void leapraid_tgt_rst_send(struct leapraid_adapter *adapter, u16 hdl) in leapraid_tgt_rst_send() argument 691 if (!hdl || hdl > adapter->adapter_attr.features.max_dev_handle || in leapraid_tgt_rst_send() 692 test_bit(hdl, adapter->dev_topo.pd_hdls)) in leapraid_tgt_rst_send() 696 sas_dev = leapraid_hold_lock_get_sas_dev_by_hdl(adapter, hdl); in leapraid_tgt_rst_send() 707 starget_priv->hdl = LEAPRAID_INVALID_DEV_HANDLE; in leapraid_tgt_rst_send() [all …]
|
| H A D | leapraid_os.c | 58 void leapraid_set_tm_flg(struct leapraid_adapter *adapter, u16 hdl) in leapraid_set_tm_flg() argument 73 if (sdev_priv->starget_priv->hdl == hdl) { in leapraid_set_tm_flg() 80 void leapraid_clear_tm_flg(struct leapraid_adapter *adapter, u16 hdl) in leapraid_clear_tm_flg() argument 95 if (sdev_priv->starget_priv->hdl == hdl) { in leapraid_clear_tm_flg() 139 u16 hdl, uint channel, uint id, in leapraid_tm_post_processing() argument 158 u16 hdl, uint lun, u8 type, u8 tr_method, in leapraid_build_tm_req() argument 163 scsi_tm_req->dev_hdl = cpu_to_le16(hdl); in leapraid_build_tm_req() 172 int leapraid_issue_tm(struct leapraid_adapter *adapter, u16 hdl, uint channel, in leapraid_issue_tm() argument 223 leapraid_build_tm_req(scsi_tm_req, hdl, lun, type, tr_method, in leapraid_issue_tm() 227 leapraid_set_tm_flg(adapter, hdl); in leapraid_issue_tm() [all …]
|
| /linux/drivers/media/platform/st/sti/delta/ |
| H A D | delta-ipc.h | 35 * @hdl: (out) handle of decoding instance. 40 struct delta_buf **ipc_buf, void **hdl); 44 * @hdl: (in) handle of decoding instance. 50 int delta_ipc_set_stream(void *hdl, struct delta_ipc_param *param); 55 * @hdl: (in) handle of decoding instance. 67 int delta_ipc_decode(void *hdl, struct delta_ipc_param *param, 72 * @hdl: (in) handle of decoding instance to close. 74 void delta_ipc_close(void *hdl);
|
| 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/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/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/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/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/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/stv06xx/ |
| H A D | stv06xx_vv6410.c | 86 struct v4l2_ctrl_handler *hdl = &sd->gspca_dev.ctrl_handler; in vv6410_init_controls() local 88 v4l2_ctrl_handler_init(hdl, 2); in vv6410_init_controls() 92 /* v4l2_ctrl_new_std(hdl, &vv6410_ctrl_ops, */ in vv6410_init_controls() 94 /* v4l2_ctrl_new_std(hdl, &vv6410_ctrl_ops, */ in vv6410_init_controls() 96 v4l2_ctrl_new_std(hdl, &vv6410_ctrl_ops, in vv6410_init_controls() 98 v4l2_ctrl_new_std(hdl, &vv6410_ctrl_ops, in vv6410_init_controls() 100 return hdl->error; in vv6410_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/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 …]
|
| H A D | dw9807-vcm.c | 159 struct v4l2_ctrl_handler *hdl = &dev_vcm->ctrls_vcm; in dw9807_init_controls() local 163 v4l2_ctrl_handler_init(hdl, 1); in dw9807_init_controls() 165 v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FOCUS_ABSOLUTE, in dw9807_init_controls() 168 dev_vcm->sd.ctrl_handler = hdl; in dw9807_init_controls() 169 if (hdl->error) { in dw9807_init_controls() 171 __func__, hdl->error); in dw9807_init_controls() 172 return hdl->error; in dw9807_init_controls()
|
| /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 | 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 | 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 …]
|
| H A D | konica.c | 414 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; in sd_init_controls() local 416 gspca_dev->vdev.ctrl_handler = hdl; in sd_init_controls() 417 v4l2_ctrl_handler_init(hdl, 5); in sd_init_controls() 418 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 421 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 423 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 425 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() 431 if (hdl->error) { in sd_init_controls() 433 return hdl->error; in sd_init_controls()
|
| /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/pci/saa7164/ |
| H A D | saa7164-encoder.c | 996 struct v4l2_ctrl_handler *hdl = &port->ctrl_handler; in saa7164_encoder_register() local 1021 v4l2_ctrl_handler_init(hdl, 14); in saa7164_encoder_register() 1022 v4l2_ctrl_new_std(hdl, &saa7164_ctrl_ops, in saa7164_encoder_register() 1024 v4l2_ctrl_new_std(hdl, &saa7164_ctrl_ops, in saa7164_encoder_register() 1026 v4l2_ctrl_new_std(hdl, &saa7164_ctrl_ops, in saa7164_encoder_register() 1028 v4l2_ctrl_new_std(hdl, &saa7164_ctrl_ops, in saa7164_encoder_register() 1030 v4l2_ctrl_new_std(hdl, &saa7164_ctrl_ops, in saa7164_encoder_register() 1032 v4l2_ctrl_new_std(hdl, &saa7164_ctrl_ops, in saa7164_encoder_register() 1034 v4l2_ctrl_new_std(hdl, &saa7164_ctrl_ops, in saa7164_encoder_register() 1036 v4l2_ctrl_new_std(hdl, &saa7164_ctrl_ops, in saa7164_encoder_register() [all …]
|