/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 …]
|
/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 …]
|
/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 …]
|
/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: 31 '#clock-cells': 34 clock-output-names: [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 by default. To allow shared 19 mmap, the FUSE_DIRECT_IO_ALLOW_MMAP flag may be enabled in the FUSE_INIT reply. 21 In cached mode reads may be satisfied from the page cache, and data may be [all …]
|
/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 …]
|
/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | adi,ad4695.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <Michael.Hennerich@analog.com> 11 - Nuno Sá <nuno.sa@analog.com> 14 A family of similar multi-channel analog to digital converters with SPI bus. 21 $ref: /schemas/spi/spi-peripheral-props.yaml# 26 - adi,ad4695 27 - adi,ad4696 28 - adi,ad4697 [all …]
|
/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 …]
|
/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 */
|
/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> 30 return "Unknown Power Mode"; in slider_v2_as_str() 64 pr_debug("Static Slider Data - BEGIN\n"); in amd_pmf_dump_sps_defaults() 68 pr_debug("--- Source:%s Mode:%s ---\n", amd_pmf_source_as_str(i), in amd_pmf_dump_sps_defaults() 70 pr_debug("SPL: %u mW\n", data->prop[i][j].spl); in amd_pmf_dump_sps_defaults() 71 pr_debug("SPPT: %u mW\n", data->prop[i][j].sppt); in amd_pmf_dump_sps_defaults() 72 pr_debug("SPPT_ApuOnly: %u mW\n", data->prop[i][j].sppt_apu_only); in amd_pmf_dump_sps_defaults() 73 pr_debug("FPPT: %u mW\n", data->prop[i][j].fppt); in amd_pmf_dump_sps_defaults() 74 pr_debug("STTMinLimit: %u mW\n", data->prop[i][j].stt_min); in amd_pmf_dump_sps_defaults() [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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. 19 #include <media/v4l2-ioctl.h> 20 #include <media/v4l2-common.h> 21 #include <media/v4l2-device.h> 22 #include <media/v4l2-ctrls.h> 29 /* Flag info */ 102 u16 flag; /* FM interrupt flag */ member 112 u8 flag; /* RX RDS on/off status */ member 137 /* FM RX mode info */ [all …]
|
H A D | fmdrv_tx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * This sub-module of FM driver implements FM TX functionality. 14 int fm_tx_set_stereo_mono(struct fmdev *fmdev, u16 mode) in fm_tx_set_stereo_mono() argument 19 if (fmdev->tx_data.aud_mode == mode) in fm_tx_set_stereo_mono() 22 fmdbg("stereo mode: %d\n", mode); in fm_tx_set_stereo_mono() 24 /* Set Stereo/Mono mode */ in fm_tx_set_stereo_mono() 25 payload = (1 - mode); in fm_tx_set_stereo_mono() 31 fmdev->tx_data.aud_mode = mode; in fm_tx_set_stereo_mono() 46 /* Scroll mode */ in set_rds_text() 56 static int set_rds_data_mode(struct fmdev *fmdev, u8 mode) in set_rds_data_mode() argument [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-g-tuner.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_G_TUNER - VIDIOC_S_TUNER - Get or set tuner attributes 46 Tuners have two writable properties, the audio mode and the radio 47 frequency. To change the audio mode, applications initialize the 51 different audio mode if the requested mode is invalid or unsupported. 52 Since this is a write-only ioctl, it does not return the actually 53 selected audio mode. 68 .. flat-table:: struct v4l2_tuner 69 :header-rows: 0 70 :stub-columns: 0 [all …]
|
/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 …]
|
/linux/drivers/w1/masters/ |
H A D | omap_hdq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 46 MODULE_PARM_DESC(w1_id, "1-wire id for the slave detection in HDQ mode"); 56 /* mode: 0-HDQ 1-W1 */ 57 int mode; member 64 return __raw_readl(hdq_data->hdq_base + offset); in hdq_reg_in() 69 __raw_writel(val, hdq_data->hdq_base + offset); in hdq_reg_out() 75 u8 new_val = (__raw_readl(hdq_data->hdq_base + offset) & ~mask) in hdq_reg_merge() 77 __raw_writel(new_val, hdq_data->hdq_base + offset); in hdq_reg_merge() 83 * Wait for one or more bits in flag change. 84 * HDQ_FLAG_SET: wait until any bit in the flag is set. [all …]
|
/linux/arch/openrisc/include/asm/ |
H A D | spr_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 10 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> 19 /* Definition of special-purpose registers (SPRs). */ 215 #define SPR_SR_SM 0x00000001 /* Supervisor Mode */ 224 #define SPR_SR_F 0x00000200 /* Condition Flag */ 225 #define SPR_SR_CY 0x00000400 /* Carry flag */ 226 #define SPR_SR_OV 0x00000800 /* Overflow flag */ 227 #define SPR_SR_OVE 0x00001000 /* Overflow flag Exception */ 269 #define SPR_DTLBTR_WBC 0x00000004 /* Write-Back Cache */ 270 #define SPR_DTLBTR_WOM 0x00000008 /* Weakly-Ordered Memory */ [all …]
|
/linux/drivers/net/can/rcar/ |
H A D | rcar_can.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /* Renesas R-Car CAN device driver 33 * mailbox 60 - 63 - Rx FIFO mailboxes 34 * mailbox 56 - 59 - Tx FIFO mailboxes 35 * non-FIFO mailboxes are not used 37 #define RCAR_CAN_N_MBX 64 /* Number of mailboxes in non-FIFO mode */ 38 #define RCAR_CAN_RX_FIFO_MBX 60 /* Mailbox - window to Rx FIFO */ 39 #define RCAR_CAN_TX_FIFO_MBX 56 /* Mailbox - window to Tx FIFO */ 46 u8 dlc; /* Data Length Code - bits [0..3] */ 54 u32 mkr_2_9[8]; /* Mask Registers 2-9 */ [all …]
|
/linux/include/uapi/linux/ |
H A D | userfaultfd.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 176 * with UFFDIO_REGISTER_MODE_MISSING mode will succeed on 191 * it, so userland can later check if the feature flag is 199 * UFFD_FEATURE_SIGBUS feature means no page-fault 208 * hugetlbfs-backed pages. 211 * UFFD_FEATURE_MINOR_HUGETLBFS, but for shmem-backed pages instead. 218 * write-protection mode is supported on both shmem and hugetlbfs. 221 * write-protection mode will always apply to unpopulated pages 223 * & hugetlbfs, so this flag only affects anonymous memory behavior 224 * when userfault write-protection mode is registered. [all …]
|