Searched refs:ratios (Results 1 - 25 of 30) sorted by last modified time

12

/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn20/
H A Ddcn20_resource.c1515 sd->ratios.horz, sd->recout.width - new_width));
1517 sd->ratios.horz_c, sd->recout.width - new_width));
1529 sd->ratios.horz, sd->recout.width - new_width));
1531 sd->ratios.horz_c, sd->recout.width - new_width));
1534 sd->ratios.horz, sd->h_active - sd->recout.x));
1536 sd->ratios.horz_c, sd->h_active - sd->recout.x));
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn10/
H A Ddcn10_hwseq.c3490 .h_scale_ratio = pipe_ctx->plane_res.scl_data.ratios.horz,
3491 .v_scale_ratio = pipe_ctx->plane_res.scl_data.ratios.vert,
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dce110/
H A Ddce110_hwseq.c2968 .h_scale_ratio = pipe_ctx->plane_res.scl_data.ratios.horz,
2969 .v_scale_ratio = pipe_ctx->plane_res.scl_data.ratios.vert,
/linux-master/drivers/gpu/drm/amd/display/dc/dpp/dcn30/
H A Ddcn30_dpp.c443 if (dc_fixpt_ceil(scl_data->ratios.horz) > 1)
444 scl_data->taps.h_taps = min(2 * dc_fixpt_ceil(scl_data->ratios.horz), 8);
450 if (dc_fixpt_ceil(scl_data->ratios.vert) > 1)
451 scl_data->taps.v_taps = min(dc_fixpt_ceil(dc_fixpt_mul_int(scl_data->ratios.vert, 2)), 8);
457 if (dc_fixpt_ceil(scl_data->ratios.vert_c) > 1)
458 scl_data->taps.v_taps_c = min(dc_fixpt_ceil(dc_fixpt_mul_int(scl_data->ratios.vert_c, 2)), 8);
464 if (dc_fixpt_ceil(scl_data->ratios.horz_c) > 1)
465 scl_data->taps.h_taps_c = min(2 * dc_fixpt_ceil(scl_data->ratios.horz_c), 8);
475 min_taps_y = dc_fixpt_ceil(scl_data->ratios.vert);
476 min_taps_c = dc_fixpt_ceil(scl_data->ratios
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dpp/dcn201/
H A Ddcn201_dpp.c199 if (scl_data->ratios.horz.value == (8ll << 32))
200 scl_data->ratios.horz.value--;
201 if (scl_data->ratios.vert.value == (8ll << 32))
202 scl_data->ratios.vert.value--;
203 if (scl_data->ratios.horz_c.value == (8ll << 32))
204 scl_data->ratios.horz_c.value--;
205 if (scl_data->ratios.vert_c.value == (8ll << 32))
206 scl_data->ratios.vert_c.value--;
209 if (dc_fixpt_ceil(scl_data->ratios.horz) > 4)
217 if (dc_fixpt_ceil(scl_data->ratios
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dpp/dcn10/
H A Ddcn10_dpp_dscl.c136 if (data->ratios.horz.value == one
137 && data->ratios.vert.value == one
138 && data->ratios.horz_c.value == one
139 && data->ratios.vert_c.value == one
149 if (data->ratios.horz.value == one && data->ratios.vert.value == one)
151 if (data->ratios.horz_c.value == one && data->ratios.vert_c.value == one)
317 scl_data->taps.h_taps, scl_data->ratios.horz);
319 scl_data->taps.v_taps, scl_data->ratios
[all...]
H A Ddcn10_dpp.c132 scl_data->ratios.horz.value != dc_fixpt_one.value &&
133 scl_data->ratios.vert.value != dc_fixpt_one.value)
144 if (scl_data->ratios.horz.value == (4ll << 32))
145 scl_data->ratios.horz.value--;
146 if (scl_data->ratios.vert.value == (4ll << 32))
147 scl_data->ratios.vert.value--;
148 if (scl_data->ratios.horz_c.value == (4ll << 32))
149 scl_data->ratios.horz_c.value--;
150 if (scl_data->ratios.vert_c.value == (4ll << 32))
151 scl_data->ratios
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddml2_translation_helper.c903 out->ScalerEnabled[location] = scaler_data.ratios.horz.value != dc_fixpt_one.value ||
904 scaler_data.ratios.horz_c.value != dc_fixpt_one.value ||
905 scaler_data.ratios.vert.value != dc_fixpt_one.value ||
906 scaler_data.ratios.vert_c.value != dc_fixpt_one.value;
922 out->HRatio[location] = (dml_float_t)scaler_data.ratios.horz.value / (1ULL << 32);
923 out->HRatioChroma[location] = (dml_float_t)scaler_data.ratios.horz_c.value / (1ULL << 32);
924 out->VRatio[location] = (dml_float_t)scaler_data.ratios.vert.value / (1ULL << 32);
925 out->VRatioChroma[location] = (dml_float_t)scaler_data.ratios.vert_c.value / (1ULL << 32);
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddcn20_fpu.c1668 pipes[pipe_cnt].pipe.scale_ratio_depth.hscl_ratio = (double) scl->ratios.horz.value / (1ULL<<32);
1669 pipes[pipe_cnt].pipe.scale_ratio_depth.hscl_ratio_c = (double) scl->ratios.horz_c.value / (1ULL<<32);
1670 pipes[pipe_cnt].pipe.scale_ratio_depth.vscl_ratio = (double) scl->ratios.vert.value / (1ULL<<32);
1671 pipes[pipe_cnt].pipe.scale_ratio_depth.vscl_ratio_c = (double) scl->ratios.vert_c.value / (1ULL<<32);
1673 scl->ratios.vert.value != dc_fixpt_one.value
1674 || scl->ratios.horz.value != dc_fixpt_one.value
1675 || scl->ratios.vert_c.value != dc_fixpt_one.value
1676 || scl->ratios.horz_c.value != dc_fixpt_one.value /*Lb only or Full scl*/
/linux-master/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_transform.c286 dc_fixpt_u2d19(data->ratios.horz) << 5;
288 dc_fixpt_u2d19(data->ratios.vert) << 5;
293 data->ratios.horz,
302 data->ratios.vert,
318 dc_fixpt_u2d19(data->ratios.horz) << 5;
320 dc_fixpt_u2d19(data->ratios.vert) << 5;
331 data->ratios.vert,
439 coeffs_v = get_filter_coeffs_16p(data->taps.v_taps, data->ratios.vert);
440 coeffs_h = get_filter_coeffs_16p(data->taps.h_taps, data->ratios.horz);
524 coeffs_v = get_filter_coeffs_16p(data->taps.v_taps, data->ratios
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c767 data->viewport.width = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.horz, data->recout.width));
768 data->viewport.height = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.vert, data->recout.height));
769 data->viewport_c.width = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.horz_c, data->recout.width));
770 data->viewport_c.height = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.vert_c, data->recout.height));
842 * Active space, we first multiply stream scaling ratios (i.e 2304/1920
1150 /*Swap surf_src height and width since scaling ratios are in recout rotation*/
1155 pipe_ctx->plane_res.scl_data.ratios.horz = dc_fixpt_from_fraction(
1158 pipe_ctx->plane_res.scl_data.ratios.vert = dc_fixpt_from_fraction(
1163 pipe_ctx->plane_res.scl_data.ratios.horz.value *= 2;
1165 pipe_ctx->plane_res.scl_data.ratios
[all...]
/linux-master/tools/testing/selftests/net/forwarding/
H A Dlib.sh1452 check_err $? "Too large discrepancy between expected and measured ratios"
/linux-master/arch/x86/kernel/cpu/
H A Daperfmperf.c189 u64 ratios, counts; local
199 err = rdmsrl_safe(MSR_TURBO_RATIO_LIMIT, &ratios);
210 *turbo_freq = (ratios >> i) & 0xFF;
/linux-master/tools/perf/util/
H A Dstat-shadow.c139 static const char *get_ratio_color(const double ratios[3], double val) argument
143 if (val > ratios[0])
145 else if (val > ratios[1])
147 else if (val > ratios[2])
/linux-master/drivers/gpu/drm/amd/display/dc/basics/
H A Ddce_calcs.c423 /*effective scaling source and ratios:*/
425 /*420 chroma has half the width, height, horizontal and vertical scaling ratios than luma*/
426 /*rotating a graphic or underlay surface swaps the width, height, horizontal and vertical scaling ratios*/
2830 data->h_scale_ratio[num_displays + 4] = fixed31_32_to_bw_fixed(pipe[i].plane_res.scl_data.ratios.horz.value);
2831 data->v_scale_ratio[num_displays + 4] = fixed31_32_to_bw_fixed(pipe[i].plane_res.scl_data.ratios.vert.value);
2887 pipe[i].bottom_pipe->plane_res.scl_data.ratios.horz.value);
2889 pipe[i].bottom_pipe->plane_res.scl_data.ratios.vert.value);
2933 data->h_scale_ratio[num_displays + 4] = fixed31_32_to_bw_fixed(pipe[i].plane_res.scl_data.ratios.horz.value);
2934 data->v_scale_ratio[num_displays + 4] = fixed31_32_to_bw_fixed(pipe[i].plane_res.scl_data.ratios.vert.value);
/linux-master/drivers/gpu/drm/amd/display/dc/dml/calcs/
H A Ddcn_calcs.c399 input->scale_ratio_depth.hscl_ratio = pipe->plane_res.scl_data.ratios.horz.value/4294967296.0;
400 input->scale_ratio_depth.vscl_ratio = pipe->plane_res.scl_data.ratios.vert.value/4294967296.0;
407 input->scale_ratio_depth.hscl_ratio_c = pipe->plane_res.scl_data.ratios.horz_c.value/4294967296.0;
408 input->scale_ratio_depth.vscl_ratio_c = pipe->plane_res.scl_data.ratios.vert_c.value/4294967296.0;
977 ASSERT(pipe->plane_res.scl_data.ratios.horz.value != dc_fixpt_one.value
979 ASSERT(pipe->plane_res.scl_data.ratios.vert.value != dc_fixpt_one.value
982 ASSERT(pipe->plane_res.scl_data.ratios.horz.value != dc_fixpt_one.value
984 ASSERT(pipe->plane_res.scl_data.ratios.vert.value != dc_fixpt_one.value
/linux-master/sound/soc/codecs/
H A Dcs42l51.c371 * Master mode mclk/fs ratios.
373 * The table below provides support of following ratios:
403 struct cs42l51_ratios *ratios = NULL; local
409 ratios = master_ratios;
413 ratios = slave_ratios;
417 ratios = slave_auto_ratios;
426 if (ratios[i].ratio == ratio)
447 mode = ratios[i].speed_mode;
459 power_ctl |= CS42L51_MIC_POWER_CTL_SPEED(ratios[i].speed_mode);
499 if (ratios[
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_transform_v.c375 dc_fixpt_u2d19(data->ratios.horz) << 5;
377 dc_fixpt_u2d19(data->ratios.vert) << 5;
379 dc_fixpt_u2d19(data->ratios.horz_c) << 5;
381 dc_fixpt_u2d19(data->ratios.vert_c) << 5;
559 coeffs_v = get_filter_coeffs_64p(data->taps.v_taps, data->ratios.vert);
560 coeffs_h = get_filter_coeffs_64p(data->taps.h_taps, data->ratios.horz);
561 coeffs_v_c = get_filter_coeffs_64p(data->taps.v_taps_c, data->ratios.vert_c);
562 coeffs_h_c = get_filter_coeffs_64p(data->taps.h_taps_c, data->ratios.horz_c);
/linux-master/drivers/clk/mvebu/
H A Dkirkwood.c197 .ratios = kirkwood_coreclk_ratios,
205 .ratios = kirkwood_coreclk_ratios,
213 .ratios = kirkwood_coreclk_ratios,
H A Darmada-xp.c155 .ratios = axp_coreclk_ratios,
H A Dcommon.c157 const char *rclk_name = desc->ratios[n].name;
162 desc->get_clk_ratio(base, desc->ratios[n].id, &mult, &div);
H A Dmv98dx3236.c149 .ratios = mv98dx3236_core_ratios,
H A Ddove.c152 .ratios = dove_coreclk_ratios,
H A Darmada-370.c146 .ratios = a370_coreclk_ratios,
/linux-master/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dtransform.h175 struct scaling_ratios ratios; member in struct:scaler_data

Completed in 373 milliseconds

12