Home
last modified time | relevance | path

Searched +full:linux +full:- +full:event +full:- +full:codes (Results 1 – 25 of 51) sorted by relevance

123

/openbmc/qemu/include/standard-headers/linux/
H A Dinput.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Copyright (c) 1999-2002 Vojtech Pavlik
15 #include "standard-headers/linux/types.h"
17 #include "standard-headers/linux/input-event-codes.h"
20 * The event structure itself
53 * IOCTLs (0x00 - 0x7f)
64 * struct input_absinfo - used by EVIOCGABS/EVIOCSABS ioctls
69 * the event stream.
100 * struct input_keymap_entry - used by EVIOCGKEYCODE/EVIOCSKEYCODE ioctls
101 * @scancode: scancode represented in machine-endian form.
[all …]
H A Dvirtio_scsi.h17 * ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
30 #include "standard-headers/linux/virtio_types.h"
43 /* SCSI command request, followed by data-out */
65 /* Response, followed by sense data and data-in */
100 __virtio32 event; member
124 /* Response codes */
139 /* Controlq type codes. */
161 /* Reasons of transport reset event */
H A Dvirtio_blk.h20 * ARE DISCLAIMED. IN NO EVENT SHALL IBM OR CONTRIBUTORS BE LIABLE
28 #include "standard-headers/linux/types.h"
29 #include "standard-headers/linux/virtio_ids.h"
30 #include "standard-headers/linux/virtio_config.h"
31 #include "standard-headers/linux/virtio_types.h"
37 #define VIRTIO_BLK_F_RO 5 /* Disk is read-only */
59 /* The capacity (in 512-byte sectors). */
94 * The maximum discard sectors (in 512-byte sectors) for
108 * The maximum number of write zeroes sectors (in 512-byte sectors) in
127 * The maximum secure erase sectors (in 512-byte sectors) for
[all …]
H A Dvirtio_snd.h1 /* SPDX-License-Identifier: BSD-3-Clause */
8 #include "standard-headers/linux/virtio_types.h"
77 /* jack event types */
81 /* PCM event types */
85 /* control element event types */
88 /* common status codes */
100 /* event notification */
104 /* optional event data */
132 /* 0 ... virtio_snd_config::jacks - 1 */
172 /* 0 ... virtio_snd_config::streams - 1 */
[all …]
H A Dinput-event-codes.h1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
3 * Input event codes
6 * This file is not only included from C-code but also from devicetree source
9 * Copyright (c) 1999-2002 Vojtech Pavlik
35 * Event types
70 * AC - Application Control
71 * AL - Application Launch Button
72 * SC - System Control
307 outputs (Monitor/LCD/TV-out/etc) */
512 #define KEY_FRAMEBACK 0x1b4 /* Consumer - transport controls */
[all …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-evdev_1.9.2.bb2 HOMEPAGE = "https://github.com/gvalkov/python-evdev"
3 LICENSE = "BSD-3-Clause"
8 inherit pypi python_setuptools_build_meta ptest-python-pytest
11 rm -rf ${S}/evdev/ecodes.c
14 PEP517_BUILD_OPTS = "--config-setting=--build-option='build_ecodes \
15--evdev-headers ${STAGING_DIR_TARGET}/usr/include/linux/input.h:${STAGING_DIR_TARGET}/usr/include/
16 --reproducible'"
19 python3-ctypes \
20 python3-fcntl \
21 python3-io \
[all …]
/openbmc/u-boot/include/dt-bindings/input/
H A Dinput.h12 #include "linux-event-codes.h"
/openbmc/qemu/include/scsi/
H A Dconstants.h20 * the scsi code for linux.
159 * READ POSITION service action codes
167 * SAM Status codes
214 #define TYPE_MOD 0x07 /* Magneto-optical disk -
215 * - treated as TYPE_DISK */
219 #define TYPE_RBC 0x0e /* Simplified Direct-Access Device */
220 #define TYPE_OSD 0x11 /* Object-storage Device */
221 #define TYPE_ZBC 0x14 /* Host-managed Zoned SCSI Device */
227 /* Mode page codes for mode sense/set */
241 /* Not in Mt. Fuji, but in ATAPI 2.6 -- deprecated now in favor
[all …]
/openbmc/qemu/scripts/
H A Dupdate-linux-headers.sh1 #!/bin/sh -e
3 # Update Linux kernel headers QEMU requires from a specified kernel tree.
11 # See the COPYING file in the top-level directory.
15 # - linux-headers/ for files that are required for compiling for a
16 # Linux host. Generally we have these so we can use kernel structs
21 # - include/standard-headers/ for files that are used for guest
23 # get our definitions of the virtio structures from the Linux
26 # sanitize the headers to remove any use of Linux-specifics such as
29 tmpdir=$(mktemp -d)
32 linux="$1"
[all …]
/openbmc/u-boot/doc/
H A DREADME.arm641 U-Boot for arm64
5 The initial arm64 U-Boot port was developed before hardware was available,
7 These days U-Boot runs on a variety of 64-bit capable ARM hardware, from
13 1. U-Boot can run at any exception level it is entered in, it is
14 recommened to enter it in EL3 if U-Boot takes some responsibilities of a
16 or SMP bringup). U-Boot can be entered in EL2 when its main purpose is
20 2. U-Boot for arm64 is compiled with AArch64-gcc. AArch64-gcc
21 use rela relocation format, a tool(tools/relocate-rela) by Scott Wood
22 is used to encode the initial addend of rela to u-boot.bin. After running,
23 the U-Boot will be relocated to destination again.
[all …]
/openbmc/u-boot/include/linux/
H A Dapm_bios.h1 /* SPDX-License-Identifier: GPL-2.0+ */
7 * Copyright 1994-2001 Stephen Rothwell (sfr@canb.auug.org.au)
10 #include <linux/types.h>
55 * The APM function codes
125 * Events (results of Get PM Event)
141 * Error codes
206 #include <linux/ioctl.h>
/openbmc/phosphor-host-ipmid/docs/
H A Doem-extension-numbering.md8 - Briefly recap OEM Extension layout as described in IPMI Specification.
9 - Enumerate Command codes allocated for use with the OpenBMC OEM Number.
10 - For each such code, describe the associated messages, including
16 …n](http://www.intel.com/content/www/us/en/servers/ipmi/ipmi-second-gen-interface-spec-v2-rev1-1.ht…
25 | :-----: | ---: | :------- | :---: | :---------------------------------------- |
26 | 0 | | Length\* | - | Number of bytes to follow in this request |
28 | 1 | 0:1 | LUN | - | Allow any LUN |
29 | 2 | | Seq\* | - | Per section 11.3 of IPMI Spec |
30 | 3 | | Cmd | - | Table 3 - OpenBMC Cmd Codes |
32 | 2 ~ n+6 | | Data | - | n data bytes, encoding depends on Cmd |
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Drk3399-gru-kevin.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Google Gru-Kevin Rev 6+ board device tree source
5 * Copyright 2016-2017 Google, Inc
8 /dts-v1/;
9 #include "rk3399-gru-chromebook.dtsi"
10 #include <dt-bindings/input/linux-event-codes.h>
13 * Kevin-specific things
21 compatible = "google,kevin-rev15", "google,kevin-rev14",
22 "google,kevin-rev13", "google,kevin-rev12",
23 "google,kevin-rev11", "google,kevin-rev10",
[all …]
/openbmc/ipmitool/src/plugins/imb/
H A Dimbapi.h11 /*----------------------------------------------------------------------*
28 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
35 *----------------------------------------------------------------------*/
146 Unicode strings are counted 16-bit character strings. If they are
161 #define FIELD_OFFSET(type, field) ((LONG)&(((type *)0)->field))
164 #define INVALID_HANDLE_VALUE ((HANDLE)-1)
168 Define the method codes for how buffers are passed for I/O and FS controls
184 Macro definition for defining IOCTL and FSCTL function control codes. Note
185 that function codes 0-2047 are reserved for Microsoft Corporation, and
186 2048-4095 are reserved for customers.
[all …]
/openbmc/docs/
H A Danti-patterns.md1 # OpenBMC Anti-patterns
3 From [Wikipedia](https://en.wikipedia.org/wiki/Anti-pattern):
5 "An anti-pattern is a common response to a recurring problem that is usually
12 This page aims to document some of the anti-patterns that exist in OpenBMC to
13 ease the job of those reviewing code. If an anti-pattern is spotted, rather that
17 <!-- begin copy/paste on next line -->
19 ## Anti-pattern template [one line description]
23 (1 paragraph) Describe how to spot the anti-pattern.
27 (1 paragraph) Describe the negative effects of the anti-pattern.
31 (1 paragraph) Describe why the anti-pattern exists. If you don't know, try
[all …]
/openbmc/qemu/include/hw/xen/interface/io/
H A Dblkif.h1 /* SPDX-License-Identifier: MIT */
5 * Unified block-device I/O interface for Xen guest OSes.
7 * Copyright (c) 2003-2004, Keir Fraser
18 * Front->back notifications: When enqueuing a new request, sending a
20 * hold-off mechanism provided by the ring macros). Backends must set
23 * Back->front notifications: When enqueuing a new response, sending a
25 * hold-off mechanism provided by the ring macros). Frontends must set
63 *------------------ Backend Device Identification (PRIVATE) ------------------
78 * physical-device
85 * physical-device-path
[all …]
H A Dkbdif.h1 /* SPDX-License-Identifier: MIT */
3 * kbdif.h -- Xen virtual keyboard/mouse
17 * The two halves of a para-virtual driver utilize nodes within
31 *---------------------------- Features supported ----------------------------
37 * feature-disable-keyboard
43 * feature-disable-pointer
49 * feature-abs-pointer
55 * feature-multi-touch
58 * Backends, which support reporting of multi-touch events
61 * feature-raw-pointer
[all …]
/openbmc/qemu/linux-headers/asm-arm64/
H A Dkvm.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Copyright (C) 2012,2013 - ARM Ltd
7 * Copyright (C) 2012 - Virtual Open Systems and Columbia University
35 #include <linux/psci.h>
36 #include <linux/types.h>
58 * Supported CPU Targets - Adding a new target type is not recommended,
150 * Architecture specific defines for kvm_guest_debug->control
161 /* Bits for run->s.regs.device_irq_level */
275 /* KVM-as-firmware specific pseudo-registers */
287 * - NOT_REQUIRED: the guest doesn't need to do anything
[all …]
/openbmc/openbmc/poky/documentation/migration-guides/
H A Drelease-notes-4.0.4.rst1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK
3 Release notes for Yocto-4.0.4 (Kirkstone)
4 -----------------------------------------
6 Security Fixes in Yocto-4.0.4
9 - binutils : fix :cve_nist:`2022-38533`
10 - curl: fix :cve_nist:`2022-35252`
11 - sqlite: fix :cve_nist:`2022-35737`
12 - grub2: fix :cve_nist:`2021-3695`, :cve_nist:`2021-3696`, :cve_nist:`2021-3697`, :cve_nist:`2022-
13 - u-boot: fix :cve_nist:`2022-30552` and :cve_nist:`2022-33967`
14 - libxml2: Ignore :cve_nist:`2016-3709`
[all …]
/openbmc/qemu/docs/specs/
H A Dppc-spapr-hotplug.rst7 "logical"/para-virtual resources like memory, CPUs, and "physical"
8 host-bridges, which are generally managed by the host/hypervisor and provided
10 are documented extensively in section 13 of the Linux on Power Architecture
14 Dynamic-reconfiguration Connectors
26 the name/index/power-domain/type of each DRC allocated to a guest at
33 for hot plugged resources described under :ref:`guest-host-interface`.
37 of ``ibm,drc-indexes``:
39 ``ibm,drc-names``
40 -----------------
42 First 4-bytes: big-endian (BE) encoded integer denoting the number of entries.
[all …]
/openbmc/qemu/docs/tools/
H A Dqemu-img.rst6 --------
8 **qemu-img** [*standard options*] *command* [*command options*]
11 -----------
13 qemu-img allows you to create, convert and modify images offline. It can handle
16 **Warning:** Never use qemu-img to modify images in use by a running virtual
22 -------
24 .. program:: qemu-img
28 .. option:: -h, --help
32 .. option:: -V, --version
36 .. option:: -T, --trace [[enable=]PATTERN][,events=FILE][,file=FILE]
[all …]
/openbmc/u-boot/include/
H A Dtpm-v1.h1 /* SPDX-License-Identifier: GPL-2.0+ */
10 #include <tpm-common.h>
11 #include <linux/bitops.h>
114 * TPM return codes as defined in the TCG Main specification
121 /* TPM-defined fatal error codes */
220 /* TPM-defined non-fatal errors */
355 * @param in_digest 160-bit value representing the event to be
357 * @param out_digest 160-bit PCR value after execution of the
377 * is bit-wise OR'ed of flags listed in enum tpm_physical_presence.
430 * to query sub_cap index that is 4-byte wide.
[all …]
H A Dusbdevice.h1 /* SPDX-License-Identifier: GPL-2.0+ */
6 * Based on linux/drivers/usbd/usbd.h
142 #define member_offset(type,memb) (_cv_(&(((type*)0)->memb))-(char*)0)
143 #define p2surround(type,memb,ptr) ((type*)(void*)(_cv_(ptr)-member_offset(type,memb)))
154 * Device and/or Interface Class codes
292 * Device Requests (c.f Table 9-2)
372 * Device State (c.f USB Spec 2.0 Figure 9-1)
410 * These are defined in the USB Spec (c.f USB Spec 2.0 Figure 9-1).
418 DEVICE_UNKNOWN, /* bi - unknown event */
419 DEVICE_INIT, /* bi - initialize */
[all …]
/openbmc/u-boot/drivers/usb/host/
H A Dxhci.h1 /* SPDX-License-Identifier: GPL-2.0+ */
5 * Based on xHCI host controller driver in linux-kernel
22 #include <linux/list.h>
23 #include <linux/compat.h>
29 /* Max number of USB devices for any host controller - limit in section 6.1 */
31 /* Section 5.3.3 - MaxPorts */
42 * connect status, over-current status, port speed, and device removable.
43 * connect status and port speed are also sticky - meaning they're in
64 * over-current, reset, link state, and L1 change
91 /* bits 7:0 - how long is the Capabilities register */
[all …]
/openbmc/openbmc/meta-raspberrypi/recipes-graphics/userland/files/
H A D0002-wayland-Add-support-for-the-Wayland-winsys.patch7 * Adds wayland-egl library
20 Signed-off-by: Khem Raj <raj.khem@gmail.com>
21 ---
22 Upstream-Status: Pending
27 buildme | 10 +-
28 .../linux/apps/raspicam/CMakeLists.txt | 2 +-
29 interface/khronos/CMakeLists.txt | 54 +++-
35 .../common/linux/khrn_client_platform_linux.c | 115 +++++++-
36 interface/khronos/common/linux/khrn_wayland.c | 215 +++++++++++++++
37 .../common/linux/khrn_wayland.h} | 46 +---
[all …]

123