| /linux/arch/s390/include/asm/ |
| H A D | bitops.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 * Within a word, bits are numbered LSB first. Lot's of places make 12 * big-endian system because, unlike little endian, the number of each 16 * end up numbered: 20 * The bits are numbered: 23 * The main difference is that bit 0-63 in the bit number field needs to be 62 addr += (nr ^ (BITS_PER_LONG - BITS_PER_BYTE)) / BITS_PER_BYTE; in arch_test_bit() 63 mask = 1UL << (nr & (BITS_PER_BYTE - 1)); in arch_test_bit() 75 #include <asm-generic/bitops/atomic.h> 76 #include <asm-generic/bitops/non-instrumented-non-atomic.h> [all …]
|
| /linux/Documentation/devicetree/bindings/display/bridge/ |
| H A D | thine,thc63lvd1024.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacopo Mondi <jacopo+renesas@jmondi.org> 11 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 34 even-numbered pixels are received on port@0 and odd-numbered pixels on 60 - port@0 61 - port@2 63 oe-gpios: 67 powerdown-gpios: [all …]
|
| /linux/tools/testing/selftests/damon/ |
| H A D | access_memory_even.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * regions and repeatedly access even numbered (starting from zero) regions. 22 return -1; in main()
|
| H A D | damos_tried_regions.py | 2 # SPDX-License-Identifier: GPL-2.0 10 # repeatedly access even-numbered ones in 14 regions of 10 MiB size 57 print('50-th percentile nr_regions: %d' % sample)
|
| /linux/Documentation/userspace-api/media/drivers/ |
| H A D | index.rst | 1 .. SPDX-License-Identifier: GPL-2.0 5 .. _v4l-drivers_uapi: 8 Video4Linux (V4L) driver-specific documentation 11 **Copyright** |copy| 1999-2016 : LinuxTV Developers 18 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 27 :numbered: 29 aspeed-video 30 camera-sensor 32 cx2341x-uapi 34 imx-uapi [all …]
|
| /linux/Documentation/driver-api/media/ |
| H A D | index.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 Documentation/admin-guide/media/index.rst 16 - for usage information about media subsystem and supported drivers; 18 Documentation/userspace-api/media/index.rst 20 - for the userspace APIs used on media devices. 26 :numbered: 28 maintainer-entry-profile 30 v4l2-core 31 dtv-core 32 rc-core [all …]
|
| /linux/Documentation/hid/ |
| H A D | uhid.rst | 2 UHID - User-space I/O driver support for HID subsystem 5 UHID allows user-space to implement HID transport drivers. Please see 6 hid-transport.rst for an introduction into HID transport drivers. This document 9 With UHID, a user-space transport driver can create kernel hid-devices for each 10 device connected to the user-space controlled bus. The UHID API defines the I/O 11 events provided from the kernel to user-space and vice versa. 13 There is an example user-space application in ./samples/uhid/uhid-example.c 16 ------------ 18 UHID is accessed through a character misc-device. The minor number is allocated 25 write()'ing "struct uhid_event" objects. Non-blocking operations are supported [all …]
|
| /linux/Documentation/hwmon/ |
| H A D | hp-wmi-sensors.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 14 Hewlett-Packard (and some HP Compaq) business-class computers report hardware 57 - ``fan``: The fan has stalled or has been disconnected while running. 58 - ``temp``: The sensor reading has reached a critical threshold. 59 The exact threshold is system-dependent. 60 - ``intrusion``: The system's chassis has been opened. 76 system-dependent "platform events objects" used for ``alarm`` attributes may 77 be present. A debugfs interface is therefore provided for read-only access to 80 ``/sys/kernel/debug/hp-wmi-sensors-[X]/sensor`` 81 contains one numbered entry per sensor with the following attributes: [all …]
|
| /linux/drivers/net/ethernet/intel/fm10k/ |
| H A D | fm10k_mbx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2013 - 2018 Intel Corporation. */ 45 * +----------+ connect() +----------+ 46 * | CLOSED | --------------> | CONNECT | 47 * +----------+ +----------+ 54 * +----------+ disconnect() +----------+ 55 * |DISCONNECT| <-------------- | OPEN | 56 * +----------+ +----------+ 90 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 92 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ [all …]
|
| /linux/arch/arm/probes/kprobes/ |
| H A D | test-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * arch/arm/kernel/kprobes-test.c 12 * supported instruction sets: ARM, 16-bit Thumb, and 32-bit Thumb. These tests 23 * The individual test cases are in kprobes-test-arm.c and kprobes-test-thumb.c 24 * which use the macros defined in kprobes-test.h. The rest of this 31 * ------------------- 41 * post-handler of the test_before probe is used to modify the saved CPU 43 * pre-handler of the of the test_after probe saves a copy of the CPU 83 * (branch backwards). In these, the local variables numbered 1, 50, 2 and 87 * --------- [all …]
|
| /linux/Documentation/process/ |
| H A D | applying-patches.rst | 54 in the patch file when applying it (the ``-p1`` argument to ``patch`` does 57 To revert a previously applied patch, use the -R argument to patch. 60 patch -p1 < ../patch-x.y.z 64 patch -R -p1 < ../patch-x.y.z 76 patch -p1 < path/to/patch-x.y.z 82 Patch can also get the name of the file to use via the -i argument, like 85 patch -p1 -i path/to/patch-x.y.z 91 xzcat path/to/patch-x.y.z.xz | patch -p1 92 bzcat path/to/patch-x.y.z.gz | patch -p1 96 gunzip or xz on the file -- like this:: [all …]
|
| /linux/Documentation/netlabel/ |
| H A D | draft-ietf-cipso-ipsecurity-01.txt | 27 Please check the I-D abstract listing contained in each Internet Draft 46 mandatory access controls and multi-level security. These systems are 88 once in a datagram. All multi-octet fields in the option are defined to be 91 +----------+----------+------//------+-----------//---------+ 93 +----------+----------+------//------+-----------//---------+ 124 corresponding ASCII representations. Non-related groups of systems may 148 actual security information to be passed. All multi-octet fields in a tag 171 +----------+----------+--------//--------+ 173 +----------+----------+--------//--------+ 207 This is referred to as the "bit-mapped" tag type. Tag type 1 is included [all …]
|
| /linux/drivers/net/can/ |
| H A D | ti_hecc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/ 28 #include <linux/can/rx-offload.h> 36 #define HECC_MAX_MAILBOXES 32 /* hardware mailboxes - do not change */ 37 #define MAX_TX_PRIO 0x3F /* hardware value - do not change */ 55 #define HECC_TX_MB_MASK (HECC_MAX_TX_MBOX - 1) 56 #define HECC_TX_MASK ((HECC_MAX_TX_MBOX - 1) | HECC_TX_PRIO_MASK) 62 * changed while CAN-bus traffic is being received. 64 #define HECC_MAX_RX_MBOX (HECC_MAX_MAILBOXES - HECC_MAX_TX_MBOX) 65 #define HECC_RX_FIRST_MBOX (HECC_MAX_MAILBOXES - 1) [all …]
|
| /linux/drivers/comedi/drivers/ |
| H A D | jr3_pci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 31 * two-byte words. 42 * Channels 1-6 contain the coupled force data Fx through Mz. Channel 43 * 7 contains the sensor's calibration data. The use of channels 8-15 139 * was detected in the on-board RAM during the power-up 249 * 0 - end transform packet 250 * 1 - translate along X axis (TX) 251 * 2 - translate along Y axis (TY) 252 * 3 - translate along Z axis (TZ) 253 * 4 - rotate about X axis (RX) [all …]
|
| /linux/Documentation/sound/cards/ |
| H A D | hdspm.rst | 2 Software Interface ALSA-DSP MADI Driver 5 (translated from German, so no good English ;-), 7 2004 - winfried ritsch 11 the Controls and startup-options are ALSA-Standard and only the 19 ------------------ 21 * number of channels -- depends on transmission mode 29 * Single Speed -- 1..64 channels 37 * Double Speed -- 1..32 channels 40 Note: Choosing the 56-channel mode for 41 transmission/receive-mode , only 28 are transmitted/received [all …]
|
| /linux/Documentation/cdrom/ |
| H A D | cdrom-standard.rst | 2 A Linux CD-ROM standard 14 Linux is probably the Unix-like operating system that supports 18 - The large list of hardware devices available for the many platforms 19 that Linux now supports (i.e., i386-PCs, Sparc Suns, etc.) 20 - The open design of the operating system, such that anybody can write a 22 - There is plenty of source code around as examples of how to write a driver. 29 This divergence of behavior has been very significant for CD-ROM 32 their drivers totally inconsistent, the writers of Linux CD-ROM 35 maintain uniform behavior across all the Linux CD-ROM drivers. 38 all the different CD-ROM device drivers for Linux. This document also [all …]
|
| /linux/arch/mips/cavium-octeon/executive/ |
| H A D | cvmx-pko.c | 7 * Copyright (c) 2003-2008 Cavium Networks 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 34 #include <asm/octeon/cvmx-config.h> 35 #include <asm/octeon/cvmx-pko.h> 36 #include <asm/octeon/cvmx-helper.h> 64 return -1; in __cvmx_pko_int() 85 config.s.tail = (queue == (num_queues - 1)); in __cvmx_pko_iport_config() 95 (CVMX_FPA_OUTPUT_BUFFER_POOL_SIZE - in __cvmx_pko_iport_config() 196 config.s.size = CVMX_FPA_OUTPUT_BUFFER_POOL_SIZE / 8 - 1; in cvmx_pko_initialize_global() [all …]
|
| /linux/drivers/md/dm-vdo/ |
| H A D | types.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 #include <linux/device-mapper.h> 16 #include "funnel-queue.h" 66 /* typedef thread_count_t - A thread counter. */ 69 /* typedef thread_id_t - A thread ID, vdo threads are numbered sequentially from 0. */ 93 * vdo_state_requires_read_only_rebuild() - Check whether a vdo_state indicates 94 * that a read-only rebuild is required. 105 * vdo_state_requires_recovery() - Check whether a vdo state indicates that recovery is needed. 146 * Four bits of each five-byte block map entry contain a mapping state value used to distinguish 161 (VDO_MAPPING_STATE_COMPRESSED_MAX - VDO_MAPPING_STATE_COMPRESSED_BASE + 1), [all …]
|
| /linux/Documentation/ |
| H A D | memory-barriers.txt | 19 documentation at tools/memory-model/. Nevertheless, even this memory 37 Note also that it is possible that a barrier may be a no-op for an 48 - Device operations. 49 - Guarantees. 53 - Varieties of memory barrier. 54 - What may not be assumed about memory barriers? 55 - Address-dependency barriers (historical). 56 - Control dependencies. 57 - SMP barrier pairing. 58 - Examples of memory barrier sequences. [all …]
|
| /linux/LICENSES/dual/ |
| H A D | copyleft-next-0.3.1 | 1 Valid-License-Identifier: copyleft-next-0.3.1 2 SPDX-URL: https://spdx.org/licenses/copyleft-next-0.3.1 3 Usage-Guide: 4 copyleft-next-0.3.1 is explicitly compatible with GPLv2 (or later) and 8 To use the copyleft-next-0.3.1 license put the following SPDX tag/value 11 SPDX-License-Identifier: GPL-2.0-only OR copyleft-next 0.3.1 12 SPDX-License-Identifier: GPL-2.0-or-later OR copyleft-next-0.3.1 13 License-Text: 17 copyleft-next 0.3.1 ("this License") 18 Release date: 2016-04-29 [all …]
|
| /linux/sound/hda/codecs/hdmi/ |
| H A D | atihdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 18 ((codec)->core.vendor_id == 0x1002aa01 && \ 19 ((codec)->core.revision_id & 0xff00) >= 0x0300) 106 return -EINVAL; in get_eld_ati() 170 /* format is supported, copy SAD as-is */ in get_eld_ati() 189 return -EINVAL; in get_eld_ati() 196 * [1..251] msecs = (x-1)*2 (max 500ms with x = 251 = 0xfb) in get_eld_ati() 212 buf[6] = video_latency_hdmi - audio_latency_hdmi; in get_eld_ati() 217 buf[5] |= ((pos - ELD_FIXED_BYTES - sink_desc_len) / 3) << 4; in get_eld_ati() 219 /* Baseline ELD block length is 4-byte aligned */ in get_eld_ati() [all …]
|
| /linux/sound/pci/echoaudio/ |
| H A D | echoaudio.h | 3 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 21 Foundation, Inc., 59 Temple Place - Suite 330, Boston, 22 MA 02111-1307, USA. 26 Translation from C++ and adaptation for use in ALSA-Driver 34 +-----------+ 35 record | |<-------------------- Inputs 36 <-------| | | 39 ------->| | +-------+ 40 play | |--->|monitor|-------> Outputs [all …]
|
| /linux/Documentation/driver-api/crypto/iaa/ |
| H A D | iaa-crypto.rst | 1 .. SPDX-License-Identifier: GPL-2.0 18 higher-level compression devices such as zswap. 25 represented by selecting the 'deflate-iaa' crypto compression 28 # echo deflate-iaa > /sys/module/zswap/parameters/compressor 38 'deflate-iaa'. (Because the IAA hardware has a 4k history-window 52 Cryptographic API -> Hardware crypto devices -> Support for Intel(R) IAA Compression Accelerator 59 …Cryptographic API -> Hardware crypto devices -> Support for Intel(R) IAA Compression -> Enable Int… 78 - Scalable 79 - Legacy 80 - No IOMMU [all …]
|
| /linux/tools/memory-model/Documentation/ |
| H A D | ordering.txt | 1 This document gives an overview of the categories of memory-ordering 2 operations provided by the Linux-kernel memory model (LKMM). 8 This section lists LKMM's three top-level categories of memory-ordering 38 b. Read-modify-write (RMW) ordering augmentation barriers. 49 device even in kernels built with CONFIG_SMP=n, please use the 56 -------------------- 58 The Linux-kernel primitives that provide full ordering include: 62 o Value-returning RMW atomic operations whose names do not end in 65 o RCU's grace-period primitives. 79 memory-ordering primitives. It is surprisingly hard to remember their [all …]
|
| /linux/LICENSES/preferred/ |
| H A D | LGPL-2.0 | 1 Valid-License-Identifier: LGPL-2.0 2 Valid-License-Identifier: LGPL-2.0+ 3 SPDX-URL: https://spdx.org/licenses/LGPL-2.0.html 4 Usage-Guide: 9 SPDX-License-Identifier: LGPL-2.0 12 SPDX-License-Identifier: LGPL-2.0+ 13 License-Text: 24 [This is the first released version of the library GPL. It is numbered 2 31 intended to guarantee your freedom to share and change free software--to 97 However, unrestricted linking of non-free programs would deprive the users [all …]
|