Home
last modified time | relevance | path

Searched +full:buffered +full:- +full:positive (Results 1 – 25 of 63) sorted by relevance

123

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/
Dadi,ad7124.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Stefan Popa <stefan.popa@analog.com>
16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7124-8.pdf
21 - adi,ad7124-4
22 - adi,ad7124-8
32 clock-names:
34 - const: mclk
40 '#address-cells':
[all …]
/kernel/linux/linux-5.10/tools/lib/api/
Dio.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Lightweight buffered reading library.
31 io->fd = fd; in io__init()
32 io->buf_len = buf_len; in io__init()
33 io->buf = buf; in io__init()
34 io->end = buf; in io__init()
35 io->data = buf; in io__init()
36 io->eof = false; in io__init()
42 char *ptr = io->data; in io__get_char()
44 if (io->eof) in io__get_char()
[all …]
/kernel/linux/linux-4.19/Documentation/scsi/
Dst.txt16 flexible method and applicable to single-user workstations. However,
25 drive performs auto-detection of the tape format well (like some
26 QIC-drives). The result is that any tape can be read, writing can be
30 does not perform auto-detection well enough and there is a single
33 or not :-).
49 users (buffered and asynchronous writes). The modes also allow choices
50 between formats in multi-tape operations (the explicitly overridden
65 limits). Both the auto-rewind (minor equals device number) and
66 non-rewind devices (minor is 128 + device number) are implemented.
120 dev_upper non-rew mode dev-lower
[all …]
/kernel/linux/linux-5.10/Documentation/scsi/
Dst.rst1 .. SPDX-License-Identifier: GPL-2.0
23 flexible method and applicable to single-user workstations. However,
32 drive performs auto-detection of the tape format well (like some
33 QIC-drives). The result is that any tape can be read, writing can be
37 does not perform auto-detection well enough and there is a single
40 or not :-).
56 users (buffered and asynchronous writes). The modes also allow choices
57 between formats in multi-tape operations (the explicitly overridden
72 limits). Both the auto-rewind (minor equals device number) and
73 non-rewind devices (minor is 128 + device number) are implemented.
[all …]
/kernel/linux/linux-5.10/drivers/iio/adc/
Dad7124.c1 // SPDX-License-Identifier: GPL-2.0+
180 .name = "ad7124-4",
185 .name = "ad7124-8",
201 diff_new = abs(val - array[i]); in ad7124_find_closest_match()
220 ret = ad_sd_read_reg(&st->sd, addr, bytes, &readval); in ad7124_spi_write_mask()
227 return ad_sd_write_reg(&st->sd, addr, bytes, readval); in ad7124_spi_write_mask()
235 st->adc_control &= ~AD7124_ADC_CTRL_MODE_MSK; in ad7124_set_mode()
236 st->adc_control |= AD7124_ADC_CTRL_MODE(mode); in ad7124_set_mode()
238 return ad_sd_write_reg(&st->sd, AD7124_ADC_CONTROL, 2, st->adc_control); in ad7124_set_mode()
246 val = st->channel_config[channel].ain | AD7124_CHANNEL_EN(1) | in ad7124_set_channel()
[all …]
Dti-ads1015.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * ADS1015 - Texas Instruments Analog-to-Digital Converter
7 * IIO driver for ADS1015 ADC 7-bit I2C slave address:
8 * * 0x48 - ADDR connected to Ground
9 * * 0x49 - ADDR connected to Vdd
10 * * 0x4A - ADDR connected to SDA
11 * * 0x4B - ADDR connected to SCL
106 * Translation from PGA bits to full-scale positive and negative input voltage
178 .datasheet_name = "AIN"#_chan"-AIN"#_chan2, \
220 .datasheet_name = "AIN"#_chan"-AIN"#_chan2, \
[all …]
/kernel/linux/linux-5.10/block/
Dblk-wbt.c1 // SPDX-License-Identifier: GPL-2.0
3 * buffered writeback throttling. loosely based on CoDel. We can't drop
6 * - Monitor latencies in a defined window of time.
7 * - If the minimum latency in the above window exceeds some target, increment
10 * - For any window where we don't have solid data on what the latencies
12 * - If latencies look good, decrement scaling step.
13 * - If we're only doing writes, allow the scaling step to go negative. This
16 * positive scaling steps where we shrink the monitoring window, a negative
25 #include <linux/backing-dev.h>
28 #include "blk-wbt.h"
[all …]
/kernel/linux/linux-4.19/block/
Dblk-wbt.c2 * buffered writeback throttling. loosely based on CoDel. We can't drop
5 * - Monitor latencies in a defined window of time.
6 * - If the minimum latency in the above window exceeds some target, increment
9 * - For any window where we don't have solid data on what the latencies
11 * - If latencies look good, decrement scaling step.
12 * - If we're only doing writes, allow the scaling step to go negative. This
15 * positive scaling steps where we shrink the monitoring window, a negative
24 #include <linux/backing-dev.h>
27 #include "blk-wbt.h"
28 #include "blk-rq-qos.h"
[all …]
/kernel/linux/linux-5.10/net/strparser/
Dstrparser.c1 // SPDX-License-Identifier: GPL-2.0-only
40 return (struct _strp_msg *)((void *)skb->cb + in _strp_msg()
49 cancel_delayed_work(&strp->msg_timer_work); in strp_abort_strp()
51 if (strp->stopped) in strp_abort_strp()
54 strp->stopped = 1; in strp_abort_strp()
56 if (strp->sk) { in strp_abort_strp()
57 struct sock *sk = strp->sk; in strp_abort_strp()
60 sk->sk_err = -err; in strp_abort_strp()
61 sk->sk_error_report(sk); in strp_abort_strp()
68 mod_delayed_work(strp_wq, &strp->msg_timer_work, timeo); in strp_start_timer()
[all …]
/kernel/linux/linux-4.19/drivers/input/mouse/
Dcyapa_gen5.c6 * Copyright (C) 2014-2015 Cypress Semiconductor, Inc.
21 #include <linux/crc-itu-t.h>
33 #define CYAPA_TSG_IMG_MAX_RECORDS (CYAPA_TSG_IMG_END_ROW_NUM - \
141 * Bit 7 - 3: reserved
142 * Bit 2 - 0: touch type;
146 * 3 - 15 : reserved.
154 * Bit 6 - 5: indicates an event associated with this touch instance
159 * Bit 4 - 0: An arbitrary ID tag associated with a finger
164 /* Bit 7 - 0 of X-axis coordinate of the touch in pixel. */
167 /* Bit 15 - 8 of X-axis coordinate of the touch in pixel. */
[all …]
/kernel/linux/linux-5.10/drivers/input/mouse/
Dcyapa_gen5.c6 * Copyright (C) 2014-2015 Cypress Semiconductor, Inc.
21 #include <linux/crc-itu-t.h>
33 #define CYAPA_TSG_IMG_MAX_RECORDS (CYAPA_TSG_IMG_END_ROW_NUM - \
141 * Bit 7 - 3: reserved
142 * Bit 2 - 0: touch type;
146 * 3 - 15 : reserved.
154 * Bit 6 - 5: indicates an event associated with this touch instance
159 * Bit 4 - 0: An arbitrary ID tag associated with a finger
164 /* Bit 7 - 0 of X-axis coordinate of the touch in pixel. */
167 /* Bit 15 - 8 of X-axis coordinate of the touch in pixel. */
[all …]
/kernel/linux/linux-5.10/include/net/
Dmac80211.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * mac80211 <-> driver interface
5 * Copyright 2002-2005, Devicescape Software, Inc.
6 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz>
7 * Copyright 2007-2010 Johannes Berg <johannes@sipsolutions.net>
8 * Copyright 2013-2014 Intel Mobile Communications GmbH
9 * Copyright (C) 2015 - 2017 Intel Deutschland GmbH
10 * Copyright (C) 2018 - 2020 Intel Corporation
30 * only partial functionality in hard- or firmware. This document
31 * defines the interface between mac80211 and low-level hardware
[all …]
/kernel/linux/linux-4.19/net/strparser/
Dstrparser.c42 return (struct _strp_msg *)((void *)skb->cb + in _strp_msg()
51 cancel_delayed_work(&strp->msg_timer_work); in strp_abort_strp()
53 if (strp->stopped) in strp_abort_strp()
56 strp->stopped = 1; in strp_abort_strp()
58 if (strp->sk) { in strp_abort_strp()
59 struct sock *sk = strp->sk; in strp_abort_strp()
62 sk->sk_err = -err; in strp_abort_strp()
63 sk->sk_error_report(sk); in strp_abort_strp()
70 mod_delayed_work(strp_wq, &strp->msg_timer_work, timeo); in strp_start_timer()
77 desc->error = err; in strp_parser_err()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/i915/
Di915_perf.c2 * Copyright © 2015-2016 Intel Corporation
39 * The interface is particularly suited to exposing buffered metrics that are
44 * without special privileges. Access to system-wide metrics requires root
58 * might sample sets of tightly-coupled counters, depending on the
70 * interleaved with event-type specific members.
76 * would be acceptable to expose them to unprivileged applications - to hide
96 * side-band OA data captured via MI_REPORT_PERF_COUNT commands; we're
102 * For posterity, in case we might re-visit trying to adapt core perf to be
106 * - The perf based OA PMU driver broke some significant design assumptions:
110 * implications, the need to fake cpu-related data (such as user/kernel
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-iio3 Contact: linux-iio@vger.kernel.org
11 Contact: linux-iio@vger.kernel.org
25 Contact: linux-iio@vger.kernel.org
31 Contact: linux-iio@vger.kernel.org
38 Contact: linux-iio@vger.kernel.org
41 buffered samples and events for device X.
48 Contact: linux-iio@vger.kernel.org
65 Contact: linux-iio@vger.kernel.org
70 - a small discrete set of values like "0 2 4 6 8"
71 - a range with minimum, step and maximum frequencies like
[all …]
/kernel/linux/linux-4.19/Documentation/ABI/testing/
Dsysfs-bus-iio3 Contact: linux-iio@vger.kernel.org
11 Contact: linux-iio@vger.kernel.org
24 Contact: linux-iio@vger.kernel.org
30 Contact: linux-iio@vger.kernel.org
37 Contact: linux-iio@vger.kernel.org
40 buffered samples and events for device X.
46 Contact: linux-iio@vger.kernel.org
62 Contact: linux-iio@vger.kernel.org
69 Contact: linux-iio@vger.kernel.org
76 Contact: linux-iio@vger.kernel.org
[all …]
/kernel/linux/linux-5.10/drivers/iio/dummy/
Diio_simple_dummy.c1 // SPDX-License-Identifier: GPL-2.0-only
31 * struct iio_dummy_accel_calibscale - realworld to register mapping
32 * @val: first value in read_raw - here integer part.
33 * @val2: second value in read_raw etc - here micro part.
34 * @regval: register value - magic device specific numbers.
51 * simple event - triggered when value rises above
61 * simple step detect event - triggered when a step is detected
70 * simple transition event - triggered when the reported running confidence
80 * simple transition event - triggered when the reported walking confidence
91 * iio_dummy_channels - Description of available channels
[all …]
/kernel/linux/linux-4.19/drivers/iio/dummy/
Diio_simple_dummy.c34 * struct iio_dummy_accel_calibscale - realworld to register mapping
35 * @val: first value in read_raw - here integer part.
36 * @val2: second value in read_raw etc - here micro part.
37 * @regval: register value - magic device specific numbers.
54 * simple event - triggered when value rises above
64 * simple step detect event - triggered when a step is detected
73 * simple transition event - triggered when the reported running confidence
83 * simple transition event - triggered when the reported walking confidence
94 * iio_dummy_channels - Description of available channels
144 /* Differential ADC channel in_voltage1-voltage2_raw etc*/
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_perf.c2 * Copyright © 2015-2016 Intel Corporation
39 * The interface is particularly suited to exposing buffered metrics that are
44 * without special privileges. Access to system-wide metrics requires root
58 * might sample sets of tightly-coupled counters, depending on the
70 * interleaved with event-type specific members.
76 * would be acceptable to expose them to unprivileged applications - to hide
96 * side-band OA data captured via MI_REPORT_PERF_COUNT commands; we're
102 * For posterity, in case we might re-visit trying to adapt core perf to be
106 * - The perf based OA PMU driver broke some significant design assumptions:
110 * implications, the need to fake cpu-related data (such as user/kernel
[all …]
/kernel/linux/linux-5.10/include/linux/
Dhid.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright (c) 2000-2001 Vojtech Pavlik
5 * Copyright (c) 2006-2007 Jiri Kosina
10 * e-mail - mail your message to <vojtech@ucw.cz>, or by paper mail:
32 * values are expanded to 32-bit signed int, long items contain a pointer
183 * System Multi-Axis, see:
184 …* http://www.usb.org/developers/hidpage/HUTRR62_-_Generic_Desktop_CA_for_System_Multi-Axis_Control…
304 * HID report types --- Ouch! HID spec says 1 2 3!
387 * persistent for main-items. The global environment can be saved and
405 * This is the local environment. It is persistent up the next main-item.
[all …]
/kernel/linux/linux-4.19/include/linux/
Dhid.h3 * Copyright (c) 2000-2001 Vojtech Pavlik
4 * Copyright (c) 2006-2007 Jiri Kosina
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 * e-mail - mail your message to <vojtech@ucw.cz>, or by paper mail:
44 * values are expanded to 32-bit signed int, long items contain a pointer
194 * System Multi-Axis, see:
195 …* http://www.usb.org/developers/hidpage/HUTRR62_-_Generic_Desktop_CA_for_System_Multi-Axis_Control…
310 * HID report types --- Ouch! HID spec says 1 2 3!
391 * persistent for main-items. The global environment can be saved and
409 * This is the local environment. It is persistent up the next main-item.
[all …]
/kernel/linux/linux-5.10/Documentation/filesystems/
Dvfs.rst1 .. SPDX-License-Identifier: GPL-2.0
9 - Copyright (C) 1999 Richard Gooch
10 - Copyright (C) 2005 Pekka Enberg
27 ------------------------------
32 cache or dcache). This provides a very fast look-up mechanism to
44 ----------------
64 ---------------
67 structure (this is the kernel-side implementation of file descriptors).
88 .. code-block:: c
99 ->mount() will be attached to the mountpoint, so that when pathname
[all …]
/kernel/linux/linux-4.19/Documentation/filesystems/
Dvfs.txt29 ------------------------------
34 cache or dcache). This provides a very fast look-up mechanism to
47 ----------------
68 ---------------
71 structure (this is the kernel-side implementation of file
100 filesystem. New vfsmount referring to the tree returned by ->mount()
109 -----------------------
143 s_lock_key, s_umount_key: lockdep-specific
167 ->mount() may choose to return a subtree of existing filesystem - it
205 -----------------------
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_sprite.c56 if (!adjusted_mode->crtc_htotal) in intel_usecs_to_scanlines()
59 return DIV_ROUND_UP(usecs * adjusted_mode->crtc_clock, in intel_usecs_to_scanlines()
60 1000 * adjusted_mode->crtc_htotal); in intel_usecs_to_scanlines()
72 * intel_pipe_update_start() - start update of a set of display registers
85 struct intel_crtc *crtc = to_intel_crtc(new_crtc_state->uapi.crtc); in intel_pipe_update_start()
86 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_pipe_update_start()
87 const struct drm_display_mode *adjusted_mode = &new_crtc_state->hw.adjusted_mode; in intel_pipe_update_start()
90 wait_queue_head_t *wq = drm_crtc_vblank_waitqueue(&crtc->base); in intel_pipe_update_start()
96 vblank_start = adjusted_mode->crtc_vblank_start; in intel_pipe_update_start()
97 if (adjusted_mode->flags & DRM_MODE_FLAG_INTERLACE) in intel_pipe_update_start()
[all …]
/kernel/linux/linux-4.19/drivers/iio/adc/
Dti-ads1015.c2 * ADS1015 - Texas Instruments Analog-to-Digital Converter
10 * IIO driver for ADS1015 ADC 7-bit I2C slave address:
11 * * 0x48 - ADDR connected to Ground
12 * * 0x49 - ADDR connected to Vdd
13 * * 0x4A - ADDR connected to SDA
14 * * 0x4B - ADDR connected to SCL
108 * Translation from PGA bits to full-scale positive and negative input voltage
180 .datasheet_name = "AIN"#_chan"-AIN"#_chan2, \
222 .datasheet_name = "AIN"#_chan"-AIN"#_chan2, \
234 * Protects ADC ops, e.g: concurrent sysfs/buffered
[all …]

123