Home
last modified time | relevance | path

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

12345678910>>...14

/Linux-v6.6/drivers/gpu/ipu-v3/
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-v6.6/drivers/comedi/drivers/
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 …]
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-v6.6/drivers/hwmon/
Dmax197.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2012 Savoir-faire Linux Inc.
21 #include <linux/hwmon-sysfs.h>
32 #define MAX197_RNG (1 << 4) /* Full range */
34 #define MAX197_SCALE 12207 /* Scale coefficient for raw data */
40 * struct max197_data - device instance specific data
45 * @scale: Need to scale.
53 bool scale; member
59 data->ctrl_bytes[channel] &= ~MAX197_BIP; in max197_set_unipolarity()
64 data->ctrl_bytes[channel] |= MAX197_BIP; in max197_set_bipolarity()
[all …]
/Linux-v6.6/drivers/iio/
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-v6.6/Documentation/devicetree/bindings/iio/dac/
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 …]
/Linux-v6.6/include/linux/input/
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-v6.6/drivers/iio/afe/
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-v6.6/include/linux/
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.
69 * enum backlight_notification - the type of notification
86 /** enum backlight_scale - the type of scale used for brightness values
88 * The type of scale used for brightness values.
92 * @BACKLIGHT_SCALE_UNKNOWN: The scale is unknown.
[all …]
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-v6.6/drivers/iio/accel/
Dadxl345_core.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * ADXL345 3-Axis Digital Accelerometer IIO core driver
7 * Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ADXL345.pdf
40 #define ADXL345_DATA_FORMAT_FULL_RES BIT(3) /* Up to 13-bits resolution */
49 * In full-resolution mode, scale factor is maintained at ~4 mg/LSB
52 * At +/- 16g with 13-bit resolution, scale is computed as:
53 * (16 + 16) * 9.81 / (2^13 - 1) = 0.0383
103 ret = regmap_bulk_read(data->regmap, in adxl345_read_raw()
104 ADXL345_REG_DATA_AXIS(chan->address), in adxl345_read_raw()
113 switch (data->type) { in adxl345_read_raw()
[all …]
/Linux-v6.6/drivers/iio/adc/
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-v6.6/Documentation/userspace-api/media/v4l/
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-v6.6/include/linux/mfd/
Dlp8788.h1 /* SPDX-License-Identifier: GPL-2.0-only */
18 #define LP8788_DEV_BUCK "lp8788-buck"
19 #define LP8788_DEV_DLDO "lp8788-dldo"
20 #define LP8788_DEV_ALDO "lp8788-aldo"
21 #define LP8788_DEV_CHARGER "lp8788-charger"
22 #define LP8788_DEV_RTC "lp8788-rtc"
23 #define LP8788_DEV_BACKLIGHT "lp8788-backlight"
24 #define LP8788_DEV_VIBRATOR "lp8788-vibrator"
25 #define LP8788_DEV_KEYLED "lp8788-keyled"
26 #define LP8788_DEV_ADC "lp8788-adc"
[all …]
/Linux-v6.6/Documentation/devicetree/bindings/iio/afe/
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-v6.6/Documentation/ABI/testing/
Dsysfs-bus-iio-adc-ad71923 Contact: linux-iio@vger.kernel.org
12 Contact: linux-iio@vger.kernel.org
24 Contact: linux-iio@vger.kernel.org
29 What: /sys/bus/iio/devices/iio:deviceX/in_voltage2-voltage2_shorted_raw
31 Contact: linux-iio@vger.kernel.org
34 and AIN(-) shorted.
38 Contact: linux-iio@vger.kernel.org
42 "zero_scale" - calibrate to zero scale
43 "full_scale" - calibrate to full scale
47 Contact: linux-iio@vger.kernel.org
Dsysfs-bus-iio-cdc-ad77464 Contact: linux-iio@vger.kernel.org
7 calibscale. For calibscale, a full scale capacitance should
/Linux-v6.6/Documentation/images/
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-v6.6/Documentation/devicetree/bindings/leds/
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-v6.6/include/linux/platform_data/
Dad5449.h1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * Author: Lars-Peter Clausen <lars@metafoo.de>
14 * enum ad5449_sdo_mode - AD5449 SDO pin configuration
15 * @AD5449_SDO_DRIVE_FULL: Drive the SDO pin with full strength.
16 * @AD5449_SDO_DRIVE_WEAK: Drive the SDO pin with not full strength.
17 * @AD5449_SDO_OPEN_DRAIN: Operate the SDO pin in open-drain mode.
29 * struct ad5449_platform_data - Platform data for the ad5449 DAC driver
32 * outputs to midscale (true) or to zero scale(false).
/Linux-v6.6/drivers/media/test-drivers/vidtv/
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-v6.6/Documentation/hwmon/
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-v6.6/Documentation/driver-api/media/
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-v6.6/drivers/power/supply/
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->master, buf, count); in w1_ds2760_io()
150 mutex_unlock(&sl->master->bus_mutex); in w1_ds2760_io()
[all …]
/Linux-v6.6/include/linux/iio/
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() - get all channels associated with a client
79 * iio_channel_release_all() - reverse iio_channel_get_all
85 * devm_iio_channel_get_all() - Resource managed version of
102 * fwnode_iio_channel_get_by_name() - get description of all that is needed to access channel.
[all …]

12345678910>>...14