/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mm-venice-gw7904.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/linux-event-codes.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/phy/phy-imx8-pcie.h> 17 compatible = "gateworks,imx8mm-gw7904", "fsl,imx8mm"; 20 stdout-path = &uart2; 28 gpio-keys { 29 compatible = "gpio-keys"; [all …]
|
H A D | imx8mm-venice-gw7903.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/linux-event-codes.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/phy/phy-imx8-pcie.h> 17 compatible = "gw,imx8mm-gw7903", "fsl,imx8mm"; 25 stdout-path = &uart2; 33 gpio-keys { 34 compatible = "gpio-keys"; [all …]
|
/linux/kernel/ |
H A D | reboot.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 * this indicates whether you can reboot with ctrl-alt-del: the default is yes 64 * the system cannot be powered off. This allowes kernel_halt() to notify users 76 * emergency_restart - reboot the system 100 * register_reboot_notifier - Register function to be called at reboot time 101 * @nb: Info about notifier function to be called 103 * Registers a function with the list of functions 116 * unregister_reboot_notifier - Unregister previously registered reboot notifier 120 * notifier function. 122 * Returns zero on success, or %-ENOENT on failure. [all …]
|
H A D | kallsyms.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * kallsyms.c: in-kernel printing of symbolic oopses and stack traces. 5 * Rewritten and vastly simplified by Rusty Russell for in-kernel 42 static unsigned int kallsyms_expand_symbol(unsigned int off, in kallsyms_expand_symbol() argument 50 data = &kallsyms_names[off]; in kallsyms_expand_symbol() 53 off++; in kallsyms_expand_symbol() 59 off++; in kallsyms_expand_symbol() 66 off += len; in kallsyms_expand_symbol() 75 len--; in kallsyms_expand_symbol() 83 maxlen--; in kallsyms_expand_symbol() [all …]
|
/linux/Documentation/devicetree/bindings/leds/ |
H A D | common.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacek Anaszewski <jacek.anaszewski@gmail.com> 11 - Pavel Machek <pavel@ucw.cz> 25 led-sources: 30 $ref: /schemas/types.yaml#/definitions/uint32-array 32 function: 34 LED function. Use one of the LED_FUNCTION_* prefixed definitions 35 from the header include/dt-bindings/leds/common.h. If there is no [all …]
|
/linux/drivers/s390/crypto/ |
H A D | pkey_sysfs.c | 1 // SPDX-License-Identifier: GPL-2.0 34 if (rc == -ENODEV) { in sys_pkey_handler_gen_key() 46 * Sysfs attribute read function for all protected key binary attributes. 49 * (i.e. off != 0 or count < key blob size) -EINVAL is returned. 52 loff_t off, size_t count) in pkey_protkey_aes_attr_read() argument 58 if (off != 0 || count < sizeof(protkeytoken)) in pkey_protkey_aes_attr_read() 59 return -EINVAL; in pkey_protkey_aes_attr_read() 62 return -EINVAL; in pkey_protkey_aes_attr_read() 103 * Sysfs attribute read function for the AES XTS prot key binary attributes. 106 * (i.e. off != 0 or count < key blob size) -EINVAL is returned. [all …]
|
/linux/arch/arm64/boot/dts/microchip/ |
H A D | sparx5_pcb134_board.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 10 gpio-restart { 11 compatible = "gpio-restart"; 16 i2c0_imux: i2c-mux-0 { 17 compatible = "i2c-mux-pinctrl"; 18 #address-cells = <1>; 19 #size-cells = <0>; 20 i2c-parent = <&i2c0>; 23 i2c0_emux: i2c-mux-1 { [all …]
|
/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ptp.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2013 - 2018 Intel Corporation. */ 5 #include <linux/posix-clock.h> 39 CANT_DO_PINS = -1, 52 end = -2, 54 off, enumerator 62 "off", "in_A", "in_B", "out_A", "out_B" 66 led_end = -2, 83 {off, off, off, high, high, high, high}, 84 {off, in_A, off, high, high, high, low}, [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | pinctrl-palmas.txt | 7 - compatible: It must be one of following: 8 - "ti,palmas-pinctrl" for Palma series of the pincontrol. 9 - "ti,tps65913-pinctrl" for Palma series device TPS65913. 10 - "ti,tps80036-pinctrl" for Palma series device TPS80036. 12 Please refer to pinctrl-bindings.txt in this directory for details of the 18 list of pins. This configuration can include the mux function to select on 19 those pin(s), and various pin configuration parameters, such as pull-up, 26 other words, a subnode that lists a mux function but no pin configuration 29 information about e.g. the mux function. 32 - ti,palmas-enable-dvfs1: Enable DVFS1. Configure pins for DVFS1 mode. [all …]
|
/linux/arch/arm/boot/dts/nxp/lpc/ |
H A D | lpc4357-myd-lpc4357.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * MYIR Tech MYD-LPC4357 Development Board with 800x480 7" TFT panel 5 * Copyright (C) 2016-2018 Vladimir Zapolskiy <vz@mleia.com> 8 /dts-v1/; 13 #include <dt-bindings/gpio/gpio.h> 17 compatible = "myir,myd-lpc4357", "nxp,lpc4357"; 20 stdout-path = "serial3:115200n8"; 29 compatible = "gpio-leds"; 30 pinctrl-names = "default"; 31 pinctrl-0 = <&led_pins>; [all …]
|
/linux/arch/parisc/net/ |
H A D | bpf_jit_comp64.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * BPF JIT compiler for PA-RISC (64-bit) 10 * - check if bpf_jit_needs_zext() is needed (currently enabled) 11 * - implement arch_prepare_bpf_trampoline(), poke(), ... 39 * HPPA64 sp => +----------+ <= HPPA64 fp 42 * | ... | HPPA64 callee-saved registers 45 * +----------+ <= (BPF FP) 49 * | ... | Function call stack 51 * +----------+ 58 #define EXIT_PTR_LOAD(reg) hppa64_ldd_im16(-FRAME_SIZE, HPPA_REG_SP, reg) [all …]
|
/linux/arch/mips/net/ |
H A D | bpf_jit_comp64.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Just-In-Time compiler for eBPF bytecode on MIPS. 4 * Implementation of JIT functions for 64-bit CPUs. 18 #include <asm/cpu-features.h> 19 #include <asm/isa-rev.h> 24 /* MIPS t0-t3 are not available in the n64 ABI */ 30 /* Stack is 16-byte aligned in n64 ABI */ 33 /* Extra 64-bit eBPF registers used by JIT */ 40 /* Callee-saved CPU registers that the JIT must preserve */ 54 /* Caller-saved CPU registers available for JIT use */ [all …]
|
H A D | bpf_jit_comp32.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Just-In-Time compiler for eBPF bytecode on MIPS. 4 * Implementation of JIT functions for 32-bit CPUs. 19 #include <asm/cpu-features.h> 20 #include <asm/isa-rev.h> 25 /* MIPS a4-a7 are not available in the o32 ABI */ 31 /* Stack is 8-byte aligned in o32 ABI */ 36 * This corresponds to stack space for register arguments a0-a3. 40 /* Temporary 64-bit register used by JIT */ 46 * R0-to-v0 assignment (4 bytes) if big endian. [all …]
|
/linux/tools/testing/selftests/ftrace/test.d/kprobe/ |
H A D | kprobe_ftrace.tc | 2 # SPDX-License-Identifier: GPL-2.0 3 # description: Kprobe dynamic event with function tracer 4 # requires: kprobe_events stack_trace_filter function:tracer 11 # kprobe on / ftrace off 16 ! grep "$FUNCTION_FORK <-" trace 19 echo function > current_tracer 23 grep "$FUNCTION_FORK <-" trace 25 # kprobe off / ftrace on 30 grep "$FUNCTION_FORK <-" trace 34 echo function > current_tracer [all …]
|
/linux/arch/arm/mach-omap2/ |
H A D | omap-mpuss-lowpower.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * OMAP4430 MPUSS mainly consists of dual Cortex-A9 with per-CPU 17 * to the Cortex-A9 processor must be asserted by the external 24 * ---------------------------------------------- 26 * ON(Inactive) OFF ON(Inactive) 27 * OFF OFF CSWR 28 * OFF OFF OSWR 29 * OFF OFF OFF(Device OFF *TBD) 30 * ---------------------------------------------- 33 * and first to wake-up when MPUSS low power states are excercised [all …]
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | armada-xp-netgear-rn2120.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include "armada-xp-mv78230.dtsi" 16 …compatible = "netgear,readynas-2120", "marvell,armadaxp-mv78230", "marvell,armadaxp", "marvell,arm… 19 stdout-path = "serial0:115200n8"; 33 internal-regs { 41 clock-frequency = <400000>; 45 * MGT4012XB-O20, 8000RPM) near eSATA port */ [all …]
|
H A D | armada-388-helios4.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 10 /dts-v1/; 11 #include "armada-388.dtsi" 12 #include "armada-38x-solidrun-microsom.dtsi" 25 /* So that mvebu u-boot can update the MAC addresses */ 30 stdout-path = "serial0:115200n8"; 33 reg_12v: regulator-12v { 34 compatible = "regulator-fixed"; 35 regulator-name = "power_brick_12V"; 36 regulator-min-microvolt = <12000000>; [all …]
|
/linux/include/drm/ |
H A D | drm_panel.h | 17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 44 * struct drm_panel_funcs - perform operations on a given panel 46 * The .prepare() function is typically called before the display controller 53 * to call the .enable() function. This will typically enable the backlight to 55 * time or frames before the image is displayed. This function is responsible 60 * necessary to turn off the panel to avoid visual glitches. This is done in 61 * the .disable() function. Analogously to .enable() this typically involves 62 * turning off the backlight and waiting for some time to make sure no image 67 * the panel. This is the job of the .unprepare() function. 79 * This function is optional. [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3588s-khadas-edge2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include <dt-bindings/leds/common.h> 21 stdout-path = "serial2:1500000n8"; 24 adc-keys { 25 compatible = "adc-keys"; 26 io-channels = <&saradc 1>; [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | s5pv210-aries.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 32 reserved-memory { 33 #address-cells = <1>; 34 #size-cells = <1>; 38 compatible = "shared-dma-pool"; 39 no-map; 44 compatible = "shared-dma-pool"; [all …]
|
H A D | exynos5420-peach-pit.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/clock/maxim,max77802.h> 13 #include <dt-bindings/regulator/maxim,max77802.h> 14 #include <dt-bindings/sound/samsung-i2s.h> 16 #include "exynos5420-cpus.dtsi" 21 compatible = "google,pit-rev16", [all …]
|
H A D | exynos5800-peach-pi.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/clock/maxim,max77802.h> 13 #include <dt-bindings/regulator/maxim,max77802.h> 14 #include <dt-bindings/sound/samsung-i2s.h> 16 #include "exynos5420-cpus.dtsi" 21 compatible = "google,pi-rev16", [all …]
|
/linux/drivers/clk/samsung/ |
H A D | clk-exynos-arm64.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include "clk-exynos-arm64.h" 49 static bool is_gate_reg(unsigned long off) in is_gate_reg() argument 51 return off >= GATE_OFF_START && off <= GATE_OFF_END; in is_gate_reg() 55 static bool is_pll_conx_reg(unsigned long off) in is_pll_conx_reg() argument 57 return off >= PLL_CON_OFF_START && off <= PLL_CON_OFF_END; in is_pll_conx_reg() 61 static bool is_pll_con1_reg(unsigned long off) in is_pll_con1_reg() argument 63 return is_pll_conx_reg(off) && (off & 0xf) == 0x4 && !(off & 0x10); in is_pll_con1_reg() 67 * exynos_arm64_init_clocks - Set clocks initial configuration 76 const unsigned long *reg_offs = cmu->clk_regs; in exynos_arm64_init_clocks() [all …]
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-gxl-s905d-sml5442tw.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxl-s905d.dtsi" 9 #include "meson-gx-p23x-q20x.dtsi" 10 #include <dt-bindings/leds/common.h> 13 compatible = "smartlabs,sml5442tw", "amlogic,s905d", "amlogic,meson-gxl"; 14 model = "SmartLabs SML-5442TW"; 17 compatible = "gpio-leds"; 19 led-yellow { 21 function = LED_FUNCTION_STATUS; [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6ull-dhcom-pdk2.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 6 * DHCM-iMX6ULL-C080-R051-F0409-SPI-E2-CAN2-RTC-WBT-ADC-I-01D2 7 * DHCOR PCB number: 578-200 or newer 8 * DHCOM PCB number: 579-200 or newer 9 * PDK2 PCB number: 516-400 or newer 11 /dts-v1/; 13 #include "imx6ull-dhcom-som.dtsi" 17 compatible = "dh,imx6ull-dhcom-pdk2", "dh,imx6ull-dhcom-som", 18 "dh,imx6ull-dhcor-som", "fsl,imx6ull"; 20 clk_ext_audio_codec: clock-codec { [all …]
|