Home
last modified time | relevance | path

Searched +full:full +full:- +full:scale (Results 1 – 25 of 306) sorted by relevance

12345678910>>...13

/linux/drivers/gpu/ipu-v3/
H A Dipu-ic-csc.c1 // SPDX-License-Identifier: GPL-2.0+
11 #include "ipu-prv.h"
25 .scale = 2,
29 * RGB full-range to RGB limited-range
42 .scale = 1,
46 * RGB limited-range to RGB full-range
48 * R_full = 1.1644 * (R_lim - 16)
49 * G_full = 1.1644 * (G_lim - 16)
50 * B_full = 1.1644 * (B_lim - 16)
58 .offset = { -37, -37, -37, },
[all …]
/linux/drivers/comedi/drivers/
H A Djr3_pci.h1 /* SPDX-License-Identifier: GPL-2.0 */
31 * two-byte words.
42 * Channels 1-6 contain the coupled force data Fx through Mz. Channel
43 * 7 contains the sensor's calibration data. The use of channels 8-15
70 * the full scales.
139 * was detected in the on-board RAM during the power-up
151 * coordinate transformation, or new sensor full scale is set by the
249 * 0 - end transform packet
250 * 1 - translate along X axis (TX)
251 * 2 - translate along Y axis (TY)
[all …]
H A Ddac02.c1 // SPDX-License-Identifier: GPL-2.0+
11 * COMEDI - Linux Control and Measurement Device Interface
18 * Devices: [Keithley Metrabyte] DAC-02 (dac02)
20 * Updated: Tue, 11 Mar 2014 11:27:19 -0700
24 * [0] - I/O port base
34 * ------------- ------ ------------- -----------------
39 * +/-5V 0 21 to 22 23
41 * +/-10V 0 20 to 22 23
45 * AC reference 0 In on pin 22 24 (2-quadrant)
46 * In on pin 22 23 (4-quadrant)
[all …]
/linux/Documentation/devicetree/bindings/iio/dac/
H A Dadi,ltc2688.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Nuno Sá <nuno.sa@analog.com>
13 Analog Devices LTC2688 16 channel, 16 bit, +-15V DAC
14 https://www.analog.com/media/en/technical-documentation/data-sheets/ltc2688.pdf
19 - adi,ltc2688
24 vcc-supply:
27 iovcc-supply:
30 vref-supply:
[all …]
H A Ddac.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jonathan Cameron <jic23@kernel.org>
17 pattern: "^channel(@[0-9a-f]+)?$"
27 output-range-microamp:
31 Specify the channel output full scale range in microamperes.
33 output-range-microvolt:
37 Specify the channel output full scale range in microvolts.
40 - oneOf:
[all …]
H A Dadi,ad3530r.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Kim Seer Paller <kimseer.paller@analog.com>
13 The AD3530/AD3530R (8-channel) and AD3531/AD3531R (4-channel) are low-power,
14 16-bit, buffered voltage output digital-to-analog converters (DACs) with
15 software-programmable gain controls, providing full-scale output spans of 2.5V
20 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3530_ad530r.pdf
21 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3531-ad3531r.pdf
26 - adi,ad3530
[all …]
/linux/include/linux/input/
H A Dadxl34x.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
22 * form with a scale factor of 15.6 mg/LSB (i.e. 0x7F = +2 g)
49 * The data format is unsigned. The scale factor is 62.5 mg/LSB
60 * to qualify as a tap event. The scale factor is 625 us/LSB. A zero
70 * window tap_window for a possible second tap event. The scale
81 * tap can begin. The scale factor is 1.25 ms/LSB. A zero value will
126 * The data format is unsigned. The scale factor is
136 * detection. The data format is unsigned. The scale
147 * inactivity_threshold for inactivity to be declared. The scale factor
152 * result in the function appearing un-responsive if the
[all …]
/linux/include/linux/
H A Dbacklight.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright (C) 2003,2004 Hewlett-Packard Company
18 * enum backlight_update_reason - what method was used to update backlight
25 * @BACKLIGHT_UPDATE_HOTKEY: The backlight was updated using a hot-key.
36 * enum backlight_type - the type of backlight control
51 * The backlight is controlled using a platform-specific interface.
68 /** enum backlight_scale - the type of scale used for brightness values
70 * The type of scale used for brightness values.
74 * @BACKLIGHT_SCALE_UNKNOWN: The scale is unknown.
79 * @BACKLIGHT_SCALE_LINEAR: The scale is linear.
[all …]
H A Dled-lm3530.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2011 ST-Ericsson SA.
9 * based on leds-lm3530.c by Dan Murphy <D.Murphy@motorola.com>
15 #define LM3530_FS_CURR_5mA (0) /* Full Scale Current */
83 * @als_input_mode: select source of ALS input - ALS1/2 or average
84 * @max_current: full scale LED current
85 * @pwm_pol_hi: PWM input polarity - active high/active low
87 * @brt_ramp_law: brightness mapping mode - exponential/linear
94 * @brt_val: brightness value (0-127)
/linux/drivers/iio/adc/
H A Dhx711.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2016 Andreas Klinger <ak@it-klinger.de>
24 /* gain to pulse and scale conversion */
31 int scale; member
36 * .scale depends on AVDD which in turn is known as soon as the regulator
38 * therefore we set .scale in hx711_probe()
65 return hx711_gain_to_scale[i].scale; in hx711_get_gain_to_scale()
69 static int hx711_get_scale_to_gain(int scale) in hx711_get_scale_to_gain() argument
74 if (hx711_gain_to_scale[i].scale == scale) in hx711_get_scale_to_gain()
76 return -EINVAL; in hx711_get_scale_to_gain()
[all …]
H A Dad7124.c1 // SPDX-License-Identifier: GPL-2.0+
53 #define AD7124_ADC_CONTROL_MODE_INT_OFFSET_CALIB 5 /* Internal Zero-Scale Calibration */
54 #define AD7124_ADC_CONTROL_MODE_INT_GAIN_CALIB 6 /* Internal Full-Scale Calibration */
55 #define AD7124_ADC_CONTROL_MODE_SYS_OFFSET_CALIB 7 /* System Zero-Scale Calibration */
56 #define AD7124_ADC_CONTROL_MODE_SYS_GAIN_CALIB 8 /* System Full-Scale Calibration */
184 * Stores the power-on reset value for the GAIN(x) registers which are
192 .name = "ad7124-4",
198 .name = "ad7124-8",
213 diff_new = abs(val - array[i]); in ad7124_find_closest_match()
232 ret = ad_sd_read_reg(&st->sd, addr, bytes, &readval); in ad7124_spi_write_mask()
[all …]
/linux/drivers/iio/afe/
H A Diio-rescale.c1 // SPDX-License-Identifier: GPL-2.0
33 *val *= rescale->numerator; in rescale_process_scale()
34 if (rescale->denominator == 1) in rescale_process_scale()
36 *val2 = rescale->denominator; in rescale_process_scale()
44 if (!check_mul_overflow(*val, rescale->numerator, &_val) && in rescale_process_scale()
45 !check_mul_overflow(*val2, rescale->denominator, &_val2)) { in rescale_process_scale()
53 tmp = div_s64(tmp, rescale->denominator); in rescale_process_scale()
54 tmp *= rescale->numerator; in rescale_process_scale()
80 * For IIO_VAL_INT_PLUS_{MICRO,NANO} scale types if either *val in rescale_process_scale()
81 * OR *val2 is negative the schan scale is negative, i.e. in rescale_process_scale()
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dcrop.rst1 .. 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
62 .. _crop-scale:
64 .. kernel-figure:: crop.svg
81 :ref:`vbi-hsync`). Vertically ITU-R line numbers of the first field
82 (see ITU R-525 line numbering for :ref:`525 lines <vbi-525>` and for
83 :ref:`625 lines <vbi-625>`), multiplied by two if the driver
[all …]
/linux/Documentation/devicetree/bindings/leds/
H A Dleds-lm3532.txt1 * Texas Instruments - lm3532 White LED driver with ambient light sensing
4 The LM3532 provides the 3 high-voltage, low-side current sinks. The device is
5 programmable over an I2C-compatible interface and has independent
11 each with 32 internal voltage setting resistors, 8-bit logarithmic and linear
16 - compatible : "ti,lm3532"
17 - reg : I2C slave address
18 - #address-cells : 1
19 - #size-cells : 0
22 - enable-gpios : gpio pin to enable (active high)/disable the device.
23 - ramp-up-us - The Run time ramp rates/step are from one current
[all …]
/linux/drivers/power/supply/
H A Dds2760_battery.c5 * 2004-2007 Matt Reimer
126 mutex_lock(&sl->master->bus_mutex); in w1_ds2760_io()
133 count = DS2760_DATA_SIZE - addr; in w1_ds2760_io()
137 w1_write_8(sl->master, W1_DS2760_READ_DATA); in w1_ds2760_io()
138 w1_write_8(sl->master, addr); in w1_ds2760_io()
139 count = w1_read_block(sl->master, buf, count); in w1_ds2760_io()
141 w1_write_8(sl->master, W1_DS2760_WRITE_DATA); in w1_ds2760_io()
142 w1_write_8(sl->master, addr); in w1_ds2760_io()
143 w1_write_block(sl->master, buf, count); in w1_ds2760_io()
149 mutex_unlock(&sl->master->bus_mutex); in w1_ds2760_io()
[all …]
/linux/Documentation/images/
H A DCOPYING-logo1 This is the full-colour version of the currently unofficial Linux logo
7 Note that there are black-and-white versions of this available that
8 scale down to smaller sizes and are better for letterheads or whatever
9 you want to use it for: for the full range of logos take a look at
10 Larry's web-page:
14 The SVG version was re-illustrated in vector by Garrett LeSage and
18 There are also black-and-white and inverted vector versions at
/linux/drivers/media/test-drivers/vidtv/
H A Dvidtv_demod.c1 // SPDX-License-Identifier: GPL-2.0-or-later
80 struct device *dev = fe->dvb->device; in vidtv_match_cnr_s()
85 c = &fe->dtv_property_cache; in vidtv_match_cnr_s()
87 switch (c->delivery_system) { in vidtv_match_cnr_s()
113 c->delivery_system); in vidtv_match_cnr_s()
118 if (cnr2qual[i].modulation == c->modulation && in vidtv_match_cnr_s()
119 cnr2qual[i].fec == c->fec_inner) in vidtv_match_cnr_s()
127 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in vidtv_clean_stats()
132 c->strength.len = 1; in vidtv_clean_stats()
133 c->strength.stat[0].scale = FE_SCALE_DECIBEL; in vidtv_clean_stats()
[all …]
/linux/Documentation/devicetree/bindings/iio/afe/
H A Dvoltage-divider.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/afe/voltage-divider.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Peter Rosin <peda@axentia.se>
13 When an io-channel measures the midpoint of a voltage divider, the
14 interesting voltage is often the voltage over the full resistance
18 Vin ----.
20 .-----.
22 '-----'
[all …]
/linux/Documentation/devicetree/bindings/iio/adc/
H A Dadi,ad4170-4.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/adi,ad4170-4.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices AD4170-4 and similar Analog to Digital Converters
10 - Marcelo Schmitt <marcelo.schmitt@analog.com>
13 Analog Devices AD4170-4 series of Sigma-delta Analog to Digital Converters.
15 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4170-4.pdf
16 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4190-4.pdf
17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4195-4.pdf
[all …]
/linux/Documentation/driver-api/media/
H A Ddtv-frontend.rst1 .. SPDX-License-Identifier: GPL-2.0
4 ------------------------
9 The Digital TV Frontend kABI defines a driver-internal interface for
10 registering low-level, hardware specific driver to a hardware independent
29 .name = "foo DVB-T/T2/C driver",
70 .name = "Bar DVB-S/S2 demodulator",
91 /* Satellite-specific */
100 #) For satellite digital TV standards (DVB-S, DVB-S2, ISDB-S), the
129 ``DVBFE_ALGO_SW``, meaning that the dvb-core will do a zigzag when tuning,
131 then, it will do ``f`` + |delta|, ``f`` - |delta|, ``f`` + 2 x |delta|,
[all …]
/linux/Documentation/hwmon/
H A Dadm1026.rst16 - Philip Pokorny <ppokorny@penguincomputing.com> for Penguin Computing
17 - Justin Thiessen <jthiessen@penguincomputing.com>
20 -----------------
23 List of GPIO pins (0-16) to program as inputs
26 List of GPIO pins (0-16) to program as outputs
29 List of GPIO pins (0-16) to program as inverted
32 List of GPIO pins (0-16) to program as normal/non-inverted
35 List of GPIO pins (0-7) to program as fan tachs
39 -----------
45 16 general purpose digital I/O lines, eight (8) fan speed sensors (8-bit),
[all …]
/linux/arch/arm64/kernel/
H A Dtopology.c84 * - the 'identical implementation' flag in parse_acpi_topology()
85 * - its parent not having the flag in parse_acpi_topology()
94 entry->core_id = topology_id; in parse_acpi_topology()
95 entry->thread_num = 1; in parse_acpi_topology()
99 } else if (entry->core_id == topology_id) { in parse_acpi_topology()
100 entry->thread_num++; in parse_acpi_topology()
103 cpu_topology[cpu].thread_id = -1; in parse_acpi_topology()
118 max_smt_thread_num = max(max_smt_thread_num, entry->thread_num); in parse_acpi_topology()
160 amu_sample->arch_core_cycles_prev = read_corecnt(); in update_freq_counters_refs()
161 amu_sample->arch_const_cycles_prev = read_constcnt(); in update_freq_counters_refs()
[all …]
/linux/drivers/iio/gyro/
H A Dmpu3050-core.c1 // SPDX-License-Identifier: GPL-2.0-only
39 * Register map: anything suffixed *_H is a big-endian high byte and always
76 /* Bits 8-11 select memory bank */
99 * Full Scale (FS)
163 * Fullscale precision is (for finest precision) +/- 250 deg/s, so the full
164 * scale is actually 500 deg/s. All 16 bits are then used to cover this scale,
184 if (mpu3050->lpf == MPU3050_DLPF_CFG_256HZ_NOLPF2) in mpu3050_get_freq()
188 freq /= (mpu3050->divisor + 1); in mpu3050_get_freq()
200 ret = regmap_set_bits(mpu3050->map, MPU3050_PWR_MGM, in mpu3050_start_sampling()
205 /* Turn on the Z-axis PLL */ in mpu3050_start_sampling()
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-cdc-ad77464 Contact: linux-iio@vger.kernel.org
7 calibscale. For calibscale, a full scale capacitance should
/linux/include/linux/iio/common/
H A Dst_sensors.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright 2012-2013 STMicroelectronics Inc.
66 .shift = sbits - rbits, \
128 * struct st_sensor_bdu - ST sensor device block data update
138 * struct st_sensor_das - ST sensor device data alignment selection
148 * struct st_sensor_int_drdy - ST sensor device drdy line parameters
162 * struct st_sensor_data_ready_irq - ST sensor device data-ready interrupt
163 * struct int1 - data-ready configuration register for INT1 pin.
164 * struct int2 - data-ready configuration register for INT2 pin.
167 * struct stat_drdy - status register of DRDY (data ready) interrupt.
[all …]

12345678910>>...13