| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | x-powers,axp152.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mfd/x-powers,axp152.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: X-Powers AXP PMIC 10 - Chen-Yu Tsai <wens@csie.org> 13 - if: 18 - x-powers,axp152 19 - x-powers,axp202 20 - x-powers,axp209 [all …]
|
| /linux/scripts/kconfig/tests/ |
| H A D | conftest.py | 1 # SPDX-License-Identifier: GPL-2.0 24 This class provides methods to run text-based interface of Kconfig 30 def __init__(self, request): argument 36 self._test_dir = os.path.dirname(str(request.fspath)) 39 def _run_conf(self, mode, dot_config=None, out_file='.config', argument 41 """Run text-based Kconfig executable and save the result. 43 mode: input mode option (--oldaskconfig, --defconfig=<file> etc.) 46 interactive: flag to specify the interactive mode 51 command = [CONF_PATH, mode, 'Kconfig'] 54 extra_env['srctree'] = self._test_dir [all …]
|
| /linux/Documentation/networking/device_drivers/ethernet/cirrus/ |
| H A D | cs89x0.rst | 1 .. SPDX-License-Identifier: GPL-2.0 33 2.1 CS8900-based Adapter Configuration 34 2.2 CS8920-based Adapter Configuration 40 4.2 Compiling the driver to support memory mode 46 5.2.1 Diagnostic Self-Test 66 The CS8900-based ISA Ethernet Adapters from Cirrus Logic follow 67 IEEE 802.3 standards and support half or full-duplex operation in ISA bus 69 in 16-bit ISA or EISA bus expansion slots and are available in 70 10BaseT-only or 3-media configurations (10BaseT, 10Base2, and AUI for 10Base-5 73 CS8920-based adapters are similar to the CS8900-based adapter with additional [all …]
|
| /linux/Documentation/devicetree/bindings/memory-controllers/ |
| H A D | rockchip,rk3399-dmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/rockchip,rk3399-dmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Brian Norris <briannorris@chromium.org> 15 - rockchip,rk3399-dmc 17 devfreq-events: 26 clock-names: 28 - const: dmc_clk 30 operating-points-v2: true [all …]
|
| /linux/Documentation/trace/coresight/ |
| H A D | coresight-cpu-debug.rst | 9 ------------ 11 Coresight CPU debug module is defined in ARMv8-a architecture reference manual 13 debug module and it is mainly used for two modes: self-hosted debug and 14 external debug. Usually the external debug mode is well known as the external 16 explore debugging method which rely on self-hosted debug mode, this document 19 The debug module provides sample-based profiling extension, which can be used 21 every CPU has one dedicated debug module to be connected. Based on self-hosted 29 -------------- 31 - During driver registration, it uses EDDEVID and EDDEVID1 - two device ID 32 registers to decide if sample-based profiling is implemented or not. On some [all …]
|
| /linux/arch/x86/realmode/rm/ |
| H A D | reboot.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 #include <asm/processor-flags.h> 7 #include <asm/msr-index.h> 12 * mode and jumping to the BIOS reset entry point, as if the CPU has 16 * to stop this code working; hence the copious comments. 31 /* Disable paging to drop us out of long mode */ 47 /* Set up the IDT for real mode. */ 52 * mode. The GDT is not used in real mode; it is just needed here to 58 * Load the data segment registers with 16-bit compatible values 70 * This is 16-bit protected mode code to disable paging and the cache, [all …]
|
| /linux/arch/arm64/boot/dts/allwinner/ |
| H A D | sun50i-h616-orangepi-zero2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "sun50i-h616-orangepi-zero.dtsi" 9 #include "sun50i-h616-cpu-opp.dtsi" 13 compatible = "xunlong,orangepi-zero2", "allwinner,sun50i-h616"; 17 cpu-supply = <®_dcdca>; 21 allwinner,rx-delay-ps = <3100>; 22 allwinner,tx-delay-ps = <700>; 23 phy-mode = "rgmii"; 24 phy-supply = <®_dcdce>; [all …]
|
| H A D | sun50i-h616-x96-mate.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "sun50i-h616.dtsi" 9 #include "sun50i-h616-cpu-opp.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 16 compatible = "hechuang,x96-mate", "allwinner,sun50i-h616"; 23 stdout-path = "serial0:115200n8"; 28 compatible = "regulator-fixed"; 29 regulator-name = "vcc-5v"; [all …]
|
| H A D | sun50i-h6-beelink-gs1.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 /dts-v1/; 6 #include "sun50i-h6.dtsi" 7 #include "sun50i-h6-cpu-opp.dtsi" 8 #include "sun50i-h6-gpu-opp.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 14 compatible = "azw,beelink-gs1", "allwinner,sun50i-h6"; 22 stdout-path = "serial0:115200n8"; 26 compatible = "hdmi-connector"; 28 ddc-en-gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */ [all …]
|
| H A D | sun50i-h6-orangepi.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 /dts-v1/; 7 #include "sun50i-h6.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 13 compatible = "xunlong,orangepi-one-plus", "allwinner,sun50i-h6"; 20 stdout-path = "serial0:115200n8"; 24 compatible = "hdmi-connector"; 26 ddc-en-gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */ 30 remote-endpoint = <&hdmi_out_con>; 35 ext_osc32k: ext-osc32k-clk { [all …]
|
| /linux/arch/alpha/kernel/ |
| H A D | sys_eiger.c | 1 // SPDX-License-Identifier: GPL-2.0 39 static unsigned long cached_irq_mask[2] = { -1, -1 }; 46 mask = (irq >= 64 ? mask << 16 : mask >> ((irq - 16) & 0x30)); in eiger_update_irq_hw() 47 regaddr = 0x510 + (((irq - 16) >> 2) & 0x0c); in eiger_update_irq_hw() 54 unsigned int irq = d->irq; in eiger_enable_irq() 63 unsigned int irq = d->irq; in eiger_disable_irq() 88 * mode. in eiger_device_interrupt() 90 * OTOH, the accelerator thing doesn't seem to be working in eiger_device_interrupt() 116 int irq = (vector - 0x800) >> 4; in eiger_srm_device_interrupt() 134 eiger_update_irq_hw(i, -1); in eiger_init_irq() [all …]
|
| H A D | sys_takara.c | 1 // SPDX-License-Identifier: GPL-2.0 34 static unsigned long cached_irq_mask[2] = { -1, -1 }; 41 mask = (irq >= 64 ? mask << 16 : mask >> ((irq - 16) & 0x30)); in takara_update_irq_hw() 42 regaddr = 0x510 + (((irq - 16) >> 2) & 0x0c); in takara_update_irq_hw() 49 unsigned int irq = d->irq; in takara_enable_irq() 58 unsigned int irq = d->irq; in takara_disable_irq() 83 * mode. in takara_device_interrupt() 85 * OTOH, the accelerator thing doesn't seem to be working in takara_device_interrupt() 111 int irq = (vector - 0x800) >> 4; in takara_srm_device_interrupt() 127 /* Return to non-accelerated mode. */ in takara_init_irq() [all …]
|
| /linux/tools/perf/tests/shell/base_report/ |
| H A D | test_basic.sh | 3 # SPDX-License-Identifier: GPL-2.0 18 # include working environment 26 $CMD_PERF report --help > $LOGS_DIR/basic_helpmsg.log 2> $LOGS_DIR/basic_helpmsg.err 30 "PERF-REPORT" "NAME" "SYNOPSIS" "DESCRIPTION" "OPTIONS" \ 34 "input" "verbose" "show-nr-samples" "show-cpu-utilization" \ 35 "threads" "comms" "pid" "tid" "dsos" "symbols" "symbol-filter" \ 39 "hide-unresolved" "sort" "fields" "parent" "exclude-other" \ 40 "column-widths" "field-separator" "dump-raw-trace" "children" \ 44 "call-graph" "max-stack" "inverted" "ignore-callees" "pretty" \ 49 "force" "symfs" "cpu" "disassembler-style" "source" "asm-raw" \ [all …]
|
| /linux/lib/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 31 converting bitfields between a CPU-usable representation and a 33 - Is little endian (bytes are reversed within a 32-bit group) 34 - The least-significant 32-bit word comes first (within a 64-bit 36 - The most significant bit of a byte is at its right (bit 0 of a 51 please refer to the KUnit documentation in Documentation/dev-tools/kunit/. 62 This option enables the use of hardware bit-reversal instructions on 102 bool "Access I/O in non-MMIO mode" 107 hosts which can not be accessed in MMIO mode. Using the logical PIO 108 mechanism, the host-local I/O resource can be mapped into system [all …]
|
| /linux/rust/pin-init/ |
| H A D | README.md | 1 [](https://crates.io/crates/pin-init) 2 [](https://docs.rs/pin-init/) 3 [](https://deps.rs/repo/github/Rust-for-Linux/pin-ini [all...] |
| /linux/tools/perf/tests/shell/ |
| H A D | test_intel_pt.sh | 3 # SPDX-License-Identifier: GPL-2.0 5 set -e 8 perf list pmu | grep -q 'intel_pt//' || exit 2 18 temp_dir=$(mktemp -d /tmp/perf-test-intel-pt-sh.XXXXXXXXXX) 20 tmpfile="${temp_dir}/tmp-perf.data" 21 perfdatafile="${temp_dir}/test-perf.data" 22 outfile="${temp_dir}/test-out.txt" 23 errfile="${temp_dir}/test-err.txt" 31 trap - EXIT TERM INT 32 sane=$(echo "${temp_dir}" | cut -b 1-26) [all …]
|
| /linux/drivers/gpu/drm/atmel-hlcdc/ |
| H A D | atmel_hlcdc_plane.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Author: Boris BREZILLON <boris.brezillon@free-electrons.com> 10 #include <linux/mfd/atmel-hlcdc.h> 23 * struct atmel_hlcdc_plane_state - Atmel HLCDC Plane state structure. 128 static int atmel_hlcdc_format_to_plane_mode(u32 format, u32 *mode) in atmel_hlcdc_format_to_plane_mode() argument 132 *mode = ATMEL_HLCDC_C8_MODE; in atmel_hlcdc_format_to_plane_mode() 135 *mode = ATMEL_HLCDC_XRGB4444_MODE; in atmel_hlcdc_format_to_plane_mode() 138 *mode = ATMEL_HLCDC_ARGB4444_MODE; in atmel_hlcdc_format_to_plane_mode() 141 *mode = ATMEL_HLCDC_RGBA4444_MODE; in atmel_hlcdc_format_to_plane_mode() 144 *mode = ATMEL_HLCDC_RGB565_MODE; in atmel_hlcdc_format_to_plane_mode() [all …]
|
| /linux/Documentation/admin-guide/pm/ |
| H A D | sleep-states.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 Sleep states are global low-power states of the entire system in which user 28 Suspend-to-Idle 29 --------------- 31 This is a generic, pure software, light-weight variant of system suspend (also 34 I/O devices into low-power states (possibly lower-power than available in the 35 working state), such that the processors can spend time in their deepest idle 38 The system is woken up from this state by in-band interrupts, so theoretically 39 any devices that can cause interrupts to be generated in the working state can 43 or :ref:`suspend-to-RAM <s2ram>`, or it can be used in addition to any of the [all …]
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-trace.txt | 1 perf-trace(1) 5 ---- 6 perf-trace - strace inspired tool 9 -------- 15 ----------- 20 This is a live mode tool in addition to working with perf.data files like 22 but the session needs to include the raw_syscalls events (-e 'raw_syscalls:*'). 30 ------- 32 -a:: 33 --all-cpus:: [all …]
|
| H A D | security.txt | 6 https://www.kernel.org/doc/html/latest/admin-guide/perf-security.html 15 1. Download selinux-policy SRPM package (e.g. selinux-policy-3.14.4-48.fc31.src.rpm on FC31) 16 and install it so rpmbuild directory would exist in the current working directory: 18 # rpm -Uhv selinux-policy-3.14.4-48.fc31.src.rpm 22 # rpmbuild -bp selinux-policy.spec 24 3. Place patch below at rpmbuild/BUILD/selinux-policy-b86eaaf4dbcf2d51dd4432df7185c0eaf3cbcc02 27 # patch -p1 < selinux-policy-perf-events-perfmon.patch 30 # cat selinux-policy-perf-events-perfmon.patch 31 diff -Nura a/policy/flask/access_vectors b/policy/flask/access_vectors 32 --- a/policy/flask/access_vectors 2020-02-04 18:19:53.000000000 +0300 [all …]
|
| /linux/Documentation/networking/dsa/ |
| H A D | configuration.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 .. _dsa-config-showcases: 13 ----------------------- 42 - when a DSA user interface is brought up, the conduit interface is 44 - when the conduit interface is brought down, all DSA user interfaces are 71 * lan1: 192.0.2.1/30 (192.0.2.0 - 192.0.2.3) 72 * lan2: 192.0.2.5/30 (192.0.2.4 - 192.0.2.7) 73 * lan3: 192.0.2.9/30 (192.0.2.8 - 192.0.2.11) 76 * br0: 192.0.2.129/25 (192.0.2.128 - 192.0.2.255) 79 * br0: 192.0.2.129/25 (192.0.2.128 - 192.0.2.255) [all …]
|
| /linux/arch/arc/kernel/ |
| H A D | jump_label.c | 1 // SPDX-License-Identifier: GPL-2.0 32 if ((a >> L1_CACHE_SHIFT) != ((a + len - 1) >> L1_CACHE_SHIFT)) in instruction_align_assert() 43 * N N <.d> delay slot mode 50 u32 u_offset = target - pcl; in arc_gen_branch() 54 * Offset in 32-bit branch instruction must to fit into s25. in arc_gen_branch() 58 if ((s32)u_offset < -16777216 || (s32)u_offset > 16777214) in arc_gen_branch() 85 jump_label_t *instr_addr = (jump_label_t *)entry->code; in arch_jump_label_transform() 91 instr = arc_gen_branch(entry->code, entry->target); in arch_jump_label_transform() 96 flush_icache_range(entry->code, entry->code + JUMP_LABEL_NOP_SIZE); in arch_jump_label_transform() 100 #define SELFTEST_MSG "ARC: instruction generation self-test: " [all …]
|
| /linux/Documentation/networking/ |
| H A D | switchdev.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 Copyright |copy| 2014-2015 Scott Feldman <sfeldma@gmail.com> 14 The Ethernet switch device driver model (switchdev) is an in-kernel driver 19 an example setup using a data-center-class switch ASIC chip. Other setups 20 with SR-IOV or soft switches, such as OVS, are possible. 25 User-space tools 28 +-------------------------------------------------------------------+ 31 +--------------+-------------------------------+ 35 +----------------------------------------------+ 41 +--+----+----+----+----+----+---+ +-----+-----+ [all …]
|
| /linux/crypto/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 156 cbc(aes), and the support for the crypto self-tests. 178 bool "Enable cryptographic self-tests" 181 Enable the cryptographic self-tests. 183 The cryptographic self-tests run at boot time, or at algorithm 188 - Development and pre-release testing. In this case, also enable 192 - Production kernels, to help prevent buggy drivers from being used 193 and/or meet FIPS 140-3 pre-operational testing requirements. In 197 bool "Enable the full set of cryptographic self-tests" 200 Enable the full set of cryptographic self-tests for each algorithm. [all …]
|
| /linux/tools/testing/selftests/hid/ |
| H A D | hid_bpf.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) 2022-2024 Red Hat */ 22 static void detach_bpf(FIXTURE_DATA(hid_bpf) * self) in detach_bpf() argument 26 if (self->hidraw_fd) in detach_bpf() 27 close(self->hidraw_fd); in detach_bpf() 28 self->hidraw_fd = 0; in detach_bpf() 30 if (!self->skel) in detach_bpf() 33 hid__detach(self->skel); in detach_bpf() 35 for (i = 0; i < ARRAY_SIZE(self->hid_links); i++) { in detach_bpf() 36 if (self->hid_links[i]) in detach_bpf() [all …]
|