Home
last modified time | relevance | path

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

12

/Linux-v5.15/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 …]
/Linux-v5.15/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 …]
/Linux-v5.15/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-v5.15/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 …]
/Linux-v5.15/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()
68 mod_delayed_work(strp_wq, &strp->msg_timer_work, timeo); in strp_start_timer()
75 desc->error = err; in strp_parser_err()
[all …]
/Linux-v5.15/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-v5.15/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 - 2021 Intel Corporation
30 * only partial functionality in hard- or firmware. This document
31 * defines the interface between mac80211 and low-level hardware
[all …]
/Linux-v5.15/drivers/iio/adc/
Dad7124.c1 // SPDX-License-Identifier: GPL-2.0+
198 .name = "ad7124-4",
203 .name = "ad7124-8",
219 diff_new = abs(val - array[i]); in ad7124_find_closest_match()
238 ret = ad_sd_read_reg(&st->sd, addr, bytes, &readval); in ad7124_spi_write_mask()
245 return ad_sd_write_reg(&st->sd, addr, bytes, readval); in ad7124_spi_write_mask()
253 st->adc_control &= ~AD7124_ADC_CTRL_MODE_MSK; in ad7124_set_mode()
254 st->adc_control |= AD7124_ADC_CTRL_MODE(mode); in ad7124_set_mode()
256 return ad_sd_write_reg(&st->sd, AD7124_ADC_CONTROL, 2, st->adc_control); in ad7124_set_mode()
263 fclk = clk_get_rate(st->mclk); in ad7124_set_channel_odr()
[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 …]
/Linux-v5.15/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-v5.15/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-v5.15/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
185 * System Multi-Axis, see:
186 …* http://www.usb.org/developers/hidpage/HUTRR62_-_Generic_Desktop_CA_for_System_Multi-Axis_Control…
308 * 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 …]
Dpci.h1 /* SPDX-License-Identifier: GPL-2.0 */
7 * Copyright 1997--1999 Martin Mares <mj@ucw.cz>
59 * The PCI interface treats multi-function devices as independent
67 * In the interest of not exposing interfaces to user-space unnecessarily,
68 * the following kernel-only defines are being added here.
79 unsigned char number; /* PCI_SLOT(pci_dev->devfn) */
85 return kobject_name(&slot->kobj); in pci_slot_name()
96 /* #0-5: standard PCI resources */
98 PCI_STD_RESOURCE_END = PCI_STD_RESOURCES + PCI_STD_NUM_BARS - 1,
103 /* Device-specific resources */
[all …]
/Linux-v5.15/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.
78 WRITE_ONCE(i915->pmu.irq_count, i915->pmu.irq_count + 1); in pmu_irq_stats()
184 struct i915_hotplug *hpd = &dev_priv->hotplug; in intel_hpd_init_pins()
189 hpd->hpd = hpd_status_g4x; in intel_hpd_init_pins()
191 hpd->hpd = hpd_status_i915; in intel_hpd_init_pins()
196 hpd->hpd = hpd_gen11; in intel_hpd_init_pins()
198 hpd->hpd = hpd_bxt; in intel_hpd_init_pins()
200 hpd->hpd = hpd_bdw; in intel_hpd_init_pins()
202 hpd->hpd = hpd_ivb; in intel_hpd_init_pins()
[all …]
/Linux-v5.15/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 …]
/Linux-v5.15/fs/xfs/
Dxfs_ioctl.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
70 f = fdget(hreq->fd); in xfs_find_handle()
72 return -EBADF; in xfs_find_handle()
75 error = user_path_at(AT_FDCWD, hreq->path, 0, &path); in xfs_find_handle()
86 error = -EINVAL; in xfs_find_handle()
87 if (inode->i_sb->s_magic != XFS_SB_MAGIC) in xfs_find_handle()
90 error = -EBADF; in xfs_find_handle()
91 if (!S_ISREG(inode->i_mode) && in xfs_find_handle()
92 !S_ISDIR(inode->i_mode) && in xfs_find_handle()
[all …]
/Linux-v5.15/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
83 /* poll dig_update_lock is not locked -> asic internal signal in dce110_update_generic_info_packet()
93 /* HW does is not reading GSP memory not reading too long -> in dce110_update_generic_info_packet()
110 AFMT_GENERIC_HB0, info_packet->hb0, in dce110_update_generic_info_packet()
111 AFMT_GENERIC_HB1, info_packet->hb1, in dce110_update_generic_info_packet()
112 AFMT_GENERIC_HB2, info_packet->hb2, in dce110_update_generic_info_packet()
[all …]
/Linux-v5.15/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 …]
/Linux-v5.15/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 …]
/Linux-v5.15/drivers/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 …]
/Linux-v5.15/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) */
22 #define BPF_ATOMIC 0xc0 /* atomic memory ops - op type in immediate */
23 #define BPF_XADD 0xc0 /* exclusive add - legacy name */
31 #define BPF_TO_LE 0x00 /* convert to little-endian */
32 #define BPF_TO_BE 0x08 /* convert to big-endian */
50 #define BPF_CMPXCHG (0xf0 | BPF_FETCH) /* atomic compare-and-write */
68 /* BPF has 10 general purpose 64-bit registers and stack frame. */
96 /* BPF syscall commands, see bpf(2) man-page for more details. */
[all …]
/Linux-v5.15/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) */
22 #define BPF_ATOMIC 0xc0 /* atomic memory ops - op type in immediate */
23 #define BPF_XADD 0xc0 /* exclusive add - legacy name */
31 #define BPF_TO_LE 0x00 /* convert to little-endian */
32 #define BPF_TO_BE 0x08 /* convert to big-endian */
50 #define BPF_CMPXCHG (0xf0 | BPF_FETCH) /* atomic compare-and-write */
68 /* BPF has 10 general purpose 64-bit registers and stack frame. */
96 /* BPF syscall commands, see bpf(2) man-page for more details. */
[all …]
/Linux-v5.15/drivers/net/ethernet/sfc/falcon/
Dfalcon.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright 2005-2006 Fen Systems Ltd.
5 * Copyright 2006-2013 Solarflare Communications Inc.
134 (*(u32 *)((efx)->stats_buffer.addr + XgDmaDone_offset))
139 /* 48-bit stats are zero-padded to 64 on DMA */ \
199 [0 ... BITS_TO_LONGS(FALCON_STAT_COUNT) - 1] = ~0UL,
216 #define SPI_STATUS_WPEN 0x80 /* Write-protect pin enabled */
225 * Non-volatile memory layout
231 * 0-0x400 chip and board config (see struct falcon_nvconfig)
232 * 0x400-0x8000 unused (or may contain VPD if EEPROM not present)
[all …]
/Linux-v5.15/drivers/gpu/drm/i915/display/
Dintel_display.c2 * Copyright © 2006-2007 Intel Corporation
30 #include <linux/intel-iommu.h>
33 #include <linux/dma-resv.h>
137 #define i915_is_dpt(vm) ((vm)->is_dpt)
147 #define dpt_total_entries(dpt) ((dpt)->vm.total >> PAGE_SHIFT)
161 gen8_pte_t __iomem *base = dpt->iomem; in dpt_insert_page()
164 vm->pte_encode(addr, level, flags)); in dpt_insert_page()
173 gen8_pte_t __iomem *base = dpt->iomem; in dpt_insert_entries()
174 const gen8_pte_t pte_encode = vm->pte_encode(0, level, flags); in dpt_insert_entries()
184 i = vma->node.start / I915_GTT_PAGE_SIZE; in dpt_insert_entries()
[all …]

12