/drivers/media/video/ |
D | tuner-core.c | 859 struct video_tuner *vt = arg; in tuner_ioctl() local 872 vt->flags |= VIDEO_TUNER_STEREO_ON; in tuner_ioctl() 874 vt->flags &= ~VIDEO_TUNER_STEREO_ON; in tuner_ioctl() 878 vt->flags |= in tuner_ioctl() 881 vt->flags &= in tuner_ioctl() 886 vt->signal = in tuner_ioctl() 889 vt->flags |= VIDEO_TUNER_LOW; /* Allow freqs at 62.5 Hz */ in tuner_ioctl() 891 vt->rangelow = radio_range[0] * 16000; in tuner_ioctl() 892 vt->rangehigh = radio_range[1] * 16000; in tuner_ioctl() 895 vt->rangelow = tv_range[0] * 16; in tuner_ioctl() [all …]
|
D | vp27smpx.c | 94 static int vp27smpx_s_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in vp27smpx_s_tuner() argument 99 vp27smpx_set_audmode(sd, vt->audmode); in vp27smpx_s_tuner() 103 static int vp27smpx_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in vp27smpx_g_tuner() argument 109 vt->audmode = state->audmode; in vp27smpx_g_tuner() 110 vt->capability = V4L2_TUNER_CAP_STEREO | in vp27smpx_g_tuner() 112 vt->rxsubchans = V4L2_TUNER_SUB_MONO; in vp27smpx_g_tuner()
|
D | saa717x.c | 1306 static int saa717x_s_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in saa717x_s_tuner() argument 1316 switch (vt->audmode) { in saa717x_s_tuner() 1340 static int saa717x_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in saa717x_g_tuner() argument 1354 vt->rxsubchans = V4L2_TUNER_SUB_MONO; in saa717x_g_tuner() 1360 if (vt->audmode == V4L2_TUNER_MODE_STEREO || in saa717x_g_tuner() 1361 vt->audmode == V4L2_TUNER_MODE_LANG1) { in saa717x_g_tuner() 1362 vt->rxsubchans = V4L2_TUNER_SUB_STEREO; in saa717x_g_tuner() 1365 vt->rxsubchans = V4L2_TUNER_SUB_MONO; in saa717x_g_tuner() 1372 if (vt->audmode == V4L2_TUNER_MODE_LANG2) { in saa717x_g_tuner() 1373 vt->rxsubchans = V4L2_TUNER_SUB_LANG2 | V4L2_TUNER_SUB_MONO; in saa717x_g_tuner() [all …]
|
D | tvaudio.c | 1672 static int tvaudio_s_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in tvaudio_s_tuner() argument 1680 switch (vt->audmode) { in tvaudio_s_tuner() 1685 mode = vt->audmode; in tvaudio_s_tuner() 1693 chip->audmode = vt->audmode; in tvaudio_s_tuner() 1704 static int tvaudio_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in tvaudio_g_tuner() argument 1712 vt->audmode = chip->audmode; in tvaudio_g_tuner() 1713 vt->rxsubchans = 0; in tvaudio_g_tuner() 1714 vt->capability = V4L2_TUNER_CAP_STEREO | in tvaudio_g_tuner() 1721 vt->rxsubchans |= V4L2_TUNER_SUB_MONO; in tvaudio_g_tuner() 1723 vt->rxsubchans |= V4L2_TUNER_SUB_STEREO; in tvaudio_g_tuner() [all …]
|
D | msp3400-driver.c | 660 static int msp_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in msp_g_tuner() argument 669 vt->audmode = state->audmode; in msp_g_tuner() 670 vt->rxsubchans = state->rxsubchans; in msp_g_tuner() 671 vt->capability |= V4L2_TUNER_CAP_STEREO | in msp_g_tuner() 676 static int msp_s_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in msp_s_tuner() argument 683 if (state->audmode == vt->audmode) in msp_s_tuner() 685 state->audmode = vt->audmode; in msp_s_tuner()
|
D | v4l2-compat-ioctl32.c | 712 struct video_tuner vt; in do_video_ioctl() member 773 err = get_video_tuner32(&karg.vt, up); in do_video_ioctl() 891 err = put_video_tuner32(&karg.vt, up); in do_video_ioctl()
|
/drivers/media/video/cx18/ |
D | cx18-ioctl.c | 559 static int cx18_s_tuner(struct file *file, void *fh, struct v4l2_tuner *vt) in cx18_s_tuner() argument 569 if (vt->index != 0) in cx18_s_tuner() 573 cx18_call_i2c_clients(cx, VIDIOC_S_TUNER, vt); in cx18_s_tuner() 578 static int cx18_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt) in cx18_g_tuner() argument 582 if (vt->index != 0) in cx18_g_tuner() 585 cx18_call_i2c_clients(cx, VIDIOC_G_TUNER, vt); in cx18_g_tuner() 588 strlcpy(vt->name, "cx18 Radio Tuner", sizeof(vt->name)); in cx18_g_tuner() 589 vt->type = V4L2_TUNER_RADIO; in cx18_g_tuner() 591 strlcpy(vt->name, "cx18 TV Tuner", sizeof(vt->name)); in cx18_g_tuner() 592 vt->type = V4L2_TUNER_ANALOG_TV; in cx18_g_tuner()
|
D | cx18-fileops.c | 130 struct v4l2_tuner vt; in cx18_dualwatch() local 138 memset(&vt, 0, sizeof(vt)); in cx18_dualwatch() 139 cx18_call_i2c_clients(cx, VIDIOC_G_TUNER, &vt); in cx18_dualwatch() 140 if (vt.audmode == V4L2_TUNER_MODE_LANG1_LANG2 && in cx18_dualwatch() 141 (vt.rxsubchans & V4L2_TUNER_SUB_LANG2)) in cx18_dualwatch()
|
D | cx18-av-core.c | 686 struct v4l2_tuner *vt = arg; in cx18_av_cmd() local 805 vt->signal = vpres ? 0xffff : 0x0; in cx18_av_cmd() 807 vt->capability |= in cx18_av_cmd() 825 vt->rxsubchans = val; in cx18_av_cmd() 826 vt->audmode = state->audmode; in cx18_av_cmd() 840 switch (vt->audmode) { in cx18_av_cmd() 869 state->audmode = vt->audmode; in cx18_av_cmd()
|
/drivers/media/video/pvrusb2/ |
D | pvrusb2-video-v4l.c | 190 struct v4l2_tuner vt; in decoder_detect() local 193 memset(&vt,0,sizeof(vt)); in decoder_detect() 194 ret = pvr2_i2c_client_cmd(cp,VIDIOC_G_TUNER,&vt); in decoder_detect()
|
D | pvrusb2-i2c-cmd-v4l2.c | 145 struct v4l2_tuner vt; in set_audiomode() local 146 memset(&vt,0,sizeof(vt)); in set_audiomode() 147 vt.audmode = hdw->audiomode_val; in set_audiomode() 148 pvr2_i2c_core_cmd(hdw,VIDIOC_S_TUNER,&vt); in set_audiomode()
|
D | pvrusb2-v4l2.c | 389 struct v4l2_tuner *vt = (struct v4l2_tuner *)arg; in pvr2_v4l2_do_ioctl() local 391 if (vt->index != 0) break; /* Only answer for the 1st tuner */ in pvr2_v4l2_do_ioctl() 394 ret = pvr2_hdw_get_tuner_status(hdw,vt); in pvr2_v4l2_do_ioctl() 400 struct v4l2_tuner *vt=(struct v4l2_tuner *)arg; in pvr2_v4l2_do_ioctl() local 402 if (vt->index != 0) in pvr2_v4l2_do_ioctl() 407 vt->audmode); in pvr2_v4l2_do_ioctl() 415 struct v4l2_tuner vt; in pvr2_v4l2_do_ioctl() local 418 ret = pvr2_hdw_get_tuner_status(hdw,&vt); in pvr2_v4l2_do_ioctl() 435 if (vt.capability & V4L2_TUNER_CAP_LOW) { in pvr2_v4l2_do_ioctl() 450 struct v4l2_tuner vt; in pvr2_v4l2_do_ioctl() local [all …]
|
/drivers/media/video/ivtv/ |
D | ivtv-gpio.c | 186 static int subdev_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in subdev_g_tuner() argument 193 vt->rxsubchans = V4L2_TUNER_MODE_STEREO | in subdev_g_tuner() 196 vt->rxsubchans = V4L2_TUNER_SUB_MONO; in subdev_g_tuner() 200 static int subdev_s_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in subdev_s_tuner() argument 206 switch (vt->audmode) { in subdev_s_tuner()
|
D | ivtv-ioctl.c | 1143 static int ivtv_s_tuner(struct file *file, void *fh, struct v4l2_tuner *vt) in ivtv_s_tuner() argument 1148 if (vt->index != 0) in ivtv_s_tuner() 1151 ivtv_call_all(itv, tuner, s_tuner, vt); in ivtv_s_tuner() 1156 static int ivtv_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt) in ivtv_g_tuner() argument 1160 if (vt->index != 0) in ivtv_g_tuner() 1163 ivtv_call_all(itv, tuner, g_tuner, vt); in ivtv_g_tuner() 1166 strlcpy(vt->name, "ivtv Radio Tuner", sizeof(vt->name)); in ivtv_g_tuner() 1167 vt->type = V4L2_TUNER_RADIO; in ivtv_g_tuner() 1169 strlcpy(vt->name, "ivtv TV Tuner", sizeof(vt->name)); in ivtv_g_tuner() 1170 vt->type = V4L2_TUNER_ANALOG_TV; in ivtv_g_tuner()
|
D | ivtv-fileops.c | 150 struct v4l2_tuner vt; in ivtv_dualwatch() local 157 memset(&vt, 0, sizeof(vt)); in ivtv_dualwatch() 158 ivtv_call_all(itv, tuner, g_tuner, &vt); in ivtv_dualwatch() 159 if (vt.audmode == V4L2_TUNER_MODE_LANG1_LANG2 && (vt.rxsubchans & V4L2_TUNER_SUB_LANG2)) in ivtv_dualwatch()
|
/drivers/video/matrox/ |
D | matroxfb_misc.c | 189 unsigned int vd, vs, ve, vt, lc; in matroxfb_vgaHWinit() local 267 vt = m->VTotal - 2; in matroxfb_vgaHWinit() 282 vt &= ~1; in matroxfb_vgaHWinit() 292 hw->CRTCEXT[2] = ((vt & 0xC00) >> 10) | in matroxfb_vgaHWinit() 306 hw->CRTC[6] = vt & 0xFF; in matroxfb_vgaHWinit() 307 hw->CRTC[7] = ((vt & 0x100) >> 8) | in matroxfb_vgaHWinit() 312 ((vt & 0x200) >> 4) | in matroxfb_vgaHWinit() 328 hw->CRTC[22] = (vt + 1) /* & 0xFF */; in matroxfb_vgaHWinit()
|
/drivers/media/video/cx25840/ |
D | cx25840-core.c | 1271 static int cx25840_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in cx25840_g_tuner() argument 1282 vt->signal = vpres ? 0xffff : 0x0; in cx25840_g_tuner() 1286 vt->capability |= in cx25840_g_tuner() 1304 vt->rxsubchans = val; in cx25840_g_tuner() 1305 vt->audmode = state->audmode; in cx25840_g_tuner() 1309 static int cx25840_s_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in cx25840_s_tuner() argument 1317 switch (vt->audmode) { in cx25840_s_tuner() 1346 state->audmode = vt->audmode; in cx25840_s_tuner()
|
/drivers/video/ |
D | asiliantfb.c | 184 unsigned vt = p->var.upper_margin + p->var.yres + p->var.lower_margin + p->var.vsync_len; in asiliant_set_timing() local 201 write_cr(0x06, (vt - 2) & 0xff); in asiliant_set_timing() 202 write_cr(0x30, (vt - 2) >> 8); in asiliant_set_timing() 216 write_cr(0x16, (vt - 1) & 0xff); in asiliant_set_timing()
|
D | tdfxfb.c | 558 u32 vd, vs, ve, vt, vbs, vbe; in tdfxfb_set_par() local 598 vt = ve + (info->var.upper_margin << 1) - 1; in tdfxfb_set_par() 606 vt = ve + info->var.upper_margin - 1; in tdfxfb_set_par() 611 vbe = vt; in tdfxfb_set_par() 655 reg.crt[0x06] = vt; in tdfxfb_set_par() 658 ((vt & 0x200) >> 4) | 0x10 | in tdfxfb_set_par() 662 ((vt & 0x100) >> 8); in tdfxfb_set_par() 680 reg.ext[0x01] = (((vt & 0x400) >> 10) | in tdfxfb_set_par()
|
/drivers/media/video/usbvision/ |
D | usbvision-video.c | 634 struct v4l2_tuner *vt) in vidioc_g_tuner() argument 638 if (!usbvision->have_tuner || vt->index) // Only tuner 0 in vidioc_g_tuner() 641 strcpy(vt->name, "Radio"); in vidioc_g_tuner() 642 vt->type = V4L2_TUNER_RADIO; in vidioc_g_tuner() 644 strcpy(vt->name, "Television"); in vidioc_g_tuner() 647 call_i2c_clients(usbvision,VIDIOC_G_TUNER,vt); in vidioc_g_tuner() 653 struct v4l2_tuner *vt) in vidioc_s_tuner() argument 658 if (!usbvision->have_tuner || vt->index) in vidioc_s_tuner() 661 call_i2c_clients(usbvision,VIDIOC_S_TUNER,vt); in vidioc_s_tuner()
|
/drivers/video/intelfb/ |
D | intelfbhw.c | 1023 u32 *vs, *vb, *vt, *hs, *hb, *ht, *ss, *pipe_conf; in intelfbhw_mode_to_hw() local 1047 vt = &hw->vtotal_b; in intelfbhw_mode_to_hw() 1059 vt = &hw->vtotal_a; in intelfbhw_mode_to_hw() 1221 *vt = (vtotal << VTOTAL_SHIFT) | (vactive << VACTIVE_SHIFT); in intelfbhw_mode_to_hw() 1263 const u32 *hs, *ht, *hb, *vs, *vt, *vb, *ss; in intelfbhw_program_mode() local 1299 vt = &hw->vtotal_b; in intelfbhw_program_mode() 1323 vt = &hw->vtotal_a; in intelfbhw_program_mode() 1413 OUTREG(vtotal_reg, *vt); in intelfbhw_program_mode()
|
/drivers/video/mbx/ |
D | mbxfb.c | 239 ushort vbps, vt, vfps, vas; in mbxfb_set_par() local 296 vt = vfps + var->lower_margin; in mbxfb_set_par() 303 write_reg_dly((Dvt01_Vbps(vbps) | Dvt01_Vt(vt)), DVT01); in mbxfb_set_par()
|
/drivers/net/wireless/iwlwifi/ |
D | iwl-4965.c | 1693 s32 vt; in iwl4965_hw_get_temperature() local 1720 vt = sign_extend(R4, 23); in iwl4965_hw_get_temperature() 1722 vt = sign_extend( in iwl4965_hw_get_temperature() 1725 IWL_DEBUG_TEMP("Calib values R[1-3]: %d %d %d R4: %d\n", R1, R2, R3, vt); in iwl4965_hw_get_temperature() 1734 temperature = TEMPERATURE_CALIB_A_VAL * (vt - R2); in iwl4965_hw_get_temperature()
|
/drivers/video/mb862xx/ |
D | mb862xxfb.c | 360 unsigned long hsp, vsp, ht, vt; in mb862xxfb_init_fbinfo() local 387 vt = ((inreg(disp, GC_VTR) & 0xfff0000) >> 16) + 1; in mb862xxfb_init_fbinfo() 389 fbi->var.upper_margin = vt - vsp - fbi->var.vsync_len; in mb862xxfb_init_fbinfo()
|
/drivers/char/ |
D | Makefile | 17 obj-$(CONFIG_HW_CONSOLE) += vt.o defkeymap.o
|