/linux-master/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_hgt.c | 137 unsigned int vratio; local 168 vratio = crop->height * 2 / compose->height / 3; 171 (vratio << VI6_HGT_MODE_VRATIO_SHIFT));
|
H A D | vsp1_hgo.c | 141 unsigned int vratio; local 165 vratio = crop->height * 2 / compose->height / 3; 170 (vratio << VI6_HGO_MODE_VRATIO_SHIFT));
|
/linux-master/drivers/media/i2c/ |
H A D | mt9v032.c | 192 unsigned int vratio; member in struct:mt9v032 398 vbin = fls(mt9v032->vratio) - 1; 508 unsigned int vratio; local 524 vratio = mt9v032_calc_ratio(__crop->height, height); 529 __format->height = __crop->height / vratio; 533 mt9v032->vratio = vratio; 603 mt9v032->vratio = 1; 1164 mt9v032->vratio = 1;
|
H A D | ov5693.c | 819 unsigned int hratio, vratio; local 841 vratio = clamp_t(unsigned int, 848 fmt->height = crop->height / vratio; 860 ov5693->mode.binning_y = vratio > 1; 861 ov5693->mode.inc_y_odd = vratio > 1 ? 3 : 1;
|
H A D | imx296.c | 698 unsigned int vratio; local 707 vratio = DIV_ROUND_CLOSEST(crop->height, height); 710 format->height = crop->height / vratio;
|
H A D | mt9p031.c | 596 unsigned int vratio; local 612 vratio = DIV_ROUND_CLOSEST(__crop->height, height); 617 __format->height = __crop->height / vratio;
|
H A D | mt9m114.c | 794 unsigned int hratio, vratio; local 818 vratio = pa_crop->height / pa_format->height; 835 (pa_crop->height - 4) / vratio - 1, &ret); 842 if (vratio > 1)
|
/linux-master/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_gsc.c | 726 static void gsc_get_prescaler_shfactor(u32 hratio, u32 vratio, u32 *shfactor) argument 728 if (hratio == 4 && vratio == 4) 730 else if ((hratio == 4 && vratio == 2) || 731 (hratio == 2 && vratio == 4)) 733 else if ((hratio == 4 && vratio == 1) || 734 (hratio == 1 && vratio == 4) || 735 (hratio == 2 && vratio == 2)) 737 else if (hratio == 1 && vratio == 1)
|
H A D | exynos_drm_fimc.c | 74 * @vratio: vertical ratio. 82 u32 vratio; member in struct:fimc_scaler 784 sc->vratio = (src_h << 14) / (dst_h << vfactor); 787 DRM_DEV_DEBUG_KMS(ctx->dev, "hratio[%d]vratio[%d]up_h[%d]up_v[%d]\n", 788 sc->hratio, sc->vratio, sc->up_h, sc->up_v); 811 DRM_DEV_DEBUG_KMS(ctx->dev, "hratio[%d]vratio[%d]\n", 812 sc->hratio, sc->vratio); 833 EXYNOS_CISCCTRL_MAINVERRATIO((sc->vratio >> 6))); 840 EXYNOS_CIEXTEN_MAINVERRATIO_EXT(sc->vratio));
|
/linux-master/drivers/media/platform/samsung/exynos-gsc/ |
H A D | gsc-core.c | 257 void gsc_get_prescaler_shfactor(u32 hratio, u32 vratio, u32 *sh) argument 259 if (hratio == 4 && vratio == 4) 261 else if ((hratio == 4 && vratio == 2) || 262 (hratio == 2 && vratio == 4)) 264 else if ((hratio == 4 && vratio == 1) || 265 (hratio == 1 && vratio == 4) || 266 (hratio == 2 && vratio == 2)) 268 else if (hratio == 1 && vratio == 1)
|
H A D | gsc-core.h | 400 void gsc_get_prescaler_shfactor(u32 hratio, u32 vratio, u32 *sh);
|
/linux-master/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | tvmodesnv17.c | 550 int overscan, hmargin, vmargin, hratio, vratio; local 568 vratio = crtc_mode->vdisplay * 0x800 / 577 XLATE(vratio, 0, NV_PRAMDAC_FP_DEBUG_1_YSCALE_VALUE) |
|
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
H A D | display_rq_dlg_calc_21.c | 100 double vratio, 107 if (vratio <= 1.0) { 123 dml_print("DML_DLG: %s: vratio = %3.2f\n", __func__, vratio); 93 get_refcyc_per_delivery( struct display_mode_lib *mode_lib, double refclk_freq_in_mhz, double pclk_freq_in_mhz, bool odm_combine, unsigned int recout_width, unsigned int hactive, double vratio, double hscale_pixel_rate, unsigned int delivery_width, unsigned int req_per_swath_ub) argument
|
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | display_rq_dlg_calc_20v2.c | 124 double vratio, 131 if (vratio <= 1.0) { 147 dml_print("DML_DLG: %s: vratio = %3.2f\n", __func__, vratio); 118 get_refcyc_per_delivery(struct display_mode_lib *mode_lib, double refclk_freq_in_mhz, double pclk_freq_in_mhz, bool odm_combine, unsigned int recout_width, unsigned int hactive, double vratio, double hscale_pixel_rate, unsigned int delivery_width, unsigned int req_per_swath_ub) argument
|
H A D | display_rq_dlg_calc_20.c | 124 double vratio, 131 if (vratio <= 1.0) { 147 dml_print("DML_DLG: %s: vratio = %3.2f\n", __func__, vratio); 118 get_refcyc_per_delivery(struct display_mode_lib *mode_lib, double refclk_freq_in_mhz, double pclk_freq_in_mhz, bool odm_combine, unsigned int recout_width, unsigned int hactive, double vratio, double hscale_pixel_rate, unsigned int delivery_width, unsigned int req_per_swath_ub) argument
|
/linux-master/drivers/gpu/drm/amd/display/dc/dml/ |
H A D | dml1_display_rq_dlg_calc.c | 102 double vratio, 109 if (vratio <= 1.0) { 120 DTRACE("DLG: %s: vratio = %3.2f", __func__, vratio); 97 get_refcyc_per_delivery( struct display_mode_lib *mode_lib, double refclk_freq_in_mhz, double pclk_freq_in_mhz, unsigned int recout_width, double vratio, double hscale_pixel_rate, unsigned int delivery_width, unsigned int req_per_swath_ub) argument
|
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A D | display_rq_dlg_calc_31.c | 49 double vratio, 56 if (vratio <= 1.0) { 70 dml_print("DML_DLG: %s: vratio = %3.2f\n", __func__, vratio); 42 get_refcyc_per_delivery( struct display_mode_lib *mode_lib, double refclk_freq_in_mhz, double pclk_freq_in_mhz, unsigned int odm_combine, unsigned int recout_width, unsigned int hactive, double vratio, double hscale_pixel_rate, unsigned int delivery_width, unsigned int req_per_swath_ub) argument
|
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_rq_dlg_calc_30.c | 48 double vratio, 55 if (vratio <= 1.0) { 71 dml_print("DML_DLG: %s: vratio = %3.2f\n", __func__, vratio); 42 get_refcyc_per_delivery(struct display_mode_lib *mode_lib, double refclk_freq_in_mhz, double pclk_freq_in_mhz, unsigned int odm_combine, unsigned int recout_width, unsigned int hactive, double vratio, double hscale_pixel_rate, unsigned int delivery_width, unsigned int req_per_swath_ub) argument
|
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | display_rq_dlg_calc_314.c | 137 double vratio, 144 if (vratio <= 1.0) { 158 dml_print("DML_DLG: %s: vratio = %3.2f\n", __func__, vratio); 130 get_refcyc_per_delivery( struct display_mode_lib *mode_lib, double refclk_freq_in_mhz, double pclk_freq_in_mhz, unsigned int odm_combine, unsigned int recout_width, unsigned int hactive, double vratio, double hscale_pixel_rate, unsigned int delivery_width, unsigned int req_per_swath_ub) argument
|