/openbmc/linux/include/linux/ |
H A D | kbd_kern.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 * kbd->xxx contains the VC-local things (flag settings etc..) 23 /* 8 modifiers - the names do not have any meaning at all; 25 #define VC_SHIFTLOCK KG_SHIFT /* shift lock mode */ 26 #define VC_ALTGRLOCK KG_ALTGR /* altgr lock mode */ 27 #define VC_CTRLLOCK KG_CTRL /* control lock mode */ 28 #define VC_ALTLOCK KG_ALT /* alt lock mode */ 29 #define VC_SHIFTLLOCK KG_SHIFTL /* shiftl lock mode */ 30 #define VC_SHIFTRLOCK KG_SHIFTR /* shiftr lock mode */ 31 #define VC_CTRLLLOCK KG_CTRLL /* ctrll lock mode */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | usb251xb.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microchip USB 2.0 Hi-Speed Hub Controller 10 - Richard Leitner <richard.leitner@skidata.com> 15 - microchip,usb2422 16 - microchip,usb2512b 17 - microchip,usb2512bi 18 - microchip,usb2513b 19 - microchip,usb2513bi [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/frequency/ |
H A D | adi,adf4350.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 15 - adi,adf4350 16 - adi,adf4351 21 spi-max-frequency: 28 clock-names: 35 adi,channel-spacing: 40 adi,power-up-frequency: [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mmc/ |
H A D | mmc-controller.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mmc/mmc-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ulf Hansson <ulf.hansson@linaro.org> 25 "#address-cells": 30 "#size-cells": 37 broken-cd: 38 $ref: /schemas/types.yaml#/definitions/flag 42 cd-gpios: [all …]
|
/openbmc/u-boot/board/xilinx/zynqmp/ |
H A D | cmds.c | 1 // SPDX-License-Identifier: GPL-2.0 13 static int do_zynqmp_verify_secure(cmd_tbl_t *cmdtp, int flag, int argc, in do_zynqmp_verify_secure() argument 38 return -EINVAL; in do_zynqmp_verify_secure() 65 static int do_zynqmp_mmio_read(cmd_tbl_t *cmdtp, int flag, int argc, in do_zynqmp_mmio_read() argument 71 if (argc != cmdtp->maxargs) in do_zynqmp_mmio_read() 86 static int do_zynqmp_mmio_write(cmd_tbl_t *cmdtp, int flag, int argc, in do_zynqmp_mmio_write() argument 92 if (argc != cmdtp->maxargs) in do_zynqmp_mmio_write() 107 static int do_zynqmp_tcm_init(cmd_tbl_t *cmdtp, int flag, int argc, in do_zynqmp_tcm_init() argument 110 u8 mode; in do_zynqmp_tcm_init() local 112 if (argc != cmdtp->maxargs) in do_zynqmp_tcm_init() [all …]
|
/openbmc/u-boot/cmd/ |
H A D | regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2014-2015 Samsung Electronics 9 #include <dm/uclass-internal.h> 25 static int do_dev(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_dev() argument 29 int ret = -ENXIO; in do_dev() 47 printf("%s: no regulator platform data!\n", currdev->name); in do_dev() 51 printf("dev: %s @ %s\n", uc_pdata->name, currdev->name); in do_dev() 73 pr_err("Regulator: %s - missing platform data!\n", currdev->name); in curr_dev_and_platdata() 77 if (!allow_type_fixed && (*uc_pdata)->type == REGULATOR_TYPE_FIXED) { in curr_dev_and_platdata() 85 static int do_list(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_list() argument [all …]
|
H A D | cramfs.c | 1 // SPDX-License-Identifier: GPL-2.0+ 44 char *mkmodestr(unsigned long mode, char *str) in mkmodestr() argument 50 switch (mode & S_IFMT) { in mkmodestr() 57 case S_IFREG: str[0] = '-'; break; in mkmodestr() 63 str[9-i] = (mode & mask)?c:'-'; in mkmodestr() 67 if(mode & S_ISUID) str[3] = (mode & S_IXUSR)?'s':'S'; in mkmodestr() 68 if(mode & S_ISGID) str[6] = (mode & S_IXGRP)?'s':'S'; in mkmodestr() 69 if(mode & S_ISVTX) str[9] = (mode & S_IXOTH)?'t':'T'; in mkmodestr() 81 /* U-Boot commands */ 85 * Routine implementing fsload u-boot command. This routine tries to load [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/ |
H A D | 0007-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch | 3 Date: Tue, 10 Oct 2017 14:33:30 -0700 4 Subject: [PATCH 07/22] don't pass AT_SYMLINK_NOFOLLOW flag to faccessat() 6 Avoid using AT_SYMLINK_NOFOLLOW flag. It doesn't seem like the right 9 http://lists.landley.net/pipermail/toybox-landley.net/2014-September/003610.html 14 (currently) all systemd callers of laccess() pass mode as F_OK, so 17 with (flag == 0) and (flag == AT_SYMLINK_NOFOLLOW) is the behaviour 19 (flag == AT_SYMLINK_NOFOLLOW) and fail (flag == 0). 25 Upstream-Status: Inappropriate [musl specific] 27 Signed-off-by: Andre McCurdy <armccurdy@gmail.com> 28 --- [all …]
|
/openbmc/linux/drivers/platform/x86/amd/pmf/ |
H A D | sps.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * Author: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> 46 pr_debug("Static Slider Data - BEGIN\n"); in amd_pmf_dump_sps_defaults() 50 pr_debug("--- Source:%s Mode:%s ---\n", source_as_str(i), slider_as_str(j)); in amd_pmf_dump_sps_defaults() 51 pr_debug("SPL: %u mW\n", data->prop[i][j].spl); in amd_pmf_dump_sps_defaults() 52 pr_debug("SPPT: %u mW\n", data->prop[i][j].sppt); in amd_pmf_dump_sps_defaults() 53 pr_debug("SPPT_ApuOnly: %u mW\n", data->prop[i][j].sppt_apu_only); in amd_pmf_dump_sps_defaults() 54 pr_debug("FPPT: %u mW\n", data->prop[i][j].fppt); in amd_pmf_dump_sps_defaults() 55 pr_debug("STTMinLimit: %u mW\n", data->prop[i][j].stt_min); in amd_pmf_dump_sps_defaults() 57 data->prop[i][j].stt_skin_temp[STT_TEMP_APU]); in amd_pmf_dump_sps_defaults() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | ethernet-phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/ethernet-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andrew Lunn <andrew@lunn.ch> 11 - Florian Fainelli <f.fainelli@gmail.com> 12 - Heiner Kallweit <hkallweit1@gmail.com> 14 # The dt-schema tools will generate a select statement first by using 21 pattern: "^ethernet-phy(@[a-f0-9]+)?$" 24 - $nodename [all …]
|
H A D | snps,dwmac.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alexandre Torgue <alexandre.torgue@foss.st.com> 11 - Giuseppe Cavallaro <peppe.cavallaro@st.com> 12 - Jose Abreu <joabreu@synopsys.com> 23 - snps,dwmac 24 - snps,dwmac-3.40a 25 - snps,dwmac-3.50a 26 - snps,dwmac-3.610 [all …]
|
/openbmc/qemu/hw/char/ |
H A D | stm32l4x5_usart.c | 4 * Copyright (c) 2023 Arnaud Minier <arnaud.minier@telecom-paris.fr> 5 * Copyright (c) 2023 Inès Varhol <ines.varhol@telecom-paris.fr> 7 * SPDX-License-Identifier: GPL-2.0-or-later 10 * See the COPYING file in the top-level directory. 15 * for STM32L4x5 and STM32L4x6 advanced Arm ® -based 32-bit MCUs. 22 #include "chardev/char-fe.h" 23 #include "chardev/char-serial.h" 28 #include "hw/qdev-clock.h" 29 #include "hw/qdev-properties.h" 30 #include "hw/qdev-properties-system.h" [all …]
|
/openbmc/linux/Documentation/admin-guide/mm/ |
H A D | numa_memory_policy.rst | 10 supported platforms with Non-Uniform Memory Access architectures since 2.4.?. 16 (``Documentation/admin-guide/cgroup-v1/cpusets.rst``) 19 programming interface that a NUMA-aware application can take advantage of. When 28 ------------------------ 41 not to overload the initial boot node with boot-time 45 this is an optional, per-task policy. When defined for a 54 [clone() w/o the CLONE_VM flag] and exec*(). This allows a parent task 61 In a multi-threaded task, task policies apply only to the thread 93 mmap()ed with the MAP_ANONYMOUS flag. If a VMA policy is 95 used the MAP_SHARED flag. If the file mapping used the [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_fltr.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2018-2020, Intel Corporation. */ 8 * ice_fltr_free_list - free filter lists helper 20 list_del(&e->list_entry); in ice_fltr_free_list() 26 * ice_fltr_add_entry_to_list - allocate and add filter entry to list 39 return -ENOMEM; in ice_fltr_add_entry_to_list() 41 entry->fltr_info = *info; in ice_fltr_add_entry_to_list() 43 INIT_LIST_HEAD(&entry->list_entry); in ice_fltr_add_entry_to_list() 44 list_add(&entry->list_entry, list); in ice_fltr_add_entry_to_list() 55 * Set VSI with all associated VLANs to given promiscuous mode(s) [all …]
|
/openbmc/u-boot/drivers/bios_emulator/include/x86emu/ |
H A D | regs.h | 5 * Copyright (C) 1991-2004 SciTech Software, Inc. 6 * Copyright (C) David Mosberger-Tang 42 /*---------------------- Macros and type definitions ----------------------*/ 178 /* flag conditions */ 179 #define FB_CF 0x0001 /* CARRY flag */ 180 #define FB_PF 0x0004 /* PARITY flag */ 181 #define FB_AF 0x0010 /* AUX flag */ 182 #define FB_ZF 0x0040 /* ZERO flag */ 183 #define FB_SF 0x0080 /* SIGN flag */ 184 #define FB_TF 0x0100 /* TRAP flag */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | st,stm32-fmc2-ebi-props.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/st,stm32-fmc2-ebi-props.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Christophe Kerello <christophe.kerello@foss.st.com> 11 - Marek Vasut <marex@denx.de> 14 st,fmc2-ebi-cs-transaction-type: 17 0: Asynchronous mode 1 SRAM/FRAM. 18 1: Asynchronous mode 1 PSRAM. 19 2: Asynchronous mode A SRAM/FRAM. [all …]
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | virt.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 * Flag indicating that the kernel was not entered in the same mode on every 14 * architecturally defined flag bit here. 23 * __boot_cpu_mode records what mode the primary CPU was booted in. 24 * A correctly-implemented bootloader must start all CPUs in the same mode: 25 * if it fails to do this, the flag BOOT_CPU_MODE_MISMATCH is set to indicate 26 * that some CPU(s) were booted in a different mode. 28 * This allows the kernel to flag an error when the secondaries have come up. 50 /* Reports the availability of HYP mode */
|
/openbmc/linux/Documentation/devicetree/bindings/spi/ |
H A D | spi-controller.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/spi/spi-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Mark Brown <broonie@kernel.org> 15 controller may be described for use in SPI master mode or in SPI slave mode, 20 pattern: "^spi(@.*|-([0-9]|[1-9][0-9]+))?$" 22 "#address-cells": 25 "#size-cells": 28 cs-gpios: [all …]
|
/openbmc/linux/Documentation/filesystems/ |
H A D | fuse-io.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 - direct-io 10 - cached 11 + write-through 12 + writeback-cache 14 The direct-io mode can be selected with the FOPEN_DIRECT_IO flag in the 17 In direct-io mode the page cache is completely bypassed for reads and writes. 18 No read-ahead takes place. Shared mmap is disabled. 20 In cached mode reads may be satisfied from the page cache, and data may be 21 read-ahead by the kernel to fill the cache. The cache is always kept consistent [all …]
|
/openbmc/linux/Documentation/networking/ |
H A D | af_xdp.rst | 1 .. SPDX-License-Identifier: GPL-2.0 20 XDP programs to redirect frames to a memory buffer in a user-space 59 corresponding two rings, sets the XDP_SHARED_UMEM flag in the bind 64 single-consumer / single-producer (for performance reasons), the new 72 user-space application can place an XSK at an arbitrary place in this 83 when loading the XDP program, XDP_SKB mode is employed that uses SKBs 85 space. A fallback mode that works for any network device. On the other 99 http://vger.kernel.org/lpc_net2018_talks/lpc18_paper_af_xdp_perf-v2.pdf. Do 106 ---- 109 equal-sized frames. An UMEM is associated to a netdev and a specific [all …]
|
/openbmc/linux/Documentation/virt/kvm/ |
H A D | vcpu-requests.rst | 1 .. SPDX-License-Identifier: GPL-2.0 46 ---------- 48 The goal of a VCPU kick is to bring a VCPU thread out of guest mode in 50 a guest mode exit. However, a VCPU thread may not be in guest mode at the 51 time of the kick. Therefore, depending on the mode and state of the VCPU 55 1) Send an IPI. This forces a guest mode exit. 57 mode that wait on waitqueues. Waking them removes the threads from 60 3) Nothing. When the VCPU is not in guest mode and the VCPU thread is not 63 VCPU Mode 64 --------- [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-lantiq-ssc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2011-2015 Daniel Schwierzeck <daniel.schwierzeck@gmail.com> 4 * Copyright (C) 2016 Hauke Mehrtens <hauke@hauke-m.de> 54 #define LTQ_SPI_CLC_SMC_S 16 /* Clock divider for sleep mode */ 56 #define LTQ_SPI_CLC_RMC_S 8 /* Clock divider for normal run mode */ 71 #define LTQ_SPI_CON_EM BIT(24) /* Echo mode */ 88 #define LTQ_SPI_STAT_BSY BIT(13) /* Busy flag */ 89 #define LTQ_SPI_STAT_RUE BIT(12) /* Receive underflow error flag */ 90 #define LTQ_SPI_STAT_TUE BIT(11) /* Transmit underflow error flag */ 91 #define LTQ_SPI_STAT_AE BIT(10) /* Abort error flag */ [all …]
|
/openbmc/linux/drivers/tty/serial/ |
H A D | atmel_serial.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 27 #define ATMEL_US_STTTO BIT(11) /* Start Time-out */ 31 #define ATMEL_US_RETTO BIT(15) /* Rearm Time-out */ 42 #define ATMEL_US_MR 0x04 /* Mode Register */ 43 #define ATMEL_US_USMODE GENMASK(3, 0) /* Mode of the USART */ 62 #define ATMEL_US_SYNC BIT(8) /* Synchronous Mode Select */ 75 #define ATMEL_US_CHMODE GENMASK(15, 14) /* Channel Mode */ 81 #define ATMEL_US_MODE9 BIT(17) /* 9-bit Character Length */ 83 #define ATMEL_US_OVER BIT(19) /* Oversampling Mode */ 99 #define ATMEL_US_TIMEOUT BIT(8) /* Receiver Time-out */ [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | ctxnv40.h | 1 /* SPDX-License-Identifier: MIT */ 12 } mode; member 27 u32 *ctxprog = ctx->ucode; in cp_out() 29 if (ctx->mode != NVKM_GRCTX_PROG) in cp_out() 32 BUG_ON(ctx->ctxprog_len == ctx->ctxprog_max); in cp_out() 33 ctxprog[ctx->ctxprog_len++] = inst; in cp_out() 45 ctx->ctxprog_reg = (reg - 0x00400000) >> 2; in cp_ctx() 47 ctx->ctxvals_base = ctx->ctxvals_pos; in cp_ctx() 48 ctx->ctxvals_pos = ctx->ctxvals_base + length; in cp_ctx() 55 cp_out(ctx, CP_CTX | (length << CP_CTX_COUNT_SHIFT) | ctx->ctxprog_reg); in cp_ctx() [all …]
|
/openbmc/linux/drivers/media/radio/wl128x/ |
H A D | fmdrv.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Common header for all FM driver sub-modules. 18 #include <media/v4l2-ioctl.h> 19 #include <media/v4l2-common.h> 20 #include <media/v4l2-device.h> 21 #include <media/v4l2-ctrls.h> 28 /* Flag info */ 101 u16 flag; /* FM interrupt flag */ member 111 u8 flag; /* RX RDS on/off status */ member 136 /* FM RX mode info */ [all …]
|