| /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 …]
|
| /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 …]
|
| H A D | sfsub.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> 42 register unsigned int left, right, result, extent; in sgl_fsub() local 50 left = *leftptr; in sgl_fsub() 55 Sgl_xortointp1(left,right,/*to*/save); in sgl_fsub() 60 if ((result_exponent = Sgl_exponent(left)) == SGL_INFINITY_EXPONENT) in sgl_fsub() 62 if (Sgl_iszero_mantissa(left)) in sgl_fsub() 80 *dstptr = left; in sgl_fsub() [all …]
|
| H A D | sfadd.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> 42 register unsigned int left, right, result, extent; in sgl_fadd() local 52 left = *leftptr; in sgl_fadd() 57 Sgl_xortointp1(left,right,/*to*/save); in sgl_fadd() 62 if ((result_exponent = Sgl_exponent(left)) == SGL_INFINITY_EXPONENT) in sgl_fadd() 64 if (Sgl_iszero_mantissa(left)) in sgl_fadd() 82 *dstptr = left; in sgl_fadd() [all …]
|
| /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 55 itself, lib/kunit/example-test.c, for more information. This option 69 to the KUnit documentation in Documentation/dev-tools/kunit/. 81 In most cases this should be left as Y. Only if additional opt-in 93 In most case [all...] |
| /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)
|
| /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 …]
|
| /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 …]
|
| /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 …]
|
| /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 …]
|
| /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 96 node = mempool_alloc(head->mempool, gfp); in btree_node_alloc() 108 return -1; in longcmp() 139 for (i = geo->keylen - 1; i >= 0; i--) { in dec_key() [all …]
|
| /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 …]
|
| /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.
|
| /linux/security/ |
| H A D | Kconfig.hardening | 1 # SPDX-License-Identifier: GPL-2.0-only 7 def_bool $(cc-option,-ftrivial-auto-var-init=pattern) 10 def_bool $(cc-optio [all...] |
| /linux/drivers/media/i2c/ |
| H A D | tda7432.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * For the STS-Thompson TDA7432 audio processor chip 18 * debug - set to 1 if you'd like to see debug messages 21 * loudness - set between 0 and 15 for varying degrees of loudness effect 23 * maxvol - set maximum volume to +20db (1), default is 0db(0) 37 #include <media/v4l2-device.h> 38 #include <media/v4l2-ioctl.h> 39 #include <media/v4l2-ctrls.h> 84 return &container_of(ctrl->handler, struct tda7432, hdl)->sd; in to_sd() 87 /* The TDA7432 is made by STS-Thompson [all …]
|
| /linux/drivers/w1/slaves/ |
| H A D | w1_ds2413.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * w1_ds2413.c - w1 family 3a (DS2413) driver 4 * based on w1_ds2408.c by Jean-Francois Dagenais <dagenaisj@sonatest.com> 33 ssize_t bytes_read = -EIO; in state_read() 36 dev_dbg(&sl->dev, in state_read() 38 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); in state_read() 43 return -EINVAL; in state_read() 45 mutex_lock(&sl->master->bus_mutex); in state_read() 46 dev_dbg(&sl->dev, "mutex locked"); in state_read() 52 while (retries--) { in state_read() [all …]
|
| /linux/Documentation/sound/hd-audio/ |
| H A D | realtek-pc-beep.rst | 20 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 24 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 33 Amplify 1Ah loopback, left (L): 1 bit 34 Amplify the left channel of 1Ah before mixing it into outputs as specified 58 +--DIV--+--!DIV--+ {1Ah boost control} 60 +--(b == 0)--+--(b != 0)--+ 70 +-----!h-----+-----S-----+ 79 All Realtek HDA codecs have a vendor-defined widget with node ID 20h which 87 Realtek, is of note: unlike most registers, which seem to control detailed 111 Linux, it seems, has gone through most of them. For one, the register resets [all …]
|
| /linux/drivers/accessibility/speakup/ |
| H A D | i18n.c | 1 // SPDX-License-Identifier: GPL-2.0 51 [MSG_EDGE_LEFT] = "left,", 57 [MSG_CTRL] = "control-", 72 /* Most of these duplicate the entries in state names. */ 135 [MSG_KEYNAME_LEFTBRACE] = "left brace", 138 [MSG_KEYNAME_LEFTCTRL] = "left control", 151 [MSG_KEYNAME_LEFTSHFT] = "left shift", 165 [MSG_KEYNAME_LEFTALT] = "left alt", 214 [MSG_KEYNAME_LEFT] = "left", 234 [MSG_KEYNAME_LEFTMETA] = "left meta", [all …]
|
| /linux/Documentation/locking/ |
| H A D | robust-futexes.rst | 8 ---------- 15 A futex is in essence a user-space address, e.g. a 32-bit lock variable 21 waiter with the waker - without them having to know about each other. 26 state, and there's no in-kernel state associated with it. The kernel 33 pthread_mutex_t, or yum is kill -9-ed), then waiters for that lock need 39 prematurely - and the new owner can decide whether the data protected by 45 (and in most cases there is none, futexes being fast lightweight locks) 47 Userspace has no chance to clean up after the lock either - userspace is 48 the one that crashes, so it has no opportunity to clean up. Catch-22. 50 In practice, when e.g. yum is kill -9-ed (or segfaults), a system reboot [all …]
|
| /linux/drivers/gpu/drm/vboxvideo/ |
| H A D | modesetting.c | 1 // SPDX-License-Identifier: MIT 2 /* Copyright (C) 2006-2017 Oracle Corporation */ 11 * hgsmi_process_display_info - Set a video mode via an HGSMI request. 41 p->view_index = display; in hgsmi_process_display_info() 42 p->origin_x = origin_x; in hgsmi_process_display_info() 43 p->origin_y = origin_y; in hgsmi_process_display_info() 44 p->start_offset = start_offset; in hgsmi_process_display_info() 45 p->line_size = pitch; in hgsmi_process_display_info() 46 p->width = width; in hgsmi_process_display_info() 47 p->height = height; in hgsmi_process_display_info() [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_jhash.h | 1 // SPDX-License-Identifier: GPL-2.0 9 return (word << shift) | (word >> ((-shift) & 31)); in rol32() 14 a -= c; a ^= rol32(c, 4); c += b; \ 15 b -= a; b ^= rol32(a, 6); a += c; \ 16 c -= b; c ^= rol32(b, 8); b += a; \ 17 a -= c; a ^= rol32(c, 16); c += b; \ 18 b -= a; b ^= rol32(a, 19); a += c; \ 19 c -= b; c ^= rol32(b, 4); b += a; \ 24 c ^= b; c -= rol32(b, 14); \ 25 a ^= c; a -= rol32(c, 11); \ [all …]
|
| /linux/Documentation/fb/ |
| H A D | framebuffer.rst | 9 --------------- 13 software to access the graphics hardware through a well-defined interface, so 14 the software doesn't need to know anything about the low-level (hardware 22 -------------------------- 39 /dev/fb0current -> fb0 40 /dev/fb1current -> fb1 50 graphics card in addition to the built-in hardware. The corresponding frame 69 -------------------------------- 82 - You can request unchangeable information about the hardware, like name, 86 - You can request and change variable information about the hardware, like [all …]
|
| /linux/sound/pci/asihpi/ |
| H A D | hpi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 Copyright (C) 1997-2011 AudioScience Inc. <support@audioscience.com> 14 The HPI is a low-level hardware abstraction layer to all 17 (C) Copyright AudioScience Inc. 1998-2010 37 /** 8-bit unsigned PCM. Windows equivalent is WAVE_FORMAT_PCM. */ 39 /** 16-bit signed PCM. Windows equivalent is WAVE_FORMAT_PCM. */ 41 /** MPEG-1 Layer-1. */ 43 /** MPEG-1 Layer-2. 67 <tr><td>256<td>-<td>X 68 <tr><td>320<td>-<td>X [all …]
|
| /linux/include/uapi/asm-generic/ |
| H A D | sembuf.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 9 * The semid64_ds structure for most architectures (though it came from x86_32 17 * 64 bit architectures use a 64-bit long time field here, while 20 * On big-endian systems, the padding is in the wrong place for 27 * Pad space is left for 2 miscellaneous 32-bit values
|