Home
last modified time | relevance | path

Searched refs:v4l2_ctrl_g_ctrl (Results 1 – 25 of 31) sorted by relevance

12

/drivers/media/usb/gspca/
Dtopro.c3907 setgamma(gspca_dev, v4l2_ctrl_g_ctrl(sd->gamma)); in set_resolution()
3909 setquality(gspca_dev, v4l2_ctrl_g_ctrl(sd->jpegqual)); in set_resolution()
4246 setexposure(gspca_dev, v4l2_ctrl_g_ctrl(gspca_dev->exposure), in cx0342_6800_start()
4247 v4l2_ctrl_g_ctrl(gspca_dev->gain), in cx0342_6800_start()
4248 v4l2_ctrl_g_ctrl(sd->blue), in cx0342_6800_start()
4249 v4l2_ctrl_g_ctrl(sd->red)); in cx0342_6800_start()
4251 setexposure(gspca_dev, v4l2_ctrl_g_ctrl(gspca_dev->exposure), in cx0342_6800_start()
4252 v4l2_ctrl_g_ctrl(gspca_dev->gain), 0, 0); in cx0342_6800_start()
4340 setgamma(gspca_dev, v4l2_ctrl_g_ctrl(sd->gamma)); in cx0342_6810_start()
4343 setsharpness(gspca_dev, v4l2_ctrl_g_ctrl(sd->sharpness)); in cx0342_6810_start()
[all …]
Dautogain_functions.c38 if (v4l2_ctrl_g_ctrl(gspca_dev->autogain) == 0) in gspca_expo_autogain()
41 orig_gain = gain = v4l2_ctrl_g_ctrl(gspca_dev->gain); in gspca_expo_autogain()
42 orig_exposure = exposure = v4l2_ctrl_g_ctrl(gspca_dev->exposure); in gspca_expo_autogain()
118 if (v4l2_ctrl_g_ctrl(gspca_dev->autogain) == 0) in gspca_coarse_grained_expo_autogain()
121 orig_gain = gain = v4l2_ctrl_g_ctrl(gspca_dev->gain); in gspca_coarse_grained_expo_autogain()
122 orig_exposure = exposure = v4l2_ctrl_g_ctrl(gspca_dev->exposure); in gspca_coarse_grained_expo_autogain()
Dmars.c278 data[7] = v4l2_ctrl_g_ctrl(sd->gamma) * 0x40; /* reg 0x06: gamma */ in sd_start()
310 data[2] = v4l2_ctrl_g_ctrl(sd->saturation) << 3; in sd_start()
311 data[3] = ((v4l2_ctrl_g_ctrl(sd->saturation) >> 2) & 0xf8) | 0x04; in sd_start()
312 data[4] = v4l2_ctrl_g_ctrl(sd->brightness); /* reg 0x61 = brightness */ in sd_start()
319 data[1] = v4l2_ctrl_g_ctrl(sd->sharpness) * 4 + 3; in sd_start()
342 setilluminators(gspca_dev, v4l2_ctrl_g_ctrl(sd->illum_top), in sd_start()
343 v4l2_ctrl_g_ctrl(sd->illum_bottom)); in sd_start()
352 if (v4l2_ctrl_g_ctrl(sd->illum_top) || in sd_stopN()
353 v4l2_ctrl_g_ctrl(sd->illum_bottom)) { in sd_stopN()
Dov534.c1355 sethue(gspca_dev, v4l2_ctrl_g_ctrl(sd->hue)); in sd_start()
1356 setsaturation(gspca_dev, v4l2_ctrl_g_ctrl(sd->saturation)); in sd_start()
1358 setagc(gspca_dev, v4l2_ctrl_g_ctrl(sd->autogain)); in sd_start()
1359 setawb(gspca_dev, v4l2_ctrl_g_ctrl(sd->autowhitebalance)); in sd_start()
1360 setaec(gspca_dev, v4l2_ctrl_g_ctrl(sd->autoexposure)); in sd_start()
1362 setgain(gspca_dev, v4l2_ctrl_g_ctrl(sd->gain)); in sd_start()
1363 setexposure(gspca_dev, v4l2_ctrl_g_ctrl(sd->exposure)); in sd_start()
1364 setbrightness(gspca_dev, v4l2_ctrl_g_ctrl(sd->brightness)); in sd_start()
1365 setcontrast(gspca_dev, v4l2_ctrl_g_ctrl(sd->contrast)); in sd_start()
1367 setsharpness(gspca_dev, v4l2_ctrl_g_ctrl(sd->sharpness)); in sd_start()
[all …]
Dsn9c20x.c2029 jpeg_set_qual(sd->jpeg_hdr, v4l2_ctrl_g_ctrl(sd->jpegqual)); in sd_start()
2066 set_cmatrix(gspca_dev, v4l2_ctrl_g_ctrl(sd->brightness), in sd_start()
2067 v4l2_ctrl_g_ctrl(sd->contrast), in sd_start()
2068 v4l2_ctrl_g_ctrl(sd->saturation), in sd_start()
2069 v4l2_ctrl_g_ctrl(sd->hue)); in sd_start()
2070 set_gamma(gspca_dev, v4l2_ctrl_g_ctrl(sd->gamma)); in sd_start()
2071 set_redblue(gspca_dev, v4l2_ctrl_g_ctrl(sd->blue), in sd_start()
2072 v4l2_ctrl_g_ctrl(sd->red)); in sd_start()
2074 set_gain(gspca_dev, v4l2_ctrl_g_ctrl(sd->gain)); in sd_start()
2076 set_exposure(gspca_dev, v4l2_ctrl_g_ctrl(sd->exposure)); in sd_start()
[all …]
Dpac7311.c453 setcontrast(gspca_dev, v4l2_ctrl_g_ctrl(sd->contrast)); in sd_start()
454 setgain(gspca_dev, v4l2_ctrl_g_ctrl(gspca_dev->gain)); in sd_start()
455 setexposure(gspca_dev, v4l2_ctrl_g_ctrl(gspca_dev->exposure)); in sd_start()
456 sethvflip(gspca_dev, v4l2_ctrl_g_ctrl(sd->hflip), 1); in sd_start()
Dpac207.c307 pac207_write_reg(gspca_dev, 0x08, v4l2_ctrl_g_ctrl(sd->brightness)); in sd_start()
311 v4l2_ctrl_g_ctrl(gspca_dev->gain)); in sd_start()
313 v4l2_ctrl_g_ctrl(gspca_dev->exposure)); /* PXCK = 12MHz /n */ in sd_start()
Djeilinj.c265 setcamquality(gspca_dev, v4l2_ctrl_g_ctrl(sd->jpegqual)); in jlj_start()
267 setfreq(gspca_dev, v4l2_ctrl_g_ctrl(sd->freq)); in jlj_start()
491 jcomp->quality = v4l2_ctrl_g_ctrl(sd->jpegqual); in sd_get_jcomp()
Dvicam.c119 s32 expo = v4l2_ctrl_g_ctrl(gspca_dev->exposure); in vicam_read_frame()
120 s32 gain = v4l2_ctrl_g_ctrl(gspca_dev->gain); in vicam_read_frame()
Dspca561.c633 setwhite(gspca_dev, v4l2_ctrl_g_ctrl(sd->hue), in sd_start_72a()
634 v4l2_ctrl_g_ctrl(sd->contrast)); in sd_start_72a()
636 setautogain(gspca_dev, v4l2_ctrl_g_ctrl(sd->autogain)); in sd_start_72a()
Dzc3xx.c6761 setsharpness(gspca_dev, v4l2_ctrl_g_ctrl(sd->sharpness)); in sd_start()
6770 setcontrast(gspca_dev, v4l2_ctrl_g_ctrl(sd->gamma), in sd_start()
6771 v4l2_ctrl_g_ctrl(sd->brightness), in sd_start()
6772 v4l2_ctrl_g_ctrl(sd->contrast)); in sd_start()
6787 setlightfreq(gspca_dev, v4l2_ctrl_g_ctrl(sd->plfreq)); in sd_start()
6798 setexposure(gspca_dev, v4l2_ctrl_g_ctrl(sd->exposure)); in sd_start()
6822 setautogain(gspca_dev, v4l2_ctrl_g_ctrl(sd->autogain)); in sd_start()
6898 jcomp->quality = v4l2_ctrl_g_ctrl(sd->jpegqual); in sd_get_jcomp()
Dsq930x.c1045 setexposure(gspca_dev, v4l2_ctrl_g_ctrl(sd->exposure), in sd_dq_callback()
1046 v4l2_ctrl_g_ctrl(sd->gain)); in sd_dq_callback()
Dw996Xcf.c485 jpeg_set_qual(sd->jpeg_hdr, v4l2_ctrl_g_ctrl(sd->jpegqual)); in w9968cf_mode_init_regs()
Dt613.c799 setfreq(gspca_dev, v4l2_ctrl_g_ctrl(sd->freq)); in sd_start()
/drivers/media/i2c/
Dwm8775.c134 if (!v4l2_ctrl_g_ctrl(state->mute)) in wm8775_s_routing()
136 if (!v4l2_ctrl_g_ctrl(state->vol)) in wm8775_s_routing()
138 if (!v4l2_ctrl_g_ctrl(state->bal)) in wm8775_s_routing()
/drivers/staging/media/go7007/
Dgo7007-v4l2.c161 go->gop_size = v4l2_ctrl_g_ctrl(go->mpeg_video_gop_size); in set_formatting()
162 go->closed_gop = v4l2_ctrl_g_ctrl(go->mpeg_video_gop_closure); in set_formatting()
163 go->ipb = v4l2_ctrl_g_ctrl(go->mpeg_video_b_frames) != 0; in set_formatting()
164 go->bitrate = v4l2_ctrl_g_ctrl(go->mpeg_video_bitrate); in set_formatting()
165 go->repeat_seqhead = v4l2_ctrl_g_ctrl(go->mpeg_video_rep_seqheader); in set_formatting()
176 switch (v4l2_ctrl_g_ctrl(go->mpeg_video_aspect_ratio)) { in set_formatting()
/drivers/media/radio/
Dradio-rtrack2.c86 outb_p(v4l2_ctrl_g_ctrl(isa->mute), isa->io); in rtrack2_s_frequency()
Dradio-aimslab.c91 if (!v4l2_ctrl_g_ctrl(rt->isa.mute)) in rtrack_set_pins()
/drivers/media/pci/cx18/
Dcx18-fileops.c166 new_stereo_mode = v4l2_ctrl_g_ctrl(cx->cxhdl.audio_mode); in cx18_dualwatch()
769 (v4l2_ctrl_g_ctrl(cx->cxhdl.video_mute) | in cx18_v4l2_close()
770 (v4l2_ctrl_g_ctrl(cx->cxhdl.video_mute_yuv) << 8))); in cx18_v4l2_close()
Dcx18-streams.c805 cx->dualwatch_stereo_mode = v4l2_ctrl_g_ctrl(cx->cxhdl.audio_mode); in cx18_start_v4l2_encode_stream()
905 (v4l2_ctrl_g_ctrl(cx->cxhdl.video_mute_yuv) << 8) | 1); in cx18_start_v4l2_encode_stream()
/drivers/media/pci/ivtv/
Divtv-fileops.c158 new_stereo_mode = v4l2_ctrl_g_ctrl(itv->cxhdl.audio_mode); in ivtv_dualwatch()
907 v4l2_ctrl_g_ctrl(itv->cxhdl.video_mute) | in ivtv_v4l2_close()
908 (v4l2_ctrl_g_ctrl(itv->cxhdl.video_mute_yuv) << 8)); in ivtv_v4l2_close()
Divtv-streams.c513 itv->dualwatch_stereo_mode = v4l2_ctrl_g_ctrl(itv->cxhdl.audio_mode); in ivtv_start_v4l2_encode_stream()
606 1 | (v4l2_ctrl_g_ctrl(itv->cxhdl.video_mute_yuv) << 8)); in ivtv_start_v4l2_encode_stream()
/drivers/media/pci/cx88/
Dcx88.h445 val = v4l2_ctrl_g_ctrl(ctrl_); \
/drivers/media/i2c/soc_camera/
Dmt9m001.c219 if (!ret && v4l2_ctrl_g_ctrl(mt9m001->autoexposure) == V4L2_EXPOSURE_AUTO) in mt9m001_s_crop()
Dmt9t031.c278 if (ret >= 0 && v4l2_ctrl_g_ctrl(mt9t031->autoexposure) == V4L2_EXPOSURE_AUTO) { in mt9t031_set_params()

12