/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn201/ |
D | dcn201_dpp.c | 206 if (scl_data->ratios.horz.value == (8ll << 32)) in dpp201_get_optimal_number_of_taps() 207 scl_data->ratios.horz.value--; in dpp201_get_optimal_number_of_taps() 208 if (scl_data->ratios.vert.value == (8ll << 32)) in dpp201_get_optimal_number_of_taps() 209 scl_data->ratios.vert.value--; in dpp201_get_optimal_number_of_taps() 210 if (scl_data->ratios.horz_c.value == (8ll << 32)) in dpp201_get_optimal_number_of_taps() 211 scl_data->ratios.horz_c.value--; in dpp201_get_optimal_number_of_taps() 212 if (scl_data->ratios.vert_c.value == (8ll << 32)) in dpp201_get_optimal_number_of_taps() 213 scl_data->ratios.vert_c.value--; in dpp201_get_optimal_number_of_taps() 216 if (dc_fixpt_ceil(scl_data->ratios.horz) > 4) in dpp201_get_optimal_number_of_taps() 224 if (dc_fixpt_ceil(scl_data->ratios.vert) > 4) in dpp201_get_optimal_number_of_taps() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_dpp_dscl.c | 139 if (data->ratios.horz.value == one in dpp1_dscl_get_dscl_mode() 140 && data->ratios.vert.value == one in dpp1_dscl_get_dscl_mode() 141 && data->ratios.horz_c.value == one in dpp1_dscl_get_dscl_mode() 142 && data->ratios.vert_c.value == one in dpp1_dscl_get_dscl_mode() 152 if (data->ratios.horz.value == one && data->ratios.vert.value == one) in dpp1_dscl_get_dscl_mode() 154 if (data->ratios.horz_c.value == one && data->ratios.vert_c.value == one) in dpp1_dscl_get_dscl_mode() 321 scl_data->taps.h_taps, scl_data->ratios.horz); in dpp1_dscl_set_scl_filter() 323 scl_data->taps.v_taps, scl_data->ratios.vert); in dpp1_dscl_set_scl_filter() 330 scl_data->taps.h_taps_c, scl_data->ratios.horz_c); in dpp1_dscl_set_scl_filter() 332 scl_data->taps.v_taps_c, scl_data->ratios.vert_c); in dpp1_dscl_set_scl_filter() [all …]
|
D | dcn10_dpp.c | 132 scl_data->ratios.horz.value != dc_fixpt_one.value && in dpp1_get_optimal_number_of_taps() 133 scl_data->ratios.vert.value != dc_fixpt_one.value) in dpp1_get_optimal_number_of_taps() 144 if (scl_data->ratios.horz.value == (4ll << 32)) in dpp1_get_optimal_number_of_taps() 145 scl_data->ratios.horz.value--; in dpp1_get_optimal_number_of_taps() 146 if (scl_data->ratios.vert.value == (4ll << 32)) in dpp1_get_optimal_number_of_taps() 147 scl_data->ratios.vert.value--; in dpp1_get_optimal_number_of_taps() 148 if (scl_data->ratios.horz_c.value == (4ll << 32)) in dpp1_get_optimal_number_of_taps() 149 scl_data->ratios.horz_c.value--; in dpp1_get_optimal_number_of_taps() 150 if (scl_data->ratios.vert_c.value == (4ll << 32)) in dpp1_get_optimal_number_of_taps() 151 scl_data->ratios.vert_c.value--; in dpp1_get_optimal_number_of_taps() [all …]
|
/linux-6.1.9/drivers/clk/mvebu/ |
D | orion.c | 80 .ratios = orion_coreclk_ratios, 148 .ratios = orion_coreclk_ratios, 205 .ratios = orion_coreclk_ratios, 268 .ratios = orion_coreclk_ratios,
|
D | kirkwood.c | 197 .ratios = kirkwood_coreclk_ratios, 205 .ratios = kirkwood_coreclk_ratios, 213 .ratios = kirkwood_coreclk_ratios,
|
D | common.h | 34 const struct coreclk_ratio *ratios; member
|
D | common.c | 157 const char *rclk_name = desc->ratios[n].name; in mvebu_coreclk_setup() 162 desc->get_clk_ratio(base, desc->ratios[n].id, &mult, &div); in mvebu_coreclk_setup()
|
D | armada-375.c | 136 .ratios = armada_375_coreclk_ratios,
|
D | armada-39x.c | 123 .ratios = armada_39x_coreclk_ratios,
|
D | armada-38x.c | 120 .ratios = armada_38x_coreclk_ratios,
|
D | mv98dx3236.c | 149 .ratios = mv98dx3236_core_ratios,
|
D | dove.c | 152 .ratios = dove_coreclk_ratios,
|
D | armada-370.c | 146 .ratios = a370_coreclk_ratios,
|
D | armada-xp.c | 155 .ratios = axp_coreclk_ratios,
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_transform.c | 286 dc_fixpt_u2d19(data->ratios.horz) << 5; in calculate_inits() 288 dc_fixpt_u2d19(data->ratios.vert) << 5; in calculate_inits() 293 data->ratios.horz, in calculate_inits() 302 data->ratios.vert, in calculate_inits() 318 dc_fixpt_u2d19(data->ratios.horz) << 5; in dce60_calculate_inits() 320 dc_fixpt_u2d19(data->ratios.vert) << 5; in dce60_calculate_inits() 331 data->ratios.vert, in dce60_calculate_inits() 439 coeffs_v = get_filter_coeffs_16p(data->taps.v_taps, data->ratios.vert); in dce_transform_set_scaler() 440 coeffs_h = get_filter_coeffs_16p(data->taps.h_taps, data->ratios.horz); in dce_transform_set_scaler() 524 coeffs_v = get_filter_coeffs_16p(data->taps.v_taps, data->ratios.vert); in dce60_transform_set_scaler() [all …]
|
/linux-6.1.9/sound/soc/codecs/ |
D | cs42l51.c | 403 struct cs42l51_ratios *ratios = NULL; in cs42l51_hw_params() local 409 ratios = master_ratios; in cs42l51_hw_params() 413 ratios = slave_ratios; in cs42l51_hw_params() 417 ratios = slave_auto_ratios; in cs42l51_hw_params() 426 if (ratios[i].ratio == ratio) in cs42l51_hw_params() 447 mode = ratios[i].speed_mode; in cs42l51_hw_params() 459 power_ctl |= CS42L51_MIC_POWER_CTL_SPEED(ratios[i].speed_mode); in cs42l51_hw_params() 499 if (ratios[i].mclk) in cs42l51_hw_params()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_transform_v.c | 375 dc_fixpt_u2d19(data->ratios.horz) << 5; in calculate_inits() 377 dc_fixpt_u2d19(data->ratios.vert) << 5; in calculate_inits() 379 dc_fixpt_u2d19(data->ratios.horz_c) << 5; in calculate_inits() 381 dc_fixpt_u2d19(data->ratios.vert_c) << 5; in calculate_inits() 559 coeffs_v = get_filter_coeffs_64p(data->taps.v_taps, data->ratios.vert); in dce110_xfmv_set_scaler() 560 coeffs_h = get_filter_coeffs_64p(data->taps.h_taps, data->ratios.horz); in dce110_xfmv_set_scaler() 561 coeffs_v_c = get_filter_coeffs_64p(data->taps.v_taps_c, data->ratios.vert_c); in dce110_xfmv_set_scaler() 562 coeffs_h_c = get_filter_coeffs_64p(data->taps.h_taps_c, data->ratios.horz_c); in dce110_xfmv_set_scaler()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_dpp.c | 403 if (dc_fixpt_ceil(scl_data->ratios.horz) > 1) in dpp3_get_optimal_number_of_taps() 404 scl_data->taps.h_taps = min(2 * dc_fixpt_ceil(scl_data->ratios.horz), 8); in dpp3_get_optimal_number_of_taps() 410 if (dc_fixpt_ceil(scl_data->ratios.vert) > 1) in dpp3_get_optimal_number_of_taps() 411 scl_data->taps.v_taps = min(dc_fixpt_ceil(dc_fixpt_mul_int(scl_data->ratios.vert, 2)), 8); in dpp3_get_optimal_number_of_taps() 417 if (dc_fixpt_ceil(scl_data->ratios.vert_c) > 1) in dpp3_get_optimal_number_of_taps() 418 scl_data->taps.v_taps_c = min(dc_fixpt_ceil(dc_fixpt_mul_int(scl_data->ratios.vert_c, 2)), 8); in dpp3_get_optimal_number_of_taps() 424 if (dc_fixpt_ceil(scl_data->ratios.horz_c) > 1) in dpp3_get_optimal_number_of_taps() 425 scl_data->taps.h_taps_c = min(2 * dc_fixpt_ceil(scl_data->ratios.horz_c), 8); in dpp3_get_optimal_number_of_taps() 435 min_taps_y = dc_fixpt_ceil(scl_data->ratios.vert); in dpp3_get_optimal_number_of_taps() 436 min_taps_c = dc_fixpt_ceil(scl_data->ratios.vert_c); in dpp3_get_optimal_number_of_taps() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 791 data->viewport.width = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.horz, data->recout.width)); in calculate_viewport_size() 792 data->viewport.height = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.vert, data->recout.height)); in calculate_viewport_size() 793 data->viewport_c.width = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.horz_c, data->recout.width)); in calculate_viewport_size() 794 …data->viewport_c.height = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.vert_c, data->recout.height)… in calculate_viewport_size() 895 pipe_ctx->plane_res.scl_data.ratios.horz = dc_fixpt_from_fraction( in calculate_scaling_ratios() 898 pipe_ctx->plane_res.scl_data.ratios.vert = dc_fixpt_from_fraction( in calculate_scaling_ratios() 903 pipe_ctx->plane_res.scl_data.ratios.horz.value *= 2; in calculate_scaling_ratios() 905 pipe_ctx->plane_res.scl_data.ratios.vert.value *= 2; in calculate_scaling_ratios() 907 pipe_ctx->plane_res.scl_data.ratios.vert.value = div64_s64( in calculate_scaling_ratios() 908 pipe_ctx->plane_res.scl_data.ratios.vert.value * in_h, out_h); in calculate_scaling_ratios() [all …]
|
/linux-6.1.9/arch/x86/kernel/cpu/ |
D | aperfmperf.c | 190 u64 ratios, counts; in skx_set_max_freq_ratio() local 200 err = rdmsrl_safe(MSR_TURBO_RATIO_LIMIT, &ratios); in skx_set_max_freq_ratio() 211 *turbo_freq = (ratios >> i) & 0xFF; in skx_set_max_freq_ratio()
|
/linux-6.1.9/tools/perf/Documentation/ |
D | topdown.txt | 51 metric register that reports slots ratios for the different bottleneck 169 The binary ratios in the metric value can be converted to float ratios: 190 The ratios in the metric accumulate for the time when the counter 221 Later the individual ratios of L1 metric events for the measurement period can 236 The individual ratios of L2 metric events for the measurement period can be
|
/linux-6.1.9/fs/erofs/ |
D | Kconfig | 18 ratios and implements in-place decompression to reuse the file page 94 gives better compression ratios than the LZ4 algorithm, at the
|
/linux-6.1.9/Documentation/devicetree/bindings/sound/ |
D | nvidia,tegra186-asrc.yaml | 12 wide range of sample rate ratios (freq_in/freq_out) from 1:24 to 24:1.
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | transform.h | 175 struct scaling_ratios ratios; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
D | dcn_calcs.c | 399 input->scale_ratio_depth.hscl_ratio = pipe->plane_res.scl_data.ratios.horz.value/4294967296.0; in pipe_ctx_to_e2e_pipe_params() 400 input->scale_ratio_depth.vscl_ratio = pipe->plane_res.scl_data.ratios.vert.value/4294967296.0; in pipe_ctx_to_e2e_pipe_params() 407 input->scale_ratio_depth.hscl_ratio_c = pipe->plane_res.scl_data.ratios.horz_c.value/4294967296.0; in pipe_ctx_to_e2e_pipe_params() 408 input->scale_ratio_depth.vscl_ratio_c = pipe->plane_res.scl_data.ratios.vert_c.value/4294967296.0; in pipe_ctx_to_e2e_pipe_params() 977 ASSERT(pipe->plane_res.scl_data.ratios.horz.value != dc_fixpt_one.value in dcn_validate_bandwidth() 979 ASSERT(pipe->plane_res.scl_data.ratios.vert.value != dc_fixpt_one.value in dcn_validate_bandwidth() 982 ASSERT(pipe->plane_res.scl_data.ratios.horz.value != dc_fixpt_one.value in dcn_validate_bandwidth() 984 ASSERT(pipe->plane_res.scl_data.ratios.vert.value != dc_fixpt_one.value in dcn_validate_bandwidth()
|