Home
last modified time | relevance | path

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

12

/linux/Documentation/devicetree/bindings/iio/resolver/
H A Dadi,ad2s1210.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices AD2S1210 Resolver-to-Digital Converter
10 - Michael Hennerich <michael.hennerich@analog.com>
13 The AD2S1210 is a complete 10-bit to 16-bit resolution tracking
14 resolver-to-digital converter, integrating an on-board programmable
29 0 0 Normal mode - position output
30 0 1 Normal mode - velocity output
34 In normal mode, the resolution of the digital output is selected using
[all …]
/linux/Documentation/devicetree/bindings/iio/adc/
H A 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@foss.st.com>
27 - st,stm32f4-adc-core
28 - st,stm32h7-adc-core
[all …]
/linux/include/sound/ac97/
H A 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 …]
/linux/include/uapi/linux/
H A 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 - use
99 __s32 resolution; global() member
[all...]
H A 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 …]
H A Dsoundcard.h2 * Copyright by Hannu Savolainen 1993-1997
104 * word. The high 2 bits of the upper word are used
131 #define SNDCTL_SEQ_CTRLRATE _SIOWR('Q', 3, int) /* Set/get timer resolution (HZ) */
228 #define WAVE_UNSIGNED 0x02 /* bit 1 = Signed - Unsigned data. */
229 #define WAVE_LOOPING 0x04 /* bit 2 = looping enabled-1. */
233 #define WAVE_ENVELOPES 0x40 /* bit 6 = Enable envelopes - 1 */
236 /* Linux specific bits */
241 /* Reserved bits */
244 /* Other bits must be zeroed */
269 int panning; /* -128=left, 127=right */
[all …]
/linux/include/sound/
H A 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 …]
H A Dpcm.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
8 * Abramo Bagnara <abramo@alsa-project.org>
21 #define snd_pcm_substream_chip(substream) ((substream)->private_data)
22 #define snd_pcm_chip(pcm) ((pcm)->private_data)
86 #define SNDRV_PCM_DEVICES (SNDRV_OS_MINORS-2)
106 #define SNDRV_PCM_POS_XRUN ((snd_pcm_uframes_t)-1)
132 #define SNDRV_PCM_RATE_KNOT (1U<<31) /* supports more non-continuous rates */
160 // available bit count in most significant bit. It's for the case of so-called 'left-justified' or
161 // `right-padding` sample which has less width than 32 bit.
257 struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK -
[all …]
/linux/drivers/iio/resolver/
H A Dad2s1210.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2010-2010 Analog Devices Inc.
11 * ----------------------------|------|-------------------------------------------
22 * Encoder resolution | D3:2 | *not implemented*
23 * Resolution | D1:0 | *device tree: assigned-resolution-bits*
34 * ----------------------------------------|----|---------------------------------
50 #include <linux/bits.h>
151 /** Available raw hysteresis values based on resolution. */
153 /* adi,fixed-mode property - only valid when mode_gpios == NULL. */
155 /** The selected resolution */
[all …]
/linux/Documentation/input/devices/
H A 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 …]
/linux/Documentation/i2c/
H A Dsmbus-protocol.rst44 Addr (7 bits) I2C 7 bit address. Note that this can be expanded to
46 Comm (8 bits) Command byte, a data byte which often selects a register on
48 Data (8 bits) A plain data byte. DataLow and DataHigh represent the low and
50 Count (8 bits) A data byte containing the length of a block operation.
117 byte. But this time, the data is a complete word (16 bits)::
149 This is the opposite of the Read Word operation. 16 bits
166 16 bits of data to it, and reads 16 bits of data in return::
207 SMBus Block Write - Block Read Process Call
210 SMBus Block Write - Block Read Process Call was introduced in
241 client->irq assigned to a Host Notify IRQ if no one else specified another.
[all …]
/linux/Documentation/hwmon/
H A 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 …]
H A 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 …]
/linux/include/linux/
H A Dscmi_protocol.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2018-2021 ARM Ltd.
21 * struct scmi_revision_info - version information structure
30 * @impl_ver: A vendor-specific implementation version.
32 * @sub_vendor_id: A sub-vendor identifier(Null terminated ASCII string)
87 * struct scmi_clk_proto_ops - represents the various operations provided
133 * struct scmi_perf_proto_ops - represent
263 unsigned int resolution; global() member
387 unsigned int resolution; global() member
457 BITS = 0x3C, global() enumerator
[all...]
H A Dsched.h1 /* SPDX-License-Identifier: GPL-2.0 */
42 #include <linux/posix-timers_types.h>
49 #include <linux/tracepoint-defs.h>
53 #include <generated/rq-offsets.h>
94 * Task state bitmask. NOTE! These bits are also
97 * We have two separate sets of flags: task->__state
98 * is about runnability, while task->exit_state are
104 /* Used in tsk->__state: */
110 /* Used in tsk->exit_state: */
114 /* Used in tsk->__state again: */
[all …]
/linux/drivers/iio/temperature/
H A Dltc2983.c1 // SPDX-License-Identifier: GPL-2.0
3 * Analog Devices LTC2983 Multi-Sensor Digital Temperature Measurement System
60 (((chan - 1) * 4) + LTC2983_CHAN_ASSIGN_START_REG)
62 (((chan - 1) * 4) + LTC2983_TEMP_RES_START_REG)
310 * the number of integer and fractional bits are specified. The resolution
311 * is given by 1/@resolution and tell us the number of fractional bits. For
312 * instance a resolution of 2^-10 means we have 10 fractional bits.
314 static u32 __convert_to_raw(const u64 val, const u32 resolution) in __convert_to_raw() argument
316 u64 __res = val * resolution; in __convert_to_raw()
324 static u32 __convert_to_raw_sign(const u64 val, const u32 resolution) in __convert_to_raw_sign() argument
[all …]
/linux/Documentation/watchdog/
H A 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 …]
/linux/drivers/gpu/drm/vc4/
H A Dvc4_kms.c1 // SPDX-License-Identifier: GPL-2.0-only
49 struct drm_device *dev = state->dev; in vc4_get_ctm_state()
54 ret = drm_modeset_lock(&vc4->ctm_state_lock, state->acquire_ctx); in vc4_get_ctm_state()
70 state = kmemdup(obj->state, sizeof(*state), GFP_KERNEL); in vc4_ctm_duplicate_state()
74 __drm_atomic_helper_private_obj_duplicate_state(obj, &state->base); in vc4_ctm_duplicate_state()
76 return &state->base; in vc4_ctm_duplicate_state()
96 drm_atomic_private_obj_fini(&vc4->ctm_manager); in vc4_ctm_obj_fini()
103 drm_modeset_lock_init(&vc4->ctm_state_lock); in vc4_ctm_obj_init()
107 return -ENOMEM; in vc4_ctm_obj_init()
109 drm_atomic_private_obj_init(&vc4->base, &vc4->ctm_manager, &ctm_state->base, in vc4_ctm_obj_init()
[all …]
/linux/include/xen/interface/io/
H A Ddisplif.h1 /* SPDX-License-Identifier: MIT */
7 * Copyright (C) 2016-2017 EPAM Systems Inc.
32 * sophisticated use-cases than a framebuffer device can handle. At the
42 * Note: display resolution (XenStore's "resolution" property) defines
43 * visible area of the virtual display. At the same time resolution of
45 * or bigger than the visible area. This is to enable use-cases, where backend
46 * may do some post-processing of the display and frame buffers supplied,
63 * Front->back notifications: when enqueuing a new request, sending a
65 * hold-off mechanism provided by the ring macros). Backends must set
68 * Back->front notifications: when enqueuing a new response, sending a
[all …]
/linux/Documentation/sound/
H A Dalsa-configuration.rst2 Advanced Linux Sound Architecture - Driver Configuration guide
38 ----------
47 limiting card index for auto-loading (1-8);
49 For auto-loading more than one card, specify this option
50 together with snd-card-X aliases.
63 Module snd-pcm-oss
64 ------------------
70 PCM device number maps assigned to the 1st OSS device;
73 PCM device number maps assigned to the 2nd OSS device;
86 regarding opening the device. When this option is non-zero,
[all …]
/linux/sound/hda/common/
H A Dcontroller.c1 // SPDX-License-Identifier: GPL-2.0-or-later
21 /* for art-tsc conversion */
54 /* release the assigned stream */ in azx_release_device()
64 return &apcm->info->stream[substream->strea
162 unsigned int format_val, stream_tag, bits; azx_pcm_prepare() local
[all...]
/linux/kernel/sched/
H A Dsched.h1 /* SPDX-License-Identifier: GPL-2.0 */
114 * Asymmetric CPU capacity bits
125 #define cpu_capacity_span(asym_data) to_cpumask((asym_data)->cpus)
128 * Helpers for converting nanosecond timing to jiffy resolution
133 * Increase resolution of nice-level calculations for 64-bit architectures.
134 * The extra resolution improves shares distribution and load balancing of
135 * low-weight task groups (eg. nice +19 on an autogroup), deeper task-group
136 * hierarchies, especially on larger systems. This is not a user-visible change
137 * and does not change the user-interface for setting shares/weights.
139 * We increase resolution only if we have enough bits to allow this increased
[all …]
/linux/drivers/hid/
H A Dhid-input.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2000-2001 Vojtech Pavlik
4 * Copyright (c) 2006-2010 Jiri Kosina
12 * e-mail - mail your message to <vojtech@ucw.cz>, or by paper mail:
21 #include <linux/hid-debug.h>
23 #include "hid-ids.h"
49 } hid_hat_to_axis[] = {{ 0, 0}, { 0,-1}, { 1,-1}, { 1, 0}, { 1, 1}, { 0, 1}, {-1, 1}, {-1, 0}, {-1…
62 * hid-input will convert this list into priorities:
67 * hid-input will then shift the priority by 8 bits to leave some space
71 * defined in the next 8 bits (defined by 0xff - slot).
[all …]
/linux/include/uapi/drm/
H A Dhabanalabs_accel.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
3 * Copyright 2016-2023 HabanaLabs, Ltd.
14 * Defines that are asic-specific but constitutes as ABI between kernel driver
195 * stream id is a running number from 0 up to (N-1), where N is the number
656 * enum hl_goya_dma_direction - Direction of DMA operation inside a LIN_DMA packet that is
683 * enum hl_device_status - Device status information.
715 * Notifier event values - for the notification mechanism and the HL_INFO_GET_EVENTS command
717 * HL_NOTIFIER_EVENT_TPC_ASSERT - Indicates TPC assert event
718 * HL_NOTIFIER_EVENT_UNDEFINED_OPCODE - Indicates undefined operation code
719 * HL_NOTIFIER_EVENT_DEVICE_RESET - Indicates device requires a reset
[all …]
/linux/drivers/gpu/drm/gma500/
H A Dpsb_intel_reg.h1 /* SPDX-License-Identifier: GPL-2.0-only */
70 #define GMBUS3 0x510c /* data buffer bytes 3-0 */
89 * This is the most significant 15 bits of the number of backlight cycles in a
155 * - PLL enabled
156 * - pipe enabled
157 * - LVDS/DVOB/DVOC on
256 * in DVO non-gang */
304 * clock rate is 10 times the DPLL clock. At low resolution/refresh rate
413 * Programmed value is multiplier - 1, up to 5x.
426 /* Bits to be preserved when writing */
[all …]

12