Home
last modified time | relevance | path

Searched +full:locality +full:- +full:specific (Results 1 – 25 of 74) sorted by relevance

123

/openbmc/linux/Documentation/core-api/
H A Dworkqueue.rst33 thread system-wide. A single MT wq needed to keep around the same
60 * Use per-CPU unified worker pools shared by all wq to provide
83 called worker-pools.
85 The cmwq design differentiates between the user-facing workqueues that
87 which manages worker-pools and processes the queued work items.
89 There are two worker-pools, one for normal work items and the other
91 worker-pools to serve work items queued on unbound workqueues - the
98 things like CPU locality, concurrency limits, priority and more. To
102 When a work item is queued to a workqueue, the target worker-pool is
104 and appended on the shared worklist of the worker-pool. For example,
[all …]
/openbmc/linux/drivers/char/tpm/
H A Dtpm_tis_i2c.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2014-2021 Nuvoton Technology corporation
4 * Copyright (C) 2019-2022 Infineon Technologies AG
14 #include <linux/crc-ccitt.h>
27 /* TIS-compatible register address to avoid clash with TPM_ACCESS (0x00) */
78 * Table 51 "I2C-TPM Register Overview".
80 * For most addresses this can be done by simply stripping off the locality
86 * Locality information is ignored, since this driver assumes exclusive access
87 * to the TPM and always uses locality 0.
115 if (msg->flags & I2C_M_RD) in tpm_tis_i2c_retry_transfer_until_ack()
[all …]
H A Dtpm_vtpm_proxy.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Maintained by: <tpmdd-devel@lists.sourceforge.net>
41 #define STATE_DRIVER_COMMAND BIT(3) /* sending a driver specific command */
62 * vtpm_proxy_fops_read - Read TPM commands on 'server side'
75 struct proxy_dev *proxy_dev = filp->private_data; in vtpm_proxy_fops_read()
79 sig = wait_event_interruptible(proxy_dev->wq, in vtpm_proxy_fops_read()
80 proxy_dev->req_len != 0 || in vtpm_proxy_fops_read()
81 !(proxy_dev->state & STATE_OPENED_FLAG)); in vtpm_proxy_fops_read()
83 return -EINTR; in vtpm_proxy_fops_read()
85 mutex_lock(&proxy_dev->buf_lock); in vtpm_proxy_fops_read()
[all …]
H A Dtpm-chip.c1 // SPDX-License-Identifier: GPL-2.0-only
13 * Maintained by: <tpmdd-devel@lists.sourceforge.net>
44 if (!chip->ops->request_locality) in tpm_request_locality()
47 rc = chip->ops->request_locality(chip, 0); in tpm_request_locality()
51 chip->locality = rc; in tpm_request_locality()
59 if (!chip->ops->relinquish_locality) in tpm_relinquish_locality()
62 rc = chip->ops->relinquish_locality(chip, chip->locality); in tpm_relinquish_locality()
64 dev_err(&chip->dev, "%s: : error %d\n", __func__, rc); in tpm_relinquish_locality()
66 chip->locality = -1; in tpm_relinquish_locality()
71 if (!chip->ops->cmd_ready) in tpm_cmd_ready()
[all …]
/openbmc/linux/drivers/char/tpm/st33zp24/
H A Dst33zp24.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 2009 - 2016 STMicroelectronics
71 tpm_dev->ops->recv(tpm_dev->phy_id, TPM_INT_STATUS, &interrupt, 1); in clear_interruption()
72 tpm_dev->ops->send(tpm_dev->phy_id, TPM_INT_STATUS, &interrupt, 1); in clear_interruption()
81 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); in st33zp24_cancel()
85 tpm_dev->ops->send(tpm_dev->phy_id, TPM_STS, &data, 1); in st33zp24_cancel()
93 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); in st33zp24_status()
96 tpm_dev->ops->recv(tpm_dev->phy_id, TPM_STS, &data, 1); in st33zp24_status()
101 * if the locality is active
105 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); in check_locality()
[all …]
/openbmc/u-boot/include/
H A Dtpm-common.h1 /* SPDX-License-Identifier: GPL-2.0+ */
36 * enum tpm_version - The version of the TPM stack to be used
46 * struct tpm_chip_priv - Information about a TPM, stored by the uclass
68 /* TPM v2 specific data */
75 * struct tpm_ops - low-level TPM operations
84 * This interface is for low-level TPM access. It does not understand the
91 * open() - Request access to locality 0 for the caller
97 * @return 0 ok OK, -ve on error
102 * close() - Close the current session
104 * Releasing the locked locality. Returns 0 on success, -ve 1 on
[all …]
/openbmc/linux/include/uapi/linux/
H A Dvtpm_proxy.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
24 * enum vtpm_proxy_flags - flags for the proxy TPM
32 * struct vtpm_proxy_new_dev - parameter structure for the
50 /* vendor specific commands to set locality */
/openbmc/qemu/hw/tpm/
H A Dtpm_tis_i2c.c2 * tpm_tis_i2c.c - QEMU's TPM TIS I2C Device
10 * See the COPYING file in the top-level directory.
34 /* Is locality valid */
46 uint8_t loc_sel; /* Current locality */
99 return tpm_tis_pre_save(&i2cst->state); in tpm_tis_i2c_pre_save()
106 if (i2cst->offset >= 1) { in tpm_tis_i2c_post_load()
107 tpm_tis_i2c_to_tis_reg(i2cst, i2cst->data[0]); in tpm_tis_i2c_post_load()
114 .name = "tpm-tis-i2c",
140 * Set data value. The i2cst->offset is not updated as called in
145 i2cst->data[1] = data; in tpm_tis_i2c_set_data()
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DCertificateService.v1_0_6.json4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or…
12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
34 "description": "The available OEM-specific actions for this resource.",
35 …"longDescription": "This property shall contain the available OEM-specific actions for this resour…
45 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
60 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
63 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
66 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
69 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
[all …]
H A DCertificate.v1_9_0.json4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or…
12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
34 "description": "The available OEM-specific actions for this resource.",
35 …"longDescription": "This property shall contain the available OEM-specific actions for this resour…
45 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
60 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
63 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
66 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
69 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/
H A DCertificateService.v1_0_6.json4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or…
12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
34 "description": "The available OEM-specific actions for this resource.",
35 …"longDescription": "This property shall contain the available OEM-specific actions for this resour…
45 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
60 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
63 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
66 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
69 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
[all …]
H A DCertificate.v1_9_0.json4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or…
12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
34 "description": "The available OEM-specific actions for this resource.",
35 …"longDescription": "This property shall contain the available OEM-specific actions for this resour…
45 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
60 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
63 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
66 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
69 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
[all …]
/openbmc/linux/drivers/acpi/numa/
H A Dhmat.c1 // SPDX-License-Identifier: GPL-2.0
87 if (initiator->processor_pxm == cpu_pxm) in find_mem_initiator()
97 if (target->memory_pxm == mem_pxm) in find_mem_target()
117 initiator->processor_pxm = cpu_pxm; in alloc_memory_initiator()
118 initiator->has_cpu = node_state(pxm_to_node(cpu_pxm), N_CPU); in alloc_memory_initiator()
119 list_add_tail(&initiator->node, &initiators); in alloc_memory_initiator()
132 target->memory_pxm = mem_pxm; in alloc_memory_target()
133 target->processor_pxm = PXM_INVAL; in alloc_memory_target()
134 target->memregions = (struct resource) { in alloc_memory_target()
137 .end = -1, in alloc_memory_target()
[all …]
/openbmc/linux/include/linux/
H A Dworkqueue.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * workqueue.h --- work queue handling for Linux.
28 #define work_data_bits(work) ((unsigned long *)(&(work)->data))
67 /* data contains off-queue information when !WORK_STRUCT_PWQ */
79 WORK_OFFQ_LEFT = BITS_PER_LONG - WORK_OFFQ_POOL_SHIFT,
90 /* Convenience constants - of type 'unsigned long', not 'enum'! */
92 #define WORK_OFFQ_POOL_NONE ((1ul << WORK_OFFQ_POOL_BITS) - 1)
95 #define WORK_STRUCT_FLAG_MASK ((1ul << WORK_STRUCT_FLAG_BITS) - 1)
115 /* target workqueue and CPU ->timer uses to queue ->work */
124 /* target workqueue ->rcu uses to queue ->work */
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/
H A DCertificateService_v1.xml1 <?xml version="1.0" encoding="UTF-8"?>
2 <!---->
3 <!--################################################################################ -->
4 <!--# Redfish Schema: CertificateService v1.0.6 -->
5 <!--# -->
6 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
7 <!--# available at http://www.dmtf.org/standards/redfish -->
8 <!--# Copyright 2014-2024 DMTF. -->
9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
10 <!--################################################################################ -->
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/
H A DCertificateService_v1.xml1 <?xml version="1.0" encoding="UTF-8"?>
2 <!---->
3 <!--################################################################################ -->
4 <!-
[all...]
/openbmc/qemu/include/hw/acpi/
H A Dtpm.h2 * tpm.h - TPM ACPI definitions
10 * See the COPYING file in the top-level directory.
21 #include "hw/acpi/aml-build.h"
48 /* vendor-specific registers */
228 /* I2C specific interface capabilities */
234 #define TPM_I2C_CAP_LOCALITY_CAP (0x1 << 25) /* 0-5 locality */
/openbmc/linux/kernel/
H A Dwatchdog_perf.c1 // SPDX-License-Identifier: GPL-2.0
9 * Some chunks also taken from the old x86-specific nmi watchdog code, thanks
40 * watchdog. That means the hrtimer should fire 2-3 times before in watchdog_update_hrtimer_threshold()
42 * unhalted CPU cycles, so if Turbo-Mode is enabled the CPU cycles in watchdog_update_hrtimer_threshold()
45 * frequency. Depending on the Turbo-Mode factor this might be fast in watchdog_update_hrtimer_threshold()
64 delta = now - __this_cpu_read(last_timestamp); in watchdog_check_timestamp()
103 event->hw.interrupts = 0; in watchdog_overflow_callback()
119 * Ensure CPU-locality by calling this in per-CPU kthread. in hardlockup_detector_event_create()
124 wd_attr->sample_period = hw_nmi_get_sample_period(watchdog_thresh); in hardlockup_detector_event_create()
139 * watchdog_hardlockup_enable - Enable the local event
[all …]
/openbmc/linux/Documentation/networking/
H A Dscaling.rst1 .. SPDX-License-Identifier: GPL-2.0
13 multi-processor systems.
17 - RSS: Receive Side Scaling
18 - RPS: Receive Packet Steering
19 - RFS: Receive Flow Steering
20 - Accelerated Receive Flow Steering
21 - XPS: Transmit Packet Steering
28 (multi-queue). On reception, a NIC can send different packets to different
33 generally known as “Receive-side Scaling” (RSS). The goal of RSS and
35 Multi-queue distribution can also be used for traffic prioritization, but
[all …]
/openbmc/linux/fs/ext4/
H A Dmballoc.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2003-2006, Cluster File Systems, Inc, info@clusterfs.com
18 #include <linux/backing-dev.h>
24 * - test ext4_ext_search_left() and ext4_ext_search_right()
25 * - search for metadata in few groups
28 * - normalization should take into account whether file is still open
29 * - discard preallocations if no free space left (policy?)
30 * - don't normalize tails
31 * - quota
32 * - reservation for superuser
[all …]
/openbmc/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Darm,gic-v3.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/arm,gic-v3.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Marc Zyngier <maz@kernel.org>
15 Software Generated Interrupts (SGI), and Locality-specific Peripheral
19 - $ref: /schemas/interrupt-controller.yaml#
24 - items:
25 - enum:
26 - qcom,msm8996-gic-v3
[all …]
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_alloc.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (c) 2000-2002,2005 Silicon Graphics, Inc.
38 struct xfs_perag *pag; /* per-ag struct for this agno */
41 xfs_agblock_t agbno; /* allocation group-relative block # */
99 * Allocate an extent anywhere in the specific AG given. If there is no
121 * Locality aware allocation will be attempted in the initial AG, but on failure
122 * non-localised attempts will be made. The AGs are constrained by previous
123 * allocations in the current transaction. Two passes will be made - the first
124 * non-blocking, the second blocking.
130 * Iterate from the AG indicated from args->fsbno through to the end of the
[all …]
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_target.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 /* Copyright (C) 2015-2018 Netronome Systems, Inc. */
26 * 32-bit or 64-bit words. All others are not listed.
40 return -EINVAL; in target_rw()
51 return -EINVAL; in nfp6000_nbi_dma()
62 return -EINVAL; in nfp6000_nbi_stats()
73 return -EINVAL; in nfp6000_nbi_tm()
84 return -EINVAL; in nfp6000_nbi_ppc()
102 * 32-bit or 64-bit words. All others are not listed.
150 return -EINVAL; in nfp6000_mu_common()
[all …]
/openbmc/linux/arch/ia64/kernel/
H A Dacpi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * acpi.c - Architecture-Specific Low-Level ACPI Support
7 * Copyright (C) 2000, 2002-2003 Hewlett-Packard Co.
8 * David Mosberger-Tang <davidm@hpl.hp.com>
10 * Copyright (C) 2000,2001 J.I. Lee <jung-ik.lee@intel.com>
13 * Copyright (C) 2001 Takayoshi Kochi <t-kochi@bq.jp.nec.com>
49 [0 ... ACPI_MAX_PLATFORM_INTERRUPTS - 1] = -1
60 int vector = -1; in acpi_request_vector()
80 /* --------------------------------------------------------------------------
81 Boot-time Table Parsing
[all …]
/openbmc/linux/drivers/usb/musb/
H A Dmusb_core.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 * Copyright (C) 2005-2006 by Texas Instruments
7 * Copyright (C) 2006-2007 Nokia Corporation
32 /* Helper defines for struct musb->hwvers */
51 /* NOTE: otg and peripheral-only state machines start at B_IDLE.
52 * OTG or host-only go to A_IDLE when ID is sensed.
54 #define is_peripheral_active(m) (!(m)->is_host)
55 #define is_host_active(m) ((m)->is_host)
99 { (_musb)->is_host = true; }
101 { (_musb)->is_host = false; }
[all …]

123