Home
last modified time | relevance | path

Searched +full:pre +full:- +full:scaling (Results 1 – 25 of 230) sorted by relevance

12345678910

/kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/
Dpms405.dtsi1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/spmi/spmi.h>
5 #include <dt-bindings/input/linux-event-codes.h>
6 #include <dt-bindings/iio/qcom,spmi-vadc.h>
7 #include <dt-bindings/thermal/thermal.h>
10 thermal-zones {
12 polling-delay-passive = <250>;
13 polling-delay = <1000>;
15 thermal-sensors = <&pms405_temp>;
18 pms405_alert0: pms405-alert0 {
[all …]
Dpm8150b.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
7 #include <dt-bindings/iio/qcom,spmi-vadc.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/spmi/spmi.h>
12 thermal-zones {
14 polling-delay-passive = <100>;
15 polling-delay = <0>;
17 thermal-sensors = <&pm8150b_temp>;
44 compatible = "qcom,pm8150b", "qcom,spmi-pmic";
[all …]
Dpm8150l.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
7 #include <dt-bindings/iio/qcom,spmi-vadc.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/spmi/spmi.h>
12 thermal-zones {
14 polling-delay-passive = <100>;
15 polling-delay = <0>;
17 thermal-sensors = <&pm8150l_temp>;
44 compatible = "qcom,pm8150l", "qcom,spmi-pmic";
[all …]
Dpm8150.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/spmi/spmi.h>
10 #include <dt-bindings/iio/qcom,spmi-vadc.h>
13 thermal-zones {
15 polling-delay-passive = <100>;
16 polling-delay = <0>;
18 thermal-sensors = <&pm8150_temp>;
[all …]
Dpm8916.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/iio/qcom,spmi-vadc.h>
3 #include <dt-bindings/input/linux-event-codes.h>
4 #include <dt-bindings/interrupt-controller/irq.h>
5 #include <dt-bindings/spmi/spmi.h>
10 compatible = "qcom,pm8916", "qcom,spmi-pmic";
12 #address-cells = <1>;
13 #size-cells = <0>;
16 compatible = "qcom,pm8916-pon";
18 mode-bootloader = <0x2>;
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/
Dmicrochip,qt1050.txt1 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 …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/iio/adc/
Dqcom,spmi-vadc.txt4 voltage. The VADC is a 15-bit sigma-delta ADC.
8 - compatible:
11 Definition: Should contain "qcom,spmi-vadc".
13 - reg:
15 Value type: <prop-encoded-array>
18 - #address-cells:
24 - #size-cells:
29 - #io-channel-cells:
33 Documentation/devicetree/bindings/iio/iio-bindings.txt
35 - interrupts:
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/meson/
Dmeson_vpp.c34 * - Postblend, Blends the OSD1 only
36 * - Vertical OSD Scaler for OSD1 only, we disable vertical scaler and
38 * - Intermediate FIFO with default Amlogic values
42 * - Preblend for video overlay pre-scaling
43 * - OSD2 support for cursor framebuffer
44 * - Video pre-scaling before postblend
45 * - Full Vertical/Horizontal OSD scaling to support TV overscan
46 * - HDR conversion
51 writel(mux, priv->io_base + _REG(VPU_VIU_VENC_MUX_CTRL)); in meson_vpp_setup_mux()
59 * is configured for 2:1 scaling with interlace options enabled.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/
Dqcom,spmi-vadc.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-vadc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andy Gross <agross@kernel.org>
11 - Bjorn Andersson <bjorn.andersson@linaro.org>
15 voltage. The VADC is a 15-bit sigma-delta ADC.
17 voltage. The VADC is a 16-bit sigma-delta ADC.
22 - items:
23 - const: qcom,pms405-adc
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/meson/
Dmeson_vpp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
21 * - Postblend, Blends the OSD1 only
23 * - Vertical OSD Scaler for OSD1 only, we disable vertical scaler and
25 * - Intermediate FIFO with default Amlogic values
29 * - Preblend for video overlay pre-scaling
30 * - OSD2 support for cursor framebuffer
31 * - Video pre-scaling before postblend
32 * - Full Vertical/Horizontal OSD scaling to support TV overscan
33 * - HDR conversion
38 writel(mux, priv->io_base + _REG(VPU_VIU_VENC_MUX_CTRL)); in meson_vpp_setup_mux()
[all …]
/kernel/linux/linux-4.19/arch/arm64/boot/dts/qcom/
Dpm8916.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/iio/qcom,spmi-vadc.h>
3 #include <dt-bindings/interrupt-controller/irq.h>
4 #include <dt-bindings/spmi/spmi.h>
9 compatible = "qcom,pm8916", "qcom,spmi-pmic";
11 #address-cells = <1>;
12 #size-cells = <0>;
15 compatible = "qcom,pm8941-rtc";
17 reg-names = "rtc", "alarm";
22 compatible = "qcom,pm8941-pwrkey";
[all …]
/kernel/linux/linux-5.10/drivers/iio/adc/
Dqcom-spmi-vadc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2012-2016, The Linux Foundation. All rights reserved.
21 #include <dt-bindings/iio/qcom,spmi-vadc.h>
23 #include "qcom-vadc-common.h"
76 * struct vadc_channel_prop - VADC channel property.
80 * @prescale: channel scaling performed on the input signal.
85 * @scale_fn_type: Represents the scaling function to convert voltage
99 * struct vadc_priv - VADC private structure.
139 return regmap_bulk_read(vadc->regmap, vadc->base + offset, data, 1); in vadc_read()
144 return regmap_write(vadc->regmap, vadc->base + offset, data); in vadc_write()
[all …]
Dqcom-spmi-adc5.c1 // SPDX-License-Identifier: GPL-2.0
21 #include <dt-bindings/iio/qcom,spmi-vadc.h>
22 #include "qcom-vadc-common.h"
103 * struct adc5_channel_prop - ADC channel property.
109 * @prescale: channel scaling performed on the input signal.
114 * @scale_fn_type: Represents the scaling function to convert voltage
132 * struct adc5_chip - ADC private structure.
171 return regmap_bulk_read(adc->regmap, adc->base + offset, data, len); in adc5_read()
176 return regmap_bulk_write(adc->regmap, adc->base + offset, data, len); in adc5_write()
181 return regmap_update_bits(adc->regmap, adc->base + offset, mask, val); in adc5_masked_write()
[all …]
Dqcom-pm8xxx-xoadc.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * specific-purpose and general purpose ADC converters and channels.
24 #include "qcom-vadc-common.h"
28 * Qualcomm tree. Their kernel has two out-of-tree drivers for the ADC:
29 * drivers/misc/pmic8058-xoadc.c
30 * drivers/hwmon/pm8xxx-adc.c
139 * PM8058 AMUX premux scaling, two bits. This is done of the channel before
142 #define PM8058_AMUX_PRESCALE_0 0x0 /* No scaling on the signal */
143 #define PM8058_AMUX_PRESCALE_1 0x1 /* Unity scaling selected by the user */
156 * struct xoadc_channel - encodes channel properties and defaults
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Dgdc_v2_defs.h1 /* SPDX-License-Identifier: GPL-2.0 */
21 #define HRT_GDC_N 1024 /* Top-level design constant, equal to the number of ent…
24 #define HRT_GDC_BLI_FRAC_BITS 4 /* Number of fractional bits for the bi-linear interpola…
28 #define HRT_GDC_BCI_COEF_ONE (1 << (HRT_GDC_BCI_COEF_BITS - 2)) /* We represent signed…
29 /* The supported range is [-256, .., +256] */
30 /* in 14-bit signed notation, */
32 /* -s is inserted to solve this issue, and */
34 #define HRT_GDC_BCI_COEF_MASK ((1 << HRT_GDC_BCI_COEF_BITS) - 1)
42 // |-----|---|--------|------------------------|
46 // 1 - Configure reg
[all …]
/kernel/linux/linux-4.19/drivers/iio/adc/
Dqcom-spmi-vadc.c2 * Copyright (c) 2012-2016, The Linux Foundation. All rights reserved.
29 #include <dt-bindings/iio/qcom,spmi-vadc.h>
31 #include "qcom-vadc-common.h"
84 * struct vadc_channel_prop - VADC channel property.
88 * @prescale: channel scaling performed on the input signal.
93 * @scale_fn_type: Represents the scaling function to convert voltage
107 * struct vadc_priv - VADC private structure.
147 return regmap_bulk_read(vadc->regmap, vadc->base + offset, data, 1); in vadc_read()
152 return regmap_write(vadc->regmap, vadc->base + offset, data); in vadc_write()
211 dev_err(vadc->dev, in vadc_show_status()
[all …]
Dqcom-pm8xxx-xoadc.c6 * specific-purpose and general purpose ADC converters and channels.
23 #include "qcom-vadc-common.h"
27 * Qualcomm tree. Their kernel has two out-of-tree drivers for the ADC:
28 * drivers/misc/pmic8058-xoadc.c
29 * drivers/hwmon/pm8xxx-adc.c
138 * PM8058 AMUX premux scaling, two bits. This is done of the channel before
141 #define PM8058_AMUX_PRESCALE_0 0x0 /* No scaling on the signal */
142 #define PM8058_AMUX_PRESCALE_1 0x1 /* Unity scaling selected by the user */
155 * struct xoadc_channel - encodes channel properties and defaults
162 * @prescale: the channels have hard-coded prescale ratios defined
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/hwmon/
Dmax6650.txt4 [1] https://datasheets.maximintegrated.com/en/ds/MAX6650-MAX6651.pdf
7 - compatible : One of "maxim,max6650" or "maxim,max6651"
8 - reg : I2C address, one of 0x1b, 0x1f, 0x4b, 0x48.
11 - maxim,fan-microvolt : The supply voltage of the fan, either 5000000 uV or
13 - maxim,fan-prescale : Pre-scaling value, as per datasheet [1]. Lower values
14 allow more fine-grained control of slower fans.
16 - maxim,fan-target-rpm: Initial requested fan rotation speed. If specified, the
17 driver selects closed-loop mode and the requested speed.
22 fan-max6650: max6650@1b {
25 maxim,fan-microvolt = <12000000>;
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/hwmon/
Dmax6650.txt4 [1] https://datasheets.maximintegrated.com/en/ds/MAX6650-MAX6651.pdf
7 - compatible : One of "maxim,max6650" or "maxim,max6651"
8 - reg : I2C address, one of 0x1b, 0x1f, 0x4b, 0x48.
11 - maxim,fan-microvolt : The supply voltage of the fan, either 5000000 uV or
13 - maxim,fan-prescale : Pre-scaling value, as per datasheet [1]. Lower values
14 allow more fine-grained control of slower fans.
16 - maxim,fan-target-rpm: Initial requested fan rotation speed. If specified, the
17 driver selects closed-loop mode and the requested speed.
22 fan-max6650: max6650@1b {
25 maxim,fan-microvolt = <12000000>;
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/media/
Dimx.rst1 .. SPDX-License-Identifier: GPL-2.0
7 ------------
15 - Image DMA Controller (IDMAC)
16 - Camera Serial Interface (CSI)
17 - Image Converter (IC)
18 - Sensor Multi-FIFO Controller (SMFC)
19 - Image Rotator (IRT)
20 - Video De-Interlacing or Combining Block (VDIC)
26 re-ordering (for example UYVY to YUYV) within the same colorspace, and
27 packed <--> planar conversion. The IDMAC can also perform a simple
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_blend.c43 * sub-pixel accuracy, which is scaled up to a pixel-aligned destination
88 * filtering than just a bilinear one when scaling. The filtering mode when
89 * scaling is unspecified.
96 * plane-wide opacity, from transparent (0) to opaque (0xffff). It can be
99 * pre-multiplied by the global alpha associated to the plane.
109 * "rotate-<degrees>":
113 * "reflect-<axis>":
117 * reflect-x::
120 * | | -> | |
123 * reflect-y::
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/media/
Dcamera-sensor.rst1 .. SPDX-License-Identifier: GPL-2.0
6 CSI-2
7 -----
12 ---------------
23 elsewhere. Therefore only the pre-determined frequencies are configurable by the
27 ----------
36 processing pipeline as one or more sub-devices with different cropping and
37 scaling configurations. The output size of the device is the result of a series
38 of cropping and scaling operations from the device's pixel array's size.
55 ----------------------------
[all …]
/kernel/linux/linux-4.19/Documentation/media/v4l-drivers/
Dimx.rst5 ------------
13 - Image DMA Controller (IDMAC)
14 - Camera Serial Interface (CSI)
15 - Image Converter (IC)
16 - Sensor Multi-FIFO Controller (SMFC)
17 - Image Rotator (IRT)
18 - Video De-Interlacing or Combining Block (VDIC)
24 re-ordering (for example UYVY to YUYV) within the same colorspace, and
25 even packed <--> planar conversion. It can also perform a simple
26 de-interlacing by interleaving even and odd lines during transfer
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dgateworks-gsc.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mfd/gateworks-gsc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
14 - Watchdog Timer
15 - GPIO
16 - Pushbutton controller
17 - Hardware monitor with ADC's for temperature and voltage rails and
21 - Tim Harvey <tharvey@gateworks.com>
22 - Robert Jones <rjones@gateworks.com>
[all …]
/kernel/liteos_m/arch/risc-v/nuclei/gcc/nmsis/NN/Include/
Driscv_nnsupportfunctions.h2 * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved.
5 * SPDX-License-Identifier: Apache-2.0
11 * www.apache.org/licenses/LICENSE-2.0
20 /* ----------------------------------------------------------------------
28 * Target Processor: RISC-V Cores
29 * -------------------------------------------------------------------- */
43 #define RIGHT_SHIFT(_shift) (_shift > 0 ? 0 : -_shift)
78 * Perform data type conversion in-between neural network operations
83 * @brief Converts the elements of the q7 vector to q15 vector without left-shift
95 * @brief Non-saturating addition of elements of a q7 vector
[all …]

12345678910