Home
last modified time | relevance | path

Searched +full:poll +full:- +full:only (Results 1 – 25 of 1142) sorted by relevance

12345678910>>...46

/OK3568_Linux_fs/buildroot/package/openvmtools/
H A D0003-Rename-poll-h-into-vm_poll-h-to-fix-build-failure-on-musl.patch4 Subject: [PATCH] Rename poll.h into vm_poll.h to fix build failure on musl
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 musl libc redirects include of sys/poll.h to poll.h. But since poll.h is
14 …host/i586-buildroot-linux-musl/sysroot/usr/include/sys/poll.h:1:2: warning: #warning redirecting i…
15 #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
18 pfd[i].fd = asock[i]->fd;
27 So rename poll.h into vm_poll.h as suggested by srowe in
28 https://github.com/vmware/open-vm-tools/issues/359#issuecomment-533529956
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/open-vm-tools/open-vm-tools/
H A D0009-Rename-poll.h-to-vm_poll.h.patch3 Date: Wed, 24 Mar 2021 16:21:35 -0400
4 Subject: [PATCH] Rename poll.h to vm_poll.h
6 Rename poll.h to vm_poll.h and switch from:
7 #include <sys/poll.h>
9 #include <poll.h>
11 musl libc's system headers pulls in open-vm-tools' poll.h. To avoid this
12 we rename poll.h to vm_poll.h.
14 Update for open-vm-tools-11.2.5.
16 Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
17 Signed-off-by: Khem Raj <raj.khem@gmail.com>
[all …]
/OK3568_Linux_fs/kernel/Documentation/filesystems/spufs/
H A Dspufs.rst1 .. SPDX-License-Identifier: GPL-2.0
10 spufs - the SPU file system
26 logical SPU. Users can change permissions on those files, but not actu-
43 The files in spufs mostly follow the standard behavior for regular sys-
44 tem calls like read(2) or write(2), but often support only a subset of
52 only the st_mode, st_nlink, st_uid and st_gid fields of struct stat
55 All files support the chmod(2)/fchmod(2) and chown(2)/fchown(2) opera-
76 SPU local storage within the process address space. Only
81 The first SPU to CPU communication mailbox. This file is read-only and
82 can be read in units of 32 bits. The file can only be used in non-
[all …]
/OK3568_Linux_fs/kernel/Documentation/admin-guide/gpio/
H A Dsysfs.rst7 Documentation/ABI/obsolete/sysfs-gpio AND NEW USERSPACE CONSUMERS
16 ------------------------
27 then changing its output state, then updating the code before re-enabling
37 PLEASE READ THE DOCUMENT AT Documentation/driver-api/gpio/drivers-on-gpio.rst
41 --------------
44 - Control interfaces used to get userspace control over GPIOs;
46 - GPIOs themselves; and
48 - GPIO controllers ("gpio_chip" instances).
52 The control interfaces are write-only:
91 If the pin can be configured as interrupt-generating interrupt
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Diopoll.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2012-2014 The Linux Foundation. All rights reserved.
17 * read_poll_timeout - Periodically poll an address until a condition is
23 * tight-loops). Should be less than ~20ms since usleep_range
24 * is used (see Documentation/timers/timers-howto.rst).
27 * @args: arguments for @op poll
29 * Returns 0 on success and -ETIMEDOUT upon a timeout. In either
57 (cond) ? 0 : -ETIMEDOUT; \
61 * read_poll_timeout_atomic - Periodically poll an address until a condition is
66 * @delay_us: Time to udelay between reads in us (0 tight-loops). Should
[all …]
H A Dpoll.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 #include <uapi/linux/poll.h>
27 #define WQUEUES_STACK_ALLOC (MAX_STACK_ALLOC - FRONTEND_STACK_ALLOC)
35 * structures and helpers for f_op->poll implementations
50 if (p && p->_qproc && wait_address) in poll_wait()
51 p->_qproc(filp, wait_address, p); in poll_wait()
55 * Return true if it is guaranteed that poll will not wait. This is the case
56 * if the poll() of another file descriptor in the set got an event, so there
61 return p == NULL || p->_qproc == NULL; in poll_does_not_wait()
65 * Return the set of events that the application wants to poll for.
[all …]
H A Dinput-polldev.h1 /* SPDX-License-Identifier: GPL-2.0-only */
13 * struct input_polled_dev - simple polled input device
15 * @open: driver-supplied method that prepares device for polling
17 * @close: driver-supplied method that is called when device is no
19 * @poll: driver-supplied method that polls the device and posts
21 * @poll_interval: specifies how often the poll() method should be called.
23 * @poll_interval_max: specifies upper bound for the poll interval.
25 * @poll_interval_min: specifies lower bound for the poll interval.
39 void (*poll)(struct input_polled_dev *dev); member
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/
H A Dfunc-poll.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
4 .. _func-poll:
7 V4L2 poll()
13 v4l2-poll - Wait for some event on a file descriptor
18 .. code-block:: c
20 #include <sys/poll.h>
22 .. c:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout )
31 With the :c:func:`poll()` function applications can suspend execution
44 On success :c:func:`poll()` returns the number of file descriptors
47 is non-zero). Capture devices set the ``POLLIN`` and ``POLLRDNORM``
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-core/dbus/libdbus-c++-0.9.0/
H A D0004-use-POSIX-poll.h-instead-of-sys-poll.h.patch2 From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <git@andred.net>
4 Subject: [PATCH] use POSIX poll.h instead of sys/poll.h
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 POSIX specifies that <poll.h> is the correct header to
10 include for poll()
11 http://pubs.opengroup.org/onlinepubs/009695399/functions/poll.html
12 whereas <sys/poll.h> is only needed for ancient glibc (<2.3),
15 As a side-effect, this silences compilation warnings when
[all …]
/OK3568_Linux_fs/kernel/Documentation/power/
H A Dcharger-manager.rst7 Charger Manager provides in-kernel battery charger management that
8 requires temperature monitoring during suspend-to-RAM state
12 Charger Manager is a platform_driver with power-supply-class entries.
13 An instance of Charger Manager (a platform-device created with Charger-Manager)
26 own power-supply-class and each power-supply-class can provide
28 aggregates charger-related information from multiple sources and
29 shows combined information as a single power-supply-class.
31 * Support for in suspend-to-RAM polling (with suspend_again callback)
32 While the battery is being charged and the system is in suspend-to-RAM,
41 only affects the charging time, but the lifespan of the battery.
[all …]
/OK3568_Linux_fs/kernel/lib/
H A Dirq_poll.c1 // SPDX-License-Identifier: GPL-2.0
3 * Functions related to interrupt-poll handling in the block layer. This
20 * irq_poll_sched - Schedule a run of the iopoll handler
24 * Add this irq_poll structure to the pending poll list and trigger the
31 if (test_bit(IRQ_POLL_F_DISABLE, &iop->state)) in irq_poll_sched()
33 if (test_and_set_bit(IRQ_POLL_F_SCHED, &iop->state)) in irq_poll_sched()
37 list_add_tail(&iop->list, this_cpu_ptr(&blk_cpu_iopoll)); in irq_poll_sched()
44 * __irq_poll_complete - Mark this @iop as un-polled again
53 list_del(&iop->list); in __irq_poll_complete()
55 clear_bit_unlock(IRQ_POLL_F_SCHED, &iop->state); in __irq_poll_complete()
[all …]
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/cec/
H A Dcec-pin-error-inj.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
6 The CEC Pin Framework is a core CEC framework for CEC hardware that only
7 has low-level support for the CEC bus. Most hardware today will have
8 high-level CEC support where the hardware deals with driving the CEC bus,
17 Currently only the cec-gpio driver (when the CEC line is directly
18 connected to a pull-up GPIO line) and the AllWinner A10/A20 drm driver
23 now an ``error-inj`` file.
30 With ``cat error-inj`` you can see both the possible commands and the current
33 $ cat /sys/kernel/debug/cec/cec0/error-inj
36 # rx-clear clear all rx error injections
[all …]
/OK3568_Linux_fs/kernel/fs/kernfs/
H A Dfile.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * fs/kernfs/file.c - kernfs file implementation
5 * Copyright (c) 2001-3 Patrick Mochel
13 #include <linux/poll.h>
19 #include "kernfs-internal.h"
25 * kernfs_node->attr.open points to kernfs_open_node. attr.open is
28 * filp->private_data points to seq_file whose ->private points to
30 * kernfs_open_node->files, which is protected by kernfs_open_file_mutex.
38 wait_queue_head_t poll; member
57 return ((struct seq_file *)file->private_data)->private; in kernfs_of()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_probe_helper.c2 * Copyright (c) 2006-2008 Intel Corporation
57 * track of a per-connector hpd interrupt.
68 module_param_named(poll, drm_kms_helper_poll, bool, 0600);
74 if ((mode->flags & DRM_MODE_FLAG_INTERLACE) && in drm_mode_validate_flag()
78 if ((mode->flags & DRM_MODE_FLAG_DBLSCAN) && in drm_mode_validate_flag()
82 if ((mode->flags & DRM_MODE_FLAG_3D_MASK) && in drm_mode_validate_flag()
95 struct drm_device *dev = connector->dev; in drm_mode_validate_pipeline()
120 &connector->display_info, in drm_mode_validate_pipeline()
150 cmdline_mode = &connector->cmdline_mode; in drm_helper_probe_add_cmdline_mode()
151 if (!cmdline_mode->specified) in drm_helper_probe_add_cmdline_mode()
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/open-vm-tools/
H A Dopen-vm-tools_11.3.5.bb1 # This recipe is modified from the recipe originally found in the Open-Switch
4 # https://github.com/open-switch/ops-build
5 # yocto/openswitch/meta-foss-openswitch/meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.0.5.…
9 # in meta-openembedded by agreement of the author (Diego Dompe).
13 HOMEPAGE = "https://github.com/vmware/open-vm-tools"
15 open-vm-tools is a set of services and modules that enable several features in VMware products \
18 SECTION = "vmware-tools"
20 LICENSE = "LGPL-2.0-only & GPL-2.0-only & BSD-2-Clause & CDDL-1.0"
22 LICENSE:modules/freebsd/vmblock = "BSD-2-Clause"
23 LICENSE:modules/freebsd/vmmemctl = "GPL-2.0-only"
[all …]
/OK3568_Linux_fs/kernel/fs/
H A Deventpoll.c1 // SPDX-License-Identifier: GPL-2.0-or-later
18 #include <linux/poll.h>
50 * 2) ep->mtx (mutex)
51 * 3) ep->lock (rwlock)
54 * We need a rwlock (ep->lock) because we manipulate objects
55 * from inside the poll callback, that might be triggered from
57 * So we can't sleep inside the poll callback and hence we need
61 * mutex (ep->mtx). It is acquired during the event transfer loop,
76 * It is necessary to acquire multiple "ep->mtx"es at once in the
79 * epoll_ctl(e1, EPOLL_CTL_ADD, e2), e1->mtx will always be acquired
[all …]
H A Dselect.c1 // SPDX-License-Identifier: GPL-2.0
3 * This file contains the procedures for the handling of select and poll
14 * Changed sys_poll()/do_poll() to use PAGE_SIZE chunk-based allocation
24 #include <linux/poll.h>
57 if (tv->tv_sec < 0) in __estimate_accuracy()
63 if (tv->tv_sec > MAX_SLACK / (NSEC_PER_SEC/divfactor)) in __estimate_accuracy()
66 slack = tv->tv_nsec / divfactor; in __estimate_accuracy()
67 slack += tv->tv_sec * (NSEC_PER_SEC/divfactor); in __estimate_accuracy()
90 if (ret < current->timer_slack_ns) in select_estimate_accuracy()
91 return current->timer_slack_ns; in select_estimate_accuracy()
[all …]
/OK3568_Linux_fs/kernel/drivers/input/
H A Dinput-poller.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include "input-poller.h"
16 void (*poll)(struct input_dev *dev); member
30 delay = msecs_to_jiffies(poller->poll_interval); in input_dev_poller_queue_work()
34 queue_delayed_work(system_freezable_wq, &poller->work, delay); in input_dev_poller_queue_work()
42 poller->poll(poller->input); in input_dev_poller_work()
48 if (!poller->poll_interval) in input_dev_poller_finalize()
49 poller->poll_interval = 500; in input_dev_poller_finalize()
50 if (!poller->poll_interval_max) in input_dev_poller_finalize()
51 poller->poll_interval_max = poller->poll_interval; in input_dev_poller_finalize()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/default/
H A Drun_loop.cpp22 static void onEvent(uv_poll_t* poll, int, int event) { in onEvent()
23 auto watch = reinterpret_cast<Watch*>(poll->data); in onEvent()
38 watch->eventCallback(watch->fd, watchEvent); in onEvent()
41 static void onClose(uv_handle_t *poll) { in onClose()
42 auto watch = reinterpret_cast<Watch*>(poll->data); in onClose()
43 watch->closeCallback(); in onClose()
46 uv_poll_t poll; member
82 impl->loop = new uv_loop_t; in RunLoop()
83 if (uv_loop_init(impl->loop) != 0) { in RunLoop()
88 impl->loop = uv_default_loop(); in RunLoop()
[all …]
/OK3568_Linux_fs/kernel/Documentation/admin-guide/sysctl/
H A Dnet.rst9 - Terrehon Bowden <terrehon@pacbell.net>
10 - Bodo Bauer <bb@ricochet.net>
14 - Jorge Nerin <comandante@zaralinux.com>
18 - Shen Feng <shen@cn.fujitsu.com>
22 ------------------------------------------------------------------------------
29 see only some of them, depending on your kernel's configuration.
46 1. /proc/sys/net/core - Network core options
50 --------------
62 - x86_64
63 - x86_32
[all …]
/OK3568_Linux_fs/external/mpp/inc/
H A Drk_mpi.h8 * http://www.apache.org/licenses/LICENSE-2.0
50 * decode_put_packet: send video stream packet to decoder only, async interface
52 * decode_get_frame : get video frame from decoder only, async interface
54 * encode_put_frame : send video frame to encoder only, async interface
56 * encode_get_packet: get encoded video packet from encoder only, async interface
60 * poll : poll port for dequeue
96 * @brief send video stream packet to decoder only, async interface
105 * @brief get video frame from decoder only, async interface
125 * @brief send video frame to encoder only, async interface
134 * @brief get encoded video packet from encoder only, async interface
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/mpp/include/rockchip/
H A Drk_mpi.h8 * http://www.apache.org/licenses/LICENSE-2.0
50 * decode_put_packet: send video stream packet to decoder only, async interface
52 * decode_get_frame : get video frame from decoder only, async interface
54 * encode_put_frame : send video frame to encoder only, async interface
56 * encode_get_packet: get encoded video packet from encoder only, async interface
60 * poll : poll port for dequeue
96 * @brief send video stream packet to decoder only, async interface
105 * @brief get video frame from decoder only, async interface
125 * @brief send video frame to encoder only, async interface
134 * @brief get encoded video packet from encoder only, async interface
[all …]
/OK3568_Linux_fs/kernel/drivers/dma-buf/
H A Ddma-buf.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Many thanks to linaro-mm-sig list, and specially
16 #include <linux/dma-buf.h>
17 #include <linux/dma-fence.h>
23 #include <linux/poll.h>
24 #include <linux/dma-resv.h>
30 #include <uapi/linux/dma-buf.h>
33 #include "dma-buf-sysfs-stats.h"
109 dmabuf = dentry->d_fsdata; in dmabuffs_dname()
110 spin_lock(&dmabuf->name_lock); in dmabuffs_dname()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/
H A Dgpio-keys.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/input/gpio-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Device-Tree bindings for GPIO attached keys
10 - Rob Herring <robh@kernel.org>
15 - gpio-keys
16 - gpio-keys-polled
39 linux,input-type:
47 linux,input-value:
[all …]
/OK3568_Linux_fs/kernel/Documentation/misc-devices/
H A Dxilinx_sdfec.rst1 .. SPDX-License-Identifier: GPL-2.0+
4 Xilinx SD-FEC Driver
10 This driver supports SD-FEC Integrated Block for Zynq |Ultrascale+ (TM)| RFSoCs.
15 …f SD-FEC core features, see the `SD-FEC Product Guide (PG256) <https://www.xilinx.com/cgi-bin/docs…
19 - Retrieval of the Integrated Block configuration and status information
20 - Configuration of LDPC codes
21 - Configuration of Turbo decoding
22 - Monitoring errors
24 Missing features, known issues, and limitations of the SD-FEC driver are as
27 - Only allows a single open file handler to any instance of the driver at any time
[all …]

12345678910>>...46