Home
last modified time | relevance | path

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

123

/linux-6.12.1/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 …]
Dadi,ad4130.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Cosmin Tanislav <cosmin.tanislav@analog.com>
15 https://www.analog.com/media/en/technical-documentation/data-sheets/AD4130-8.pdf
20 - adi,ad4130
29 clock-names:
31 - const: mclk
36 interrupt-names:
42 - int
[all …]
Dadi,max11410.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Ibrahim Tilki <Ibrahim.Tilki@analog.com>
21 - adi,max11410
30 interrupt-names:
34 - enum: [gpio0, gpio1]
35 - const: gpio1
37 '#address-cells':
40 '#size-cells':
[all …]
Dadi,ad7192.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Michael Hennerich <michael.hennerich@analog.com>
16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7192.pdf
21 - adi,ad7190
22 - adi,ad7192
23 - adi,ad7193
24 - adi,ad7194
25 - adi,ad7195
[all …]
/linux-6.12.1/Documentation/iio/
Dad4695.rst1 .. SPDX-License-Identifier: GPL-2.0-only
26 ----------------
30 4-wire mode
35 .. code-block::
37 +-------------+ +-------------+
38 | CS |<-+------| CS |
39 | CNV |<-+ | |
42 | SDI |<--------| SDO |
43 | SDO |-------->| SDI |
44 | SCLK |<--------| SCLK |
[all …]
Diio_devbuf.rst1 .. SPDX-License-Identifier: GPL-2.0
14 Devices with buffer support feature an additional sub-directory in the
25 ----------
31 ----------
34 be written last, after length and selection of scan elements. Writing a non-zero
39 -------------
41 Read / Write positive integer attribute specifying the maximum number of scan
49 Non-blocking read will retrieve the available samples from the buffer even if
55 --------------
57 Read-only attribute indicating the bytes of data available in the buffer. In the
[all …]
/linux-6.12.1/include/vdso/
Dgetrandom.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2022-2024 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
15 * struct vgetrandom_state - State used by vDSO getrandom().
17 * @batch: One and a half ChaCha20 blocks of buffered RNG output.
25 * @generation: Snapshot of @rng_info->generation in the vDSO data page at
47 * __arch_chacha20_blocks_nostack - Generate ChaCha20 stream without using the stack.
49 * @key: 32-byte input key.
50 * @counter: 8-byte counter, read on input and updated on return.
53 * Generates a given positive number of blocks of ChaCha20 output with nonce=0, and does not write
60 * __vdso_getrandom - Architecture-specific vDSO implementation of getrandom() syscall.
/linux-6.12.1/tools/include/nolibc/
Dstdio.h1 /* SPDX-License-Identifier: LGPL-2.1 OR MIT */
4 * Copyright (C) 2017-2021 Willy Tarreau <w@1wt.eu>
20 #define EOF (-1)
24 #define _IOFBF 0 /* Fully buffered. */
25 #define _IOLBF 1 /* Line buffered. */
28 /* just define FILE as a non-empty type. The value of the pointer gives
29 * the FD: FILE=~fd for fd>=0 or NULL for fd<0. This way positive FILE
60 return -1; in fileno()
74 return -1; in fflush()
89 return -1; in fclose()
[all …]
/linux-6.12.1/tools/lib/api/
Dio.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Lightweight buffered reading library.
37 io->fd = fd; in io__init()
38 io->buf_len = buf_len; in io__init()
39 io->buf = buf; in io__init()
40 io->end = buf; in io__init()
41 io->data = buf; in io__init()
42 io->timeout_ms = 0; in io__init()
43 io->eof = false; in io__init()
46 /* Read from fd filling the buffer. Called when io->data == io->end. */
[all …]
/linux-6.12.1/fs/netfs/
Dwrite_collect.c1 // SPDX-License-Identifier: GPL-2.0-only
20 #define BUFFERED 0x08 /* The pagecache needs cleaning up */ macro
32 struct netfs_inode *ictx = netfs_inode(folio->mapping->host); in netfs_folio_written_back()
43 fend = folio_pos(folio) + finfo->dirty_offset + finfo->dirty_len; in netfs_folio_written_back()
44 if (fend > ictx->zero_point) in netfs_folio_written_back()
45 ictx->zero_point = fend; in netfs_folio_written_back()
48 group = finfo->netfs_group; in netfs_folio_written_back()
86 struct folio_queue *folioq = wreq->buffer; in netfs_writeback_unlock_folios()
87 unsigned long long collected_to = wreq->collected_to; in netfs_writeback_unlock_folios()
88 unsigned int slot = wreq->buffer_head_slot; in netfs_writeback_unlock_folios()
[all …]
/linux-6.12.1/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 …]
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_vblank.c1 // SPDX-License-Identifier: MIT
3 * Copyright © 2022-2023 Intel Corporation
26 * latch double buffered registers
32 * | may be shifted forward 1-3 extra lines via TRANSCONF
39 * ----va---> <-----------------vb--------------------> <--------va-------------
40 * | | <----vs-----> |
41 …* -vbs-----> <---vbs+1---> <---vbs+2---> <-----0-----> <-----1-----> <-----2--- (scanline counter …
42 …* -vbs-2---> <---vbs-1---> <---vbs-----> <---vbs+1---> <---vbs+2---> <-----0--- (scanline counter …
43 …* -vbs-2---> <---vbs-2---> <---vbs-1---> <---vbs-----> <---vbs+1---> <---vbs+2- (scanline counter …
58 * - most events happen at the start of horizontal sync
[all …]
/linux-6.12.1/net/strparser/
Dstrparser.c1 // SPDX-License-Identifier: GPL-2.0-only
32 return (struct _strp_msg *)((void *)skb->cb + in _strp_msg()
41 cancel_delayed_work(&strp->msg_timer_work); in strp_abort_strp()
43 if (strp->stopped) in strp_abort_strp()
46 strp->stopped = 1; in strp_abort_strp()
48 if (strp->sk) { in strp_abort_strp()
49 struct sock *sk = strp->sk; in strp_abort_strp()
52 sk->sk_err = -err; in strp_abort_strp()
60 mod_delayed_work(strp_wq, &strp->msg_timer_work, timeo); in strp_start_timer()
67 desc->error = err; in strp_parser_err()
[all …]
/linux-6.12.1/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-stat.h"
[all …]
/linux-6.12.1/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 …]
/linux-6.12.1/drivers/iio/light/
Drohm-bu27034.c1 // SPDX-License-Identifier: GPL-2.0-only
20 #include <linux/iio/iio-gts-helper.h>
52 * inevitable even if the sensor clock would be perfectly phase-locked to CPU
53 * clock - which we can't say is the case.
56 * risk of losing a sample because things can in a rainy-day scenario be
69 * Downside is that the time-stamps would be very inaccurate as the wake-up
71 * result 'jumps' in the time-stamps when the delay drifted so that wake-up was
72 * performed during the consecutive wake-ups (Or, when sensor and CPU clocks
73 * were very different and scheduling the wake-ups was very close to given
74 * timeout - and when the time-outs were very close to the actual sensor
[all …]
/linux-6.12.1/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 - 2024 Intel Corporation
31 * only partial functionality in hard- or firmware. This document
32 * defines the interface between mac80211 and low-level hardware
[all …]
/linux-6.12.1/drivers/iio/adc/
Dad7124.c1 // SPDX-License-Identifier: GPL-2.0+
203 .name = "ad7124-4",
208 .name = "ad7124-8",
224 diff_new = abs(val - array[i]); in ad7124_find_closest_match()
243 ret = ad_sd_read_reg(&st->sd, addr, bytes, &readval); in ad7124_spi_write_mask()
250 return ad_sd_write_reg(&st->sd, addr, bytes, readval); in ad7124_spi_write_mask()
258 st->adc_control &= ~AD7124_ADC_CTRL_MODE_MSK; in ad7124_set_mode()
259 st->adc_control |= AD7124_ADC_CTRL_MODE(mode); in ad7124_set_mode()
261 return ad_sd_write_reg(&st->sd, AD7124_ADC_CONTROL, 2, st->adc_control); in ad7124_set_mode()
268 fclk = clk_get_rate(st->mclk); in ad7124_set_channel_odr()
[all …]
/linux-6.12.1/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 …]
/linux-6.12.1/fs/xfs/
Dxfs_ioctl.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
47 /* Return 0 on success or positive error */
55 xfs_bulkstat_to_bstat(breq->mp, &bs1, bstat); in xfs_fsbulkstat_one_fmt()
56 if (copy_to_user(breq->ubuffer, &bs1, sizeof(bs1))) in xfs_fsbulkstat_one_fmt()
57 return -EFAULT; in xfs_fsbulkstat_one_fmt()
69 if (copy_to_user(breq->ubuffer, &ig1, sizeof(struct xfs_inogrp))) in xfs_fsinumbers_fmt()
70 return -EFAULT; in xfs_fsinumbers_fmt()
80 struct xfs_mount *mp = XFS_I(file_inode(file))->i_mount; in xfs_ioc_fsbulkstat()
94 return -EPERM; in xfs_ioc_fsbulkstat()
[all …]
/linux-6.12.1/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
44 The contents of the label are free-form, but there are some
51 * "proximity-wifi"
52 * "proximity-lte"
53 * "proximity-wifi-lte"
54 * "proximity-wifi-left"
[all …]
/linux-6.12.1/include/linux/
Dfs.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 #include <linux/radix-tree.h>
33 #include <linux/percpu-rwsem.h>
166 /* File is stream-like */
182 /* File is capable of returning -EAGAIN if I/O will block */
192 * Attribute flags. These should be or-ed together to figure out what
228 * Derek Atkins <warlord@MIT.EDU> 94-10-20
278 * enum positive_aop_returns - aop return codes with specific semantics
283 * to return the page to the active list -- it won't
324 /* non-RWF related bits - start at 16 */
[all …]
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:
33 * values are expanded to 32-bit signed int, long items contain a pointer
187 * System Multi-Axis, see:
188 …* http://www.usb.org/developers/hidpage/HUTRR62_-_Generic_Desktop_CA_for_System_Multi-Axis_Control…
421 * persistent for main-items. The global environment can be saved and
439 * This is the local environment. It is persistent up the next main-item.
461 int parent_idx; /* device->collection */
[all …]
/linux-6.12.1/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 …]
/linux-6.12.1/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 …]

123