| /linux/Documentation/devicetree/bindings/cpu/ |
| H A D | idle-states.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/cpu/idle-states.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 11 - Anup Patel <anup@brainfault.org> 15 1 - Introduction 18 ARM and RISC-V systems contain HW capable of managing power consumption 19 dynamically, where cores can be put in different low-power states (ranging 22 run-time, can be specified through device tree bindings representing the [all …]
|
| H A D | cpu-capacity.txt | 6 1 - Introduction 15 2 - CPU capacity definition 19 heterogeneity. Such heterogeneity can come from micro-architectural differences 23 capture a first-order approximation of the relative performance of CPUs. 29 * A "single-threaded" or CPU affine benchmark 43 3 - capacity-dmips-mhz 46 capacity-dmips-mhz is an optional cpu node [1] property: u32 value 51 capacity-dmips-mhz property is all-or-nothing: if it is specified for a cpu 54 available, final capacities are calculated by directly using capacity-dmips- 58 4 - Examples [all …]
|
| /linux/Documentation/locking/ |
| H A D | ww-mutex-design.rst | 2 Wound/Wait Deadlock-Proof Mutex Design 5 Please read mutex-design.rst first, as it applies to wait/wound mutexes too. 7 Motivation for WW-Mutexes 8 ------------------------- 37 and the deadlock handling approach is called Wait-Die. The name is based on 41 and dies. Hence Wait-Die. 42 There is also another algorithm called Wound-Wait: 46 transaction. Hence Wound-Wait. 48 However, the Wound-Wait algorithm is typically stated to generate fewer backoffs 49 compared to Wait-Die, but is, on the other hand, associated with more work than [all …]
|
| /linux/drivers/platform/x86/dell/ |
| H A D | dell-wmi-ddv.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 37 #define DRIVER_NAME "dell-wmi-ddv" 41 #define DELL_DDV_GUID "8A42EA14-4F2A-FD45-6422-0087F7A7E608" 161 static int dell_wmi_ddv_query_type(struct wmi_device *wdev, enum dell_ddv_method method, u32 arg, in dell_wmi_ddv_query_type() argument 172 ret = wmidev_evaluate_method(wdev, 0x0, method, &in, &out); in dell_wmi_ddv_query_type() 174 return -EIO; in dell_wmi_ddv_query_type() 178 return -ENODATA; in dell_wmi_ddv_query_type() 180 if (obj->type != type) { in dell_wmi_ddv_query_type() 182 return -ENOMSG; in dell_wmi_ddv_query_type() 190 static int dell_wmi_ddv_query_integer(struct wmi_device *wdev, enum dell_ddv_method method, in dell_wmi_ddv_query_integer() argument [all …]
|
| /linux/drivers/acpi/acpica/ |
| H A D | utpredef.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: utpredef - support functions for predefined names 6 * Copyright (C) 2000 - 2025, Intel Corp. 33 * PARAMETERS: this_name - Entry in the predefined method/name table 35 * RETURN: Pointer to next entry in predefined table. 37 * DESCRIPTION: Get the next entry in the predefine method table. Handles the 38 * cases where a package info entry follows a method name that 49 * Skip next entry in the table if this name returns a Package in acpi_ut_get_next_predefined_method() 50 * (next entry contains the package info) in acpi_ut_get_next_predefined_method() 52 if ((this_name->info.expected_btypes & ACPI_RTYPE_PACKAGE) && in acpi_ut_get_next_predefined_method() [all …]
|
| H A D | nsarguments.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: nsarguments - Validation of args for ACPI predefined methods 6 * Copyright (C) 2000 - 2025, Intel Corp. 22 * PARAMETERS: info - Method execution information block 41 * Also, ignore typecheck if warnings/errors if this method in acpi_ns_check_argument_types() 42 * has already been evaluated at least once -- in order in acpi_ns_check_argument_types() 45 if (!info->predefined || (info->node->flags & ANOBJ_EVALUATED)) { in acpi_ns_check_argument_types() 49 arg_type_list = info->predefined->info.argument_list; in acpi_ns_check_argument_types() 54 for (i = 0; ((i < arg_count) && (i < info->param_count)); i++) { in acpi_ns_check_argument_types() 56 user_arg_type = info->parameters[i]->common.type; in acpi_ns_check_argument_types() [all …]
|
| /linux/arch/arm64/boot/dts/sprd/ |
| H A D | ums9620.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 interrupt-parent = <&gic>; 12 #address-cells = <2>; 13 #size-cells = <2>; 16 #address-cells = <2>; 17 #size-cells = <0>; 19 cpu-map { 50 compatible = "arm,cortex-a55"; 52 enable-method = "psci"; [all …]
|
| /linux/drivers/scsi/isci/ |
| H A D | remote_node_table.c | 7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 83 group_table = remote_node_table->remote_node_groups[group_table_index]; in sci_remote_node_table_get_group_index() 85 for (dword_index = 0; dword_index < remote_node_table->group_array_size; dword_index++) { in sci_remote_node_table_get_group_index() 106 * This method will clear the group index entry in the specified group index 119 BUG_ON(group_index >= (u32)(remote_node_table->group_array_size * 32)); in sci_remote_node_table_clear_group_index() 123 group_table = remote_node_table->remote_node_groups[group_table_index]; in sci_remote_node_table_clear_group_index() 136 * This method will set the group index bit entry in the specified gropu index 149 BUG_ON(group_index >= (u32)(remote_node_table->group_array_size * 32)); in sci_remote_node_table_set_group_index() [all …]
|
| /linux/drivers/platform/x86/ |
| H A D | msi-wmi-platform.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 30 #define DRIVER_NAME "msi-wmi-platform" 32 #define MSI_PLATFORM_GUID "ABBC0F6E-8EA1-11D1-00A0-C90629100000" 89 enum msi_wmi_platform_method method; member 129 if (obj->type != ACPI_TYPE_BUFFER) in msi_wmi_platform_parse_buffer() 130 return -ENOMSG; in msi_wmi_platform_parse_buffer() 132 if (obj->buffer.length != length) in msi_wmi_platform_parse_buffer() 133 return -EPROTO; in msi_wmi_platform_parse_buffer() 135 if (!obj->buffer.pointer[0]) in msi_wmi_platform_parse_buffer() 136 return -EIO; in msi_wmi_platform_parse_buffer() [all …]
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | cfr.c | 1 // SPDX-License-Identifier: BSD-3-Clause-Clear 3 * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved. 13 if (ar->cfr_enabled) in ath11k_cfr_get_dbring() 14 return &ar->cfr.rx_ring; in ath11k_cfr_get_dbring() 21 u8 bw = FIELD_GET(CFIR_DMA_HDR_INFO1_UPLOAD_PKT_BW, hdr->info1); in ath11k_cfr_calculate_tones_from_dma_hdr() 22 u8 preamble = FIELD_GET(CFIR_DMA_HDR_INFO1_PREAMBLE_TYPE, hdr->info1); in ath11k_cfr_calculate_tones_from_dma_hdr() 63 struct ath11k_cfr *cfr = &ar->cfr; in ath11k_cfr_rfs_write() 65 if (!cfr->rfs_cfr_capture) in ath11k_cfr_rfs_write() 68 relay_write(cfr->rfs_cfr_capture, head, head_len); in ath11k_cfr_rfs_write() 69 relay_write(cfr->rfs_cfr_capture, data, data_len); in ath11k_cfr_rfs_write() [all …]
|
| /linux/arch/arm64/boot/dts/arm/ |
| H A D | juno-r2.dts | 9 /dts-v1/; 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/arm/coresight-cti-dt.h> 13 #include "juno-base.dtsi" 14 #include "juno-cs-r1r2.dtsi" 18 compatible = "arm,juno-r2", "arm,juno", "arm,vexpress"; 19 interrupt-parent = <&gic>; 20 #address-cells = <2>; 21 #size-cells = <2>; 28 stdout-path = "serial0:115200n8"; [all …]
|
| H A D | juno.dts | 4 * Copyright (c) 2013-2014 ARM Ltd. 9 /dts-v1/; 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/arm/coresight-cti-dt.h> 13 #include "juno-base.dtsi" 18 interrupt-parent = <&gic>; 19 #address-cells = <2>; 20 #size-cells = <2>; 27 stdout-path = "serial0:115200n8"; 31 compatible = "arm,psci-0.2"; [all …]
|
| H A D | juno-r1.dts | 9 /dts-v1/; 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/arm/coresight-cti-dt.h> 13 #include "juno-base.dtsi" 14 #include "juno-cs-r1r2.dtsi" 18 compatible = "arm,juno-r1", "arm,juno", "arm,vexpress"; 19 interrupt-parent = <&gic>; 20 #address-cells = <2>; 21 #size-cells = <2>; 28 stdout-path = "serial0:115200n8"; [all …]
|
| H A D | fvp-base-revc.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Architecture Envelope Model (AEM) ARMv8-A 11 /dts-v1/; 13 #include <dt-bindings/interrupt-controller/arm-gic.h> 17 #include "rtsm_ve-motherboard.dtsi" 18 #include "rtsm_ve-motherboard-rs2.dtsi" 22 compatible = "arm,fvp-base-revc", "arm,vexpress"; 23 interrupt-parent = <&gic>; 24 #address-cells = <2>; 25 #size-cells = <2>; [all …]
|
| /linux/drivers/acpi/riscv/ |
| H A D | irq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2023-2024, Ventana Micro Systems Inc 39 return (elem0->type > elem1->type) - (elem0->type < elem1->type); in irqchip_cmp_func() 43 * On RISC-V, RINTC structures in MADT should be probed before any other 45 * controller subtypes in MADT of ACPI spec for RISC-V are defined in 46 * the incremental order like RINTC(24)->IMSIC(25)->APLIC(26)->PLIC(27). 54 if (nr == 1 || !ACPI_COMPARE_NAMESEG(ACPI_SIG_MADT, ape->id)) in arch_sort_irqchip_probe() 66 if (gsi_base == ext_intc_element->gsi_base) { in riscv_acpi_update_gsi_handle() 67 ext_intc_element->handle = handle; in riscv_acpi_update_gsi_handle() 80 if (gsi_base == ext_intc_element->gsi_base && in riscv_acpi_update_gsi_range() [all …]
|
| H A D | cpuidle.c | 1 // SPDX-License-Identifier: GPL-2.0-only 28 if (unlikely(!pr || !pr->flags.has_lpi)) in acpi_cpu_init_idle() 29 return -EINVAL; in acpi_cpu_init_idle() 32 return -ENODEV; in acpi_cpu_init_idle() 34 if (pr->power.count <= 1) in acpi_cpu_init_idle() 35 return -ENODEV; in acpi_cpu_init_idle() 37 for (i = 1; i < pr->power.count; i++) { in acpi_cpu_init_idle() 40 lpi = &pr->power.lpi_states[i]; in acpi_cpu_init_idle() 43 * Validate Entry Method as per FFH spec. in acpi_cpu_init_idle() 48 if (((lpi->address & RISCV_FFH_LPI_TYPE_MASK) != RISCV_FFH_LPI_TYPE_SBI) || in acpi_cpu_init_idle() [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-driver-toshiba_acpi | 8 * 0x1 -> FN-Z 9 * 0x2 -> AUTO (also called TIMER) 10 * 0x8 -> ON 11 * 0x10 -> OFF 14 parameters, kernel 3.15 only accepts the first two (FN-Z and 26 valid values range from 0-60. 29 type and the range accepted for type 2 is 1-60. 30 See the entry named "kbd_type" 37 Description: This file shows the absolute position of the built-in 47 * 0 -> OFF [all …]
|
| /linux/drivers/md/dm-vdo/ |
| H A D | wait-queue.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "wait-queue.h" 8 #include <linux/device-mapper.h> 12 #include "status-codes.h" 15 * vdo_waitq_enqueue_waiter() - Add a waiter to the tail end of a waitq. 23 BUG_ON(waiter->next_waiter != NULL); in vdo_waitq_enqueue_waiter() 25 if (waitq->last_waiter == NULL) { in vdo_waitq_enqueue_waiter() 27 * The waitq is empty, so form the initial circular list by self-linking the in vdo_waitq_enqueue_waiter() 30 waiter->next_waiter = waiter; in vdo_waitq_enqueue_waiter() 33 waiter->next_waiter = waitq->last_waiter->next_waiter; in vdo_waitq_enqueue_waiter() [all …]
|
| /linux/drivers/infiniband/core/ |
| H A D | mad.c | 2 * Copyright (c) 2004-2007 Voltaire, Inc. All rights reserved. 18 * - Redistributions of source code must retain the above 22 * - Redistributions in binary form must reproduce the above 40 #include <linux/dma-mapping.h> 60 struct trace_event_raw_ib_mad_send_template *entry) in create_mad_addr_info() argument 62 struct ib_ud_wr *wr = &mad_send_wr->send_wr; in create_mad_addr_info() 65 rdma_query_ah(wr->ah, &attr); in create_mad_addr_info() 68 entry->sl = attr.sl; in create_mad_addr_info() 69 entry->rqpn = wr->remote_qpn; in create_mad_addr_info() 70 entry->rqkey = wr->remote_qkey; in create_mad_addr_info() [all …]
|
| /linux/arch/arm64/kernel/ |
| H A D | cpu_ops.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * CPU kernel entry/exit control 46 if (!strcmp(name, (*ops)->name)) in cpu_get_ops() 68 enable_method = of_get_property(dn, "enable-method", NULL); in cpu_read_enable_method() 71 * The boot CPU may not have an enable method (e.g. in cpu_read_enable_method() 72 * when spin-table is used for secondaries). in cpu_read_enable_method() 76 pr_err("%pOF: missing enable-method property\n", in cpu_read_enable_method() 85 * checking the enable method since for some in cpu_read_enable_method() 90 pr_err("Unsupported ACPI enable-method\n"); in cpu_read_enable_method() 97 * Read a cpu's enable method and record it in cpu_ops. [all …]
|
| /linux/Documentation/filesystems/nfs/ |
| H A D | rpc-cache.rst | 21 - mapping from IP address to client name 22 - mapping from client name and filesystem to export options 23 - mapping from UID to list of GIDs, to work around NFS's limitation 25 - mappings between local UID/GID and remote UID/GID for sites that 27 - mapping from network identify to public key for crypto authentication. 31 - general cache lookup with correct locking 32 - supporting 'NEGATIVE' as well as positive entries 33 - allowing an EXPIRED time on cache items, and removing 34 items after they expire, and are no longer in-use. 35 - making requests to user-space to fill in cache entries [all …]
|
| /linux/fs/isofs/ |
| H A D | isofs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 30 * iso9660 super-block data in memory 63 #define ISOFS_INVALID_MODE ((umode_t) -1) 67 return sb->s_fs_info; in ISOFS_SB() 146 * underlying meta-data for an inode, we are free to choose a more 147 * convenient 32-bit number as the inode number. The inode numbering 153 return (block << (bufbits - 5)) | (offset >> 5); in isofs_get_ino() 157 * throughout the directory tree. First there is the directory entry 159 * Then, there is the "." directory entry stored in the directory 163 * In order for the NFS get_parent() method to work and for the [all …]
|
| /linux/Documentation/arch/powerpc/ |
| H A D | hvcs.rst | 24 3.1 Built-in: 55 major and minor numbers are associated with each vty-server. Directions 68 built into the kernel. If not, the default can be over-ridden by inserting 71 3.1 Built-in: 72 ------------- 77 Device Drivers ---> 78 Character devices ---> 84 ----------- 89 Device Drivers ---> 90 Character devices ---> [all …]
|
| /linux/drivers/scsi/aic94xx/ |
| H A D | aic94xx_sds.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 /* ---------- OCM stuff ---------- */ 34 struct asd_ocm_dir_ent entry[15]; member 65 .type = (OCM_DE_ADDC2C_RES0), /* Entry type */ 70 .type = (OCM_DE_ADDC2C_RES1), /* Entry type */ 75 .type = (OCM_DE_ADDC2C_RES2), /* Entry type */ 80 .type = (OCM_DE_ADDC2C_RES3), /* Entry type */ 85 .type = (OCM_DE_WIN_DRVR), /* Entry type */ 108 * asd_read_ocm_seg - read an on chip memory (OCM) segment 120 if (unlikely(asd_ha->iospace)) in asd_read_ocm_seg() [all …]
|
| /linux/Documentation/firmware-guide/acpi/ |
| H A D | method-tracing.rst | 1 .. SPDX-License-Identifier: GPL-2.0 15 method tracing facility. 20 ACPICA provides method tracing capability. And two functions are 24 ----------- 28 ACPI_DEBUG_PRINT() macro can be reduced at 2 levels - per-component 30 /sys/module/acpi/parameters/debug_layer) and per-type level (known as 33 But when the particular layer/level is applied to the control method 37 logs when the control method evaluation is started, and disable the 38 detailed logging when the control method evaluation is stopped. 52 control method is being evaluated:: [all …]
|