Home
last modified time | relevance | path

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

12

/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-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-5.10/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()
53 sk->sk_error_report(sk); in strp_abort_strp()
60 mod_delayed_work(strp_wq, &strp->msg_timer_work, timeo); in strp_start_timer()
[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-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-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-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 …]
Di915_irq.c1 /* i915_irq.c -- IRQ support for the I915 -*- linux-c -*-
21 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
157 struct i915_hotplug *hpd = &dev_priv->hotplug; in intel_hpd_init_pins()
162 hpd->hpd = hpd_status_g4x; in intel_hpd_init_pins()
164 hpd->hpd = hpd_status_i915; in intel_hpd_init_pins()
169 hpd->hpd = hpd_gen11; in intel_hpd_init_pins()
171 hpd->hpd = hpd_bxt; in intel_hpd_init_pins()
173 hpd->hpd = hpd_bdw; in intel_hpd_init_pins()
175 hpd->hpd = hpd_ivb; in intel_hpd_init_pins()
177 hpd->hpd = hpd_ilk; in intel_hpd_init_pins()
[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!
389 * persistent for main-items. The global environment can be saved and
407 * This is the local environment. It is persistent up the next main-item.
[all …]
Dpci.h1 /* SPDX-License-Identifier: GPL-2.0 */
7 * Copyright 1997--1999 Martin Mares <mj@ucw.cz>
53 * The PCI interface treats multi-function devices as independent
61 * In the interest of not exposing interfaces to user-space unnecessarily,
62 * the following kernel-only defines are being added here.
73 unsigned char number; /* PCI_SLOT(pci_dev->devfn) */
79 return kobject_name(&slot->kobj); in pci_slot_name()
90 /* #0-5: standard PCI resources */
92 PCI_STD_RESOURCE_END = PCI_STD_RESOURCES + PCI_STD_NUM_BARS - 1,
97 /* Device-specific resources */
[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-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-5.10/fs/xfs/
Dxfs_ioctl.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
69 f = fdget(hreq->fd); in xfs_find_handle()
71 return -EBADF; in xfs_find_handle()
74 error = user_path_at(AT_FDCWD, hreq->path, 0, &path); in xfs_find_handle()
85 error = -EINVAL; in xfs_find_handle()
86 if (inode->i_sb->s_magic != XFS_SB_MAGIC) in xfs_find_handle()
89 error = -EBADF; in xfs_find_handle()
90 if (!S_ISREG(inode->i_mode) && in xfs_find_handle()
91 !S_ISDIR(inode->i_mode) && in xfs_find_handle()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/
Ddce_stream_encoder.c2 * Copyright 2012-15 Advanced Micro Devices, Inc.
34 enc110->base.ctx->logger
38 (enc110->regs->reg)
42 enc110->se_shift->field_name, enc110->se_mask->field_name
63 enc110->base.ctx
84 /* poll dig_update_lock is not locked -> asic internal signal in dce110_update_generic_info_packet()
94 /* HW does is not reading GSP memory not reading too long -> in dce110_update_generic_info_packet()
111 AFMT_GENERIC_HB0, info_packet->hb0, in dce110_update_generic_info_packet()
112 AFMT_GENERIC_HB1, info_packet->hb1, in dce110_update_generic_info_packet()
113 AFMT_GENERIC_HB2, info_packet->hb2, in dce110_update_generic_info_packet()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_stream_encoder.c2 * Copyright 2012-15 Advanced Micro Devices, Inc.
34 enc1->base.ctx->logger
38 (enc1->regs->reg)
42 enc1->se_shift->field_name, enc1->se_mask->field_name
54 enc1->base.ctx
73 /* poll dig_update_lock is not locked -> asic internal signal in enc1_update_generic_info_packet()
83 /* HW does is not reading GSP memory not reading too long -> in enc1_update_generic_info_packet()
98 AFMT_GENERIC_HB0, info_packet->hb0, in enc1_update_generic_info_packet()
99 AFMT_GENERIC_HB1, info_packet->hb1, in enc1_update_generic_info_packet()
100 AFMT_GENERIC_HB2, info_packet->hb2, in enc1_update_generic_info_packet()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
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 …]
/kernel/linux/linux-5.10/include/uapi/linux/
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) */
30 #define BPF_TO_LE 0x00 /* convert to little-endian */
31 #define BPF_TO_BE 0x08 /* convert to big-endian */
62 /* BPF has 10 general purpose 64-bit registers and stack frame. */
90 /* BPF syscall commands, see bpf(2) man-page for details. */
260 /* cgroup-bpf attach flags used in BPF_PROG_ATTACH command
264 * BPF_F_ALLOW_OVERRIDE: If a sub-cgroup installs some bpf program,
265 * the program in this cgroup yields to sub-cgroup program.
[all …]
/kernel/linux/linux-5.10/tools/include/uapi/linux/
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) */
30 #define BPF_TO_LE 0x00 /* convert to little-endian */
31 #define BPF_TO_BE 0x08 /* convert to big-endian */
62 /* BPF has 10 general purpose 64-bit registers and stack frame. */
90 /* BPF syscall commands, see bpf(2) man-page for details. */
260 /* cgroup-bpf attach flags used in BPF_PROG_ATTACH command
264 * BPF_F_ALLOW_OVERRIDE: If a sub-cgroup installs some bpf program,
265 * the program in this cgroup yields to sub-cgroup program.
[all …]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Ds626.c1 // SPDX-License-Identifier: GPL-2.0+
6 * COMEDI - Linux Control and Measurement Device Interface
10 * Copyright (C) 2002-2004 Sensoray Co., Inc.
69 * struct s626_private - Working data for s626 driver.
70 * @ai_cmd_running: non-zero if ai_cmd is running.
99 #define S626_INDXMASK(C) (1 << (((C) > 2) ? ((C) * 2 - 1) : ((C) * 2 + 4)))
111 writel(val, dev->mmio + reg); in s626_mc_enable()
117 writel(cmd << 16, dev->mmio + reg); in s626_mc_disable()
125 val = readl(dev->mmio + reg); in s626_mc_test()
130 #define S626_BUGFIX_STREG(REGADRS) ((REGADRS) - 4)
[all …]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dtraps.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
4 * Copyright 2007-2010 Freescale Semiconductor, Inc.
11 * This file handles the architecture-dependent parts of hardware exceptions
58 #include <asm/ppc-opcode.h>
64 #include <asm/asm-prototypes.h>
120 props = &pmac_backlight->props; in pmac_backlight_unblank()
121 props->brightness = props->max_brightness; in pmac_backlight_unblank()
122 props->power = FB_BLANK_UNBLANK; in pmac_backlight_unblank()
147 !current->pid || is_global_init(current)) in die_will_crash()
[all …]

12