Home
last modified time | relevance | path

Searched +full:full +full:- +full:scale (Results 1 – 25 of 304) 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,ltc2664.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Michael Hennerich <michael.hennerich@analog.com>
11 - Kim Seer Paller <kimseer.paller@analog.com>
14 Analog Devices LTC2664 4 channel, 12-/16-Bit, +-10V DAC
15 https://www.analog.com/media/en/technical-documentation/data-sheets/2664fa.pdf
20 - adi,ltc2664
25 spi-max-frequency:
28 vcc-supply:
[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/drivers/iio/
H A Dindustrialio-gts-helper.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* gain-time-scale conversion helpers for IIO light sensors
18 #include <linux/iio/iio-gts-helper.h>
22 * iio_gts_get_gain - Convert scale to total gain
24 * Internal helper for converting scale to total gain.
26 * @max: Maximum linearized scale. As an example, when scale is created
27 * in magnitude of NANOs and max scale is 64.1 - The linearized
28 * scale is 64 100 000 000.
29 * @scale: Linearized scale to compute the gain for.
31 * Return: (floored) gain corresponding to the scale. -EINVAL if scale
[all …]
/linux/include/linux/
H A Dbacklight.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright (C) 2003,2004 Hewlett-Packard Company
19 * enum backlight_update_reason - what method was used to update backlight
26 * @BACKLIGHT_UPDATE_HOTKEY: The backlight was updated using a hot-key.
37 * enum backlight_type - the type of backlight control
52 * The backlight is controlled using a platform-specific interface.
69 /** enum backlight_scale - the type of scale used for brightness values
71 * The type of scale used for brightness values.
75 * @BACKLIGHT_SCALE_UNKNOWN: The scale is unknown.
80 * @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 …]
/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/Documentation/ABI/testing/
H A Dsysfs-bus-iio-adc-ad71923 Contact: linux-iio@vger.kernel.org
12 Contact: linux-iio@vger.kernel.org
22 What: /sys/bus/iio/devices/iio:deviceX/in_voltage2-voltage2_shorted_raw
24 Contact: linux-iio@vger.kernel.org
27 and AIN(-) shorted.
H A Dsysfs-bus-iio-cdc-ad77464 Contact: linux-iio@vger.kernel.org
7 calibscale. For calibscale, a full scale capacitance should
/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/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/drivers/power/supply/
H A Dds2760_battery.c5 * 2004-2007 Matt Reimer
127 mutex_lock(&sl->master->bus_mutex); in w1_ds2760_io()
134 count = DS2760_DATA_SIZE - addr; in w1_ds2760_io()
138 w1_write_8(sl->master, W1_DS2760_READ_DATA); in w1_ds2760_io()
139 w1_write_8(sl->master, addr); in w1_ds2760_io()
140 count = w1_read_block(sl->master, buf, count); in w1_ds2760_io()
142 w1_write_8(sl->master, W1_DS2760_WRITE_DATA); in w1_ds2760_io()
143 w1_write_8(sl->master, addr); in w1_ds2760_io()
144 w1_write_block(sl->maste in w1_ds2760_io()
257 int ret, i, start, count, scale[5]; ds2760_battery_read_status() local
[all...]
/linux/include/linux/iio/
H A Dconsumer.h1 /* SPDX-License-Identifier: GPL-2.0-only */
19 * struct iio_channel - everything needed for a consumer to use a channel
21 * @channel: Full description of the channel.
31 * iio_channel_get() - get description of all that is needed to access channel.
44 * iio_channel_release() - release channels obtained via iio_channel_get
50 * devm_iio_channel_get() - Resource managed version of iio_channel_get().
68 * iio_channel_get_all() - ge
[all...]
/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 …]
/linux/Documentation/devicetree/bindings/sound/
H A Dcs35l33.txt5 - 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 …]

12345678910>>...13