/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/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 …]
|
H A D | dsmthdat.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: dsmthdat - control method arguments and local variables 38 * PARAMETERS: walk_state - Current walk state object 42 * DESCRIPTION: Initialize the data structures that hold the method's arguments 44 * each - this allows ref_of and de_ref_of to work properly for these 50 * A pseudo-Namespace Node is assigned to each argument and local 61 /* Init the method arguments */ in acpi_ds_method_data_init() 64 ACPI_MOVE_32_TO_32(&walk_state->arguments[i].name, in acpi_ds_method_data_init() 67 walk_state->arguments[i].name.integer |= (i << 24); in acpi_ds_method_data_init() 68 walk_state->arguments[i].descriptor_type = ACPI_DESC_TYPE_NAMED; in acpi_ds_method_data_init() [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/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/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/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/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() 144 * underlying meta-data for an inode, we are free to choose a more 145 * convenient 32-bit number as the inode number. The inode numbering 151 return (block << (bufbits - 5)) | (offset >> 5); in isofs_get_ino() 155 * throughout the directory tree. First there is the directory entry 157 * Then, there is the "." directory entry stored in the directory 161 * 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/acpi/riscv/ |
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/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 …]
|