Home
last modified time | relevance | path

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

1234567

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/adc/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/iio/pressure/
H A 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 …]
/OK3568_Linux_fs/u-boot/include/
H A Dspi.h2 * Common SPI Interface: Controller-specific definitions
7 * SPDX-License-Identifier: GPL-2.0+
23 #define SPI_LSB_FIRST BIT(3) /* per-word bits-on-wire */
44 * struct dm_spi_bus - SPI bus info
62 * struct dm_spi_platdata - platform data for all SPI slaves
66 * dev_get_parent_platdata(slave->dev).
71 * @cs: Chip select number (0..n-1)
82 * struct spi_slave - Representation of a SPI slave
84 * For driver model this is the per-child data used by the SPI bus. It can
92 * controller-specific data.
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/host_include/openssl/
H A Drand.h50 // RAND_enable_fork_unsafe_buffering enables efficient buffered reading of
55 // If |fd| is non-negative then a copy of |fd| will be used rather than opening
57 // ownership of |fd|. If |fd| is negative then /dev/urandom will be opened and
66 // RAND_reset_for_fuzzing resets the fuzzer-only deterministic RNG. This
67 // function is only defined in the fuzzer-only build configuration.
H A Dbio.h1 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
8 * This library is free for commercial and non-commercial use as long as
35 * being used are not cryptographic related :-).
75 // BIO abstracts over a file-descriptor like interface.
95 // value. This is provided for API-compat.
107 // bytes read, zero on EOF, or a negative number on error.
111 // It returns the number of bytes read or a negative number on error. The
121 // bytes written or a negative number on error.
125 // number of bytes written or a negative number on error.
128 // BIO_flush flushes any buffered output. It returns one on success and zero
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/include/openssl/
H A Drand.h50 // RAND_enable_fork_unsafe_buffering enables efficient buffered reading of
55 // If |fd| is non-negative then a copy of |fd| will be used rather than opening
57 // ownership of |fd|. If |fd| is negative then /dev/urandom will be opened and
66 // RAND_reset_for_fuzzing resets the fuzzer-only deterministic RNG. This
67 // function is only defined in the fuzzer-only build configuration.
H A Dbio.h1 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
8 * This library is free for commercial and non-commercial use as long as
35 * being used are not cryptographic related :-).
75 // BIO abstracts over a file-descriptor like interface.
95 // value. This is provided for API-compat.
107 // bytes read, zero on EOF, or a negative number on error.
111 // It returns the number of bytes read or a negative number on error. The
121 // bytes written or a negative number on error.
125 // number of bytes written or a negative number on error.
128 // BIO_flush flushes any buffered output. It returns one on success and zero
[all …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/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 - 2017 Intel Deutschland GmbH
10 * Copyright (C) 2018 - 2020 Intel Corporation
31 * only partial functionality in hard- or firmware. This document
32 * defines the interface between mac80211 and low-level hardware
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/serial/
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/net/batman-adv/
H A 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 …]
/OK3568_Linux_fs/kernel/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-wbt.h"
[all …]
/OK3568_Linux_fs/kernel/mm/
H A 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>
68 * finished 'unifying' the page and buffer cache and SMP-threaded the
69 * page-cache, 21.05.1999, Ingo Molnar <mingo@redhat.com>
71 * SMP-threaded pagemap-LRU 1999, Andrea Arcangeli <andrea@suse.de>
77 * ->i_mmap_rwsem (truncate_pagecache)
78 * ->private_lock (__free_pte->__set_page_dirty_buffers)
79 * ->swap_lock (exclusive_swap_page, others)
[all …]
/OK3568_Linux_fs/kernel/drivers/mailbox/
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/tty/serdev/
H A 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()
36 if (len != -ENODEV) in modalias_show()
39 if (dev->parent->parent->bus == &platform_bus_type) { in modalias_show()
41 to_platform_device(dev->parent->parent); in modalias_show()
43 len = snprintf(buf, PAGE_SIZE, "platform:%s\n", pdev->name); in modalias_show()
61 if (rc != -ENODEV) in serdev_device_uevent()
[all …]
/OK3568_Linux_fs/kernel/include/linux/
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:
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 …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/u-boot/env/
H A DKconfig39 while U-Boot is running, but once U-Boot exits it will not be
40 stored. U-Boot will therefore always start up with a default
73 - CONFIG_ENV_OFFSET:
74 - CONFIG_ENV_SIZE:
83 - CONFIG_ENV_EEPROM_IS_ON_I2C
87 - CONFIG_I2C_ENV_EEPROM_BUS
104 - CONFIG_FAT_WRITE:
115 "embedded" in the text segment with the U-Boot code. This
121 4 kB sectors - with U-Boot code before and after it. With
124 between U-Boot and the environment.
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/share/info/
H A Dlibc.info-511 “GNU Lesser General Public License”, the Front-Cover texts being “A GNU
12 Manual”, and with the Back-Cover Texts as in (a) below. A copy of the
16 (a) The FSF’s Back-Cover Text is: “You have the freedom to copy and
19 INFO-DIR-SECTION Software libraries
20 START-INFO-DIR-ENTRY
22 END-INFO-DIR-ENTRY
24 INFO-DIR-SECTION GNU C library functions and macros
25 START-INFO-DIR-ENTRY
311 * O_CREAT: (libc)Open-time Flags.
312 * O_DIRECTORY: (libc)Open-time Flags.
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/share/info/
H A Dlibc.info-511 “GNU Lesser General Public License”, the Front-Cover texts being “A GNU
12 Manual”, and with the Back-Cover Texts as in (a) below. A copy of the
16 (a) The FSF’s Back-Cover Text is: “You have the freedom to copy and
19 INFO-DIR-SECTION Software libraries
20 START-INFO-DIR-ENTRY
22 END-INFO-DIR-ENTRY
24 INFO-DIR-SECTION GNU C library functions and macros
25 START-INFO-DIR-ENTRY
311 * O_CREAT: (libc)Open-time Flags.
312 * O_DIRECTORY: (libc)Open-time Flags.
[all …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/u-boot/cmd/
H A Di2c.c10 * SPDX-License-Identifier: GPL-2.0+
26 * matches at least half of the data sheets :-/.
31 * Many non-memory chips have multiple registers and {addr} is used
32 * as the register index. Some non-memory chips have only one register
43 * successive reads using the I2C auto-incrementing memory pointer.
45 * If you are manipulating a large memory with 2-byte addresses, use
98 * When multiple buses are present, the list is an array of bus-address
129 #define DEFAULT_ADDR_LEN (-1)
159 return -ENODEV; in i2c_get_cur_bus()
166 return -ENODEV; in i2c_get_cur_bus()
[all …]
/OK3568_Linux_fs/u-boot/include/linux/usb/
H A Dgadget.h4 * We call the USB code inside a Linux-based peripheral device a "gadget"
5 * driver, except for the hardware-specific bus glue. One USB host can
9 * (C) Copyright 2002-2004 by David Brownell
14 * Ported to U-Boot by: Thomas Smits <ts.smits@gmail.com> and
29 * struct usb_request - describes one i/o request
45 * its buffer may be re-used.
54 * @status: Reports completion code, zero or a negative errno.
57 * Code "-ESHUTDOWN" indicates completion caused by device disconnect,
64 * reside in a device-side FIFO when the request is reported as
68 * hardware's driver can add extra per-request data to the memory it returns,
[all …]

1234567