Home
last modified time | relevance | path

Searched +full:buffered +full:- +full:negative (Results 1 – 25 of 68) 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/drivers/iio/pressure/
Dzpa2326.c1 // SPDX-License-Identifier: GPL-2.0-only
34 * - get device out of low power mode,
35 * - setup hardware sampling period,
36 * - at end of period, upon data ready interrupt: pop pressure samples out of
38 * - when no longer needed, stop sampling process by putting device into
70 /* 200 ms should be enough for the longest conversion time in one-shot mode. */
78 * struct zpa2326_frequency - Hardware sampling frequency descriptor
102 ARRAY_SIZE(zpa2326_sampling_frequencies) - 1]; in zpa2326_highest_frequency()
106 * struct zpa_private - Per-device internal private state
107 * @timestamp: Buffered samples ready datum.
[all …]
/kernel/linux/linux-5.10/net/batman-adv/
Dfragmentation.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (C) 2013-2020 B.A.T.M.A.N. contributors:
26 #include "hard-interface.h"
30 #include "soft-interface.h"
33 * batadv_frag_clear_chain() - delete entries in the fragment buffer chain
45 hlist_del(&entry->list); in batadv_frag_clear_chain()
48 kfree_skb(entry->skb); in batadv_frag_clear_chain()
50 consume_skb(entry->skb); in batadv_frag_clear_chain()
57 * batadv_frag_purge_orig() - free fragments associated to an orig
68 chain = &orig_node->fragments[i]; in batadv_frag_purge_orig()
[all …]
Dsend.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
32 #include "distributed-arp-table.h"
35 #include "hard-interface.h"
37 #include "network-coding.h"
40 #include "soft-interface.h"
41 #include "translation-table.h"
46 * batadv_send_skb_packet() - send an already prepared packet
59 * Return: A negative errno code is returned on a failure. A success does not
71 bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_send_skb_packet()
[all …]
Dnetwork-coding.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (C) 2012-2020 B.A.T.M.A.N. contributors:
4 * Martin Hundebøll, Jeppe Ledet-Pedersen
7 #include "network-coding.h"
42 #include "hard-interface.h"
58 * batadv_nc_init() - one-time initialization for network coding
60 * Return: 0 on success or negative error number in case of failure
74 * batadv_nc_start_timer() - initialise the nc periodic worker
79 queue_delayed_work(batadv_event_workqueue, &bat_priv->nc.work, in batadv_nc_start_timer()
84 * batadv_nc_tvlv_container_update() - update the network coding tvlv container
[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/drivers/usb/serial/
Dgeneric.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2010 - 2013 Johan Hovold (jhovold@gmail.com)
6 * Copyright (C) 1999 - 2002 Greg Kroah-Hartman (greg@kroah.com)
40 struct device *dev = &serial->interface->dev; in usb_serial_generic_probe()
42 dev_info(dev, "The \"generic\" usb-serial driver is only for testing and one-off prototypes.\n"); in usb_serial_generic_probe()
43 dev_info(dev, "Tell linux-usb@vger.kernel.org to add your device to a proper driver.\n"); in usb_serial_generic_probe()
51 struct device *dev = &serial->interface->dev; in usb_serial_generic_calc_num_ports()
54 num_ports = max(epds->num_bulk_in, epds->num_bulk_out); in usb_serial_generic_calc_num_ports()
58 return -ENODEV; in usb_serial_generic_calc_num_ports()
110 clear_bit(USB_SERIAL_THROTTLED, &port->flags); in usb_serial_generic_open()
[all …]
Ddigi_acceleport.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Digi AccelePort USB-4 and USB-2 Serial Converters
7 * Shamelessly based on Brian Warner's keyspan_pda.c and Greg Kroah-Hartman's
8 * usb-serial driver.
31 #define DRIVER_DESC "Digi AccelePort USB-2/USB-4 Serial Converter driver"
33 /* port output buffer length -- must be <= transfer buffer length - 2 */
37 /* port input buffer length -- must be >= transfer buffer length - 3 */
54 #define DIGI_2_ID 0x0002 /* USB-2 */
55 #define DIGI_4_ID 0x0004 /* USB-4 */
58 * "INB": can be used on the in-band endpoint
[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/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/Documentation/userspace-api/media/v4l/
Dvidioc-decoder-cmd.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_DECODER_CMD - VIDIOC_TRY_DECODER_CMD - Execute an decoder command
38 These ioctls control an audio/video (usually MPEG-) decoder.
55 command to the decoder, and all buffered data is discarded. Applies to both
68 .. flat-table:: struct v4l2_decoder_cmd
69 :header-rows: 0
70 :stub-columns: 0
73 * - __u32
74 - ``cmd``
75 -
[all …]
/kernel/linux/linux-5.10/drivers/mailbox/
Dmailbox.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2013-2014 Linaro Ltd.
31 spin_lock_irqsave(&chan->lock, flags); in add_to_rbuf()
34 if (chan->msg_count == MBOX_TX_QUEUE_LEN) { in add_to_rbuf()
35 spin_unlock_irqrestore(&chan->lock, flags); in add_to_rbuf()
36 return -ENOBUFS; in add_to_rbuf()
39 idx = chan->msg_free; in add_to_rbuf()
40 chan->msg_data[idx] = mssg; in add_to_rbuf()
41 chan->msg_count++; in add_to_rbuf()
43 if (idx == MBOX_TX_QUEUE_LEN - 1) in add_to_rbuf()
[all …]
/kernel/linux/linux-5.10/drivers/tty/serdev/
Dcore.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2016-2017 Linaro Ltd., Rob Herring <robh@kernel.org>
6 * Copyright (c) 2012-2015, The Linux Foundation. All rights reserved.
31 len = acpi_device_modalias(dev, buf, PAGE_SIZE - 1); in modalias_show()
32 if (len != -ENODEV) in modalias_show()
52 if (rc != -ENODEV) in serdev_device_uevent()
72 return dev->type == &serdev_device_type; in is_serdev_device()
78 ida_simple_remove(&ctrl_ida, ctrl->nr); in serdev_ctrl_release()
99 * serdev_device_add() - add a device previously constructed via serdev_device_alloc()
104 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_add()
[all …]
/kernel/linux/linux-5.10/mm/
Dfilemap.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 1994-1999 Linus Torvalds
28 #include <linux/error-injection.h>
31 #include <linux/backing-dev.h>
63 * finished 'unifying' the page and buffer cache and SMP-threaded the
64 * page-cache, 21.05.1999, Ingo Molnar <mingo@redhat.com>
66 * SMP-threaded pagemap-LRU 1999, Andrea Arcangeli <andrea@suse.de>
72 * ->i_mmap_rwsem (truncate_pagecache)
73 * ->private_lock (__free_pte->__set_page_dirty_buffers)
74 * ->swap_lock (exclusive_swap_page, others)
[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/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 …]
/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/drivers/usb/gadget/udc/
Dcore.c1 // SPDX-License-Identifier: GPL-2.0
3 * udc.c - Core UDC Framework
14 #include <linux/dma-mapping.h>
25 * struct usb_udc - describes one usb device controller
33 * This represents the internal data structure which is used by the UDC-class
52 /* ------------------------------------------------------------------------- */
55 * usb_ep_set_maxpacket_limit - set maximum packet size limit for endpoint
65 ep->maxpacket_limit = maxpacket_limit; in usb_ep_set_maxpacket_limit()
66 ep->maxpacket = maxpacket_limit; in usb_ep_set_maxpacket_limit()
73 * usb_ep_enable - configure endpoint, making it usable
[all …]
/kernel/linux/linux-5.10/drivers/edac/
Dr82600_edac.c14 * www.radisys.com/files/support_downloads/007-01277-0002.82600DataBook.pdf
37 * signals buffered) and unbuffered DIMM types are supported. Mixing of
38 * registered and unbuffered DIMMs as well as mixing of ECC and non-ECC DIMMs
49 /* Radisys 82600 register addresses - device 0 function 0 - PCI bridge */
125 * 7:0 Address lines 30:24 - upper limit of
142 pdev = to_pci_dev(mci->pdev); in r82600_get_error_info()
143 pci_read_config_dword(pdev, R82600_EAP, &info->eapr); in r82600_get_error_info()
145 if (info->eapr & BIT(0)) in r82600_get_error_info()
151 if (info->eapr & BIT(1)) in r82600_get_error_info()
169 eapaddr = ((info->eapr >> 12) & 0x7FFF) << 13; in r82600_process_error_info()
[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/fs/xfs/
Dxfs_file.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
29 #include <linux/backing-dev.h>
45 struct xfs_mount *mp = ip->i_mount; in xfs_is_falloc_aligned()
49 if (!is_power_of_2(mp->m_sb.sb_rextsize)) { in xfs_is_falloc_aligned()
53 rextbytes = XFS_FSB_TO_B(mp, mp->m_sb.sb_rextsize); in xfs_is_falloc_aligned()
60 mask = XFS_FSB_TO_B(mp, mp->m_sb.sb_rextsize) - 1; in xfs_is_falloc_aligned()
62 mask = mp->m_sb.sb_blocksize - 1; in xfs_is_falloc_aligned()
76 error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_writeid, in xfs_update_prealloc_flags()
85 VFS_I(ip)->i_mode &= ~S_ISUID; in xfs_update_prealloc_flags()
[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 …]
/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/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 …]

123