| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | crop.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 6 Image Cropping, Insertion and Scaling -- the CROP API 12 <selection-api>`. The new API should be preferred in most cases, 15 equivalent in the SELECTION API. See :ref:`selection-vs-crop` for a 20 abilities cropping and scaling. Some video output devices can scale an 21 image up or down and insert it at an arbitrary scan line and horizontal 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 62 .. _crop-scale: 64 .. kernel-figure:: crop.svg [all …]
|
| H A D | selection-api-configuration.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 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 20 :ref:`constraint flags <v4l2-selection-flags>`. 26 See figure :ref:`sel-targets-capture` for examples of the selection 63 :ref:`constraint flags <v4l2-selection-flags>`. 123 However, such a padded area is driver-dependent feature not covered by 130 Scaling control [all …]
|
| H A D | selection-api-intro.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 10 part of an input image, scale it up or down and insert it at an 12 these abilities cropping, scaling and composing. 28 scaling then the cropping and composing rectangles have the same size.
|
| /linux/Documentation/admin-guide/pm/ |
| H A D | cpufreq.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 CPU Performance Scaling 15 The Concept of CPU Performance Scaling 20 Operating Performance Points or P-states (in ACPI terminology). As a rule, 24 time (or the more power is drawn) by the CPU in the given P-state. Therefore 29 as possible and then there is no reason to use any P-states different from the 30 highest one (i.e. the highest-performance frequency/voltage configuration 38 put into different P-states. 41 capacity, so as to decide which P-states to put the CPUs into. Of course, since 44 to as CPU performance scaling or CPU frequency scaling (because it involves [all …]
|
| H A D | intel_pstate.rst | 1 .. SPDX-License-Identifier: GPL-2.0 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 22 Documentation/admin-guide/pm/cpufreq.rst if you have not done that yet.] 24 For the processors supported by ``intel_pstate``, the P-state concept is broader 27 information about that). For this reason, the representation of P-states used 32 ``intel_pstate`` maps its internal representation of P-states to frequencies too 38 Since the hardware P-state selection interface used by ``intel_pstate`` is 43 time the corresponding CPU is taken offline and need to be re-initialized when [all …]
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | sm6125-sony-xperia-seine-pdx201.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/gpio-keys.h> 12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 16 qcom,msm-id = <394 0x10000>; /* sm6125 v1 */ 17 qcom,board-id = <34 0>; 21 chassis-type = "handset"; 29 #address-cells = <2>; 30 #size-cells = <2>; [all …]
|
| /linux/Documentation/devicetree/bindings/input/ |
| H A D | microchip,qt1050.txt | 1 Microchip AT42QT1050 Five-channel Touch Sensor IC 11 - compatible: Must be "microchip,qt1050" 12 - reg: The I2C address of the device 13 - interrupts: The sink for the touchpad's IRQ output, 14 see ../interrupt-controller/interrupts.txt 17 - wakeup-source: touch keys can be used as a wakeup source 19 Each button (key) is represented as a sub-node: 25 - linux,code: Keycode to emit. 26 - reg: The key number. Valid values: 0, 1, 2, 3, 4. 28 Optional subnode-properties: [all …]
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_rect.c | 2 * Copyright (C) 2011-2013 Intel Corporation 33 * drm_rect_intersect - intersect two rectangles 46 r1->x1 = max(r1->x1, r2->x1); in drm_rect_intersect() 47 r1->y1 = max(r1->y1, r2->y1); in drm_rect_intersect() 48 r1->x2 = min(r1->x2, r2->x2); in drm_rect_intersect() 49 r1->y2 = min(r1->y2, r2->y2); in drm_rect_intersect() 65 tmp = mul_u32_u32(src, dst - *clip); in clip_scaled() 78 * drm_rect_clip_scaled - perform a scaled clip operation 84 * the corresponding amounts, retaining the vertical and horizontal scaling 96 diff = clip->x1 - dst->x1; in drm_rect_clip_scaled() [all …]
|
| /linux/block/ |
| H A D | blk-rq-qos.c | 1 // SPDX-License-Identifier: GPL-2.0 3 #include "blk-rq-qos.h" 23 return atomic_inc_below(&rq_wait->inflight, limit); in rq_wait_inc_below() 29 if (rqos->ops->cleanup) in __rq_qos_cleanup() 30 rqos->ops->cleanup(rqos, bio); in __rq_qos_cleanup() 31 rqos = rqos->next; in __rq_qos_cleanup() 38 if (rqos->ops->done) in __rq_qos_done() 39 rqos->ops->done(rqos, rq); in __rq_qos_done() 40 rqos = rqos->next; in __rq_qos_done() 47 if (rqos->ops->issue) in __rq_qos_issue() [all …]
|
| H A D | blk-wbt.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * - Monitor latencies in a defined window of time. 7 * - If the minimum latency in the above window exceeds some target, increment 8 * scaling step and scale down queue depth by a factor of 2x. The monitoring 9 * window is then shrunk to 100 / sqrt(scaling step + 1). 10 * - For any window where we don't have solid data on what the latencies 12 * - If latencies look good, decrement scaling step. 13 * - If we're only doing writes, allow the scaling step to go negative. This 15 * scaling step of 0 if reads show up or the heavy writers finish. Unlike 16 * positive scaling steps where we shrink the monitoring window, a negative [all …]
|
| /linux/drivers/pmdomain/qcom/ |
| H A D | cpr.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. 27 #include <linux/nvmem-consumer.h> 29 /* Register Offsets for RB-CPR and Bit Definitions */ 125 #define FUSE_REVISION_UNKNOWN (-1) 129 DOWN, enumerator 254 return !drv->loop_disabled; in cpr_is_allowed() 259 writel_relaxed(value, drv->base + offset); in cpr_write() 264 return readl_relaxed(drv->base + offset); in cpr_read() 272 val = readl_relaxed(drv->base + offset); in cpr_masked_write() [all …]
|
| /linux/Documentation/devicetree/bindings/thermal/ |
| H A D | qcom-spmi-adc-tm-hc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/qcom-spmi-adc-tm-hc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 9 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org> 11 $ref: thermal-sensor.yaml# 15 const: qcom,spmi-adc-tm-hc 23 "#thermal-sensor-cells": 26 "#address-cells": 29 "#size-cells": [all …]
|
| H A D | qcom-spmi-adc-tm5.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/qcom-spmi-adc-tm5.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 9 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org> 11 $ref: thermal-sensor.yaml# 16 - qcom,spmi-adc-tm5 17 - qcom,spmi-adc-tm5-gen2 18 - qcom,adc-tm7 # Incomplete / subject to change 26 "#thermal-sensor-cells": [all …]
|
| /linux/include/ufs/ |
| H A D | ufshcd.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * Copyright (C) 2011-2013 Samsung India Software Operations 5 * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. 16 #include <linux/blk-crypto-profile.h> 17 #include <linux/blk-m [all...] |
| /linux/Documentation/admin-guide/media/ |
| H A D | vivid.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 Each input can be a webcam, TV capture device, S-Video capture device or an HDMI 14 capture device. Each output can be an S-Video output device or an HDMI output 23 - Support for read()/write(), MMAP, USERPTR and DMABUF streaming I/O. 24 - A large list of test patterns and variations thereof 25 - Working brightness, contrast, saturation and hue controls 26 - Support for the alpha color component 27 - Full colorspace support, including limited/full RGB range 28 - All possible control types are present 29 - Support for various pixel aspect ratios and video aspect ratios [all …]
|
| /linux/Documentation/devicetree/bindings/soc/ti/ |
| H A D | wkup-m3-ipc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/ti/wkup-m3-ipc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dave Gerlach <d-gerlach@ti.com> 11 - Drew Fustini <dfustini@baylibre.com> 14 The TI AM33xx and AM43xx family of devices use a small Cortex M3 co-processor 17 C-states for CPU Idle. Once the wkup_m3_ipc driver uses the wkup_m3_rproc driver 29 On some boards like the AM335x EVM-SK and the AM437x GP EVM, a GPIO pin is 40 override the pin's existing bias (pull-up/pull-down) and value (high/low) when [all …]
|
| /linux/drivers/leds/ |
| H A D | leds-pca963x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Author: Peter Meerwald <p.meerwald@bct-electronic.com> 9 * Based on leds-pca955x.c 11 * LED driver for the PCA9633 I2C LED driver (7-bit slave address 0x62) 12 * LED driver for the PCA9634/5 I2C LED driver (7-bit slave address set by hw.) 22 * or by adding the 'nxp,hw-blink' property to the DTS. 43 #define PCA963X_MODE2_OUTDRV 0x04 /* Open-drain or totem pole */ 62 unsigned int scaling; member 121 struct i2c_client *client = led->chip->client; in pca963x_brightness() 122 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_brightness() [all …]
|
| /linux/drivers/cpufreq/ |
| H A D | imx6q-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/nvmem-consumer.h> 83 dev_dbg(cpu_dev, "%u MHz, %ld mV --> %u MHz, %ld mV\n", in imx6q_set_target() 87 /* scaling up? scale voltage before frequency */ in imx6q_set_target() 111 * reprogram PLL for frequency scaling. The procedure of reprogramming in imx6q_set_target() 116 * - Enable pll2_pfd2_396m_clk and reparent pll1_sw_clk to it in imx6q_set_target() 117 * - Reprogram pll1_sys_clk and reparent pll1_sw_clk back to it in imx6q_set_target() 118 * - Disable pll2_pfd2_396m_clk in imx6q_set_target() 169 /* PLL1 is only needed until after ARM-PODF is set. */ in imx6q_set_target() 173 /* scaling down? scale voltage after frequency */ in imx6q_set_target() [all …]
|
| /linux/Documentation/devicetree/bindings/interconnect/ |
| H A D | mediatek,cci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek Cache Coherent Interconnect (CCI) frequency and voltage scaling 10 - Jia-Wei Chang <jia-wei.chang@mediatek.com> 11 - Johnson Wang <johnson.wang@mediatek.com> 21 - enum: 22 - mediatek,mt8183-cci 23 - mediatek,mt8186-cci 24 - items: [all …]
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | cs35l33.txt | 5 - compatible : "cirrus,cs35l33" 7 - reg : the I2C address of the device for I2C 9 - VA-supply, VP-supply : power supplies for the device, 15 - reset-gpios : gpio used to reset the amplifier 17 - interrupts : IRQ line info CS35L33. 18 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 21 - cirrus,boost-ctl : Booster voltage use to supply the amp. If the value is 26 - cirrus,ramp-rate : On power up, it affects the time from when the power 27 up sequence begins to the time the audio reaches a full-scale output. 28 On power down, it affects the time from when the power-down sequence [all …]
|
| /linux/drivers/video/fbdev/kyro/ |
| H A D | STG4000OverlayDevice.c | 45 /* Decimation and Scaling */ 57 /*clipped on-screen pixel position of overlay */ 69 /* on-screen pixel position of overlay */ 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() 152 return -EINVAL; in CreateOverlaySurface() 155 /* Stride in 16 byte words - 16Bpp */ in CreateOverlaySurface() 226 * Make sure that LUT not used - ?????? in CreateOverlaySurface() [all …]
|
| /linux/Documentation/devicetree/bindings/media/ |
| H A D | ti,vpe.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Benoit Parrot <bparrot@ti.com> 12 description: |- 15 path which can perform chroma up/down sampling, deinterlacing, 16 scaling and color space conversion. 20 const: ti,dra7-vpe 24 - description: The VPE main register region 25 - description: Scaler (SC) register region [all …]
|
| /linux/arch/arm/mach-omap2/ |
| H A D | vc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include "prm-regbits-34xx.h" 20 #include "prm-regbits-44xx.h" 52 * struct omap_vc_channel_cfg - describe the cfg_channel bitfield 101 * omap_vc_config_channel - configure VC channel to PMIC mappings 106 * - i2c slave address (SA) 107 * - voltage configuration address (RAV) 108 * - command configuration address (RAC) and enable bit (RACEN) 109 * - command values for ON, ONLP, RET and OFF (CMD) 112 * non-default channel. Starting with OMAP4, there are more than 2 [all …]
|
| /linux/drivers/video/fbdev/via/ |
| H A D | hw.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved. 4 * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved. 8 #include <linux/via-core.h> 90 {VIACR, CR7A, 0xFF, 0x01}, /* LCD Scaling Parameter 1 */ 91 {VIACR, CR7B, 0xFF, 0x02}, /* LCD Scaling Parameter 2 */ 92 {VIACR, CR7C, 0xFF, 0x03}, /* LCD Scaling Parameter 3 */ 93 {VIACR, CR7D, 0xFF, 0x04}, /* LCD Scaling Parameter 4 */ 94 {VIACR, CR7E, 0xFF, 0x07}, /* LCD Scaling Parameter 5 */ 95 {VIACR, CR7F, 0xFF, 0x0A}, /* LCD Scaling Parameter 6 */ [all …]
|
| /linux/drivers/iio/dac/ |
| H A D | ad5766.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2019-2020 Analog Devices Inc. 65 * struct ad5766_chip_info - chip specific information 93 * struct ad5766_state - driver instance specific data 101 * 0 - Normal operation, 1 - Power down 108 * 0: 1 SCALING, 1: 0.75 SCALING, 2: 0.5 SCALING, 109 * 3: 0.25 SCALING. 135 [AD5766_VOLTAGE_RANGE_M20V_0V] = {-20, 0}, 136 [AD5766_VOLTAGE_RANGE_M16V_to_0V] = {-16, 0}, 137 [AD5766_VOLTAGE_RANGE_M10V_to_0V] = {-10, 0}, [all …]
|