/Linux-v5.10/drivers/media/platform/vsp1/ |
D | vsp1_hgt.c | 137 unsigned int vratio; in hgt_configure_stream() local 168 vratio = crop->height * 2 / compose->height / 3; in hgt_configure_stream() 171 (vratio << VI6_HGT_MODE_VRATIO_SHIFT)); in hgt_configure_stream()
|
D | vsp1_hgo.c | 141 unsigned int vratio; in hgo_configure_stream() local 165 vratio = crop->height * 2 / compose->height / 3; in hgo_configure_stream() 170 (vratio << VI6_HGO_MODE_VRATIO_SHIFT)); in hgo_configure_stream()
|
/Linux-v5.10/drivers/media/i2c/ |
D | mt9v032.c | 191 unsigned int vratio; member 395 vbin = fls(mt9v032->vratio) - 1; in mt9v032_s_stream() 504 unsigned int vratio; in mt9v032_set_format() local 520 vratio = mt9v032_calc_ratio(__crop->height, height); in mt9v032_set_format() 525 __format->height = __crop->height / vratio; in mt9v032_set_format() 529 mt9v032->vratio = vratio; in mt9v032_set_format() 596 mt9v032->vratio = 1; in mt9v032_set_selection() 1158 mt9v032->vratio = 1; in mt9v032_probe()
|
D | mt9t001.c | 291 unsigned int vratio; in mt9t001_s_stream() local 307 vratio = DIV_ROUND_CLOSEST(crop->height, format->height); in mt9t001_s_stream() 313 ret = mt9t001_write(client, MT9T001_COLUMN_ADDRESS_MODE, vratio - 1); in mt9t001_s_stream() 384 unsigned int vratio; in mt9t001_set_format() local 400 vratio = DIV_ROUND_CLOSEST(__crop->height, height); in mt9t001_set_format() 405 __format->height = __crop->height / vratio; in mt9t001_set_format()
|
D | mt9p031.c | 553 unsigned int vratio; in mt9p031_set_format() local 569 vratio = DIV_ROUND_CLOSEST(__crop->height, height); in mt9p031_set_format() 574 __format->height = __crop->height / vratio; in mt9p031_set_format()
|
/Linux-v5.10/drivers/gpu/drm/exynos/ |
D | exynos_drm_gsc.c | 726 static void gsc_get_prescaler_shfactor(u32 hratio, u32 vratio, u32 *shfactor) in gsc_get_prescaler_shfactor() argument 728 if (hratio == 4 && vratio == 4) in gsc_get_prescaler_shfactor() 730 else if ((hratio == 4 && vratio == 2) || in gsc_get_prescaler_shfactor() 731 (hratio == 2 && vratio == 4)) in gsc_get_prescaler_shfactor() 733 else if ((hratio == 4 && vratio == 1) || in gsc_get_prescaler_shfactor() 734 (hratio == 1 && vratio == 4) || in gsc_get_prescaler_shfactor() 735 (hratio == 2 && vratio == 2)) in gsc_get_prescaler_shfactor() 737 else if (hratio == 1 && vratio == 1) in gsc_get_prescaler_shfactor()
|
D | exynos_drm_fimc.c | 82 u32 vratio; member 786 sc->vratio = (src_h << 14) / (dst_h << vfactor); in fimc_set_prescaler() 790 sc->hratio, sc->vratio, sc->up_h, sc->up_v); in fimc_set_prescaler() 814 sc->hratio, sc->vratio); in fimc_set_scaler() 835 EXYNOS_CISCCTRL_MAINVERRATIO((sc->vratio >> 6))); in fimc_set_scaler() 842 EXYNOS_CIEXTEN_MAINVERRATIO_EXT(sc->vratio)); in fimc_set_scaler()
|
/Linux-v5.10/drivers/media/platform/exynos-gsc/ |
D | gsc-core.c | 258 void gsc_get_prescaler_shfactor(u32 hratio, u32 vratio, u32 *sh) in gsc_get_prescaler_shfactor() argument 260 if (hratio == 4 && vratio == 4) in gsc_get_prescaler_shfactor() 262 else if ((hratio == 4 && vratio == 2) || in gsc_get_prescaler_shfactor() 263 (hratio == 2 && vratio == 4)) in gsc_get_prescaler_shfactor() 265 else if ((hratio == 4 && vratio == 1) || in gsc_get_prescaler_shfactor() 266 (hratio == 1 && vratio == 4) || in gsc_get_prescaler_shfactor() 267 (hratio == 2 && vratio == 2)) in gsc_get_prescaler_shfactor() 269 else if (hratio == 1 && vratio == 1) in gsc_get_prescaler_shfactor()
|
D | gsc-core.h | 394 void gsc_get_prescaler_shfactor(u32 hratio, u32 vratio, u32 *sh);
|
/Linux-v5.10/drivers/gpu/drm/nouveau/dispnv04/ |
D | tvmodesnv17.c | 551 int overscan, hmargin, vmargin, hratio, vratio; in nv17_ctv_update_rescaler() local 569 vratio = crtc_mode->vdisplay * 0x800 / in nv17_ctv_update_rescaler() 578 XLATE(vratio, 0, NV_PRAMDAC_FP_DEBUG_1_YSCALE_VALUE) | in nv17_ctv_update_rescaler()
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_rq_dlg_calc_20.c | 124 double vratio, in get_refcyc_per_delivery() argument 131 if (vratio <= 1.0) { in get_refcyc_per_delivery() 147 dml_print("DML_DLG: %s: vratio = %3.2f\n", __func__, vratio); in get_refcyc_per_delivery()
|
D | display_rq_dlg_calc_20v2.c | 124 double vratio, in get_refcyc_per_delivery() argument 131 if (vratio <= 1.0) { in get_refcyc_per_delivery() 147 dml_print("DML_DLG: %s: vratio = %3.2f\n", __func__, vratio); in get_refcyc_per_delivery()
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_rq_dlg_calc_21.c | 100 double vratio, in get_refcyc_per_delivery() argument 107 if (vratio <= 1.0) { in get_refcyc_per_delivery() 123 dml_print("DML_DLG: %s: vratio = %3.2f\n", __func__, vratio); in get_refcyc_per_delivery()
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/ |
D | dml1_display_rq_dlg_calc.c | 102 double vratio, in get_refcyc_per_delivery() argument 109 if (vratio <= 1.0) { in get_refcyc_per_delivery() 120 DTRACE("DLG: %s: vratio = %3.2f", __func__, vratio); in get_refcyc_per_delivery()
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_rq_dlg_calc_30.c | 49 double vratio, in get_refcyc_per_delivery() argument 56 if (vratio <= 1.0) { in get_refcyc_per_delivery() 72 dml_print("DML_DLG: %s: vratio = %3.2f\n", __func__, vratio); in get_refcyc_per_delivery()
|