| /linux/drivers/gpu/drm/amd/display/dc/dpp/dcn201/ |
| H A D | dcn201_dpp.c | 208 if (scl_data->ratios.horz.value == (8ll << 32)) in dpp201_get_optimal_number_of_taps() 209 scl_data->ratios.horz.value--; in dpp201_get_optimal_number_of_taps() 210 if (scl_data->ratios.vert.value == (8ll << 32)) in dpp201_get_optimal_number_of_taps() 211 scl_data->ratios.vert.value--; in dpp201_get_optimal_number_of_taps() 212 if (scl_data->ratios.horz_c.value == (8ll << 32)) in dpp201_get_optimal_number_of_taps() 213 scl_data->ratios.horz_c.value--; in dpp201_get_optimal_number_of_taps() 214 if (scl_data->ratios.vert_c.value == (8ll << 32)) in dpp201_get_optimal_number_of_taps() 215 scl_data->ratios.vert_c.value--; in dpp201_get_optimal_number_of_taps() 219 if (dc_fixpt_ceil(scl_data->ratios.horz) > 4) in dpp201_get_optimal_number_of_taps() 227 if (dc_fixpt_ceil(scl_data->ratios.vert) > 4) in dpp201_get_optimal_number_of_taps() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/sspl/ |
| H A D | dc_spl.c | 101 * Active space, we first multiply stream scaling ratios (i.e 2304/1920 in calculate_plane_rec_in_timing_active() 429 /* Calculate scaling ratios */ 440 /*Swap surf_src height and width since scaling ratios are in recout rotation*/ in spl_calculate_scaling_ratios() 445 spl_scratch->scl_data.ratios.horz = spl_fixpt_from_fraction( in spl_calculate_scaling_ratios() 448 spl_scratch->scl_data.ratios.vert = spl_fixpt_from_fraction( in spl_calculate_scaling_ratios() 453 spl_scratch->scl_data.ratios.horz.value *= 2; in spl_calculate_scaling_ratios() 455 spl_scratch->scl_data.ratios.vert.value *= 2; in spl_calculate_scaling_ratios() 457 spl_scratch->scl_data.ratios.vert.value = spl_div64_s64( in spl_calculate_scaling_ratios() 458 spl_scratch->scl_data.ratios.vert.value * in_h, out_h); in spl_calculate_scaling_ratios() 459 spl_scratch->scl_data.ratios.horz.value = spl_div64_s64( in spl_calculate_scaling_ratios() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dpp/dcn10/ |
| H A D | dcn10_dpp_dscl.c | 136 if (data->ratios.horz.value == one in dpp1_dscl_get_dscl_mode() 137 && data->ratios.vert.value == one in dpp1_dscl_get_dscl_mode() 138 && data->ratios.horz_c.value == one in dpp1_dscl_get_dscl_mode() 139 && data->ratios.vert_c.value == one in dpp1_dscl_get_dscl_mode() 149 if (data->ratios.horz.value == one && data->ratios.vert.value == one) in dpp1_dscl_get_dscl_mode() 151 if (data->ratios.horz_c.value == one && data->ratios.vert_c.value == one) in dpp1_dscl_get_dscl_mode() 317 scl_data->taps.h_taps, scl_data->ratios.horz); in dpp1_dscl_set_scl_filter() 319 scl_data->taps.v_taps, scl_data->ratios.vert); in dpp1_dscl_set_scl_filter() 326 scl_data->taps.h_taps_c, scl_data->ratios.horz_c); in dpp1_dscl_set_scl_filter() 328 scl_data->taps.v_taps_c, scl_data->ratios.vert_c); in dpp1_dscl_set_scl_filter() [all …]
|
| H A 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/drivers/gpu/drm/amd/display/dc/dpp/dcn30/ |
| H A D | dcn30_dpp.c | 434 if (dc_fixpt_ceil(scl_data->ratios.horz) > 1) in dpp3_get_optimal_number_of_taps() 435 scl_data->taps.h_taps = min(2 * dc_fixpt_ceil(scl_data->ratios.horz), 8); in dpp3_get_optimal_number_of_taps() 441 if (dc_fixpt_ceil(scl_data->ratios.vert) > 1) in dpp3_get_optimal_number_of_taps() 442 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() 448 if (dc_fixpt_ceil(scl_data->ratios.vert_c) > 1) in dpp3_get_optimal_number_of_taps() 449 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() 455 if (dc_fixpt_ceil(scl_data->ratios.horz_c) > 1) in dpp3_get_optimal_number_of_taps() 456 scl_data->taps.h_taps_c = min(2 * dc_fixpt_ceil(scl_data->ratios.horz_c), 8); in dpp3_get_optimal_number_of_taps() 472 min_taps_y = dc_fixpt_ceil(scl_data->ratios.vert); in dpp3_get_optimal_number_of_taps() 473 min_taps_c = dc_fixpt_ceil(scl_data->ratios.vert_c); in dpp3_get_optimal_number_of_taps() [all …]
|
| /linux/fs/erofs/ |
| H A D | Kconfig | 28 ratios, and it implements in-place decompression to temporarily reuse 118 gives better compression ratios than the default LZ4 format, at the 129 ratios than the default LZ4 format, while it costs more CPU 143 ratios than the default LZ4 format, while it costs more CPU
|
| /linux/drivers/gpu/drm/amd/display/dc/dce110/ |
| H A 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/drivers/clk/mvebu/ |
| H A D | orion.c | 80 .ratios = orion_coreclk_ratios, 148 .ratios = orion_coreclk_ratios, 205 .ratios = orion_coreclk_ratios, 268 .ratios = orion_coreclk_ratios,
|
| H A D | armada-39x.c | 21 * SARL[14:10] : Ratios between CPU, NBCLK, HCLK and DCLK. 123 .ratios = armada_39x_coreclk_ratios,
|
| H A D | kirkwood.c | 197 .ratios = kirkwood_coreclk_ratios, 205 .ratios = kirkwood_coreclk_ratios, 213 .ratios = kirkwood_coreclk_ratios,
|
| H A D | armada-38x.c | 20 * SAR[14:10] : Ratios between PCLK0, NBCLK, HCLK and DRAM clocks 120 .ratios = armada_38x_coreclk_ratios,
|
| H A D | common.h | 34 const struct coreclk_ratio *ratios; member
|
| H A 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()
|
| /linux/drivers/gpu/drm/amd/display/dc/dce/ |
| H A D | dce_transform.c | 289 dc_fixpt_u2d19(data->ratios.horz) << 5; in calculate_inits() 291 dc_fixpt_u2d19(data->ratios.vert) << 5; in calculate_inits() 296 data->ratios.horz, in calculate_inits() 305 data->ratios.vert, in calculate_inits() 321 dc_fixpt_u2d19(data->ratios.horz) << 5; in dce60_calculate_inits() 323 dc_fixpt_u2d19(data->ratios.vert) << 5; in dce60_calculate_inits() 334 data->ratios.vert, in dce60_calculate_inits() 442 coeffs_v = get_filter_coeffs_16p(data->taps.v_taps, data->ratios.vert); in dce_transform_set_scaler() 443 coeffs_h = get_filter_coeffs_16p(data->taps.h_taps, data->ratios.horz); in dce_transform_set_scaler() 529 coeffs_v = get_filter_coeffs_16p(data->taps.v_taps, data->ratios.vert); in dce60_transform_set_scaler() [all …]
|
| /linux/tools/perf/util/ |
| H A D | stat-shadow.c | 140 static enum metric_threshold_classify get_ratio_thresh(const double ratios[3], double val) in get_ratio_thresh() 142 assert(ratios[0] > ratios[1]); in get_ratio_thresh() 143 assert(ratios[1] > ratios[2]); in get_ratio_thresh() 145 return val > ratios[1] in get_ratio_thresh() 146 ? (val > ratios[0] ? METRIC_THRESHOLD_BAD : METRIC_THRESHOLD_NEARLY_BAD) in get_ratio_thresh() 147 : (val > ratios[2] ? METRIC_THRESHOLD_LESS_GOOD : METRIC_THRESHOLD_GOOD); in get_ratio_thresh()
|
| /linux/tools/perf/Documentation/ |
| H A D | topdown.txt | 40 metric register that reports slots ratios for the different bottleneck 158 The binary ratios in the metric value can be converted to float ratios: 179 The ratios in the metric accumulate for the time when the counter 210 Later the individual ratios of L1 metric events for the measurement period can 225 The individual ratios of L2 metric events for the measurement period can be
|
| /linux/arch/arm/mach-omap2/ |
| H A D | opp2430_data.c | 13 * these combinations is via the 'ratios' which the clocks operate with 37 * Key dividers which make up a PRCM set. Ratios for a PRCM are mandated.
|
| H A D | opp2420_data.c | 13 * these combinations is via the 'ratios' which the clocks operate with 39 * Key dividers which make up a PRCM set. Ratios for a PRCM are mandated.
|
| /linux/sound/soc/codecs/ |
| H A D | wm8727.c | 33 * determined automatically by examining the Master clock and Bit clock ratios
|
| /linux/samples/coresight/ |
| H A D | coresight-cfg-sample.c | 23 * experimentation with mark / space ratios for various workloads
|
| /linux/Documentation/iio/ |
| H A D | ad7606.rst | 114 Also, there is a broader choice of oversampling ratios in software mode. 145 In software mode, the following ratios are available:
|
| /linux/drivers/iio/adc/ |
| H A D | ad7606.h | 63 * oversampling ratios. 120 * oversampling ratios.
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | nvidia,tegra186-asrc.yaml | 12 wide range of sample rate ratios (freq_in/freq_out) from 1:24 to 24:1.
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2/ |
| H A D | dml2_translation_helper.c | 1080 out->ScalerEnabled[location] = scaler_data->ratios.horz.value != dc_fixpt_one.value || in populate_dml_plane_cfg_from_plane_state() 1081 scaler_data->ratios.horz_c.value != dc_fixpt_one.value || in populate_dml_plane_cfg_from_plane_state() 1082 scaler_data->ratios.vert.value != dc_fixpt_one.value || in populate_dml_plane_cfg_from_plane_state() 1083 scaler_data->ratios.vert_c.value != dc_fixpt_one.value; in populate_dml_plane_cfg_from_plane_state() 1099 out->HRatio[location] = (dml_float_t)scaler_data->ratios.horz.value / (1ULL << 32); in populate_dml_plane_cfg_from_plane_state() 1100 out->HRatioChroma[location] = (dml_float_t)scaler_data->ratios.horz_c.value / (1ULL << 32); in populate_dml_plane_cfg_from_plane_state() 1101 out->VRatio[location] = (dml_float_t)scaler_data->ratios.vert.value / (1ULL << 32); in populate_dml_plane_cfg_from_plane_state() 1102 out->VRatioChroma[location] = (dml_float_t)scaler_data->ratios.vert_c.value / (1ULL << 32); in populate_dml_plane_cfg_from_plane_state()
|
| /linux/drivers/media/platform/ti/omap/ |
| H A D | omap_voutlib.c | 162 * horizontal and vertical rescaling ratios stay constant. If the render 164 * will also be adjusted to maintain the rescaling ratios. If successful, crop
|