/linux/Documentation/admin-guide/pm/ |
H A D | cpufreq.rst | 7 CPU Performance Scaling 15 The Concept of CPU Performance Scaling 44 to as CPU performance scaling or CPU frequency scaling (because it involves 48 CPU Performance Scaling in Linux 51 The Linux kernel supports CPU performance scaling by means of the ``CPUFreq`` 52 (CPU Frequency scaling) subsystem that consists of three layers of code: the 53 core, scaling governors and scaling drivers. 56 interfaces for all platforms that support CPU performance scaling. It defines 59 Scaling governors implement algorithms to estimate the required CPU capacity. 60 As a rule, each governor implements one, possibly parametrized, scaling [all …]
|
H A D | intel_pstate.rst | 5 ``intel_pstate`` CPU Performance Scaling Driver 17 :doc:`CPU performance scaling subsystem <cpufreq>` in the Linux kernel 18 (``CPUFreq``). It is a scaling driver for the Sandy Bridge and later 50 ``sysfs`` which allows another ``CPUFreq`` scaling driver to be loaded and 58 active mode, it uses its own internal performance scaling governor algorithm or 59 allows the hardware to do performance scaling by itself, while in the passive 61 a certain performance scaling algorithm. Which of them will be in effect 73 In this mode the driver bypasses the scaling governors layer of ``CPUFreq`` and 74 provides its own scaling algorithms for P-state selection. Those algorithms 75 can be applied to ``CPUFreq`` policies in the same way as generic scaling [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | pm7250b.dtsi | 112 qcom,pre-scaling = <1 1>; 118 qcom,pre-scaling = <1 1>; 124 qcom,pre-scaling = <1 1>; 130 qcom,pre-scaling = <1 1>; 136 qcom,pre-scaling = <1 16>; 142 qcom,pre-scaling = <1 1>; 149 qcom,pre-scaling = <1 1>; 155 qcom,pre-scaling = <1 6>; 162 qcom,pre-scaling = <1 1>; 169 qcom,pre-scaling = <1 3>; [all …]
|
H A D | pm8950.dtsi | 63 qcom,pre-scaling = <1 1>; 69 qcom,pre-scaling = <1 1>; 75 qcom,pre-scaling = <1 1>; 81 qcom,pre-scaling = <1 1>; 87 qcom,pre-scaling = <1 1>; 93 qcom,pre-scaling = <1 1>; 109 qcom,pre-scaling = <1 1>; 117 qcom,pre-scaling = <1 1>; 125 qcom,pre-scaling = <1 1>; 133 qcom,pre-scaling = <1 1>; [all …]
|
H A D | pmp8074.dtsi | 23 qcom,pre-scaling = <1 1>; 29 qcom,pre-scaling = <1 1>; 35 qcom,pre-scaling = <1 1>; 41 qcom,pre-scaling = <1 1>; 49 qcom,pre-scaling = <1 1>; 57 qcom,pre-scaling = <1 1>; 65 qcom,pre-scaling = <1 1>; 73 qcom,pre-scaling = <1 1>; 79 qcom,pre-scaling = <1 3>;
|
H A D | pm660.dtsi | 113 qcom,pre-scaling = <1 1>; 120 qcom,pre-scaling = <1 1>; 127 qcom,pre-scaling = <1 1>; 133 qcom,pre-scaling = <1 1>; 142 qcom,pre-scaling = <1 1>; 151 qcom,pre-scaling = <1 1>; 160 qcom,pre-scaling = <1 1>; 169 qcom,pre-scaling = <1 1>; 178 qcom,pre-scaling = <1 1>; 188 qcom,pre-scaling = <1 3>; [all …]
|
H A D | pmi632.dtsi | 94 qcom,pre-scaling = <1 1>; 100 qcom,pre-scaling = <1 1>; 106 qcom,pre-scaling = <1 1>; 112 qcom,pre-scaling = <1 1>; 118 qcom,pre-scaling = <1 16>; 124 qcom,pre-scaling = <1 1>; 131 qcom,pre-scaling = <1 1>; 138 qcom,pre-scaling = <1 3>; 144 qcom,pre-scaling = <1 3>;
|
H A D | sc8180x-pmics.dtsi | 108 qcom,pre-scaling = <1 1>; 114 qcom,pre-scaling = <1 1>; 120 qcom,pre-scaling = <1 1>; 176 qcom,pre-scaling = <1 1>; 182 qcom,pre-scaling = <1 1>; 188 qcom,pre-scaling = <1 1>; 234 qcom,pre-scaling = <1 1>; 240 qcom,pre-scaling = <1 1>; 246 qcom,pre-scaling = <1 1>; 284 qcom,pre-scaling = <1 1>; [all …]
|
H A D | pms405.dtsi | 85 qcom,pre-scaling = <1 1>; 91 qcom,pre-scaling = <1 1>; 97 qcom,pre-scaling = <1 3>; 103 qcom,pre-scaling = <1 1>; 111 qcom,pre-scaling = <1 1>; 119 qcom,pre-scaling = <1 1>; 127 qcom,pre-scaling = <1 1>;
|
H A D | pm6125.dtsi | 89 qcom,pre-scaling = <1 1>; 95 qcom,pre-scaling = <1 1>; 101 qcom,pre-scaling = <1 1>; 107 qcom,pre-scaling = <1 3>; 113 qcom,pre-scaling = <1 3>; 119 qcom,pre-scaling = <1 1>;
|
H A D | pm6150l.dtsi | 62 qcom,pre-scaling = <1 1>; 68 qcom,pre-scaling = <1 1>; 74 qcom,pre-scaling = <1 1>; 80 qcom,pre-scaling = <1 3>;
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | crop.rst | 6 Image Cropping, Insertion and Scaling -- the CROP API 20 abilities cropping and scaling. Some video output devices can scale an 33 Scaling requires a source and a target. On a video capture or overlay 48 support scaling or the :ref:`VIDIOC_G_CROP <VIDIOC_G_CROP>` and 68 Image Cropping, Insertion and Scaling 70 The cropping, insertion and scaling process 108 Scaling Adjustments 111 Video hardware can have various cropping, insertion and scaling 112 limitations. It may only scale up or down, support only discrete scaling 113 factors, or have different scaling abilities in horizontal and vertical [all …]
|
H A D | selection-api-configuration.rst | 11 Video hardware can have various cropping, composing and scaling 12 limitations. It may only scale up or down, support only discrete scaling 13 factors, or have different scaling abilities in the horizontal and 14 vertical directions. Also it may not support scaling at all. At the same 130 Scaling control 133 An application can detect if scaling is performed by comparing the width 136 scaling is applied. The application can compute the scaling ratios using
|
/linux/drivers/media/i2c/ |
H A D | saa711x_regs.h | 112 /* Horizontal phase scaling */ 120 /* Vertical scaling */ 159 /* Horizontal phase scaling */ 166 /* Vertical scaling */ 422 /* Task A: Horizontal phase scaling */ 424 "Task A: Horizontal luminance scaling increment"}, 429 "Task A: Horizontal chrominance scaling increment"}, 434 /* Task A: Vertical scaling */ 436 "Task A: Vertical luminance scaling increment"}, 438 "Task A: Vertical chrominance scaling increment"}, [all …]
|
/linux/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus_h265.c | 273 const struct v4l2_ctrl_hevc_scaling_matrix *scaling; in cedrus_h265_write_scaling_list() local 277 scaling = run->h265.scaling_matrix; in cedrus_h265_write_scaling_list() 280 (scaling->scaling_list_dc_coef_32x32[1] << 24) | in cedrus_h265_write_scaling_list() 281 (scaling->scaling_list_dc_coef_32x32[0] << 16) | in cedrus_h265_write_scaling_list() 282 (scaling->scaling_list_dc_coef_16x16[1] << 8) | in cedrus_h265_write_scaling_list() 283 (scaling->scaling_list_dc_coef_16x16[0] << 0)); in cedrus_h265_write_scaling_list() 286 (scaling->scaling_list_dc_coef_16x16[5] << 24) | in cedrus_h265_write_scaling_list() 287 (scaling->scaling_list_dc_coef_16x16[4] << 16) | in cedrus_h265_write_scaling_list() 288 (scaling->scaling_list_dc_coef_16x16[3] << 8) | in cedrus_h265_write_scaling_list() 289 (scaling->scaling_list_dc_coef_16x16[2] << 0)); in cedrus_h265_write_scaling_list() [all …]
|
/linux/Documentation/devicetree/bindings/iio/dac/ |
H A D | adi,ad3552r.yaml | 105 adi,gain-scaling-p: 106 description: GainP = 1 / ( 2 ^ adi,gain-scaling-p) 110 adi,gain-scaling-n: 111 description: GainN = 1 / ( 2 ^ adi,gain-scaling-n) 120 - adi,gain-scaling-p 121 - adi,gain-scaling-n 241 adi,gain-scaling-p = <1>; 242 adi,gain-scaling-n = <2>;
|
/linux/drivers/gpu/drm/ |
H A D | drm_rect.c | 84 * the corresponding amounts, retaining the vertical and horizontal scaling 152 * drm_rect_calc_hscale - calculate the horizontal scaling factor 155 * @min_hscale: minimum allowed horizontal scaling factor 156 * @max_hscale: maximum allowed horizontal scaling factor 158 * Calculate the horizontal scaling factor as 166 * The horizontal scaling factor, or errno of out of limits. 187 * drm_rect_calc_vscale - calculate the vertical scaling factor 190 * @min_vscale: minimum allowed vertical scaling factor 191 * @max_vscale: maximum allowed vertical scaling factor 193 * Calculate the vertical scaling factor as [all …]
|
/linux/Documentation/devicetree/bindings/input/ |
H A D | microchip,qt1050.txt | 41 - microchip,average-scaling: 42 The scaling factor which is used to scale the average-samples. 61 microchip,average-scaling = <16>; 69 microchip,average-scaling = <8>; 76 microchip,average-scaling = <16>;
|
/linux/Documentation/cpu-freq/ |
H A D | index.rst | 4 CPUFreq - CPU frequency and voltage scaling code in the Linux(TM) kernel 9 Clock scaling allows you to change the clock speed of the CPUs on the 35 Clock and voltage scaling for the SA-1100: 36 * http://www.lartmaker.nl/projects/scaling
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | pmx55.dtsi | 45 qcom,pre-scaling = <1 1>; 51 qcom,pre-scaling = <1 1>; 57 qcom,pre-scaling = <1 1>; 63 qcom,pre-scaling = <1 1>;
|
/linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_dwb.c | 103 /* Only chroma scaling (sub-sampling) is supported in DCN2 */ in dwb2_enable() 107 DC_LOG_DWB("%s inst = %d, FAILED!LUMA SCALING NOT SUPPORTED", __func__, dwbc20->base.inst); in dwb2_enable() 123 /* Set scaling parameters */ in dwb2_enable() 163 /* Only chroma scaling (sub-sampling) is supported in DCN2 */ in dwb2_update() 166 DC_LOG_DWB("%s inst = %d, FAILED!LUMA SCALING NOT SUPPORTED", __func__, dwbc20->base.inst); in dwb2_update() 169 DC_LOG_DWB("%s inst = %d, scaling", __func__, dwbc20->base.inst); in dwb2_update() 187 /* Set scaling parameters */ in dwb2_update() 255 /* Program scaling mode */ in dwb2_set_scaler()
|
/linux/drivers/cpufreq/ |
H A D | Kconfig | 2 menu "CPU Frequency scaling" 5 bool "CPU Frequency scaling" 7 CPU Frequency scaling allows you to change the clock speed of 133 tristate "'userspace' governor for userspace frequency scaling" 206 comment "CPU frequency scaling drivers" 241 it updates the frequency scaling factor by polling host CPU frequency 332 tristate "CPU frequency scaling driver for Freescale QorIQ SoCs"
|
H A D | intel_pstate.c | 129 * @perf_ctl_scaling: PERF_CTL P-state to frequency scaling factor 130 * @scaling: Scaling factor between performance and frequency 144 int scaling; member 160 * Stores the voltage data for DVFS (Dynamic Voltage and Frequency Scaling) 278 * @get_scaling: Callback to get frequency scaling factor 279 * @get_cpu_scaling: Get frequency scaling factor for a given cpu 425 * Compute the perf-to-frequency scaling factor for the given CPU if in intel_pstate_cppc_get_scaling() 546 return freq / cpu->pstate.scaling; in intel_pstate_freq_to_hwp_rel() 548 return DIV_ROUND_CLOSEST(freq, cpu->pstate.scaling); in intel_pstate_freq_to_hwp_rel() 551 return DIV_ROUND_UP(freq, cpu->pstate.scaling); in intel_pstate_freq_to_hwp_rel() [all …]
|
/linux/drivers/video/fbdev/kyro/ |
H A D | STG4000OverlayDevice.c | 45 /* Decimation and Scaling */ 115 /* Set Vertical scaling to default */ in ResetOverlayRegisters() 119 tmp |= STG4000_NO_SCALING; /* Set to no scaling */ in ResetOverlayRegisters() 122 /* Set Horizontal Scaling to default */ in ResetOverlayRegisters() 126 tmp |= STG4000_NO_SCALING; /* Set to no scaling */ in ResetOverlayRegisters() 361 /************* Vertical decimation/scaling ******************/ in SetOverlayViewPort() 417 /***************** Horizontal decimation/scaling ***************************/ in SetOverlayViewPort() 515 * decimation and scaling in SetOverlayViewPort() 549 CLEAR_BITS_FRM_TO(16, 22); /* Vertical Scaling */ in SetOverlayViewPort() 560 from decimate and scaling calculations in SetOverlayViewPort()
|
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_h264_req_common.h | 114 * struct slice_api_h264_scaling_matrix - parameters for scaling list 228 * mtk_vdec_h264_copy_scaling_matrix - Copy scaling matrix from a control to the driver 230 * @dst_matrix: scaling list params for the HW decoder 231 * @src_matrix: scaling list params from a V4L2 control 233 * This function is used to copy the scaling matrix from a
|