Home
last modified time | relevance | path

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

12

/linux/Documentation/devicetree/bindings/iio/adc/
H A 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 …]
H A 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 …]
H A Dadi,ad4851.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Sergiu Cuciurean <sergiu.cuciurean@analog.com>
12 - Dragos Bogdan <dragos.bogdan@analog.com>
13 - Antoniu Miclaus <antoniu.miclaus@analog.com>
16 Analog Devices AD485X fully buffered, 8-channel simultaneous sampling,
17 16/20-bit, 1 MSPS data acquisition system (DAS) with differential, wide
18 common-mode range inputs.
20 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4855.pdf
[all …]
/linux/include/vdso/
H A 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/tools/include/nolibc/
H A Dstdio.h1 /* SPDX-License-Identifier: LGPL-2.1 OR MIT */
4 * Copyright (C) 2017-2021 Willy Tarreau <w@1wt.eu>
27 #define EOF (-1)
31 #define _IOFBF 0 /* Fully buffered. */
32 #define _IOLBF 1 /* Line buffered. */
35 /* just define FILE as a non-empty type. The value of the pointer gives
36 * the FD: FILE=~fd for fd>=0 or NULL for fd<0. This way positive FILE
93 return -1; in fileno()
107 return -1; in fflush()
122 return -1; in fclose()
[all …]
/linux/Documentation/scsi/
H A 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/net/strparser/
H A 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/block/
H A 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/drivers/input/mouse/
H A 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/include/net/
H A 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 - 201
[all...]
/linux/fs/xfs/
H A Dxfs_ioctl.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
48 /* Return 0 on success or positive error */
56 xfs_bulkstat_to_bstat(breq->mp, &bs1, bstat); in xfs_fsbulkstat_one_fmt()
57 if (copy_to_user(breq->ubuffer, &bs1, sizeof(bs1))) in xfs_fsbulkstat_one_fmt()
58 return -EFAULT; in xfs_fsbulkstat_one_fmt()
70 if (copy_to_user(breq->ubuffer, &ig1, sizeof(struct xfs_inogrp))) in xfs_fsinumbers_fmt()
71 return -EFAULT; in xfs_fsinumbers_fmt()
81 struct xfs_mount *mp = XFS_I(file_inode(file))->i_mount; in xfs_ioc_fsbulkstat()
95 return -EPERM; in xfs_ioc_fsbulkstat()
[all …]
H A Dxfs_super.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2006 Silicon Graphics, Inc.
59 static struct dentry *xfs_debugfs; /* top-level xfs debugfs dir */
60 static struct kset *xfs_kset; /* top-level xfs sysfs dir */
81 mp->m_features &= ~(XFS_FEAT_DAX_ALWAYS | XFS_FEAT_DAX_NEVER); in xfs_mount_set_dax_mode()
84 mp->m_features |= XFS_FEAT_DAX_ALWAYS; in xfs_mount_set_dax_mode()
85 mp->m_features &= ~XFS_FEAT_DAX_NEVER; in xfs_mount_set_dax_mode()
88 mp->m_features |= XFS_FEAT_DAX_NEVER; in xfs_mount_set_dax_mode()
89 mp->m_features &= ~XFS_FEAT_DAX_ALWAYS; in xfs_mount_set_dax_mode()
202 struct xfs_mount *mp = XFS_M(root->d_sb); in xfs_fs_show_options()
[all …]
/linux/include/linux/
H A Dfs.h1 /* SPDX-License-Identifier: GPL-2.0 */
16 #include <linux/radix-tree.h>
34 #include <linux/percpu-rwsem.h>
168 /* File is stream-like */
191 /* File is capable of returning -EAGAIN if I/O will block */
203 * (f->f_mode & FMODE_FSNOTIFY_MASK) and their meaning:
205 * FMODE_NONOTIFY - suppress all (incl. non-permission) events.
206 * FMODE_NONOTIFY_PERM - suppress permission (incl. pre-content) events.
207 * FMODE_NONOTIFY | FMODE_NONOTIFY_PERM - suppress only FAN_ACCESS_PERM.
226 * Attribute flags. These should be or-ed together to figure out what
[all …]
H A 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
190 * System Multi-Axis, see:
191 …* http://www.usb.org/developers/hidpage/HUTRR62_-_Generic_Desktop_CA_for_System_Multi-Axis_Control…
459 * persistent for main-items. The global environment can be saved and
477 * This is the local environment. It is persistent up the next main-item.
499 int parent_idx; /* device->collection */
[all …]
H A Dpci.h1 /* SPDX-License-Identifier: GPL-2.0 */
7 * Copyright 1997--1999 Martin Mares <mj@ucw.cz>
60 * The PCI interface treats multi-function devices as independent
68 * In the interest of not exposing interfaces to user-space unnecessarily,
69 * the following kernel-only defines are being added here.
80 unsigned char number; /* PCI_SLOT(pci_dev->devfn) */
86 return kobject_name(&slot->kobj); in pci_slot_name()
97 /* #0-5: standard PCI resources */
99 PCI_STD_RESOURCE_END = PCI_STD_RESOURCES + PCI_STD_NUM_BARS - 1,
104 /* Device-specific resources */
[all …]
/linux/drivers/gpu/drm/i915/
H A 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/Documentation/filesystems/
H A 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 …]
/linux/drivers/iio/adc/
H A Dad4170-4.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Analog Devices AD4170-4 ADC driver
6 * Author: Ana-Maria Cusco <ana-maria.cusco@analog.com>
17 #include <linux/clk-provider.h>
81 /* AD4170_CONFIG_A_REG - INTERFACE_CONFIG_A REGISTER */
246 [AD4170_CHAN_SETUP_REG(0) ... AD4170_CHAN_MAP_REG(AD4170_MAX_ADC_CHANNELS - 1)] = 2,
249 * also interleaved but MISC, AFE, FILTER, FILTER_FS, OFFSET are 16-bit
250 * while OFFSET, GAIN are 24-bit registers so we can't init them all to
278 AD4170_REF_BUF_PRE, /* Pre-charge referrence buffer */
283 /* maps adi,positive/negative-reference-buffer property values to enum */
[all …]
/linux/fs/f2fs/
H A Dfile.c1 // SPDX-License-Identifier: GPL-2.0
46 if (mapping_empty(inode->i_mapping)) in f2fs_zero_post_eof_page()
50 filemap_invalidate_lock(inode->i_mapping); in f2fs_zero_post_eof_page()
52 truncate_inode_pages_range(inode->i_mapping, old_size, new_size); in f2fs_zero_post_eof_page()
54 filemap_invalidate_unlock(inode->i_mapping); in f2fs_zero_post_eof_page()
59 struct inode *inode = file_inode(vmf->vma->vm_file); in f2fs_filemap_fault()
60 vm_flags_t flags = vmf->vma->vm_flags; in f2fs_filemap_fault()
68 trace_f2fs_filemap_fault(inode, vmf->pgoff, flags, ret); in f2fs_filemap_fault()
75 struct folio *folio = page_folio(vmf->page); in f2fs_vm_page_mkwrite()
76 struct inode *inode = file_inode(vmf->vma->vm_file); in f2fs_vm_page_mkwrite()
[all …]
/linux/drivers/dma-buf/
H A Ddma-fence.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Fence mechanism for dma-buf and to allow for asynchronous dma access
16 #include <linux/dma-fence.h>
50 * Since the purposes of fences is to facilitate cross-device and
51 * cross-application synchronization, there's multiple ways to use one:
53 * - Individual fences can be exposed as a &sync_file, accessed as a file
58 * - Some subsystems also have their own explicit fencing primitives, like
62 * - Then there's also implicit fencing, where the synchronization points are
69 * DOC: fence cross-driver contract
77 * further command submission and force complete all in-flight fences, e.g.
[all …]
/linux/drivers/scsi/
H A Dsense_codes.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * http://www.t10.org/lists/asc-num.txt [most recent: 20200817]
9 SENSE_CODE(0x0002, "End-of-partition/medium detected")
11 SENSE_CODE(0x0004, "Beginning-of-partition/medium detected")
12 SENSE_CODE(0x0005, "End-of-data detected")
51 SENSE_CODE(0x0409, "Logical unit not ready, self-test in progress")
87 SENSE_CODE(0x0801, "Logical unit communication time-out")
89 SENSE_CODE(0x0803, "Logical unit communication CRC error (Ultra-DMA/32)")
102 SENSE_CODE(0x0B01, "Warning - specified temperature exceeded")
103 SENSE_CODE(0x0B02, "Warning - enclosure degraded")
[all …]
/linux/drivers/comedi/drivers/
H A Ds626.c1 // SPDX-License-Identifier: GPL-2.0+
6 * COMEDI - Linux Control and Measurement Device Interface
10 * Copyright (C) 2002-2004 Sensoray Co., Inc.
68 * struct s626_private - Working data for s626 driver.
69 * @ai_cmd_running: non-zero if ai_cmd is running.
98 #define S626_INDXMASK(C) (1 << (((C) > 2) ? ((C) * 2 - 1) : ((C) * 2 + 4)))
110 writel(val, dev->mmio + reg); in s626_mc_enable()
116 writel(cmd << 16, dev->mmio + reg); in s626_mc_disable()
124 val = readl(dev->mmio + reg); in s626_mc_test()
129 #define S626_BUGFIX_STREG(REGADRS) ((REGADRS) - 4)
[all …]
/linux/fs/
H A Dlibfs.c1 // SPDX-License-Identifier: GPL-2.0-only
36 struct inode *inode = d_inode(path->dentry); in simple_getattr()
38 stat->blocks = inode->i_mapping->nrpages << (PAGE_SHIFT - 9); in simple_getattr()
45 u64 id = huge_encode_dev(dentry->d_sb->s_dev); in simple_statfs()
47 buf->f_fsid = u64_to_fsid(id); in simple_statfs()
48 buf->f_type = dentry->d_sb->s_magic; in simple_statfs()
49 buf->f_bsize = PAGE_SIZE; in simple_statfs()
50 buf->f_namelen = NAME_MAX; in simple_statfs()
56 * Retaining negative dentries for an in-memory filesystem just wastes
66 * Lookup the data. This is trivial - if the dentry didn't already
[all …]
/linux/include/uapi/linux/
H A Dbpf.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com
21 #define BPF_DW 0x18 /* double word (64-bit) */
23 #define BPF_ATOMIC 0xc0 /* atomic memory ops - op type in immediate */
24 #define BPF_XADD 0xc0 /* exclusive add - legacy name */
32 #define BPF_TO_LE 0x00 /* convert to little-endian */
33 #define BPF_TO_BE 0x08 /* convert to big-endian */
52 #define BPF_CMPXCHG (0xf0 | BPF_FETCH) /* atomic compare-and-write */
54 #define BPF_LOAD_ACQ 0x100 /* load-acquire */
55 #define BPF_STORE_REL 0x110 /* store-release */
[all …]
/linux/tools/include/uapi/linux/
H A Dbpf.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com
21 #define BPF_DW 0x18 /* double word (64-bit) */
23 #define BPF_ATOMIC 0xc0 /* atomic memory ops - op type in immediate */
24 #define BPF_XADD 0xc0 /* exclusive add - legacy name */
32 #define BPF_TO_LE 0x00 /* convert to little-endian */
33 #define BPF_TO_BE 0x08 /* convert to big-endian */
52 #define BPF_CMPXCHG (0xf0 | BPF_FETCH) /* atomic compare-and-write */
54 #define BPF_LOAD_ACQ 0x100 /* load-acquire */
55 #define BPF_STORE_REL 0x110 /* store-release */
[all …]

12