Home
last modified time | relevance | path

Searched refs:vscale (Results 1 – 9 of 9) sorted by relevance

/drivers/media/i2c/soc_camera/
Dtw9910.c226 u16 vscale; member
243 .vscale = 0x0100,
250 .vscale = 0x0100,
257 .vscale = 0x0200,
264 .vscale = 0x0200,
271 .vscale = 0x0400,
278 .vscale = 0x0400,
288 .vscale = 0x0100,
295 .vscale = 0x0100,
302 .vscale = 0x0200,
[all …]
/drivers/media/pci/cx25821/
Dcx25821-medusa-video.c426 u32 vscale = 0x0; in medusa_set_resolution() local
447 vscale = 0x0; in medusa_set_resolution()
452 vscale = 0x0; in medusa_set_resolution()
457 vscale = 0x1E00; in medusa_set_resolution()
462 vscale = 0x1E00; in medusa_set_resolution()
467 vscale = 0x0; in medusa_set_resolution()
476 VSCALE_CTRL + (0x200 * decoder), vscale); in medusa_set_resolution()
/drivers/media/usb/em28xx/
Dem28xx-video.c899 unsigned int *hscale, unsigned int *vscale) in size_to_scale() argument
908 *vscale = (((unsigned long)maxh) << 12) / height - 4096L; in size_to_scale()
909 if (*vscale > EM28XX_HVSCALE_MAX) in size_to_scale()
910 *vscale = EM28XX_HVSCALE_MAX; in size_to_scale()
914 unsigned int hscale, unsigned int vscale, in scale_to_size() argument
921 *height = (((unsigned long)maxh) << 12) / (vscale + 4096L); in scale_to_size()
970 unsigned int hscale, vscale; in vidioc_try_fmt_vid_cap() local
998 size_to_scale(dev, width, height, &hscale, &vscale); in vidioc_try_fmt_vid_cap()
999 scale_to_size(dev, hscale, vscale, &width, &height); in vidioc_try_fmt_vid_cap()
1030 size_to_scale(dev, dev->width, dev->height, &dev->hscale, &dev->vscale); in em28xx_set_video_format()
[all …]
Dem28xx.h557 unsigned vscale; /* vertical scale factor (see datasheet) */ member
Dem28xx-core.c833 return em28xx_scaler_set(dev, dev->hscale, dev->vscale); in em28xx_resolution_set()
/drivers/media/pci/bt8xx/
Dbttv-risc.c361 geo->vscale = (0x10000UL-sr) & 0x1fff; in bttv_calc_geo_old()
364 geo->vscale |= interleaved ? (BT848_VSCALE_INT<<8) : 0; in bttv_calc_geo_old()
417 geo->vscale = (0x10000UL - sr) & 0x1fff; in bttv_calc_geo()
418 geo->vscale |= both_fields ? (BT848_VSCALE_INT << 8) : 0; in bttv_calc_geo()
448 btaor((geo->vscale>>8), 0xe0, BT848_E_VSCALE_HI+off); in bttv_apply_geo()
449 btwrite(geo->vscale & 0xff, BT848_E_VSCALE_LO+off); in bttv_apply_geo()
Dbttvp.h154 u16 sheight,vscale,vdelay,vtotal; member
/drivers/gpu/drm/radeon/
Dradeon_legacy_crtc.c53 bool hscale = true, vscale = true; in radeon_legacy_rmx_mode_set() local
112 vscale = false; in radeon_legacy_rmx_mode_set()
122 vscale = false; in radeon_legacy_rmx_mode_set()
140 if (!vscale) in radeon_legacy_rmx_mode_set()
/drivers/media/i2c/
Dbt819.c81 int vscale; member