Home
last modified time | relevance | path

Searched +full:assigned +full:- +full:resolution +full:- +full:bits (Results 1 – 25 of 68) sorted by relevance

123

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/
Dst,stm32-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/iio/adc/st,stm32-adc.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
10 STM32 ADC is a successive approximation analog-to-digital converter.
13 stored in a left-aligned or right-aligned 32-bit data register.
17 voltage goes beyond the user-defined, higher or lower thresholds.
22 - Fabrice Gasnier <fabrice.gasnier@st.com>
27 - st,stm32f4-adc-core
28 - st,stm32h7-adc-core
[all …]
/kernel/linux/linux-5.10/include/sound/ac97/
Dregs.h1 /* SPDX-License-Identifier: GPL-2.0+
33 /* range 0x28-0x3a - AUDIO AC'97 2.0 extensions */
44 /* range 0x3c-0x58 - MODEM */
59 /* range 0x5a-0x7b - Vendor Specific */
62 /* range 0x60-0x6f (page 1) - extended codec registers */
108 #define AC97_BC_16BIT_DAC 0x0000 /* 16-bit DAC resolution */
109 #define AC97_BC_18BIT_DAC 0x0040 /* 18-bit DAC resolution */
110 #define AC97_BC_20BIT_DAC 0x0080 /* 20-bit DAC resolution */
112 #define AC97_BC_16BIT_ADC 0x0000 /* 16-bit ADC resolution */
113 #define AC97_BC_18BIT_ADC 0x0100 /* 18-bit ADC resolution */
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dinput.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Copyright (c) 1999-2002 Vojtech Pavlik
20 #include "input-event-codes.h"
56 * IOCTLs (0x00 - 0x7f)
67 * struct input_absinfo - used by EVIOCGABS/EVIOCSABS ioctls
75 * @resolution: specifies resolution for the values reported for
81 * The default resolution for main axes (ABS_X, ABS_Y, ABS_Z)
82 * is reported in units per millimeter (units/mm), resolution
85 * When INPUT_PROP_ACCELEROMETER is set the resolution changes.
96 __s32 resolution; member
[all …]
Dpkt_sched.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
13 with obsolete IPv6 values is not occasional :-). New IPv6 drafts
52 ---------
89 #define TC_LINKLAYER_MASK 0x0F /* limit use to lower 4 bits */
93 __u8 linklayer; /* lower 4 bits */
120 #define TCA_STAB_MAX (__TCA_STAB_MAX - 1)
131 * Priorities go from zero to (SKBPRIO_MAX_PRIORITY - 1).
150 __u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */
174 * command is received (just act as a pass-thru queue).
204 #define TCA_TBF_MAX (__TCA_TBF_MAX - 1)
[all …]
/kernel/linux/linux-5.10/include/sound/
Dac97_codec.h1 /* SPDX-License-Identifier: GPL-2.0+
24 /* specific - SigmaTel */
33 #define AC97_SIGMATEL_MULTICHN 0x74 /* Multi-Channel programming */
37 /* specific - Analog Devices */
44 #define AC97_AD_MISC 0x76 /* Misc Control Bits */
47 /* specific - Cirrus Logic */
56 /* specific - Conexant */
64 /* specific - ALC */
83 #define AC97_ALC650_SPSR_MASK 0x0f00 /* S/PDIF Sample Rate bits */
106 /* specific - Yamaha YMF7x3 */
[all …]
Dpcm.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
8 * Abramo Bagnara <abramo@alsa-project.org>
20 #define snd_pcm_substream_chip(substream) ((substream)->private_data)
21 #define snd_pcm_chip(pcm) ((pcm)->private_data)
87 #define SNDRV_PCM_DEVICES (SNDRV_OS_MINORS-2)
106 #define SNDRV_PCM_POS_XRUN ((snd_pcm_uframes_t)-1)
126 #define SNDRV_PCM_RATE_KNOT (1<<31) /* supports more non-continuos rates */
239 struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK -
241 struct snd_interval intervals[SNDRV_PCM_HW_PARAM_LAST_INTERVAL -
251 return &constrs->masks[var - SNDRV_PCM_HW_PARAM_FIRST_MASK]; in constrs_mask()
[all …]
/kernel/linux/linux-5.10/Documentation/input/devices/
Datarikbd.rst12 provides a convenient connection point for a mouse and switch-type joysticks.
13 The ikbd processor also maintains a time-of-day clock with one second
14 resolution.
17 keyswitches, mouse resolution, etc. can be accommodated.
18 The ikbd communicates with the main processor over a high speed bi-directional
41 0xF8-0xFB relative mouse position records (lsbs determined by
43 0xFC time-of-day
55 The mouse port should be capable of supporting a mouse with resolution of
67 ---------------------------
72 settable threshold of motion. Regardless of the threshold, all bits of
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Dia_css_frame_public.h1 /* SPDX-License-Identifier: GPL-2.0 */
20 * This file contains structs to describe various frame-formats supported by the ISP.
72 /* Container for semi-planar YUV frames.
87 /* Container for 6-plane frames. These frames are used internally
93 struct ia_css_frame_plane gr; /** Red-green plane */
94 struct ia_css_frame_plane gb; /** Blue-green plane */
99 /* Crop info struct - stores the lines to be cropped in isp */
111 struct ia_css_resolution res; /** Frame resolution (valid data) */
114 unsigned int raw_bit_depth; /** number of valid bits per pixel,
154 * -1 if data address is static during life time of pipeline
[all …]
/kernel/linux/linux-5.10/Documentation/i2c/
Dsmbus-protocol.rst42 Addr (7 bits) I2C 7 bit address. Note that this can be expanded as usual to
44 Comm (8 bits) Command byte, a data byte which often selects a register on
46 Data (8 bits) A plain data byte. Sometimes, I write DataLow, DataHigh
48 Count (8 bits) A data byte containing the length of a block operation.
115 byte. But this time, the data is a complete word (16 bits)::
147 This is the opposite of the Read Word operation. 16 bits
164 16 bits of data to it, and reads 16 bits of data in return::
205 SMBus Block Write - Block Read Process Call
208 SMBus Block Write - Block Read Process Call was introduced in
239 client->irq assigned to a Host Notify IRQ if noone else specified an other.
[all …]
/kernel/linux/linux-5.10/Documentation/hwmon/
Dasc7621.rst20 Andigilog has both the PECI and pre-PECI versions of the Heceta-6, as
21 Intel calls them. Heceta-6e has high frequency PWM and Heceta-6p has
23 Heceta-6e part and aSC7621 is the Heceta-6p part. They are both in
27 specification. First enhancement is temperature reading resolution. We
28 have used registers below 20h for vendor-specific functions in addition
29 to those in the Intel-specified vendor range.
32 The fan speed control uses this finer value to produce a "step-less" fan
33 PWM output. These two bytes are "read-locked" to guarantee that once a
34 high or low byte is read, the other byte is locked-in until after the
37 sheet says 10-bits of resolution, although you may find the lower bits
[all …]
Dlm85.rst79 - Philip Pokorny <ppokorny@penguincomputing.com>,
80 - Frodo Looijaard <frodol@dds.nl>,
81 - Richard Barrington <rich_b_nz@clear.net.nz>,
82 - Margit Schubert-While <margitsw@t-online.de>,
83 - Justin Thiessen <jthiessen@penguincomputing.com>
86 -----------
92 The LM85 uses the 2-wire interface compatible with the SMBUS 2.0
94 temperatures and five (5) voltages. It has four (4) 16-bit counters for
127 ----------------
133 for 3-wire and 2-wire mode. For this reason, the 2-wire fan modes are not
[all …]
/kernel/linux/linux-5.10/drivers/iio/temperature/
Dltc2983.c1 // SPDX-License-Identifier: GPL-2.0
3 * Analog Devices LTC2983 Multi-Sensor Digital Temperature Measurement System
42 (((chan - 1) * 4) + LTC2983_CHAN_ASSIGN_START_REG)
44 (((chan - 1) * 4) + LTC2983_TEMP_RES_START_REG)
272 * the number of integer and fractional bits are specified. The resolution
273 * is given by 1/@resolution and tell us the number of fractional bits. For
274 * instance a resolution of 2^-10 means we have 10 fractional bits.
276 static u32 __convert_to_raw(const u64 val, const u32 resolution) in __convert_to_raw() argument
278 u64 __res = val * resolution; in __convert_to_raw()
286 static u32 __convert_to_raw_sign(const u64 val, const u32 resolution) in __convert_to_raw_sign() argument
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/
Defifb.c1 // SPDX-License-Identifier: GPL-2.0
5 * (c) 2006 Edgar Hucek <gimli@dark-green.com>
6 * Original efi driver written by Gerd Knorr <kraxel@goldbach.in-berlin.de>
12 #include <linux/efi-bgrt.h>
51 .height = -1,
52 .width = -1,
78 if (regno >= info->cmap.len) in efifb_setcolreg()
82 red >>= 16 - info->var.red.length; in efifb_setcolreg()
83 green >>= 16 - info->var.green.length; in efifb_setcolreg()
84 blue >>= 16 - info->var.blue.length; in efifb_setcolreg()
[all …]
/kernel/linux/linux-5.10/drivers/media/i2c/m5mols/
Dm5mols_core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for M-5MOLS 8M Pixel camera sensor with ISP
21 #include <media/v4l2-ctrls.h>
22 #include <media/v4l2-device.h>
23 #include <media/v4l2-subdev.h>
71 { 0x01, M5MOLS_RESTYPE_MONITOR, 128, 96 }, /* SUB-QCIF */
100 { 0x19, M5MOLS_RESTYPE_CAPTURE, 1920, 1080 }, /* Full-HD */
112 * m5mols_swap_byte - an byte array to integer conversion function
114 * @length: size in bytes of I2C packet defined in the M-5MOLS datasheet
131 * m5mols_read - I2C read function
[all …]
/kernel/linux/linux-5.10/Documentation/watchdog/
Dwatchdog-kernel-api.rst5 Last reviewed: 12-Feb-2013
10 ------------
14 file: Documentation/watchdog/watchdog-api.rst .
24 -------
82 * gov: a pointer to the assigned watchdog device pretimeout governor or NULL.
91 'timeout'. Not used if max_hw_heartbeat_ms is non-zero.
93 in milli-seconds. This value is normally 0; it should only be provided
95 * max_hw_heartbeat_ms: Maximum hardware heartbeat, in milli-seconds.
106 should define ops->restart. Priority can be changed through
109 WDIOF_* status bits).
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dras.rst33 -------------
47 Self-Monitoring, Analysis and Reporting Technology (SMART).
55 ---------------
68 * **Correctable Error (CE)** - the error detection mechanism detected and
72 * **Uncorrected Error (UE)** - the amount of errors happened above the error
73 correction threshold, and the system was unable to auto-correct.
75 * **Fatal Error** - when an UE error happens on a critical component of the
79 * **Non-fatal Error** - when an UE error happens on an unused component,
87 The mechanism for handling non-fatal errors is usually complex and may
92 ------------------------------------
[all …]
/kernel/linux/linux-5.10/drivers/iio/pressure/
Dbmp280-core.c1 // SPDX-License-Identifier: GPL-2.0-only
12 * https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMP180-DS000-121.pdf
13 * https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMP280-DS001-12.pdf
14 * https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BME280_DS001-11.pdf
158 struct device *dev = data->dev; in bmp280_read_calib()
163 ret = regmap_bulk_read(data->regmap, BMP280_REG_COMP_TEMP_START, in bmp280_read_calib()
166 dev_err(data->dev, in bmp280_read_calib()
174 calib->T1 = le16_to_cpu(t_buf[T1]); in bmp280_read_calib()
175 calib->T2 = le16_to_cpu(t_buf[T2]); in bmp280_read_calib()
176 calib->T3 = le16_to_cpu(t_buf[T3]); in bmp280_read_calib()
[all …]
/kernel/linux/linux-5.10/include/uapi/misc/
Dhabanalabs.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
3 * Copyright 2016-2020 HabanaLabs, Ltd.
15 * Defines that are asic-specific but constitutes as ABI between kernel driver
240 * HW_IP_INFO - Receive information about different IP blocks in the
242 * HL_INFO_HW_EVENTS - Receive an array describing how many times each event
244 * HL_INFO_DRAM_USAGE - Retrieve the dram usage inside the device and of the
247 * HL_INFO_HW_IDLE - Retrieve information about the idle status of each
249 * HL_INFO_DEVICE_STATUS - Retrieve the device's status. This opcode doesn't
251 * HL_INFO_DEVICE_UTILIZATION - Retrieve the total utilization of the device
254 * resolution of 100ms. The return value is a
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_kms.c1 // SPDX-License-Identifier: GPL-2.0-only
66 struct drm_device *dev = state->dev; in vc4_get_ctm_state()
71 ret = drm_modeset_lock(&vc4->ctm_state_lock, state->acquire_ctx); in vc4_get_ctm_state()
87 state = kmemdup(obj->state, sizeof(*state), GFP_KERNEL); in vc4_ctm_duplicate_state()
91 __drm_atomic_helper_private_obj_duplicate_state(obj, &state->base); in vc4_ctm_duplicate_state()
93 return &state->base; in vc4_ctm_duplicate_state()
113 drm_atomic_private_obj_fini(&vc4->ctm_manager); in vc4_ctm_obj_fini()
120 drm_modeset_lock_init(&vc4->ctm_state_lock); in vc4_ctm_obj_init()
124 return -ENOMEM; in vc4_ctm_obj_init()
126 drm_atomic_private_obj_init(&vc4->base, &vc4->ctm_manager, &ctm_state->base, in vc4_ctm_obj_init()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_ctl.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2014-2015 The Linux Foundation. All rights reserved.
10 * CTL - MDP Control Pool Manager
16 * a specific data path ID - REG_MDP5_CTL_*(<id>, ...)
20 * In certain use cases (high-resolution dual pipe), one single CTL can be
37 /* pending flush_mask bits */
44 /* when do CTL registers need to be flushed? (mask of trigger bits) */
49 /* True if the current CTL has FLUSH bits pending for single FLUSH. */
62 /* to filter out non-present bits in the current hardware config */
77 struct msm_drm_private *priv = ctl_mgr->dev->dev_private; in get_kms()
[all …]
/kernel/linux/linux-5.10/include/drm/
Ddrm_connector.h50 DRM_FORCE_ON_DIGITAL, /* for DVI-I use digital connector */
54 * enum drm_connector_status - status for a &drm_connector
69 * nothing there. It is driver-dependent whether a connector with this
76 * flicker (like load-detection when the connector is in use), or when a
77 * hardware resource isn't available (like when load-detection needs a
87 * enum drm_connector_registration_status - userspace registration status for
120 * - An unregistered connector may only have its DPMS changed from
121 * On->Off. Once DPMS is changed to Off, it may not be switched back
123 * - Modesets are not allowed on unregistered connectors, unless they
124 * would result in disabling its assigned CRTCs. This means
[all …]
/kernel/linux/linux-5.10/drivers/iio/adc/
Dstm32-adc.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved
11 #include <linux/dma-mapping.h>
15 #include <linux/iio/timer/stm32-lptim-trigger.h>
16 #include <linux/iio/timer/stm32-timer-trigger.h>
29 #include "stm32-adc-core.h"
31 /* Number of linear calibration shadow registers / LINCALRDYW control bits */
55 /* extsel - trigger mux selection value */
81 * struct stm32_adc_trig_info - ADC trigger info
91 * struct stm32_adc_calib - optional adc calibration data
[all …]
/kernel/linux/linux-5.10/include/linux/
Dfb.h1 /* SPDX-License-Identifier: GPL-2.0 */
72 __u32 serial; /* Serial Number - Integer */
79 __u16 input; /* display type - see FB_DISP_* */
80 __u16 dpms; /* DPMS support - see FB_DPMS_ */
81 __u16 signal; /* Signal Type - see FB_SIGNAL_* */
84 __u16 gamma; /* Gamma - in fractions of 100 */
86 __u16 misc; /* Misc flags - see FB_MISC_* */
118 const char __user *mask; /* cursor mask bits */
127 /* The resolution of the passed in fb_info about to change */
131 /* only used by mach-pxa/am200epd.c */
[all …]
/kernel/linux/linux-5.10/include/xen/interface/io/
Ddisplif.h24 * Copyright (C) 2016-2017 EPAM Systems Inc.
49 * sophisticated use-cases than a framebuffer device can handle. At the
59 * Note: display resolution (XenStore's "resolution" property) defines
60 * visible area of the virtual display. At the same time resolution of
62 * or bigger than the visible area. This is to enable use-cases, where backend
63 * may do some post-processing of the display and frame buffers supplied,
80 * Front->back notifications: when enqueuing a new request, sending a
82 * hold-off mechanism provided by the ring macros). Backends must set
85 * Back->front notifications: when enqueuing a new response, sending a
87 * hold-off mechanism provided by the ring macros). Frontends must set
[all …]
/kernel/linux/linux-5.10/kernel/sched/
Dsched.h1 /* SPDX-License-Identifier: GPL-2.0 */
70 #include <asm-generic/vmlinux.lds.h>
153 * Helpers for converting nanosecond timing to jiffy resolution
162 * latency requirements, in contrast to the task with latency_nice == -20
166 #define MIN_LATENCY_NICE -20
169 (MAX_LATENCY_NICE - MIN_LATENCY_NICE + 1)
178 * Convert user-nice values [ -20 ... 0 ... 19 ]
183 #define LATENCY_TO_NICE(prio) ((prio) - DEFAULT_LATENCY_PRIO)
189 * Increase resolution of nice-level calculations for 64-bit architectures.
190 * The extra resolution improves shares distribution and load balancing of
[all …]

123