Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/media/usb/gspca/
H A Dtopro.c4238 v4l2_ctrl_g_ctrl(gspca_dev->gain), in cx0342_6800_start()
4239 v4l2_ctrl_g_ctrl(sd->blue), in cx0342_6800_start()
4240 v4l2_ctrl_g_ctrl(sd->red)); in cx0342_6800_start()
4459 v4l2_ctrl_g_ctrl(sd->blue), in soi763a_6800_start()
4460 v4l2_ctrl_g_ctrl(sd->red)); in soi763a_6800_start()
4498 v4l2_ctrl_g_ctrl(sd->blue), in soi763a_6810_start()
4499 v4l2_ctrl_g_ctrl(sd->red)); in soi763a_6810_start()
4535 v4l2_ctrl_g_ctrl(sd->blue), in soi763a_6810_start()
4536 v4l2_ctrl_g_ctrl(sd->red)); in soi763a_6810_start()
4570 v4l2_ctrl_g_ctrl(sd->blue), in sd_start()
[all …]
H A Dautogain_functions.c25 if (v4l2_ctrl_g_ctrl(gspca_dev->autogain) == 0) in gspca_expo_autogain()
28 orig_gain = gain = v4l2_ctrl_g_ctrl(gspca_dev->gain); in gspca_expo_autogain()
29 orig_exposure = exposure = v4l2_ctrl_g_ctrl(gspca_dev->exposure); in gspca_expo_autogain()
105 if (v4l2_ctrl_g_ctrl(gspca_dev->autogain) == 0) in gspca_coarse_grained_expo_autogain()
108 orig_gain = gain = v4l2_ctrl_g_ctrl(gspca_dev->gain); in gspca_coarse_grained_expo_autogain()
109 orig_exposure = exposure = v4l2_ctrl_g_ctrl(gspca_dev->exposure); in gspca_coarse_grained_expo_autogain()
H A Dmars.c266 data[7] = v4l2_ctrl_g_ctrl(sd->gamma) * 0x40; /* reg 0x06: gamma */ in sd_start()
298 data[2] = v4l2_ctrl_g_ctrl(sd->saturation) << 3; in sd_start()
299 data[3] = ((v4l2_ctrl_g_ctrl(sd->saturation) >> 2) & 0xf8) | 0x04; in sd_start()
300 data[4] = v4l2_ctrl_g_ctrl(sd->brightness); /* reg 0x61 = brightness */ in sd_start()
307 data[1] = v4l2_ctrl_g_ctrl(sd->sharpness) * 4 + 3; in sd_start()
330 setilluminators(gspca_dev, v4l2_ctrl_g_ctrl(sd->illum_top), in sd_start()
331 v4l2_ctrl_g_ctrl(sd->illum_bottom)); in sd_start()
340 if (v4l2_ctrl_g_ctrl(sd->illum_top) || in sd_stopN()
341 v4l2_ctrl_g_ctrl(sd->illum_bottom)) { in sd_stopN()
H A Dov534.c1417 sethue(gspca_dev, v4l2_ctrl_g_ctrl(sd->hue)); in sd_start()
1420 setagc(gspca_dev, v4l2_ctrl_g_ctrl(sd->autogain)); in sd_start()
1421 setawb(gspca_dev, v4l2_ctrl_g_ctrl(sd->autowhitebalance)); in sd_start()
1422 setaec(gspca_dev, v4l2_ctrl_g_ctrl(sd->autoexposure)); in sd_start()
1424 setgain(gspca_dev, v4l2_ctrl_g_ctrl(sd->gain)); in sd_start()
1425 setexposure(gspca_dev, v4l2_ctrl_g_ctrl(sd->exposure)); in sd_start()
1427 setcontrast(gspca_dev, v4l2_ctrl_g_ctrl(sd->contrast)); in sd_start()
1429 setsharpness(gspca_dev, v4l2_ctrl_g_ctrl(sd->sharpness)); in sd_start()
1430 sethvflip(gspca_dev, v4l2_ctrl_g_ctrl(sd->hflip), in sd_start()
1431 v4l2_ctrl_g_ctrl(sd->vflip)); in sd_start()
[all …]
H A Dsn9c20x.c2047 v4l2_ctrl_g_ctrl(sd->contrast), in sd_start()
2048 v4l2_ctrl_g_ctrl(sd->saturation), in sd_start()
2049 v4l2_ctrl_g_ctrl(sd->hue)); in sd_start()
2050 set_gamma(gspca_dev, v4l2_ctrl_g_ctrl(sd->gamma)); in sd_start()
2051 set_redblue(gspca_dev, v4l2_ctrl_g_ctrl(sd->blue), in sd_start()
2052 v4l2_ctrl_g_ctrl(sd->red)); in sd_start()
2054 set_gain(gspca_dev, v4l2_ctrl_g_ctrl(sd->gain)); in sd_start()
2059 v4l2_ctrl_g_ctrl(sd->vflip)); in sd_start()
2095 s32 cur_exp = v4l2_ctrl_g_ctrl(sd->exposure); in do_autoexposure()
2146 s32 cur_gain = v4l2_ctrl_g_ctrl(sd->gain); in do_autogain()
[all …]
H A Dpac7311.c440 setcontrast(gspca_dev, v4l2_ctrl_g_ctrl(sd->contrast)); in sd_start()
441 setgain(gspca_dev, v4l2_ctrl_g_ctrl(gspca_dev->gain)); in sd_start()
442 setexposure(gspca_dev, v4l2_ctrl_g_ctrl(gspca_dev->exposure)); in sd_start()
443 sethvflip(gspca_dev, v4l2_ctrl_g_ctrl(sd->hflip), 1); in sd_start()
H A Dpac207.c293 pac207_write_reg(gspca_dev, 0x08, v4l2_ctrl_g_ctrl(sd->brightness)); in sd_start()
297 v4l2_ctrl_g_ctrl(gspca_dev->gain)); in sd_start()
299 v4l2_ctrl_g_ctrl(gspca_dev->exposure)); /* PXCK = 12MHz /n */ in sd_start()
H A Djeilinj.c252 setcamquality(gspca_dev, v4l2_ctrl_g_ctrl(sd->jpegqual)); in jlj_start()
254 setfreq(gspca_dev, v4l2_ctrl_g_ctrl(sd->freq)); in jlj_start()
480 jcomp->quality = v4l2_ctrl_g_ctrl(sd->jpegqual); in sd_get_jcomp()
H A Dsn9c2028.c715 set_gain(gspca_dev, v4l2_ctrl_g_ctrl(sd->gain)); in start_genius_videocam_live()
857 s32 cur_gain = v4l2_ctrl_g_ctrl(sd->gain); in do_autogain()
881 if (sd->autogain == NULL || !v4l2_ctrl_g_ctrl(sd->autogain)) in sd_dqcallback()
H A Dvicam.c105 s32 expo = v4l2_ctrl_g_ctrl(gspca_dev->exposure); in vicam_read_frame()
106 s32 gain = v4l2_ctrl_g_ctrl(gspca_dev->gain); in vicam_read_frame()
H A Dspca561.c621 setwhite(gspca_dev, v4l2_ctrl_g_ctrl(sd->hue), in sd_start_72a()
622 v4l2_ctrl_g_ctrl(sd->contrast)); in sd_start_72a()
624 setautogain(gspca_dev, v4l2_ctrl_g_ctrl(sd->autogain)); in sd_start_72a()
H A Dstk1135.c556 sethflip(gspca_dev, v4l2_ctrl_g_ctrl(sd->hflip)); in stk1135_dq_callback()
557 setvflip(gspca_dev, v4l2_ctrl_g_ctrl(sd->vflip)); in stk1135_dq_callback()
H A Dzc3xx.c6774 setsharpness(gspca_dev, v4l2_ctrl_g_ctrl(sd->sharpness)); in sd_start()
6783 setcontrast(gspca_dev, v4l2_ctrl_g_ctrl(sd->gamma), in sd_start()
6784 v4l2_ctrl_g_ctrl(sd->brightness), in sd_start()
6785 v4l2_ctrl_g_ctrl(sd->contrast)); in sd_start()
6800 setlightfreq(gspca_dev, v4l2_ctrl_g_ctrl(sd->plfreq)); in sd_start()
6811 setexposure(gspca_dev, v4l2_ctrl_g_ctrl(sd->exposure)); in sd_start()
6835 setautogain(gspca_dev, v4l2_ctrl_g_ctrl(sd->autogain)); in sd_start()
6907 jcomp->quality = v4l2_ctrl_g_ctrl(sd->jpegqual); in sd_get_jcomp()
H A Dsq930x.c1039 setexposure(gspca_dev, v4l2_ctrl_g_ctrl(sd->exposure), in sd_dq_callback()
1040 v4l2_ctrl_g_ctrl(sd->gain)); in sd_dq_callback()
H A Dw996Xcf.c484 jpeg_set_qual(sd->jpeg_hdr, v4l2_ctrl_g_ctrl(sd->jpegqual)); in w9968cf_mode_init_regs()
/openbmc/linux/drivers/media/platform/allegro-dvt/
H A Dallegro-core.c309 return v4l2_ctrl_g_ctrl(channel->mpeg_video_hevc_i_frame_qp); in allegro_channel_get_i_frame_qp()
336 return v4l2_ctrl_g_ctrl(channel->mpeg_video_hevc_min_qp); in allegro_channel_get_min_qp()
338 return v4l2_ctrl_g_ctrl(channel->mpeg_video_h264_min_qp); in allegro_channel_get_min_qp()
345 return v4l2_ctrl_g_ctrl(channel->mpeg_video_hevc_max_qp); in allegro_channel_get_max_qp()
347 return v4l2_ctrl_g_ctrl(channel->mpeg_video_h264_max_qp); in allegro_channel_get_max_qp()
1216 level = v4l2_ctrl_g_ctrl(channel->mpeg_video_h264_level); in fill_create_channel_param()
1227 level = v4l2_ctrl_g_ctrl(channel->mpeg_video_hevc_level); in fill_create_channel_param()
1228 tier = v4l2_ctrl_g_ctrl(channel->mpeg_video_hevc_tier); in fill_create_channel_param()
1588 level = v4l2_ctrl_g_ctrl(channel->mpeg_video_h264_level); in allegro_h264_write_sps()
1651 cpb_size = v4l2_ctrl_g_ctrl(channel->mpeg_video_cpb_size); in allegro_h264_write_sps()
[all …]
/openbmc/linux/drivers/media/i2c/
H A Dwm8775.c120 if (v4l2_ctrl_g_ctrl(state->mute)) in wm8775_s_routing()
122 if (!v4l2_ctrl_g_ctrl(state->vol)) in wm8775_s_routing()
/openbmc/linux/drivers/media/radio/
H A Dradio-rtrack2.c87 outb_p(v4l2_ctrl_g_ctrl(isa->mute), isa->io); in rtrack2_s_frequency()
H A Dradio-aimslab.c92 if (!v4l2_ctrl_g_ctrl(rt->isa.mute)) in rtrack_set_pins()
/openbmc/linux/drivers/media/usb/go7007/
H A Dgo7007-v4l2.c147 go->gop_size = v4l2_ctrl_g_ctrl(go->mpeg_video_gop_size); in set_formatting()
148 go->closed_gop = v4l2_ctrl_g_ctrl(go->mpeg_video_gop_closure); in set_formatting()
149 go->ipb = v4l2_ctrl_g_ctrl(go->mpeg_video_b_frames) != 0; in set_formatting()
150 go->bitrate = v4l2_ctrl_g_ctrl(go->mpeg_video_bitrate); in set_formatting()
151 go->repeat_seqhead = v4l2_ctrl_g_ctrl(go->mpeg_video_rep_seqheader); in set_formatting()
162 switch (v4l2_ctrl_g_ctrl(go->mpeg_video_aspect_ratio)) { in set_formatting()
/openbmc/linux/drivers/media/pci/cx18/
H A Dcx18-fileops.c152 new_stereo_mode = v4l2_ctrl_g_ctrl(cx->cxhdl.audio_mode); in cx18_dualwatch()
704 (v4l2_ctrl_g_ctrl(cx->cxhdl.video_mute) | in cx18_v4l2_close()
705 (v4l2_ctrl_g_ctrl(cx->cxhdl.video_mute_yuv) << 8))); in cx18_v4l2_close()
H A Dcx18-streams.c798 cx->dualwatch_stereo_mode = v4l2_ctrl_g_ctrl(cx->cxhdl.audio_mode); in cx18_start_v4l2_encode_stream()
898 (v4l2_ctrl_g_ctrl(cx->cxhdl.video_mute_yuv) << 8) | 1); in cx18_start_v4l2_encode_stream()
/openbmc/linux/drivers/media/pci/ivtv/
H A Divtv-fileops.c146 new_stereo_mode = v4l2_ctrl_g_ctrl(itv->cxhdl.audio_mode); in ivtv_dualwatch()
895 v4l2_ctrl_g_ctrl(itv->cxhdl.video_mute) | in ivtv_v4l2_close()
896 (v4l2_ctrl_g_ctrl(itv->cxhdl.video_mute_yuv) << 8)); in ivtv_v4l2_close()
H A Divtv-streams.c511 itv->dualwatch_stereo_mode = v4l2_ctrl_g_ctrl(itv->cxhdl.audio_mode); in ivtv_start_v4l2_encode_stream()
604 1 | (v4l2_ctrl_g_ctrl(itv->cxhdl.video_mute_yuv) << 8)); in ivtv_start_v4l2_encode_stream()
/openbmc/linux/drivers/media/platform/xilinx/
H A Dxilinx-tpg.c198 v4l2_ctrl_g_ctrl(xtpg->hblank) + width); in xtpg_s_stream()
200 v4l2_ctrl_g_ctrl(xtpg->vblank) + height); in xtpg_s_stream()

12