Home
last modified time | relevance | path

Searched +full:cluster +full:- +full:mode (Results 1 – 25 of 581) sorted by relevance

12345678910>>...24

/kernel/linux/linux-5.10/drivers/remoteproc/
Dti_k3_r5_remoteproc.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2017-2020 Texas Instruments Incorporated - https://www.ti.com/
6 * Suman Anna <s-anna@ti.com>
9 #include <linux/dma-mapping.h>
18 #include <linux/omap-mailbox.h>
32 /* R5 TI-SCI Processor Configuration Flags */
42 /* R5 TI-SCI Processor Control Flags */
45 /* R5 TI-SCI Processor Status Flags */
52 * struct k3_r5_mem - internal memory structure
71 * struct k3_r5_cluster - K3 R5F Cluster structure
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/s390/cf_z14/
Dextended.json3 "Unit": "CPU-M-CF",
6 "BriefDescription": "L1D Read-only Exclusive Writes",
7 …blicDescription": "A directory write to the Level-1 Data cache where the line was originally in a …
10 "Unit": "CPU-M-CF",
17 "Unit": "CPU-M-CF",
21 …data cache. Incremented by one for every TLB2 miss in progress for the Level-1 Data cache on this …
24 "Unit": "CPU-M-CF",
27 "BriefDescription": "DTLB2 One-Megabyte Page Writes",
28 … into the Combined Region and Segment Table Entry array in the Level-2 TLB for a one-megabyte page…
31 "Unit": "CPU-M-CF",
[all …]
/kernel/linux/linux-4.19/tools/perf/pmu-events/arch/s390/cf_z14/
Dextended.json3 "Unit": "CPU-M-CF",
6 "BriefDescription": "L1D Read-only Exclusive Writes",
7 …L1D_RO_EXCL_WRITES A directory write to the Level-1 Data cache where the line was originally in a …
10 "Unit": "CPU-M-CF",
17 "Unit": "CPU-M-CF",
21 …data cache. Incremented by one for every TLB2 miss in progress for the Level-1 Data cache on this …
24 "Unit": "CPU-M-CF",
27 "BriefDescription": "DTLB2 One-Megabyte Page Writes",
28 … into the Combined Region and Segment Table Entry array in the Level-2 TLB for a one-megabyte page…
31 "Unit": "CPU-M-CF",
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/s390/cf_z15/
Dextended.json3 "Unit": "CPU-M-CF",
6 "BriefDescription": "L1D Read-only Exclusive Writes",
7 …blicDescription": "A directory write to the Level-1 Data cache where the line was originally in a …
10 "Unit": "CPU-M-CF",
17 "Unit": "CPU-M-CF",
21 …data cache. Incremented by one for every TLB2 miss in progress for the Level-1 Data cache on this …
24 "Unit": "CPU-M-CF",
27 "BriefDescription": "DTLB2 One-Megabyte Page Writes",
28 … into the Combined Region and Segment Table Entry array in the Level-2 TLB for a one-megabyte page"
31 "Unit": "CPU-M-CF",
[all …]
/kernel/linux/linux-4.19/drivers/md/
Dmd-cluster.c18 #include "md-bitmap.h"
19 #include "md-cluster.h"
31 void (*bast)(void *arg, int mode); /* blocking AST function pointer*/
33 int mode; member
58 /* If cluster operations (such as adding a disk) must lock the
66 /* We should receive message after node joined cluster and
125 res->sync_locking_done = true; in sync_ast()
126 wake_up(&res->sync_locking); in sync_ast()
129 static int dlm_lock_sync(struct dlm_lock_resource *res, int mode) in dlm_lock_sync() argument
133 ret = dlm_lock(res->ls, mode, &res->lksb, in dlm_lock_sync()
[all …]
/kernel/linux/linux-5.10/drivers/md/
Dmd-cluster.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 #include "md-bitmap.h"
14 #include "md-cluster.h"
26 void (*bast)(void *arg, int mode); /* blocking AST function pointer*/
28 int mode; member
46 /* If cluster operations (such as adding a disk) must lock the
54 /* We should receive message after node joined cluster and
120 res->sync_locking_done = true; in sync_ast()
121 wake_up(&res->sync_locking); in sync_ast()
124 static int dlm_lock_sync(struct dlm_lock_resource *res, int mode) in dlm_lock_sync() argument
[all …]
/kernel/linux/linux-4.19/fs/fat/
Dfat.h1 /* SPDX-License-Identifier: GPL-2.0 */
37 unsigned char errors; /* On error: continue, panic, remount-ro */
45 utf8:1, /* Use of UTF-8 character set (Default) */
61 * MS-DOS file system in-core superblock data
64 unsigned short sec_per_clus; /* sectors/cluster */
66 unsigned int cluster_size; /* cluster size */
73 unsigned long max_cluster; /* maximum cluster number */
74 unsigned long root_cluster; /* first cluster of the root directory */
79 unsigned int prev_free; /* previously allocated cluster number */
80 unsigned int free_clusters; /* -1 if undefined */
[all …]
/kernel/linux/linux-5.10/fs/ocfs2/
Dstackglue.h1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* -*- mode: c; c-basic-offset: 8; -*-
7 * Glue to the underlying cluster stack.
23 /* Needed for plock-related prototypes */
46 * its inter-node behavior. See dlmglue.c for more information.
90 * A cluster connection. Mostly opaque to ocfs2, the connection holds
108 * Each cluster stack implements the stack operations structure. Not used
109 * in the ocfs2 code, the stackglue code translates generic cluster calls
115 * filesystem to the cluster stack. The ->connect() op is passed
124 * ->connect() must not return until it is guaranteed that
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/net/dsa/
Ddsa.txt2 ----------------------------------------------------
8 ---------------
18 - ports : A container for child nodes representing switch ports.
22 - dsa,member : A two element list indicates which DSA cluster, and position
23 within the cluster a switch takes. <0 0> is cluster 0,
24 switch 0. <0 1> is cluster 0, switch 1. <1 0> is cluster 1,
25 switch 0. A switch not part of any cluster (single device
32 - #address-cells : Must be 1
33 - #size-cells : Must be 0
36 - reg : Describes the port address in the switch
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/media/
Dv4l2-controls.rst1 .. SPDX-License-Identifier: GPL-2.0
7 ------------
31 sub-device drivers.
35 ------------------------
48 Basic usage for V4L2 and sub-device drivers
49 -------------------------------------------
53 .. code-block:: c
55 #include <media/v4l2-ctrls.h>
57 1.1) Add the handler to your driver's top-level struct:
61 .. code-block:: c
[all …]
/kernel/linux/linux-4.19/Documentation/media/kapi/
Dv4l2-controls.rst5 ------------
28 for V4L2 drivers and struct v4l2_subdev for sub-device drivers.
32 ------------------------
44 Basic usage for V4L2 and sub-device drivers
45 -------------------------------------------
49 1.1) Add the handler to your driver's top-level struct:
51 .. code-block:: none
63 .. code-block:: none
65 v4l2_ctrl_handler_init(&foo->ctrl_handler, nr_of_controls);
75 .. code-block:: none
[all …]
/kernel/linux/linux-5.10/fs/fat/
Dfat.h1 /* SPDX-License-Identifier: GPL-2.0 */
37 unsigned char errors; /* On error: continue, panic, remount-ro */
45 utf8:1, /* Use of UTF-8 character set (Default) */
61 * MS-DOS file system in-core superblock data
64 unsigned short sec_per_clus; /* sectors/cluster */
66 unsigned int cluster_size; /* cluster size */
73 unsigned long max_cluster; /* maximum cluster number */
74 unsigned long root_cluster; /* first cluster of the root directory */
79 unsigned int prev_free; /* previously allocated cluster number */
80 unsigned int free_clusters; /* -1 if undefined */
[all …]
/kernel/linux/linux-4.19/fs/ocfs2/
Dstackglue.h1 /* -*- mode: c; c-basic-offset: 8; -*-
6 * Glue to the underlying cluster stack.
31 /* Needed for plock-related prototypes */
54 * its inter-node behavior. See dlmglue.c for more information.
98 * A cluster connection. Mostly opaque to ocfs2, the connection holds
116 * Each cluster stack implements the stack operations structure. Not used
117 * in the ocfs2 code, the stackglue code translates generic cluster calls
123 * filesystem to the cluster stack. The ->connect() op is passed
132 * ->connect() must not return until it is guaranteed that
134 * - Node down notifications for the filesystem will be received
[all …]
/kernel/linux/linux-5.10/include/linux/
Ddlm.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
6 ** Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
46 * cluster: cluster name, null terminated, up to DLM_LOCKSPACE_LEN (not
47 * including terminating null). Optional. When cluster is null, it
48 * is not used. When set, dlm_new_lockspace() returns -EBADR if cluster
49 * is not equal to the dlm cluster name.
63 * dlm_new_lockspace() should return -EEXIST if the lockspace exists.
77 * be used or not. 0: will be used, -EXXX will not be used.
78 * -EOPNOTSUPP: the dlm does not have recovery_callbacks enabled.
[all …]
/kernel/linux/linux-4.19/include/linux/
Ddlm.h4 ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
5 ** Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
48 * cluster: cluster name, null terminated, up to DLM_LOCKSPACE_LEN (not
49 * including terminating null). Optional. When cluster is null, it
50 * is not used. When set, dlm_new_lockspace() returns -EBADR if cluster
51 * is not equal to the dlm cluster name.
65 * dlm_new_lockspace() should return -EEXIST if the lockspace exists.
79 * be used or not. 0: will be used, -EXXX will not be used.
80 * -EOPNOTSUPP: the dlm does not have recovery_callbacks enabled.
85 int dlm_new_lockspace(const char *name, const char *cluster,
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/dsa/
Ddsa.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andrew Lunn <andrew@lunn.ch>
11 - Florian Fainelli <f.fainelli@gmail.com>
12 - Vivien Didelot <vivien.didelot@gmail.com>
29 A two element list indicates which DSA cluster, and position within the
30 cluster a switch takes. <0 0> is cluster 0, switch 0. <0 1> is cluster 0,
31 switch 1. <1 0> is cluster 1, switch 0. A switch not part of any cluster
33 $ref: /schemas/types.yaml#/definitions/uint32-array
[all …]
/kernel/linux/linux-4.19/arch/mips/sgi-ip27/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
3 prompt "Node addressing mode"
8 bool "IP27 M-Mode"
11 in either N-Modes which allows for more nodes or M-Mode which allows
13 M-Mode, so choose M-mode here.
16 bool "IP27 N-Mode"
19 in either N-Modes which allows for more nodes or M-Mode which allows
21 M-Mode, so choose M-mode here.
39 nodes in a NUMA cluster. This trades memory for speed.
46 across multiple nodes in a NUMA cluster. This trades memory for
/kernel/linux/linux-5.10/drivers/perf/
Dqcom_l2_pmu.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* Copyright (c) 2015-2017 The Linux Foundation. All rights reserved.
26 #include <soc/qcom/kryo-l2-accessors.h>
121 * The cache is made up of one or more clusters, each cluster has its own PMU.
122 * Each cluster is associated with one or more CPUs.
125 * Events can be envisioned as a 2-dimensional array. Each column represents
143 /* The CPU that is used for collecting events on this cluster */
145 /* All the CPUs associated with this cluster */
166 return *per_cpu_ptr(l2cache_pmu->pmu_cluster, cpu); in get_cluster_pmu()
243 static void cluster_pmu_set_resr(struct cluster_pmu *cluster, in cluster_pmu_set_resr() argument
[all …]
/kernel/linux/linux-4.19/drivers/phy/marvell/
Dphy-armada375-usb2.c2 * USB cluster support for Armada 375 platform.
6 * Gregory CLEMENT <gregory.clement@free-electrons.com>
13 * USB3 controller. The USB cluster control register allows to manage
17 #include <dt-bindings/phy/phy.h>
42 return -ENODEV; in armada375_usb_phy_init()
44 reg = readl(cluster_phy->reg); in armada375_usb_phy_init()
45 if (cluster_phy->use_usb3) in armada375_usb_phy_init()
49 writel(reg, cluster_phy->reg); in armada375_usb_phy_init()
73 return ERR_PTR(-ENODEV); in armada375_usb_phy_xlate()
81 if (WARN_ON((cluster_phy->phy_provided != PHY_NONE) && in armada375_usb_phy_xlate()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/remoteproc/
Dti,k3-r5f-rproc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/remoteproc/ti,k3-r5f-rproc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Suman Anna <s-anna@ti.com>
13 The TI K3 family of SoCs usually have one or more dual-core Arm Cortex R5F
14 processor subsystems/clusters (R5FSS). The dual core cluster can be used
15 either in a LockStep mode providing safety/fault tolerance features or in a
16 Split mode providing two individual compute cores for doubling the compute
20 Each Dual-Core R5F sub-system is represented as a single DTS node
[all …]
/kernel/linux/linux-4.19/drivers/perf/
Dqcom_l2_pmu.c1 /* Copyright (c) 2015-2017 The Linux Foundation. All rights reserved.
171 * The cache is made up of one or more clusters, each cluster has its own PMU.
172 * Each cluster is associated with one or more CPUs.
175 * Events can be envisioned as a 2-dimensional array. Each column represents
193 /* The CPU that is used for collecting events on this cluster */
195 /* All the CPUs associated with this cluster */
216 return *per_cpu_ptr(l2cache_pmu->pmu_cluster, cpu); in get_cluster_pmu()
293 static void cluster_pmu_set_resr(struct cluster_pmu *cluster, in cluster_pmu_set_resr() argument
304 spin_lock_irqsave(&cluster->pmu_lock, flags); in cluster_pmu_set_resr()
312 spin_unlock_irqrestore(&cluster->pmu_lock, flags); in cluster_pmu_set_resr()
[all …]
/kernel/liteos_a/arch/arm/gic/
Dgic_v3.c2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
69 STATIC UINT16 GicTargetList(UINT32 *base, UINT32 cpuMask, UINT64 cluster) in GicTargetList() argument
85 if (cluster != (mpidr & ~0xffUL)) { in GicTargetList()
86 cpu--; in GicTargetList()
100 UINT64 val, cluster; in GicSgi() local
104 cluster = CPU_MAP_GET(cpu) & ~0xffUL; in GicSgi()
106 tList = GicTargetList(&cpu, cpuMask, cluster); in GicSgi()
109 … val = ((MPIDR_AFF_LEVEL(cluster, 3) << 48) | /* 3: Serial number, 48: Register bit offset */ in GicSgi()
110 … (MPIDR_AFF_LEVEL(cluster, 2) << 32) | /* 2: Serial number, 32: Register bit offset */ in GicSgi()
[all …]
/kernel/linux/linux-5.10/fs/exfat/
Dexfat_fs.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (C) 2012-2013 Samsung Electronics Co., Ltd.
68 #define MAX_CHARSET_SIZE 6 /* max size of multi-byte character */
75 #define EXFAT_HINT_NONE -1
79 * helpers for cluster size to byte conversion.
81 #define EXFAT_CLU_TO_B(b, sbi) ((b) << (sbi)->cluster_size_bits)
82 #define EXFAT_B_TO_CLU(b, sbi) ((b) >> (sbi)->cluster_size_bits)
84 (((b - 1) >> (sbi)->cluster_size_bits) + 1)
85 #define EXFAT_CLU_OFFSET(off, sbi) ((off) & ((sbi)->cluster_size - 1))
90 #define EXFAT_BLK_TO_B(b, sb) ((b) << (sb)->s_blocksize_bits)
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-exynos/
Dcommon.h1 /* SPDX-License-Identifier: GPL-2.0 */
12 #include <linux/platform_data/cpuidle-exynos.h>
105 /* CPU BOOT mode flag for Exynos3250 SoC bootloader */
108 * Magic values for bootloader indicating chosen low power mode.
109 * See also Documentation/arm/samsung/bootloader-interface.rst
115 void exynos_set_boot_flag(unsigned int cpu, unsigned int mode);
116 void exynos_clear_boot_flag(unsigned int cpu, unsigned int mode);
132 extern void exynos_cluster_power_down(int cluster);
133 extern void exynos_cluster_power_up(int cluster);
134 extern int exynos_cluster_power_state(int cluster);
/kernel/linux/linux-4.19/arch/arm/mach-exynos/
Dcommon.h1 /* SPDX-License-Identifier: GPL-2.0 */
12 #include <linux/platform_data/cpuidle-exynos.h>
104 /* CPU BOOT mode flag for Exynos3250 SoC bootloader */
107 * Magic values for bootloader indicating chosen low power mode.
108 * See also Documentation/arm/Samsung/Bootloader-interface.txt
113 void exynos_set_boot_flag(unsigned int cpu, unsigned int mode);
114 void exynos_clear_boot_flag(unsigned int cpu, unsigned int mode);
132 extern void exynos_cluster_power_down(int cluster);
133 extern void exynos_cluster_power_up(int cluster);
134 extern int exynos_cluster_power_state(int cluster);

12345678910>>...24