/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/fs/smb/server/mgmt/ |
H A D | user_session.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 27 unsigned int method; member 35 xa_for_each(&sess->ksmbd_chann_list, index, chann) { in free_channel_list() 36 xa_erase(&sess->ksmbd_chann_list, index); in free_channel_list() 40 xa_destroy(&sess->ksmbd_chann_list); in free_channel_list() 44 struct ksmbd_session_rpc *entry) in __session_rpc_close() argument 48 resp = ksmbd_rpc_close(sess, entry->id); in __session_rpc_close() 50 pr_err("Unable to close RPC pipe %d\n", entry->id); in __session_rpc_close() 53 ksmbd_rpc_id_free(entry->id); in __session_rpc_close() 54 kfree(entry); in __session_rpc_close() [all …]
|
/linux/drivers/platform/x86/dell/ |
H A D | dell-wmi-ddv.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 36 #define DRIVER_NAME "dell-wmi-ddv" 40 #define DELL_DDV_GUID "8A42EA14-4F2A-FD45-6422-0087F7A7E608" 132 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 143 ret = wmidev_evaluate_method(wdev, 0x0, method, &in, &out); in dell_wmi_ddv_query_type() 145 return -EIO; in dell_wmi_ddv_query_type() 149 return -ENODATA; in dell_wmi_ddv_query_type() 151 if (obj->type != type) { in dell_wmi_ddv_query_type() 153 return -ENOMSG; in dell_wmi_ddv_query_type() 161 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/Documentation/arch/powerpc/ |
H A D | booting.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 ------------------ 8 was decided to enforce some strict rules regarding the kernel entry and 9 bootloader <-> kernel interfaces, in order to avoid the degeneration that had 10 become the ppc32 kernel entry point and the way a new platform should be added 14 merged architecture for ppc32 and ppc64, new 32-bit platforms and 32-bit 19 of a device-tree whose format is defined after Open Firmware specification. 21 doesn't require the device-tree to represent every device in the system and only 34 Entry point 37 There is one single entry point to the kernel, at the start [all …]
|
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/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/Documentation/devicetree/bindings/arm/ |
H A D | psci.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 15 processors") can be used by Linux to initiate various CPU-centric power 25 r0 => 32-bit Function ID / return value 26 {r1 - r3} => Parameters 40 - description: 44 - description: 52 - const: arm,psci-0.2 [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 - 2023, 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 - 2023, 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/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | acpi.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 4 * Copyright (C) 2019-2024 Intel Corporation 7 #include "iwl-drv.h" 8 #include "iwl-debug.h" 33 static int iwl_acpi_get_handle(struct device *dev, acpi_string method, in iwl_acpi_get_handle() argument 43 return -ENOENT; in iwl_acpi_get_handle() 46 status = acpi_get_handle(root_handle, method, ret_handle); in iwl_acpi_get_handle() 49 "ACPI: %s method not found\n", method); in iwl_acpi_get_handle() 50 return -ENOENT; in iwl_acpi_get_handle() 55 static void *iwl_acpi_get_object(struct device *dev, acpi_string method) in iwl_acpi_get_object() argument [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 27 #define DRIVER_NAME "msi-wmi-platform" 29 #define MSI_PLATFORM_GUID "ABBC0F6E-8EA1-11d1-00A0-C90629100000" 81 enum msi_wmi_platform_method method; member 121 if (obj->type != ACPI_TYPE_BUFFER) in msi_wmi_platform_parse_buffer() 122 return -ENOMSG; in msi_wmi_platform_parse_buffer() 124 if (obj->buffer.length != length) in msi_wmi_platform_parse_buffer() 125 return -EPROTO; in msi_wmi_platform_parse_buffer() 127 if (!obj->buffer.pointer[0]) in msi_wmi_platform_parse_buffer() 128 return -EIO; in msi_wmi_platform_parse_buffer() [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 …]
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-msm8916-smp.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 enable-method = "qcom,msm8916-smp"; 9 enable-method = "qcom,msm8916-smp"; 12 enable-method = "qcom,msm8916-smp"; 15 enable-method = "qcom,msm8916-smp"; 18 idle-states { 19 /delete-property/ entry-method; 29 compatible = "qcom,idle-state-spc", "arm,idle-state";
|
/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/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/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/arch/arm64/boot/dts/qcom/ |
H A D | sm4450.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,rpmh.h> 7 #include <dt-bindings/clock/qcom,sm4450-camcc.h> 8 #include <dt-bindings/clock/qcom,sm4450-dispcc.h> 9 #include <dt-bindings/clock/qcom,sm4450-gcc.h> 10 #include <dt-bindings/clock/qcom,sm4450-gpucc.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/soc/qcom,rpmh-rsc.h> 16 interrupt-parent = <&intc>; [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/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 …]
|