/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-power | 5 Contact: linux-pm@vger.kernel.org 10 Valid values: Represented as string 14 Contact: linux-pm@vger.kernel.org 19 Valid values: Represented as string 23 Contact: linux-pm@vger.kernel.org 28 Valid values: Represented as string 32 Contact: linux-pm@vger.kernel.org 37 Valid values: "Battery", "UPS", "Mains", "USB", "Wireless" 43 Contact: linux-pm@vger.kernel.org 60 Valid values: Represented in microamps. Negative values are [all …]
|
/linux/arch/s390/include/asm/ |
H A D | scsw.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 #include <asm/dma-types.h> 18 * struct cmd_scsw - command-mode subchannel status word 25 * @isic: initial-status interruption control 26 * @alcc: address-limit checking control 27 * @ssi: suppress-suspended interruption 64 * struct tm_scsw - transport-mode subchannel status word 69 * @x: IRB-format control 70 * @q: interrogate-complete 80 * @schxs: subchannel-extended status [all …]
|
/linux/tools/testing/selftests/damon/ |
H A D | sysfs.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # Kselftest frmework requirement - SKIP code is 4. 39 if [ "$to_ensure" = "exist" ] && [ ! -d "$dir" ] 43 elif [ "$to_ensure" = "not_exist" ] && [ -d "$dir" ] 57 if [ ! -f "$file" ] 62 perm=$(stat -c "%a" "$file") 68 elif [ "$to_ensure" = "not_exist" ] && [ -f "$dir" ] 104 ensure_write_succ "$filter_dir/type" "anon" "valid input" 105 ensure_write_succ "$filter_dir/type" "memcg" "valid input" 106 ensure_write_succ "$filter_dir/type" "addr" "valid input" [all …]
|
/linux/drivers/firmware/ |
H A D | ti_sci.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 7 * See: https://software-dl.ti.com/tisci/esd/latest/index.html for details 9 * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/ 53 /* PSI-L requests */ 82 * struct ti_sci_msg_hdr - Generic Message Header for All messages and responses 103 * struct ti_sci_msg_resp_version - Response for a message 125 * struct ti_sci_msg_req_reboot - Reboot the SoC 136 * struct ti_sci_msg_req_set_device_state - Set the desired state of the device 143 * + MSG_FLAG_DEVICE_WAKE_ENABLED - Configure the device to be a wake source. 147 * + MSG_FLAG_DEVICE_RESET_ISO - Enable reset isolation for this device. [all …]
|
/linux/drivers/hid/ |
H A D | hid-uclogic-params.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * HID driver for UC-Logic devices not fully compliant with HID standard 4 * - tablet initialization and parameter retrieval 26 /* Types of pen in-range reporting */ 28 /* Normal reports: zero - out of proximity, one - in proximity */ 30 /* Inverted reports: zero - in proximity, one - out of proximity */ 59 * report is equal to "value". Only valid if "value" is not zero. 85 * Only valid, if "desc_ptr" is not NULL. 90 /* The list of subreports, only valid if "id" is not zero */ 92 /* Type of in-range reporting, only valid if "id" is not zero */ [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-g-ext-ctrls.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_G_EXT_CTRLS - VIDIOC_S_EXT_CTRLS - VIDIOC_TRY_EXT_CTRLS - Get or set the value of several co… 44 :ref:`ctrl-class`) and all controls in the control array must belong 61 relevant for pointer-type controls like strings), then the driver will 62 set ``size`` to a valid value and return an ``ENOSPC`` error code. You 63 should re-allocate the memory to this new size and try again. For the 70 N-dimensional arrays are set and retrieved row-by-row. You cannot set a 79 control values are valid. 86 values are automatically adjusted to a valid value or if an error is 91 closest valid value or return an ``ERANGE`` error code, whatever seems more [all …]
|
/linux/drivers/accel/habanalabs/include/gaudi/ |
H A D | gaudi_async_ids_map_extended.h | 1 /* SPDX-License-Identifier: GPL-2.0 3 * Copyright 2018-2020 HabanaLabs, Ltd. 9 ** This is an auto-generated file ** 19 int valid; member 24 { .fc_id = 0, .cpu_id = 0, .valid = 0, .name = "" }, 25 { .fc_id = 1, .cpu_id = 1, .valid = 0, .name = "" }, 26 { .fc_id = 2, .cpu_id = 2, .valid = 0, .name = "" }, 27 { .fc_id = 3, .cpu_id = 3, .valid = 0, .name = "" }, 28 { .fc_id = 4, .cpu_id = 4, .valid = 0, .name = "" }, 29 { .fc_id = 5, .cpu_id = 5, .valid = 0, .name = "" }, [all …]
|
/linux/drivers/comedi/drivers/ |
H A D | ni_routes.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 6 * COMEDI - Linux Control and Measurement Device Interface 33 * struct ni_route_set - Set of destinations with a common source. 45 * struct ni_device_routes - List of all src->dest sets for a particular device. 46 * @device: Name of board/device (e.g. pxi-6733). 47 * @n_route_sets: Number of route sets that are valid for this device. 48 * @routes: List of route sets that are valid for this device. 57 * struct ni_route_tables - Register values and valid routes for a device. 58 * @valid_routes: Pointer to a all valid route sets for a single device. 62 * Link to the valid src->dest routes and the register values used to assign [all …]
|
H A D | ni_routes.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * COMEDI - Linux Control and Measurement Device Interface 32 * #define B(x) ((x) - NI_NAMES_BASE) 59 if (!strcmp(ni_all_route_values[i]->family, device_family)) { in ni_find_route_values() 60 rv = &ni_all_route_values[i]->register_values[0][0]; in ni_find_route_values() 68 * Find the valid routes for a board. 77 if (!strcmp(ni_device_routes_list[i]->device, board_name)) { in ni_find_valid_routes() 90 * Return: -ENODATA if either was not found; 0 if both were found. 103 /* Second, find the set of routes valid for this device. */ in ni_find_device_routes() 108 tables->route_values = rv; in ni_find_device_routes() [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_core_reloc_kernel.c | 1 // SPDX-License-Identifier: GPL-2.0 20 int valid[10]; member 21 /* we have test_progs[-flavor], so cut flavor part */ 62 if (CORE_READ(&pid, &task->pid) || in test_core_kernel() 63 CORE_READ(&tgid, &task->tgid)) in test_core_kernel() 67 out->valid[0] = (((uint64_t)pid << 32) | tgid) == pid_tgid; in test_core_kernel() 70 out->valid[1] = BPF_CORE_READ(task, in test_core_kernel() 72 out->valid[2] = BPF_CORE_READ(task, in test_core_kernel() 75 out->valid[3] = BPF_CORE_READ(task, in test_core_kernel() 78 out->valid[4] = BPF_CORE_READ(task, in test_core_kernel() [all …]
|
/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | global1_vtu.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (c) 2017 Savoir-faire Linux, Inc. 30 entry->fid = val & MV88E6352_G1_VTU_FID_MASK; in mv88e6xxx_g1_vtu_fid_read() 31 entry->policy = !!(val & MV88E6352_G1_VTU_FID_VID_POLICY); in mv88e6xxx_g1_vtu_fid_read() 38 u16 val = entry->fid & MV88E6352_G1_VTU_FID_MASK; in mv88e6xxx_g1_vtu_fid_write() 40 if (entry->policy) in mv88e6xxx_g1_vtu_fid_write() 93 bool *valid, u16 *vid) in mv88e6xxx_g1_vtu_vid_read() argument 109 if (valid) in mv88e6xxx_g1_vtu_vid_read() 110 *valid = !!(val & MV88E6XXX_G1_VTU_VID_VALID); in mv88e6xxx_g1_vtu_vid_read() 116 bool valid, u16 vid) in mv88e6xxx_g1_vtu_vid_write() argument [all …]
|
/linux/drivers/net/wireless/ath/ath12k/ |
H A D | rx_desc.h | 1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */ 3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved. 241 * Field only valid when for the received frame type the corresponding 245 * Field only valid when for the received frame type the corresponding 257 * field in address search failure cache-only entry should 261 * If set, intra-BSS routing detection is enabled 279 * buffer management for WiFi-to-PPE routing. 282 * by a different subsystem, completely disabling WiFi-to-PPE 309 * Field only valid when AST_based_lookup_valid == 1. [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/tests/ |
H A D | links.c | 1 // SPDX-License-Identifier: GPL-2.0-only 80 .signal = -100, 89 .signal = -84, 98 .signal = -50, 107 .signal = -66, 117 .signal = -61, 128 .signal = -66, 139 .signal = -72, 148 .signal = -72, 157 .signal = -72, [all …]
|
/linux/fs/nfs/ |
H A D | inode.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 * Change to nfs_read_super() to permit NFS mounts to multi-homed hosts. 62 /* Default is to see 64-bit inode numbers */ 72 return nfs_fileid_to_ino_t(fattr->fileid); in nfs_fattr_to_ino_t() 79 return -ERESTARTSYS; in nfs_wait_bit_killable() 85 * nfs_compat_user_ino64 - returns the user-visible inode number 86 * @fileid: 64-bit fileid 88 * This function returns a 32-bit inode number if the boot parameter 103 ino ^= fileid >> (sizeof(fileid)-sizeof(ino)) * 8; in nfs_compat_user_ino64() 119 WARN_ON_ONCE(!list_empty(&NFS_I(inode)->open_files)); in nfs_clear_inode() [all …]
|
/linux/include/uapi/linux/ |
H A D | dpll.h | 1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ 2 /* Do not edit directly, auto-generated from: */ 4 /* YNL-GEN uapi header */ 13 * enum dpll_mode - working modes a dpll can support, differentiates if and how 14 * dpll selects one of its inputs to syntonize with it, valid values for 25 DPLL_MODE_MAX = (__DPLL_MODE_MAX - 1) 29 * enum dpll_lock_status - provides information of dpll device lock status, 30 * valid values for DPLL_A_LOCK_STATUS attribute 31 * @DPLL_LOCK_STATUS_UNLOCKED: dpll was not yet locked to any valid input (or 33 * @DPLL_LOCK_STATUS_LOCKED: dpll is locked to a valid signal, but no holdover [all …]
|
/linux/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/ |
H A D | pipeline.json | 9 "PublicDescription": "This event counts valid cycles of EAGA pipeline.", 12 "BriefDescription": "This event counts valid cycles of EAGA pipeline." 15 "PublicDescription": "This event counts valid cycles of EAGB pipeline.", 18 "BriefDescription": "This event counts valid cycles of EAGB pipeline." 21 "PublicDescription": "This event counts valid cycles of EXA pipeline.", 24 "BriefDescription": "This event counts valid cycles of EXA pipeline." 27 "PublicDescription": "This event counts valid cycles of EXB pipeline.", 30 "BriefDescription": "This event counts valid cycles of EXB pipeline." 33 "PublicDescription": "This event counts valid cycles of FLA pipeline.", 36 "BriefDescription": "This event counts valid cycles of FLA pipeline." [all …]
|
/linux/drivers/accel/habanalabs/include/gaudi2/ |
H A D | gaudi2_async_ids_map_extended.h | 1 /* SPDX-License-Identifier: GPL-2.0 3 * Copyright 2018-2022 HabanaLabs, Ltd. 9 ** This is an auto-generated file ** 25 int valid; member 32 { .fc_id = 0, .cpu_id = 0, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 34 { .fc_id = 1, .cpu_id = 1, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 36 { .fc_id = 2, .cpu_id = 2, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 38 { .fc_id = 3, .cpu_id = 3, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 40 { .fc_id = 4, .cpu_id = 4, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 42 { .fc_id = 5, .cpu_id = 5, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, [all …]
|
/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-is-param.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver 5 * Copyright (C) 2011 - 2013 Samsung Electronics Co., Ltd. 119 /* OTF (On-The-Fly) input interface commands */ 153 /* (only valid at DMA_INPUT_PLANE_2) */ 155 /* (only valid at DMA_INPUT_PLANE_2) */ 157 /* (only valid at DMA_INPUT_PLANE_1 & DMA_INPUT_FORMAT_YUV444) */ 159 /* (only valid at DMA_INPUT_FORMAT_YUV422 & DMA_INPUT_PLANE_1) */ 161 /* (only valid at DMA_INPUT_FORMAT_YUV422 & DMA_INPUT_PLANE_1) */ 163 /* (only valid at DMA_INPUT_FORMAT_YUV422 & DMA_INPUT_PLANE_1) */ [all …]
|
/linux/tools/testing/selftests/tc-testing/tc-tests/actions/ |
H A D | ife.json | 4 "name": "Create valid ife encode action with mark and pass control", 23 …"matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]ED3E.*allow mark.*index 2", 31 "name": "Create valid ife encode action with mark and pipe control", 50 … "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]ED3E.*use mark.*index 2", 58 "name": "Create valid ife encode action with mark and continue control", 77 …"matchPattern": "action order [0-9]*: ife encode action continue.*type 0[xX]ED3E.*allow mark.*inde… 85 "name": "Create valid ife encode action with mark and drop control", 104 …"matchPattern": "action order [0-9]*: ife encode action drop.*type 0[xX]ED3E.*use mark 789.*index … 112 "name": "Create valid ife encode action with mark and reclassify control", 131 …"matchPattern": "action order [0-9]*: ife encode action reclassify.*type 0[xX]ED3E.*use mark 65676… [all …]
|
/linux/rust/kernel/ |
H A D | task.rs | 1 // SPDX-License-Identifier: GPL-2.0 30 // SAFETY: Deref + addr-of below create a temporary `TaskRef` that cannot outlive the 40 /// All instances are valid tasks created by the C portion of the kernel. 43 /// that the allocation remains valid at least until the matching call to `put_task_struct`. 72 /// fn new() -> Self { 106 pub unsafe fn current() -> impl Deref<Target = Task> { in current() 115 fn deref(&self) -> &Self::Target { in current() 124 // SAFETY: If the current thread is still running, the current task is valid. Given in current() 133 pub fn group_leader(&self) -> &Task { in group_leader() 134 // SAFETY: By the type invariant, we know that `self.0` is a valid task. Valid tasks always in group_leader() [all …]
|
H A D | rbtree.rs | 1 // SPDX-License-Identifier: GPL-2.0 3 //! Red-black trees. 7 //! Reference: <https://docs.kernel.org/core-api/rbtree.html> 18 /// A red-black tree with owned nodes. 20 /// It is backed by the kernel C red-black trees. 104 /// fn insert_test(tree: &SpinLock<RBTree<u32, u32>>) -> Result { 105 /// // Pre-allocate node. This may fail (as it allocates memory). 149 /// // Create a preallocated reservation that we can re-use later. 170 /// Non-null parent/children pointers stored in instances of the `rb_node` C struct are always 171 /// valid, and pointing to a field of our internal representation of a node. [all …]
|
/linux/drivers/net/ethernet/apm/xgene/ |
H A D | xgene_enet_cle.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Applied Micro X-Gene SoC Ethernet Classifier structures 27 if (pdata->enet_id == XGENE_ENET1) { in xgene_cle_idt_to_hw() 41 buf[0] = SET_VAL(CLE_DROP, dbptr->drop); in xgene_cle_dbptr_to_hw() 42 buf[4] = SET_VAL(CLE_FPSEL, dbptr->fpsel) | in xgene_cle_dbptr_to_hw() 43 SET_VAL(CLE_NFPSEL, dbptr->nxtfpsel) | in xgene_cle_dbptr_to_hw() 44 SET_VAL(CLE_DSTQIDL, dbptr->dstqid); in xgene_cle_dbptr_to_hw() 46 buf[5] = SET_VAL(CLE_DSTQIDH, (u32)dbptr->dstqid >> CLE_DSTQIDL_LEN) | in xgene_cle_dbptr_to_hw() 47 SET_VAL(CLE_PRIORITY, dbptr->cle_priority); in xgene_cle_dbptr_to_hw() 55 buf[j++] = SET_VAL(CLE_TYPE, kn->node_type); in xgene_cle_kn_to_hw() [all …]
|
/linux/tools/perf/pmu-events/arch/x86/amdzen2/ |
H A D | other.json | 5 "BriefDescription": "Cycles where the Micro-Op Queue is empty." 28 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… 34 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… 40 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… 46 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… 52 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… 58 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… 64 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… 70 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… 76 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… [all …]
|
/linux/drivers/irqchip/ |
H A D | irq-versatile-fpga.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Support for Versatile FPGA-based IRQ controllers 35 * struct fpga_irq_data - irq data container for the FPGA IRQ controller 38 * @valid: mask for valid IRQs on this controller 43 u32 valid; member 55 u32 mask = 1 << d->hwirq; in fpga_irq_mask() 57 writel(mask, f->base + IRQ_ENABLE_CLEAR); in fpga_irq_mask() 63 u32 mask = 1 << d->hwirq; in fpga_irq_unmask() 65 writel(mask, f->base + IRQ_ENABLE_SET); in fpga_irq_unmask() 72 seq_printf(p, irq_domain_get_of_node(f->domain)->name); in fpga_irq_print_chip() [all …]
|
/linux/Documentation/devicetree/bindings/leds/ |
H A D | maxim,max77693.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 16 There are two LED outputs available - FLED1 and FLED2. Each of them can 26 const: maxim,max77693-led 28 maxim,boost-mode: 34 See LEDS_BOOST_* in include/dt-bindings/leds/common.h. 38 maxim,boost-mvout: 41 Valid values: 3300 - 5500, step by 25 (rounded down) [all …]
|