/linux-6.1.9/drivers/media/usb/gspca/ |
D | topro.c | 3898 setgamma(gspca_dev, v4l2_ctrl_g_ctrl(sd->gamma)); in set_resolution() 3900 setquality(gspca_dev, v4l2_ctrl_g_ctrl(sd->jpegqual)); in set_resolution() 4237 setexposure(gspca_dev, v4l2_ctrl_g_ctrl(gspca_dev->exposure), in cx0342_6800_start() 4238 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() 4242 setexposure(gspca_dev, v4l2_ctrl_g_ctrl(gspca_dev->exposure), in cx0342_6800_start() 4243 v4l2_ctrl_g_ctrl(gspca_dev->gain), 0, 0); in cx0342_6800_start() 4331 setgamma(gspca_dev, v4l2_ctrl_g_ctrl(sd->gamma)); in cx0342_6810_start() 4334 setsharpness(gspca_dev, v4l2_ctrl_g_ctrl(sd->sharpness)); in cx0342_6810_start() [all …]
|
D | autogain_functions.c | 25 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()
|
D | mars.c | 266 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()
|
D | ov534.c | 1417 sethue(gspca_dev, v4l2_ctrl_g_ctrl(sd->hue)); in sd_start() 1418 setsaturation(gspca_dev, v4l2_ctrl_g_ctrl(sd->saturation)); 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() 1426 setbrightness(gspca_dev, v4l2_ctrl_g_ctrl(sd->brightness)); 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() [all …]
|
D | sn9c20x.c | 2009 jpeg_set_qual(sd->jpeg_hdr, v4l2_ctrl_g_ctrl(sd->jpegqual)); in sd_start() 2046 set_cmatrix(gspca_dev, v4l2_ctrl_g_ctrl(sd->brightness), in sd_start() 2047 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() 2056 set_exposure(gspca_dev, v4l2_ctrl_g_ctrl(sd->exposure)); in sd_start() [all …]
|
D | pac7311.c | 440 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()
|
D | jeilinj.c | 252 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()
|
D | pac207.c | 293 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()
|
D | sn9c2028.c | 715 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()
|
D | vicam.c | 105 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()
|
D | spca561.c | 621 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()
|
D | stk1135.c | 556 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()
|
D | zc3xx.c | 6774 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()
|
D | sq930x.c | 1039 setexposure(gspca_dev, v4l2_ctrl_g_ctrl(sd->exposure), in sd_dq_callback() 1040 v4l2_ctrl_g_ctrl(sd->gain)); in sd_dq_callback()
|
/linux-6.1.9/drivers/media/platform/allegro-dvt/ |
D | allegro-core.c | 310 return v4l2_ctrl_g_ctrl(channel->mpeg_video_hevc_i_frame_qp); in allegro_channel_get_i_frame_qp() 312 return v4l2_ctrl_g_ctrl(channel->mpeg_video_h264_i_frame_qp); in allegro_channel_get_i_frame_qp() 319 return v4l2_ctrl_g_ctrl(channel->mpeg_video_hevc_p_frame_qp); in allegro_channel_get_p_frame_qp() 321 return v4l2_ctrl_g_ctrl(channel->mpeg_video_h264_p_frame_qp); in allegro_channel_get_p_frame_qp() 328 return v4l2_ctrl_g_ctrl(channel->mpeg_video_hevc_b_frame_qp); in allegro_channel_get_b_frame_qp() 330 return v4l2_ctrl_g_ctrl(channel->mpeg_video_h264_b_frame_qp); in allegro_channel_get_b_frame_qp() 337 return v4l2_ctrl_g_ctrl(channel->mpeg_video_hevc_min_qp); in allegro_channel_get_min_qp() 339 return v4l2_ctrl_g_ctrl(channel->mpeg_video_h264_min_qp); in allegro_channel_get_min_qp() 346 return v4l2_ctrl_g_ctrl(channel->mpeg_video_hevc_max_qp); in allegro_channel_get_max_qp() 348 return v4l2_ctrl_g_ctrl(channel->mpeg_video_h264_max_qp); in allegro_channel_get_max_qp() [all …]
|
/linux-6.1.9/drivers/media/i2c/ |
D | wm8775.c | 120 if (v4l2_ctrl_g_ctrl(state->mute)) in wm8775_s_routing() 122 if (!v4l2_ctrl_g_ctrl(state->vol)) in wm8775_s_routing()
|
/linux-6.1.9/drivers/media/usb/go7007/ |
D | go7007-v4l2.c | 147 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()
|
/linux-6.1.9/drivers/media/radio/ |
D | radio-rtrack2.c | 87 outb_p(v4l2_ctrl_g_ctrl(isa->mute), isa->io); in rtrack2_s_frequency()
|
D | radio-aimslab.c | 92 if (!v4l2_ctrl_g_ctrl(rt->isa.mute)) in rtrack_set_pins()
|
/linux-6.1.9/drivers/media/pci/cx18/ |
D | cx18-fileops.c | 152 new_stereo_mode = v4l2_ctrl_g_ctrl(cx->cxhdl.audio_mode); in cx18_dualwatch() 762 (v4l2_ctrl_g_ctrl(cx->cxhdl.video_mute) | in cx18_v4l2_close() 763 (v4l2_ctrl_g_ctrl(cx->cxhdl.video_mute_yuv) << 8))); in cx18_v4l2_close()
|
D | cx18-streams.c | 786 cx->dualwatch_stereo_mode = v4l2_ctrl_g_ctrl(cx->cxhdl.audio_mode); in cx18_start_v4l2_encode_stream() 886 (v4l2_ctrl_g_ctrl(cx->cxhdl.video_mute_yuv) << 8) | 1); in cx18_start_v4l2_encode_stream()
|
/linux-6.1.9/drivers/media/pci/ivtv/ |
D | ivtv-fileops.c | 146 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()
|
D | ivtv-streams.c | 511 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()
|
/linux-6.1.9/drivers/media/platform/xilinx/ |
D | xilinx-tpg.c | 198 v4l2_ctrl_g_ctrl(xtpg->hblank) + width); in xtpg_s_stream() 200 v4l2_ctrl_g_ctrl(xtpg->vblank) + height); in xtpg_s_stream()
|
/linux-6.1.9/include/media/ |
D | v4l2-ctrls.h | 1071 s32 v4l2_ctrl_g_ctrl(struct v4l2_ctrl *ctrl);
|