Home
last modified time | relevance | path

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

12345678910>>...13

/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-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-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-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 …]
Dstack_o2cb.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* -*- mode: c; c-basic-offset: 8; -*-
20 #include "cluster/masklog.h"
21 #include "cluster/nodemanager.h"
22 #include "cluster/heartbeat.h"
23 #include "cluster/tcp.h"
55 static inline int mode_to_o2dlm(int mode) in mode_to_o2dlm() argument
57 BUG_ON(mode > LKM_MAXMODE); in mode_to_o2dlm()
59 return mode; in mode_to_o2dlm()
95 * the right hand side needs to stay unique - never duplicate the
[all …]
Dstackglue.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* -*- mode: c; c-basic-offset: 8; -*-
8 * cluster stacks.
38 * The stack currently in use. If not null, active_stack->sp_count > 0,
50 if (!strcmp(p->sp_name, name)) in ocfs2_stack_lookup()
70 rc = -EBUSY; in ocfs2_stack_driver_request()
79 if (!strcmp(active_stack->sp_name, plugin_name)) in ocfs2_stack_driver_request()
82 rc = -EBUSY; in ocfs2_stack_driver_request()
87 if (!p || !try_module_get(p->sp_owner)) { in ocfs2_stack_driver_request()
88 rc = -ENOENT; in ocfs2_stack_driver_request()
[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-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-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 …]
Datmel-isc-media.h1 /* SPDX-License-Identifier: GPL-2.0-only */
18 * 1:12:0 with a default value of 0 (+/- 0)
20 * To expose this to userspace, added 8 custom controls, in an auto cluster.
23 * The auto cluster switch is the auto white balance control, and it works
29 * AWB == 0: autowhitebalance is off, cluster is in manual mode, user can
32 * pressed, the driver will perform one-time-adjustment, (preferably with color
/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-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-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/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);
Dplatsmp.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
5 // Cloned from linux/arch/arm/mach-vexpress/platsmp.c
17 #include <linux/soc/samsung/exynos-regs-pmu.h>
29 /* XXX exynos_pen_release is cargo culted code - DO NOT COPY XXX */
30 volatile int exynos_pen_release = -1;
70 * having been woken up - this shouldn't happen in platform_do_lowpower()
72 * Just note it happening - when we're woken, we can report in platform_do_lowpower()
138 * exynos_cluster_power_down : power down the specified cluster
139 * @cluster : the cluster to power down
[all …]
/kernel/linux/linux-5.10/drivers/phy/marvell/
Dphy-armada375-usb2.c1 // SPDX-License-Identifier: GPL-2.0+
3 * USB cluster support for Armada 375 platform.
7 * Gregory CLEMENT <gregory.clement@free-electrons.com>
10 * USB3 controller. The USB cluster control register allows to manage
14 #include <dt-bindings/phy/phy.h>
38 return -ENODEV; in armada375_usb_phy_init()
40 reg = readl(cluster_phy->reg); in armada375_usb_phy_init()
41 if (cluster_phy->use_usb3) in armada375_usb_phy_init()
45 writel(reg, cluster_phy->reg); in armada375_usb_phy_init()
69 return ERR_PTR(-ENODEV); in armada375_usb_phy_xlate()
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/knightslanding/
Dcache.json8 … and L1 evictions (automatically exlcudes L2HWP, UC, WC) that were rejected - Multiple repeated re…
16 …the L2Q because of any L2 queue reject condition. There is no concept of at-ret here. It might in…
44 …"PublicDescription": "This event counts the number of load micro-ops retired that miss in L1 Data …
50 "BriefDescription": "Counts the number of load micro-ops retired that miss in L1 D cache"
59 "BriefDescription": "Counts the number of load micro-ops retired that hit in the L2",
69 "BriefDescription": "Counts the number of load micro-ops retired that miss in the L2",
78 "BriefDescription": "Counts the number of load micro-ops retired that caused micro TLB miss"
91 "PublicDescription": "This event counts the number of load micro-ops retired.",
97 "BriefDescription": "Counts all the load micro-ops retired"
100 "PublicDescription": "This event counts the number of store micro-ops retired.",
[all …]
/kernel/linux/linux-5.10/fs/dlm/
Dlockspace.c1 // 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.
43 ls = dlm_find_lockspace_local(ls->ls_local_handle); in dlm_control_store()
45 return -EINVAL; in dlm_control_store()
55 ret = -EINVAL; in dlm_control_store()
63 int rc = kstrtoint(buf, 0, &ls->ls_uevent_result); in dlm_event_store()
67 set_bit(LSFL_UEVENT_WAIT, &ls->ls_flags); in dlm_event_store()
68 wake_up(&ls->ls_uevent_wait); in dlm_event_store()
74 return snprintf(buf, PAGE_SIZE, "%u\n", ls->ls_global_id); in dlm_id_show()
[all …]
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-ctrls.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 #define pr_fmt(fmt) "v4l2-ctrls: " fmt
15 #include <media/v4l2-ctrls.h>
16 #include <media/v4l2-dev.h>
17 #include <media/v4l2-device.h>
18 #include <media/v4l2-event.h>
19 #include <media/v4l2-fwnode.h>
20 #include <media/v4l2-ioctl.h>
23 if (!WARN_ON(!(vdev)) && ((vdev)->dev_debug & V4L2_DEV_DEBUG_CTRL)) \
29 (master->ops && master->ops->op)
[all …]
/kernel/linux/linux-5.10/fs/ocfs2/cluster/
Dnodemanager.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* -*- mode: c; c-basic-offset: 8; -*-
20 * cluster active at a time. Changing this will require trickling
21 * cluster references throughout where nodes are looked up */
39 read_lock(&o2nm_single_cluster->cl_nodes_lock); in o2nm_get_node_by_num()
40 node = o2nm_single_cluster->cl_nodes[node_num]; in o2nm_get_node_by_num()
42 config_item_get(&node->nd_item); in o2nm_get_node_by_num()
43 read_unlock(&o2nm_single_cluster->cl_nodes_lock); in o2nm_get_node_by_num()
51 struct o2nm_cluster *cluster = o2nm_single_cluster; in o2nm_configured_node_map() local
53 BUG_ON(bytes < (sizeof(cluster->cl_nodes_bitmap))); in o2nm_configured_node_map()
[all …]
/kernel/linux/linux-5.10/drivers/cpufreq/
Dvexpress-spc-cpufreq.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2013 - 2019 ARM Ltd.
47 #define ACTUAL_FREQ(cluster, freq) ((cluster == A7_CLUSTER) ? freq << 1 : freq) argument
48 #define VIRT_FREQ(cluster, freq) ((cluster == A7_CLUSTER) ? freq >> 1 : freq) argument
74 static unsigned int find_cluster_maxfreq(int cluster) in find_cluster_maxfreq() argument
82 if (cluster == per_cpu(physical_cluster, j) && in find_cluster_maxfreq()
141 ret = -EIO; in ve_spc_cpufreq_set_rate()
157 /* Recalc freq for old cluster when switching clusters */ in ve_spc_cpufreq_set_rate()
159 /* Switch cluster */ in ve_spc_cpufreq_set_rate()
164 /* Set freq of old cluster if there are cpus left on it */ in ve_spc_cpufreq_set_rate()
[all …]
/kernel/linux/linux-5.10/include/media/drv-intf/
Dcx2341x.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
10 #include <media/v4l2-ctrls.h>
121 /* audio cluster */
133 /* video gop cluster */
139 /* stream type cluster */
148 /* video mute cluster */
154 /* video filter mode cluster */
161 /* video filter type cluster */
167 /* video filter cluster */
173 /* video median cluster */
[all …]

12345678910>>...13