/openbmc/linux/Documentation/input/ |
H A D | gamepad.rst | 1 --------------------------- 3 --------------------------- 11 having user-space deal with different button-mappings for each gamepad, this 25 | <===DP===> |SE| |ST| (W) -|- (E) | | 35 D-Pad Left Right Action Pad 41 Most gamepads have the following features: 43 - Action-Pad 44 4 buttons in diamonds-shape (on the right side). The buttons are 45 differently labeled on most devices so we define them as NORTH, 47 - D-Pad (Direction-pad) [all …]
|
H A D | event-codes.rst | 1 .. _input-event-codes: 36 - Used as markers to separate events. Events may be separated in time or in 41 - Used to describe state changes of keyboards, buttons, or other key-like 46 - Used to describe relative axis value changes, e.g. moving the mouse 5 units 47 to the left. 51 - Used to describe absolute axis value changes, e.g. describing the 56 - Used to describe miscellaneous input data that do not fit into other types. 60 - Used to describe binary state input switches. 64 - Used to turn LEDs on devices on and off. 68 - Used to output sound to devices. [all …]
|
/openbmc/linux/arch/parisc/math-emu/ |
H A D | fcnvuf.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Linux/PA-RISC Project (http://www.parisc-linux.org/) 5 * Floating-point emulation code 6 * Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org> 15 * Fixed point to Floating-point Converts 38 * Fixed point to Floating-point Converts * 42 * Convert Single Unsigned Fixed to Single Floating-point format 68 * Check word for most significant bit set. Returns in sgl_to_sgl_fcnvuf() 70 * between -1 and 30. in sgl_to_sgl_fcnvuf() 73 /* left justify source, with msb at bit position 0 */ in sgl_to_sgl_fcnvuf() [all …]
|
H A D | fcnvxf.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Linux/PA-RISC Project (http://www.parisc-linux.org/) 5 * Floating-point emulation code 6 * Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org> 15 * Single Fixed-point to Single Floating-point 16 * Single Fixed-point to Double Floating-point 17 * Double Fixed-point to Single Floating-point 18 * Double Fixed-point to Double Floating-point 41 * Convert single fixed-point to single floating-point format 76 * Check word for most significant bit set. Returns in sgl_to_sgl_fcnvxf() [all …]
|
/openbmc/u-boot/include/ |
H A D | video_console.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 41 * struct vidconsole_priv - uclass-private data about a console device 55 * @xstart_frac: Left margin for the text console in fractional units 88 * struct vidconsole_ops - Video console operations 92 * of an entire line of text - typically 16 pixels). 96 * putc_xy() - write a single character to a position 99 * @x_frac: Fractional pixel X position (0=left-most pixel) which 101 * @y: Pixel Y position (0=top-most pixel) 104 * if all is OK, -EAGAIN if we ran out of space on this line, other -ve 110 * move_rows() - Move text rows from one place to another [all …]
|
/openbmc/linux/include/dt-bindings/mux/ |
H A D | mux.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * This header provides constants for most Multiplexer bindings. 5 * Most Multiplexer bindings specify an idle state. In most cases, the 6 * multiplexer can be left as is when idle, and in some cases it can 14 #define MUX_IDLE_AS_IS (-1) 15 #define MUX_IDLE_DISCONNECT (-2)
|
/openbmc/linux/arch/ia64/lib/ |
H A D | clear_user.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * Copyright (C) 1998, 1999, 2001 Hewlett-Packard Co 37 // - we check whether or not the buffer is small, i.e., less than 17 40 // - Otherwise we go progressively from 1 byte store to 8byte store in 48 // to write bytes outside of the buffer. While most of the time this would 65 adds tmp=-1,len // br.ctop is repeat/until 83 adds len=-1,len // countdown length using len 88 // len contains bytes left 99 // The use of len/len2 for countdown of the number of bytes left 106 EX( .Lexit3, (p6) st1 [buf]=r0,1 ) // 1-byte aligned [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | adc-joystick.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 # Copyright 2019-2020 Artur Rojek 4 --- 5 $id: http://devicetree.org/schemas/input/adc-joystick.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Artur Rojek <contact@artur-rojek.eu> 18 - $ref: input.yaml# 22 const: adc-joystick 24 io-channels: 31 https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/iio-consumer.yaml [all …]
|
/openbmc/linux/fs/ntfs3/lib/ |
H A D | decompress_common.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * decompress_common.c - Code shared by the XPRESS and LZX decompressors 11 * make_huffman_decode_table() - 19 * decoding of prefix-encoded symbols using read_huffsym(). 45 * by 2**(max_codeword_len - n) entries in this table. The 0-based index 47 * when zero-padded on the left to 'max_codeword_len' binary digits. 52 * - For many compression formats, the maximum codeword length is too 60 * bit-by-bit decoding of the remainder of the codeword. Child nodes 62 * contain symbols. Note that the long-codeword case is, in general, 63 * not performance critical, since in Huffman codes the most frequently [all …]
|
/openbmc/u-boot/arch/arm/mach-tegra/tegra20/ |
H A D | crypto.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * (C) Copyright 2010 - 2011 NVIDIA Corporation <www.nvidia.com> 22 * Shift a vector left by one bit 33 for (i = size - 1; i >= 0; i--) { in left_shift_vector() 35 carry = in[i] >> 7; /* get most significant bit */ in left_shift_vector() 53 u8 left[AES_KEY_LENGTH]; in sign_object() local 60 /* compute K1 constant needed by AES-CMAC calculation */ in sign_object() 64 aes_cbc_encrypt_blocks(key_schedule, iv, tmp_data, left, 1); in sign_object() 66 left_shift_vector(left, k1, sizeof(left)); in sign_object() 68 if ((left[0] >> 7) != 0) /* get MSB of L */ in sign_object() [all …]
|
/openbmc/linux/Documentation/arch/sparc/oradax/ |
H A D | dax-hv-api.txt | 3 Publication date 2017-09-25 08:21 5 Extracted via "pdftotext -f 547 -l 572 -layout sun4v_20170925.pdf" 16 live-migration and other system management activities. 20 …high speed processoring of database-centric operations. The coprocessors may support one or more of 28 …e Completion Area and, unless execution order is specifically restricted through the use of serial- 45 …device node in the guest MD (Section 8.24.17, “Database Analytics Accelerators (DAX) virtual-device 51 36.1.1.1. "ORCL,sun4v-dax" Device Compatibility 54 • No-op/Sync 81 36.1.1.2. "ORCL,sun4v-dax-fc" Device Compatibility 82 … "ORCL,sun4v-dax-fc" is compatible with the "ORCL,sun4v-dax" interface, and includes additional CCB [all …]
|
/openbmc/linux/include/linux/platform_data/ |
H A D | keypad-pxa27x.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 * _plus_ the number of rotary-encoder sensor inputs, this can be 18 * left as 0 if only rotary encoders are enabled, the driver will 25 * REL_WHEEL/REL_HWHEEL) or specific keys (e.g. UP/DOWN/LEFT/RIGHT) 28 * default, which should be sufficient in most cases
|
/openbmc/linux/tools/testing/selftests/kvm/lib/ |
H A D | sparsebit.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 * sparsebit_alloc() and most also take a bit index. Frequently 30 * ---- Query Operations 37 * ---- Modifying Operations 67 * For the most part the internal implementation of sparsebit is 72 * set. It is also efficient in memory usage when most of the bits are 75 * At a high-level the state of the bit settings are maintained through 76 * the use of a binary-search tree, where each node contains at least 87 * node, while the mask member stores the setting of the first 32-bits. 99 * represent cases where most bits are set. For example, the case of all [all …]
|
/openbmc/linux/drivers/staging/rtl8723bs/ |
H A D | TODO | 2 - find and remove any code for other chips that is left over 3 - convert any remaining unusual variable types 4 - find codes that can use %pM and %Nph formatting 5 - checkpatch.pl fixes - most of the remaining ones are lines too long. Many 7 - merge Realtek's bugfixes and new features into the driver 8 - switch to use LIB80211 9 - switch to use MAC80211 11 Please send any patches to Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
|
/openbmc/linux/lib/kunit/ |
H A D | Kconfig | 6 tristate "KUnit - Enable support for unit tests" 12 special hardware when using UML. Can also be used on most other 14 Documentation/dev-tools/kunit/. 19 bool "KUnit - Enable /sys/kernel/debug/kunit debugfs representation" if !KUNIT_ALL_TESTS 44 itself, lib/kunit/example-test.c, for more information. This option 58 to the KUnit documentation in Documentation/dev-tools/kunit/. 70 In most cases this should be left as Y. Only if additional opt-in
|
/openbmc/qemu/util/ |
H A D | qtree.c | 2 * GLIB - Library of useful routines for C programming 3 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald 5 * SPDX-License-Identifier: LGPL-2.1-or-later 22 * Modified by the GLib Team and others 1997-2000. See the AUTHORS 36 * SECTION:trees-binary 43 * in order. This means that most of the operations (access, search, 73 * [balanced binary tree][glib-Balanced-Binary-Trees]. It should be 89 QTreeNode *left; /* left subtree */ member 91 gint8 balance; /* height (right) - height (left) */ 124 node->balance = 0; in q_tree_node_new() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-filesystems/logfsprogs/logfsprogs/ |
H A D | 0001-btree-Avoid-conflicts-with-libc-namespace-about-setk.patch | 3 Date: Thu, 13 Jul 2017 18:41:53 -0700 10 Signed-off-by: Khem Raj <raj.khem@gmail.com> 11 --- 12 Upstream-Status: Pending 14 btree.c | 32 ++++++++++++++++---------------- 15 1 file changed, 16 insertions(+), 16 deletions(-) 17 diff --git a/btree.c b/btree.c 19 --- a/btree.c 21 @@ -123,7 +123,7 @@ static unsigned long bval(struct btree_geo *geo, unsigned long *node, int n) 22 return node[geo->no_pairs * geo->keylen + n]; [all …]
|
/openbmc/linux/drivers/media/rc/keymaps/ |
H A D | rc-kworld-plus-tv-analog.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // kworld-plus-tv-analog.h - Keytable for kworld_plus_tv_analog Remote Controller 4 // keymap imported from ir-keymaps.c 8 #include <media/rc-map.h> 17 { 0x16, KEY_CLOSECD }, /* -> ) */ 23 /* Two keys have the same code: 3 and left */ 45 /* Couldn't map key left/key right since those 55 Most of them conflict with digits.
|
/openbmc/linux/lib/ |
H A D | btree.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * lib/btree.c - Simple In-memory B+Tree 5 * Copyright (c) 2007-2008 Joern Engel <joern@purestorage.com> 9 * see http://programming.kicks-ass.net/kernel-patches/vma_lookup/btree.patch 27 * ~98% pointers - hard to beat. Very sparse radix trees contain only ~2% 35 * values are to the right, not to the left. All used slots within a node 36 * are on the left, all unused slots contain NUL values. Most operations 97 node = mempool_alloc(head->mempool, gfp); in btree_node_alloc() 109 return -1; in longcmp() 140 for (i = geo->keylen - 1; i >= 0; i--) { in dec_key() [all …]
|
/openbmc/linux/drivers/block/drbd/ |
H A D | drbd_vli.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 -*- linux-c -*- 7 Copyright (C) 2001-2008, LINBIT Information Technologies GmbH. 8 Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>. 9 Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. 19 * and possibly small-bandwidth replication, 55 * * simple byte-based 69 * __little endian__ bitstream, least significant bit first (left most) 108 -+----------------------------------------------------------------------- 140 if ((in & ((1 << b) -1)) == v) { \ in vli_decode_bits() [all …]
|
/openbmc/qemu/include/hw/ppc/ |
H A D | spapr_ovec.h | 7 * <vector number>: the bit-vector in which the option is located 13 * Firmware expects a somewhat literal encoding of this bit-vector 14 * structure, where each entry is stored in little-endian so that the 16 * offset is from "left-to-right" in the traditional representation of 17 * a byte value where the MSB is the left-most bit. Thus, each 24 * on a bitmap to approximate the documented "bit-vector" structure and 25 * handling conversations to-from the internal representation under the 34 * See the COPYING file in the top-level directory. 44 #define OV_BIT(byte, bit) ((byte - 1) * BITS_PER_BYTE + bit)
|
/openbmc/linux/security/ |
H A D | Kconfig.hardening | 1 # SPDX-License-Identifier: GPL-2.0-only 12 flaws, this plugin is available to identify and zero-initialize 23 def_bool $(cc-option,-ftrivial-auto-var-init=pattern) 26 def_bool $(cc-option,-ftrivial-auto-var-init=zero) 29 # Clang 16 and later warn about using the -enable flag, but it 31 …def_bool $(cc-option,-ftrivial-auto-var-init=zero -enable-trivial-auto-var-init-zero-knowing-it-wi… 64 bool "zero-init structs marked for userspace (weak)" 69 Zero-initialize any structures on the stack containing 72 exposures, like CVE-2013-2141: 76 bool "zero-init structs passed by reference (strong)" [all …]
|
/openbmc/linux/Documentation/timers/ |
H A D | timers-howto.rst | 2 delays - Information on the various kernel delay / sleep mechanisms 8 This question is most often faced by driver writers who have to 9 deal with hardware delays and who may not be the most intimately 14 ---------------- 16 The first, and most important, question you need to ask is "Is my 30 udelay is the generally preferred API; ndelay-level 31 precision may not actually exist on many non-PC devices. 38 NON-ATOMIC CONTEXT: 45 -- Backed by busy-wait loop: 49 -- Backed by hrtimers: [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/css/ |
H A D | default.css | 4 body { padding-top: 50px; } 7 img.logo { height: 30px; vertical-align: bottom; } 10 .toaster-navbar-brand { float: left; margin: 7px 25px 0 0; } 11 .toaster-navbar-brand a.brand { color: #777; height: 50px; padding: 15px 5px 15px 15px; font-size: … 12 .toaster-navbar-brand > a { text-decoration: none; } 13 .toaster-navbar-brand > a.brand:hover { color: #5e5e5e; } 16 .glyphicon-info-sign { color: #777; font-size: 16px; } 17 .glyphicon-info-sign:hover { color: #999; cursor: pointer; } 19 /* Override the negative right margin for the navbar-right class */ 20 #new-project-button { margin-right: 0; } [all …]
|
/openbmc/openbmc/poky/bitbake/lib/progressbar/ |
H A D | widgets.py | 1 # -*- coding: utf-8 -*- 3 # progressbar - Text progress bar library for Python. 6 # SPDX-License-Identifier: LGPL-2.1-or-later OR BSD-3-Clause-Clear 20 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 61 pbar - a reference to the calling ProgressBar 77 pbar - a reference to the calling ProgressBar 78 width - The total width the widget must fill 113 return 'ETA: --:--:--' 118 eta = elapsed * pbar.maxval / pbar.currval - elapsed 130 total progress is used and at the end only the most recent progress is [all …]
|