Home
last modified time | relevance | path

Searched +full:event +full:- +full:tap (Results 1 – 25 of 110) sorted by relevance

12345

/openbmc/linux/include/linux/input/
H A Dadxl34x.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
31 * Y, or Z participation in Tap detection. A '0' excludes the
32 * selected axis from participation in Tap detection.
33 * Setting the SUPPRESS bit suppresses Double Tap detection if
35 * tap_latency period, i.e. after the first tap but before the
36 * opening of the second tap window.
48 * holds the threshold value for tap detection/interrupts.
51 * behavior if Tap/Double Tap is enabled.
59 * time that an event must be above the tap_threshold threshold
60 * to qualify as a tap event. The scale factor is 625 us/LSB. A zero
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/perl/files/
H A Dperl-rdepends.txt3 RDEPENDS:perl-module-file-spec += "perl-module-file-spec-unix"
4 RDEPENDS:perl-module-scalar-util += "perl-module-list-util"
5 RDEPENDS:perl-module-file-temp += "perl-module-scalar-util"
6 RDEPENDS:perl-module-file-temp += "perl-module-file-spec"
7 RDEPENDS:perl-module-io-file += "perl-module-symbol"
8 RDEPENDS:perl-module-io-file += "perl-module-carp"
9 RDEPENDS:perl-module-math-bigint += "perl-module-math-bigint-calc"
10 RDEPENDS:perl-module-test-builder += "perl-module-list-util"
11 RDEPENDS:perl-module-test-builder += "perl-module-scalar-util"
12 RDEPENDS:perl-module-test-builder-formatter += "perl-module-test2-formatter-tap"
[all …]
/openbmc/linux/drivers/net/ipvlan/
H A Dipvtap.c1 // SPDX-License-Identifier: GPL-2.0-only
35 const struct net_device *dev = to_net_dev(d->parent); in ipvtap_net_namespace()
47 struct tap_dev tap; member
50 static void ipvtap_count_tx_dropped(struct tap_dev *tap) in ipvtap_count_tx_dropped() argument
52 struct ipvtap_dev *vlantap = container_of(tap, struct ipvtap_dev, tap); in ipvtap_count_tx_dropped()
53 struct ipvl_dev *vlan = &vlantap->vlan; in ipvtap_count_tx_dropped()
55 this_cpu_inc(vlan->pcpu_stats->tx_drps); in ipvtap_count_tx_dropped()
58 static void ipvtap_count_rx_dropped(struct tap_dev *tap) in ipvtap_count_rx_dropped() argument
60 struct ipvtap_dev *vlantap = container_of(tap, struct ipvtap_dev, tap); in ipvtap_count_rx_dropped()
61 struct ipvl_dev *vlan = &vlantap->vlan; in ipvtap_count_rx_dropped()
[all …]
/openbmc/linux/drivers/net/
H A Dmacvtap.c1 // SPDX-License-Identifier: GPL-2.0-only
30 struct tap_dev tap; member
40 const struct net_device *dev = to_net_dev(d->parent); in macvtap_net_namespace()
54 static void macvtap_count_tx_dropped(struct tap_dev *tap) in macvtap_count_tx_dropped() argument
56 struct macvtap_dev *vlantap = container_of(tap, struct macvtap_dev, tap); in macvtap_count_tx_dropped()
57 struct macvlan_dev *vlan = &vlantap->vlan; in macvtap_count_tx_dropped()
59 this_cpu_inc(vlan->pcpu_stats->tx_dropped); in macvtap_count_tx_dropped()
62 static void macvtap_count_rx_dropped(struct tap_dev *tap) in macvtap_count_rx_dropped() argument
64 struct macvtap_dev *vlantap = container_of(tap, struct macvtap_dev, tap); in macvtap_count_rx_dropped()
65 struct macvlan_dev *vlan = &vlantap->vlan; in macvtap_count_rx_dropped()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/
H A Dazoteq,iqs7211.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS7210A, IQS7211A and IQS7211E trackpad and touchscreen control-
14 lers employ projected-capacitance sensing and can track two contacts.
21 - azoteq,iqs7210a
22 - azoteq,iqs7211a
23 - azoteq,iqs7211e
28 irq-gpios:
[all …]
/openbmc/linux/Documentation/devicetree/bindings/input/
H A Dazoteq,iqs7222.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
21 - azoteq,iqs7222a
22 - azoteq,iqs7222b
23 - azoteq,iqs7222c
24 - azoteq,iqs7222d
29 irq-gpios:
32 Specifies the GPIO connected to the device's active-low RDY output.
[all …]
H A Diqs626a.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS626A is a 14-channel capacitive touch controller that features
14 additional Hall-effect and inductive sensing capabilities.
19 - $ref: touchscreen/touchscreen.yaml#
31 "#address-cells":
34 "#size-cells":
37 azoteq,suspend-mode:
[all …]
/openbmc/qemu/net/
H A Dtap-solaris.c4 * Copyright (c) 2003-2008 Fabrice Bellard
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
42 #include "qemu/error-report.h"
52 return getmsg(tapfd, NULL, &sbuf, &f) >= 0 ? sbuf.len : -1; in tap_read_packet()
57 * Allocate TAP device, returns opened fd.
64 int tap_fd, if_fd, ppa = -1; in tap_alloc()
90 return -1; in tap_alloc()
93 tap_fd = RETRY_ON_EINTR(open("/dev/tap", O_RDWR, 0)); in tap_alloc()
95 error_setg(errp, "Can't open /dev/tap"); in tap_alloc()
96 return -1; in tap_alloc()
[all …]
H A Dtap-linux.c4 * Copyright (c) 2003-2008 Fabrice Bellard
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
28 #include "tap-linux.h"
29 #include "net/tap.h"
35 #include "qemu/error-report.h"
51 return -1; in tap_open()
56 if (ioctl(fd, TUNGETFEATURES, &features) == -1) { in tap_open()
77 return -1; in tap_open()
81 * tap it might have been modified e.g. by another instance of qemu. in tap_open()
93 return -1; in tap_open()
[all …]
H A Dtap-bsd.c4 * Copyright (c) 2003-2008 Fabrice Bellard
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
29 #include "qemu/error-report.h"
57 snprintf(dname, sizeof dname, "/dev/tap%d", i); in tap_open()
72 return -1; in tap_open()
77 error_setg_errno(errp, errno, "could not get tap name"); in tap_open()
78 return -1; in tap_open()
84 return -1; in tap_open()
98 return -1; in tap_open()
107 #define PATH_NET_TAP "/dev/tap"
[all …]
H A Dtap.c4 * Copyright (c) 2003-2008 Fabrice Bellard
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
42 #include "qemu/error-report.h"
43 #include "qemu/main-loop.h"
46 #include "net/tap.h"
75 qemu_set_fd_handler(s->fd, in tap_update_fd_handler()
76 s->read_poll && s->enabled ? tap_send : NULL, in tap_update_fd_handler()
77 s->write_poll && s->enabled ? tap_writable : NULL, in tap_update_fd_handler()
83 s->read_poll = enable; in tap_read_poll()
89 s->write_poll = enable; in tap_write_poll()
[all …]
H A Dtap-stub.c4 * Copyright (c) 2003-2008 Fabrice Bellard
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
32 error_setg(errp, "tap is not supported in this build"); in tap_open()
33 return -1; in tap_open()
36 void tap_set_sndbuf(int fd, const NetdevTapOptions *tap, Error **errp) in tap_set_sndbuf() argument
61 return -EINVAL; in tap_fd_set_vnet_le()
66 return -EINVAL; in tap_fd_set_vnet_be()
76 return -1; in tap_fd_enable()
81 return -1; in tap_fd_disable()
86 return -1; in tap_fd_get_ifname()
[all …]
H A Dtap_int.h4 * Copyright (c) 2003-2008 Fabrice Bellard
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
29 #include "qapi/qapi-types-net.h"
36 void tap_set_sndbuf(int fd, const NetdevTapOptions *tap, Error **errp);
/openbmc/linux/Documentation/dev-tools/
H A Dktap.rst1 .. SPDX-License-Identifier: GPL-2.0
7 TAP, or the Test Anything Protocol is a format for specifying test results used
9 <https://testanything.org/>`_. The Linux Kernel largely uses TAP output for test
11 which don't align with the original TAP specification. Thus, a "Kernel TAP"
12 (KTAP) format is specified to extend and alter TAP to support these use-cases.
17 can have subtests), each of which can contain both diagnostic data -- e.g., log
18 lines -- and a final result. The test structure and results are
19 machine-readable, whereas the diagnostic data is unstructured and is there to
23 - Version lines
24 - Plan lines
[all …]
/openbmc/qemu/qapi/
H A Dnet.json1 # -*- Mode: Python -*-
21 # - If @name is not a valid network device, DeviceNotFound
29 # .. qmp-example::
31 # -> { "execute": "set_link",
33 # <- { "return": {} }
47 # - If @type is not a valid network backend, DeviceNotFound
49 # .. qmp-example::
51 # -> { "execute": "netdev_add",
54 # <- { "return": {} }
57 'allow-preconfig': true }
[all …]
/openbmc/ipmitool/lib/
H A Dipmi_pef.c22 * PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED.
25 * OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL
49 {"%-*s : %u\n", " | %u"}, /* F_DEC: unsigned value */
50 {"%-*s : %d\n", " | %d"}, /* F_INT: signed value */
51 {"%-*s : %s\n", " | %s"}, /* F_STR: string value */
52 {"%-*s : 0x%x\n", " | 0x%x"}, /* F_HEX: "N hex digits" */
53 {"%-*s : 0x%04x\n", " | 0x%04x"}, /* F_2XD: "2 hex digits" */
54 {"%-*s : 0x%02x\n", " | 0x%02x"}, /* F_1XD: "1 hex digit" */
55 {"%-*s : %02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x\n",
56 " | %02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x"},
[all …]
/openbmc/linux/Documentation/input/
H A Dmulti-touch-protocol.rst4 Multi-touch (MT) Protocol
7 :Copyright: |copy| 2009-2010 Henrik Rydberg <rydberg@euromail.se>
11 ------------
13 In order to utilize the full power of the new multi-touch and multi-user
16 document describes the multi-touch (MT) protocol which allows kernel
23 describes how to send updates for individual contacts via event slots.
30 --------------
34 packet. Since these events are ignored by current single-touch (ST)
40 event, which instructs the receiver to accept the data for the current
45 This generates an ABS_MT_SLOT event, which instructs the receiver to
[all …]
/openbmc/qemu/docs/system/i386/
H A Dmicrovm.rst8 designed for short-lived guests. microvm also establishes a baseline
14 -----------------
18 - ISA bus
19 - i8259 PIC (optional)
20 - i8254 PIT (optional)
21 - MC146818 RTC (optional)
22 - One ISA serial port (optional)
23 - LAPIC
24 - IOAPIC (with kernel-irqchip=split by default)
25 - kvmclock (if using KVM)
[all …]
/openbmc/linux/drivers/input/mouse/
H A Dcypress_ps2.h1 /* SPDX-License-Identifier: GPL-2.0 */
125 /* bits of first byte response of E9h-Status Request command. */
142 /* The structure of Cypress Trackpad event data. */
149 unsigned int tap:1; /* multi-finger tap detected. */ member
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio3 Contact: linux-iio@vger.kernel.org
11 Contact: linux-iio@vger.kernel.org
13 An event driven driver of data capture to an in kernel buffer.
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"
[all …]
/openbmc/linux/tools/testing/selftests/tc-testing/
H A DREADME1 tdc - Linux Traffic Control (tc) unit testing suite
3 Author: Lucas Bates - lucasb@mojatatu.com
10 ------------
24 * All tc-related features being tested must be built in or available as
26 ./tdc.py -c
30 teardown commands - which includes not being able to run a test simply
32 handled in a future version - the current workaround is to run the tests
37 --------------
44 using the -p option when running tdc:
45 ./tdc.py -p /path/to/tc
[all …]
/openbmc/qemu/tests/unit/
H A Dmeson.build5 'check-block-qdict': [],
6 'check-qdict': [],
7 'check-qnum': [],
8 'check-qstring': [],
9 'check-qlist': [],
10 'check-qnull': [],
11 'check-qobject': [],
12 'check-qjson': [],
13 'check-qlit': [],
14 'test-error-report': [],
[all …]
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Dpsp_gfx_if.h16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
46 GFX_CTRL_CMD_ID_ENABLE_INT = 0x00050000, /* enable PSP-to-Gfx interrupt */
47 GFX_CTRL_CMD_ID_DISABLE_INT = 0x00060000, /* disable PSP-to-Gfx interrupt */
57 /*-----------------------------------------------------------------------------
64 * SRBM-to-PSP mailbox registers (total 8 registers).
108 /* PSP boot config sub-commands */
190 uint32_t sriov_enabled:1; /* whether the device runs under SR-IOV*/
204 GFX_FW_TYPE_CP_ME = 1, /* CP-ME VG + RV */
205 GFX_FW_TYPE_CP_PFP = 2, /* CP-PFP VG + RV */
206 GFX_FW_TYPE_CP_CE = 3, /* CP-CE VG + RV */
[all …]
/openbmc/linux/drivers/iio/accel/
H A Dbma400.h1 /* SPDX-License-Identifier: GPL-2.0-only */
16 * Read-Only Registers
37 /* Event and interrupt registers */
63 * Read-write configuration registers
109 /* TAP config registers */
124 * converting to micro values for +-2g range.
126 * For +-2g - 1 LSB = 0.976562 milli g = 0.009576 m/s^2
127 * For +-4g - 1 LSB = 1.953125 milli g = 0.019153 m/s^2
128 * For +-16g - 1 LSB = 7.8125 milli g = 0.076614 m/s^2
134 * Scale values for +-2g, +-4g, +-8g and +-16g are populated into bma400_scales
[all …]
/openbmc/linux/drivers/input/rmi4/
H A Drmi_f11.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2011-2015 Synaptics Incorporated
181 * struct f11_2d_sensor_queries - describes sensor capabilities
185 * @nr_fingers: describes the maximum number of fingers the 2-D sensor
193 * @nr_x_electrodes: the maximum number of electrodes the 2-D sensor
195 * @nr_y_electrodes: the maximum number of electrodes the 2-D sensor
205 * @has_anchored_finger: then the sensor supports the high-precision second
224 * @has_single_tap: a basic single-tap gesture is supported.
225 * @has_tap_n_hold: tap-and-hold gesture is supported.
226 * @has_double_tap: double-tap gesture is supported.
[all …]

12345