Searched refs:hdl (Results 76 - 100 of 179) sorted by relevance

12345678

/drivers/media/usb/gspca/
H A Dpac7311.c417 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; local
419 gspca_dev->vdev.ctrl_handler = hdl;
420 v4l2_ctrl_handler_init(hdl, 5);
422 sd->contrast = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
424 gspca_dev->autogain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
426 gspca_dev->exposure = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
429 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
432 sd->hflip = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
435 if (hdl->error) {
437 return hdl
[all...]
H A Dse401.c656 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; local
658 gspca_dev->vdev.ctrl_handler = hdl;
659 v4l2_ctrl_handler_init(hdl, 4);
661 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
664 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
666 sd->exposure = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
668 sd->freq = v4l2_ctrl_new_std_menu(hdl, &sd_ctrl_ops,
672 if (hdl->error) {
674 return hdl->error;
H A Dt613.c961 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; local
963 gspca_dev->vdev.ctrl_handler = hdl;
964 v4l2_ctrl_handler_init(hdl, 12);
965 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
967 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
969 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
971 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
975 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
978 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
980 sd->awb = v4l2_ctrl_new_std(hdl,
[all...]
H A Ddtcs033.c229 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; local
232 gspca_dev->vdev.ctrl_handler = hdl;
233 v4l2_ctrl_handler_init(hdl, 2);
235 sd->exposure = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
238 sd->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
241 if (hdl->error) {
243 hdl->error);
244 return hdl->error;
H A Dmr97310a.c931 struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler; local
950 gspca_dev->vdev.ctrl_handler = hdl;
951 v4l2_ctrl_handler_init(hdl, 4);
984 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
988 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
992 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
996 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
1000 v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, V4L2_CID_GAIN,
1004 sd->exposure = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
1008 sd->min_clockdiv = v4l2_ctrl_new_custom(hdl,
[all...]
/drivers/media/i2c/soc_camera/
H A Dmt9m111.c206 struct v4l2_ctrl_handler hdl; member in struct:mt9m111
701 struct mt9m111, hdl);
745 v4l2_ctrl_handler_setup(&mt9m111->hdl);
919 ret = v4l2_ctrl_handler_setup(&mt9m111->hdl);
963 v4l2_ctrl_handler_init(&mt9m111->hdl, 5);
964 v4l2_ctrl_new_std(&mt9m111->hdl, &mt9m111_ctrl_ops,
966 v4l2_ctrl_new_std(&mt9m111->hdl, &mt9m111_ctrl_ops,
968 v4l2_ctrl_new_std(&mt9m111->hdl, &mt9m111_ctrl_ops,
970 mt9m111->gain = v4l2_ctrl_new_std(&mt9m111->hdl, &mt9m111_ctrl_ops,
972 v4l2_ctrl_new_std_menu(&mt9m111->hdl,
[all...]
H A Dmt9t031.c72 struct v4l2_ctrl_handler hdl; member in struct:mt9t031
430 struct mt9t031, hdl);
449 struct mt9t031, hdl);
644 ret = v4l2_ctrl_handler_setup(&mt9t031->hdl);
760 v4l2_ctrl_handler_init(&mt9t031->hdl, 5);
761 v4l2_ctrl_new_std(&mt9t031->hdl, &mt9t031_ctrl_ops,
763 v4l2_ctrl_new_std(&mt9t031->hdl, &mt9t031_ctrl_ops,
765 v4l2_ctrl_new_std(&mt9t031->hdl, &mt9t031_ctrl_ops,
772 mt9t031->autoexposure = v4l2_ctrl_new_std_menu(&mt9t031->hdl,
775 mt9t031->exposure = v4l2_ctrl_new_std(&mt9t031->hdl,
[all...]
H A Dov772x.c395 struct v4l2_ctrl_handler hdl; member in struct:ov772x_priv
577 struct ov772x_priv, hdl);
973 ret = v4l2_ctrl_handler_setup(&priv->hdl);
1064 v4l2_ctrl_handler_init(&priv->hdl, 3);
1065 v4l2_ctrl_new_std(&priv->hdl, &ov772x_ctrl_ops,
1067 v4l2_ctrl_new_std(&priv->hdl, &ov772x_ctrl_ops,
1069 v4l2_ctrl_new_std(&priv->hdl, &ov772x_ctrl_ops,
1071 priv->subdev.ctrl_handler = &priv->hdl;
1072 if (priv->hdl.error)
1073 return priv->hdl
[all...]
/drivers/media/pci/tw68/
H A Dtw68-video.c558 container_of(ctrl->handler, struct tw68_dev, hdl);
942 struct v4l2_ctrl_handler *hdl = &dev->hdl; local
944 v4l2_ctrl_handler_init(hdl, 6);
945 v4l2_ctrl_new_std(hdl, &tw68_ctrl_ops,
947 v4l2_ctrl_new_std(hdl, &tw68_ctrl_ops,
949 v4l2_ctrl_new_std(hdl, &tw68_ctrl_ops,
952 v4l2_ctrl_new_std(hdl, &tw68_ctrl_ops,
954 v4l2_ctrl_new_std(hdl, &tw68_ctrl_ops,
956 v4l2_ctrl_new_std(hdl,
[all...]
/drivers/media/i2c/
H A Dov7670.c213 struct v4l2_ctrl_handler hdl; member in struct:ov7670_info
247 return &container_of(ctrl->handler, struct ov7670_info, hdl)->sd;
1577 v4l2_ctrl_handler_init(&info->hdl, 10);
1578 v4l2_ctrl_new_std(&info->hdl, &ov7670_ctrl_ops,
1580 v4l2_ctrl_new_std(&info->hdl, &ov7670_ctrl_ops,
1582 v4l2_ctrl_new_std(&info->hdl, &ov7670_ctrl_ops,
1584 v4l2_ctrl_new_std(&info->hdl, &ov7670_ctrl_ops,
1586 info->saturation = v4l2_ctrl_new_std(&info->hdl, &ov7670_ctrl_ops,
1588 info->hue = v4l2_ctrl_new_std(&info->hdl, &ov7670_ctrl_ops,
1590 info->gain = v4l2_ctrl_new_std(&info->hdl,
[all...]
H A Dtvp514x.c108 struct v4l2_ctrl_handler hdl; member in struct:tvp514x_decoder
277 return &container_of(ctrl->handler, struct tvp514x_decoder, hdl)->sd;
1167 v4l2_ctrl_handler_init(&decoder->hdl, 5);
1168 v4l2_ctrl_new_std(&decoder->hdl, &tvp514x_ctrl_ops,
1170 v4l2_ctrl_new_std(&decoder->hdl, &tvp514x_ctrl_ops,
1172 v4l2_ctrl_new_std(&decoder->hdl, &tvp514x_ctrl_ops,
1174 v4l2_ctrl_new_std(&decoder->hdl, &tvp514x_ctrl_ops,
1176 v4l2_ctrl_new_std(&decoder->hdl, &tvp514x_ctrl_ops,
1178 sd->ctrl_handler = &decoder->hdl;
1179 if (decoder->hdl
[all...]
H A Dtvp5150.c37 struct v4l2_ctrl_handler hdl; member in struct:tvp5150
53 return &container_of(ctrl->handler, struct tvp5150, hdl)->sd;
771 v4l2_ctrl_handler_setup(&decoder->hdl);
1155 v4l2_ctrl_handler_init(&core->hdl, 4);
1156 v4l2_ctrl_new_std(&core->hdl, &tvp5150_ctrl_ops,
1158 v4l2_ctrl_new_std(&core->hdl, &tvp5150_ctrl_ops,
1160 v4l2_ctrl_new_std(&core->hdl, &tvp5150_ctrl_ops,
1162 v4l2_ctrl_new_std(&core->hdl, &tvp5150_ctrl_ops,
1164 sd->ctrl_handler = &core->hdl;
1165 if (core->hdl
[all...]
H A Ds5k5baf.c1632 struct v4l2_ctrl_handler *hdl = &ctrls->handler; local
1635 ret = v4l2_ctrl_handler_init(hdl, 16);
1642 ctrls->awb = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_AUTO_WHITE_BALANCE,
1644 ctrls->gain_red = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_RED_BALANCE,
1646 ctrls->gain_blue = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_BLUE_BALANCE,
1650 ctrls->hflip = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_HFLIP, 0, 1, 1, 0);
1651 ctrls->vflip = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_VFLIP, 0, 1, 1, 0);
1654 ctrls->auto_exp = v4l2_ctrl_new_std_menu(hdl, ops,
1658 ctrls->exposure = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_EXPOSURE,
1661 ctrls->gain = v4l2_ctrl_new_std(hdl, op
[all...]
H A Ds5k6aa.c1361 struct v4l2_ctrl_handler *hdl = &ctrls->handler; local
1363 int ret = v4l2_ctrl_handler_init(hdl, 16);
1367 ctrls->awb = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_AUTO_WHITE_BALANCE,
1369 ctrls->gain_red = v4l2_ctrl_new_custom(hdl, &s5k6aa_ctrls[0], NULL);
1370 ctrls->gain_green = v4l2_ctrl_new_custom(hdl, &s5k6aa_ctrls[1], NULL);
1371 ctrls->gain_blue = v4l2_ctrl_new_custom(hdl, &s5k6aa_ctrls[2], NULL);
1374 ctrls->hflip = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_HFLIP, 0, 1, 1, 0);
1375 ctrls->vflip = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_VFLIP, 0, 1, 1, 0);
1378 ctrls->auto_exp = v4l2_ctrl_new_std_menu(hdl, ops,
1382 ctrls->exposure = v4l2_ctrl_new_std(hdl, op
[all...]
H A Dad9389b.c83 struct v4l2_ctrl_handler hdl; member in struct:ad9389b_state
118 return &container_of(ctrl->handler, struct ad9389b_state, hdl)->sd;
899 v4l2_ctrl_handler_setup(&state->hdl);
1104 struct v4l2_ctrl_handler *hdl; local
1130 hdl = &state->hdl;
1131 v4l2_ctrl_handler_init(hdl, 5);
1135 state->hdmi_mode_ctrl = v4l2_ctrl_new_std_menu(hdl, &ad9389b_ctrl_ops,
1138 state->hotplug_ctrl = v4l2_ctrl_new_std(hdl, NULL,
1140 state->rx_sense_ctrl = v4l2_ctrl_new_std(hdl, NUL
[all...]
H A Dadv7511.c89 struct v4l2_ctrl_handler hdl; member in struct:adv7511_state
139 return &container_of(ctrl->handler, struct adv7511_state, hdl)->sd;
912 v4l2_ctrl_handler_setup(&state->hdl);
1100 struct v4l2_ctrl_handler *hdl; local
1127 hdl = &state->hdl;
1128 v4l2_ctrl_handler_init(hdl, 10);
1130 state->hdmi_mode_ctrl = v4l2_ctrl_new_std_menu(hdl, &adv7511_ctrl_ops,
1133 state->hotplug_ctrl = v4l2_ctrl_new_std(hdl, NULL,
1135 state->rx_sense_ctrl = v4l2_ctrl_new_std(hdl, NUL
[all...]
H A Dnoon010pc30.c135 struct v4l2_ctrl_handler hdl; member in struct:noon010_info
242 return &container_of(ctrl->handler, struct noon010_info, hdl)->sd;
608 ret = v4l2_ctrl_handler_setup(&info->hdl);
637 v4l2_ctrl_handler_log_status(&info->hdl, sd->name);
727 v4l2_ctrl_handler_init(&info->hdl, 3);
729 v4l2_ctrl_new_std(&info->hdl, &noon010_ctrl_ops,
731 v4l2_ctrl_new_std(&info->hdl, &noon010_ctrl_ops,
733 v4l2_ctrl_new_std(&info->hdl, &noon010_ctrl_ops,
736 sd->ctrl_handler = &info->hdl;
738 ret = info->hdl
[all...]
/drivers/media/radio/
H A Dradio-mr800.c134 struct v4l2_ctrl_handler hdl; member in struct:amradio_device
413 container_of(ctrl->handler, struct amradio_device, hdl);
507 v4l2_ctrl_handler_free(&radio->hdl);
542 v4l2_ctrl_handler_init(&radio->hdl, 1);
543 v4l2_ctrl_new_std(&radio->hdl, &usb_amradio_ctrl_ops,
545 if (radio->hdl.error) {
546 retval = radio->hdl.error;
552 radio->v4l2_dev.ctrl_handler = &radio->hdl;
582 v4l2_ctrl_handler_free(&radio->hdl);
H A Dradio-cadet.c600 struct v4l2_ctrl_handler *hdl; local
633 hdl = &dev->ctrl_handler;
634 v4l2_ctrl_handler_init(hdl, 2);
635 v4l2_ctrl_new_std(hdl, &cadet_ctrl_ops,
637 v4l2_dev->ctrl_handler = hdl;
638 if (hdl->error) {
639 res = hdl->error;
661 v4l2_ctrl_handler_free(hdl);
/drivers/media/usb/airspy/
H A Dairspy.c145 struct v4l2_ctrl_handler hdl; member in struct:airspy
871 v4l2_ctrl_handler_free(&s->hdl);
950 struct airspy *s = container_of(ctrl->handler, struct airspy, hdl);
1046 v4l2_ctrl_handler_init(&s->hdl, 5);
1047 s->lna_gain_auto = v4l2_ctrl_new_std(&s->hdl, &airspy_ctrl_ops,
1049 s->lna_gain = v4l2_ctrl_new_std(&s->hdl, &airspy_ctrl_ops,
1052 s->mixer_gain_auto = v4l2_ctrl_new_std(&s->hdl, &airspy_ctrl_ops,
1054 s->mixer_gain = v4l2_ctrl_new_std(&s->hdl, &airspy_ctrl_ops,
1057 s->if_gain = v4l2_ctrl_new_std(&s->hdl, &airspy_ctrl_ops,
1059 if (s->hdl
[all...]
/drivers/media/dvb-frontends/
H A Dau8522_decoder.c495 container_of(ctrl->handler, struct au8522_state, hdl);
730 struct v4l2_ctrl_handler *hdl; local
771 hdl = &state->hdl;
772 v4l2_ctrl_handler_init(hdl, 4);
773 v4l2_ctrl_new_std(hdl, &au8522_ctrl_ops,
775 v4l2_ctrl_new_std(hdl, &au8522_ctrl_ops,
778 v4l2_ctrl_new_std(hdl, &au8522_ctrl_ops,
780 v4l2_ctrl_new_std(hdl, &au8522_ctrl_ops,
782 sd->ctrl_handler = hdl;
[all...]
/drivers/media/usb/hackrf/
H A Dhackrf.c133 struct v4l2_ctrl_handler hdl; member in struct:hackrf_dev
883 v4l2_ctrl_handler_free(&dev->hdl);
987 struct hackrf_dev, hdl);
1080 v4l2_ctrl_handler_init(&dev->hdl, 4);
1081 dev->bandwidth_auto = v4l2_ctrl_new_std(&dev->hdl, &hackrf_ctrl_ops,
1083 dev->bandwidth = v4l2_ctrl_new_std(&dev->hdl, &hackrf_ctrl_ops,
1087 dev->lna_gain = v4l2_ctrl_new_std(&dev->hdl, &hackrf_ctrl_ops,
1089 dev->if_gain = v4l2_ctrl_new_std(&dev->hdl, &hackrf_ctrl_ops,
1091 if (dev->hdl.error) {
1092 ret = dev->hdl
[all...]
/drivers/media/pci/ivtv/
H A Divtv-controls.c132 struct ivtv *itv = container_of(ctrl->handler, struct ivtv, cxhdl.hdl);
146 struct ivtv *itv = container_of(ctrl->handler, struct ivtv, cxhdl.hdl);
/drivers/media/parport/
H A Dpms.c63 struct v4l2_ctrl_handler hdl; member in struct:pms
777 struct pms *dev = container_of(ctrl->handler, struct pms, hdl);
1043 struct v4l2_ctrl_handler *hdl; local
1061 hdl = &dev->hdl;
1076 v4l2_ctrl_handler_init(hdl, 4);
1077 v4l2_ctrl_new_std(hdl, &pms_ctrl_ops,
1079 v4l2_ctrl_new_std(hdl, &pms_ctrl_ops,
1081 v4l2_ctrl_new_std(hdl, &pms_ctrl_ops,
1083 v4l2_ctrl_new_std(hdl,
[all...]
/drivers/media/pci/cx18/
H A Dcx18-av-core.c266 v4l2_ctrl_handler_setup(&state->hdl);
1327 v4l2_ctrl_handler_init(&state->hdl, 9);
1328 v4l2_ctrl_new_std(&state->hdl, &cx18_av_ctrl_ops,
1330 v4l2_ctrl_new_std(&state->hdl, &cx18_av_ctrl_ops,
1332 v4l2_ctrl_new_std(&state->hdl, &cx18_av_ctrl_ops,
1334 v4l2_ctrl_new_std(&state->hdl, &cx18_av_ctrl_ops,
1337 state->volume = v4l2_ctrl_new_std(&state->hdl,
1340 v4l2_ctrl_new_std(&state->hdl,
1343 v4l2_ctrl_new_std(&state->hdl, &cx18_av_audio_ctrl_ops,
1346 v4l2_ctrl_new_std(&state->hdl,
[all...]

Completed in 374 milliseconds

12345678