Searched refs:vratio (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/media/i2c/ |
| H A D | mt9v032.c | 199 unsigned int vratio; member 405 vbin = fls(mt9v032->vratio) - 1; in mt9v032_s_stream() 514 unsigned int vratio; in mt9v032_set_format() local 530 vratio = mt9v032_calc_ratio(__crop->height, height); in mt9v032_set_format() 535 __format->height = __crop->height / vratio; in mt9v032_set_format() 539 mt9v032->vratio = vratio; in mt9v032_set_format() 609 mt9v032->vratio = 1; in mt9v032_set_selection() 1168 mt9v032->vratio = 1; in mt9v032_probe()
|
| H A D | mt9p031.c | 592 unsigned int vratio; in mt9p031_set_format() local 608 vratio = DIV_ROUND_CLOSEST(__crop->height, height); in mt9p031_set_format() 613 __format->height = __crop->height / vratio; in mt9p031_set_format()
|
| H A D | mt9m114.c | 805 unsigned int hratio, vratio; in mt9m114_configure_pa() local 818 vratio = crop->height / format->height; in mt9m114_configure_pa() 835 (crop->height - 4) / vratio - 1, &ret); in mt9m114_configure_pa() 842 if (vratio > 1) in mt9m114_configure_pa()
|
| /linux/drivers/gpu/drm/exynos/ |
| H A D | exynos_drm_gsc.c | 725 static void gsc_get_prescaler_shfactor(u32 hratio, u32 vratio, u32 *shfactor) in gsc_get_prescaler_shfactor() argument 727 if (hratio == 4 && vratio == 4) in gsc_get_prescaler_shfactor() 729 else if ((hratio == 4 && vratio == 2) || in gsc_get_prescaler_shfactor() 730 (hratio == 2 && vratio == 4)) in gsc_get_prescaler_shfactor() 732 else if ((hratio == 4 && vratio == 1) || in gsc_get_prescaler_shfactor() 733 (hratio == 1 && vratio == 4) || in gsc_get_prescaler_shfactor() 734 (hratio == 2 && vratio == 2)) in gsc_get_prescaler_shfactor() 736 else if (hratio == 1 && vratio == 1) in gsc_get_prescaler_shfactor()
|
| H A D | exynos_drm_fimc.c | 82 u32 vratio; member 784 sc->vratio = (src_h << 14) / (dst_h << vfactor); in fimc_set_prescaler() 788 sc->hratio, sc->vratio, sc->up_h, sc->up_v); in fimc_set_prescaler() 812 sc->hratio, sc->vratio); in fimc_set_scaler() 833 EXYNOS_CISCCTRL_MAINVERRATIO((sc->vratio >> 6))); in fimc_set_scaler() 840 EXYNOS_CIEXTEN_MAINVERRATIO_EXT(sc->vratio)); in fimc_set_scaler()
|
| /linux/drivers/media/platform/samsung/exynos-gsc/ |
| H A D | gsc-core.c | 257 void gsc_get_prescaler_shfactor(u32 hratio, u32 vratio, u32 *sh) in gsc_get_prescaler_shfactor() argument 259 if (hratio == 4 && vratio == 4) in gsc_get_prescaler_shfactor() 261 else if ((hratio == 4 && vratio == 2) || in gsc_get_prescaler_shfactor() 262 (hratio == 2 && vratio == 4)) in gsc_get_prescaler_shfactor() 264 else if ((hratio == 4 && vratio == 1) || in gsc_get_prescaler_shfactor() 265 (hratio == 1 && vratio == 4) || in gsc_get_prescaler_shfactor() 266 (hratio == 2 && vratio == 2)) in gsc_get_prescaler_shfactor() 268 else if (hratio == 1 && vratio == 1) in gsc_get_prescaler_shfactor()
|
| /linux/drivers/gpu/drm/nouveau/dispnv04/ |
| H A D | tvmodesnv17.c | 550 int overscan, hmargin, vmargin, hratio, vratio; in nv17_ctv_update_rescaler() local 568 vratio = crtc_mode->vdisplay * 0x800 / in nv17_ctv_update_rescaler() 577 XLATE(vratio, 0, NV_PRAMDAC_FP_DEBUG_1_YSCALE_VALUE) | in nv17_ctv_update_rescaler()
|
| /linux/drivers/media/platform/ti/vpe/ |
| H A D | vip.c | 1610 unsigned int hratio, vratio, width_align, height_align; in vip_try_fmt_vid_cap() local 1627 vratio = f->fmt.pix.height * 1000 / in vip_try_fmt_vid_cap() 1635 if (vratio < 188) { in vip_try_fmt_vid_cap()
|