Home
last modified time | relevance | path

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

/drivers/media/i2c/soc_camera/
Dtw9910.c225 u16 hscale; member
242 .hscale = 0x0100,
249 .hscale = 0x0100,
256 .hscale = 0x0200,
263 .hscale = 0x0200,
270 .hscale = 0x0400,
277 .hscale = 0x0400,
287 .hscale = 0x0100,
294 .hscale = 0x0100,
301 .hscale = 0x0200,
[all …]
/drivers/media/i2c/
Dbt819.c80 int hscale; member
201 init[0x08 * 2 - 1] = timing->hscale >> 8; in bt819_init()
202 init[0x09 * 2 - 1] = timing->hscale & 0xff; in bt819_init()
290 bt819_write(decoder, 0x08, (timing->hscale >> 8) & 0xff); in bt819_s_std()
291 bt819_write(decoder, 0x09, timing->hscale & 0xff); in bt819_s_std()
/drivers/media/pci/cx25821/
Dcx25821-medusa-video.c425 u32 hscale = 0x0; in medusa_set_resolution() local
446 hscale = 0x13E34B; in medusa_set_resolution()
451 hscale = 0x10A273; in medusa_set_resolution()
456 hscale = 0x3115B2; in medusa_set_resolution()
461 hscale = 0x378D84; in medusa_set_resolution()
466 hscale = 0x0; in medusa_set_resolution()
474 HSCALE_CTRL + (0x200 * decoder), hscale); in medusa_set_resolution()
/drivers/media/usb/em28xx/
Dem28xx-video.c899 unsigned int *hscale, unsigned int *vscale) in size_to_scale() argument
904 *hscale = (((unsigned long)maxw) << 12) / width - 4096L; in size_to_scale()
905 if (*hscale > EM28XX_HVSCALE_MAX) in size_to_scale()
906 *hscale = EM28XX_HVSCALE_MAX; in size_to_scale()
914 unsigned int hscale, unsigned int vscale, in scale_to_size() argument
920 *width = (((unsigned long)maxw) << 12) / (hscale + 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.h556 unsigned hscale; /* horizontal scale factor (see datasheet) */ member
Dem28xx-core.c833 return em28xx_scaler_set(dev, dev->hscale, dev->vscale); in em28xx_resolution_set()
/drivers/gpu/drm/radeon/
Dradeon_legacy_crtc.c53 bool hscale = true, vscale = true; in radeon_legacy_rmx_mode_set() local
111 hscale = false; in radeon_legacy_rmx_mode_set()
120 hscale = false; in radeon_legacy_rmx_mode_set()
128 if (!hscale) in radeon_legacy_rmx_mode_set()
/drivers/media/pci/bt8xx/
Dbttv-risc.c356 geo->hscale = ((totalwidth*4096UL)/xsf-4096); in bttv_calc_geo_old()
409 geo->hscale = (c_width * 4096U + (width >> 1)) / width - 4096; in bttv_calc_geo()
446 btwrite(geo->hscale >> 8, BT848_E_HSCALE_HI+off); in bttv_apply_geo()
447 btwrite(geo->hscale & 0xff, BT848_E_HSCALE_LO+off); in bttv_apply_geo()
Dbttvp.h153 u16 width,hscale,hdelay; member