Home
last modified time | relevance | path

Searched full:topology (Results 1 – 25 of 975) sorted by relevance

12345678910>>...39

/kernel/linux/linux-4.19/Documentation/
Dcputopology.txt2 How CPU topology info is exported via sysfs
5 Export CPU topology info via sysfs. Items (attributes) are similar
8 1) /sys/devices/system/cpu/cpuX/topology/physical_package_id:
14 2) /sys/devices/system/cpu/cpuX/topology/core_id:
20 3) /sys/devices/system/cpu/cpuX/topology/book_id:
26 4) /sys/devices/system/cpu/cpuX/topology/drawer_id:
32 5) /sys/devices/system/cpu/cpuX/topology/thread_siblings:
37 6) /sys/devices/system/cpu/cpuX/topology/thread_siblings_list:
42 7) /sys/devices/system/cpu/cpuX/topology/core_siblings:
47 8) /sys/devices/system/cpu/cpuX/topology/core_siblings_list:
[all …]
/kernel/linux/linux-5.10/drivers/clk/zynqmp/
Dclkc.c64 * @node: Clock topology nodes
65 * @num_nodes: Number of nodes present in topology
90 u32 topology[CLK_GET_TOPOLOGY_RESP_WORDS]; member
241 * zynqmp_pm_clock_get_topology() - Get the topology of clock for given id
243 * @index: Node index of clock topology
244 * @response: Buffer used for the topology response
246 * This function is used to get topology information for the clock
249 * This API will return 3 node of topology with a single response. To get
281 * @nodes: Clock topology node
374 * __zynqmp_clock_get_topology() - Get topology data of clock from firmware
[all …]
Dclk-zynqmp.h24 * struct clock_topology - Clock topology
25 * @type: Type of topology
26 * @flag: Topology flags
27 * @type_flag: Topology type specific flag
/kernel/linux/linux-5.10/Documentation/admin-guide/media/
Dvimc.rst9 Topology chapter
12 The topology is hardcoded, although you could modify it in vimc-core and
13 recompile the driver to achieve your own topology. This is the default topology:
18 :alt: Diagram of the default media pipeline topology
23 Configuring the topology
27 width, ...). One needs to configure the topology in order to match the
32 of commands fits for the default topology:
47 Subdevices define the behavior of an entity in the topology. Depending on the
/kernel/linux/linux-4.19/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_rm.c53 * @top_ctrl: topology control preference from kernel client
54 * @top: selected topology for the display
59 const struct dpu_rm_topology_def *topology; member
75 * @topology DRM<->HW topology use case
81 enum dpu_rm_topology_name topology; member
125 DRM_DEBUG_KMS("%d rsvp[s%ue%u] topology %d\n", stage, rsvp->seq, in _dpu_rm_print_rsvps()
126 rsvp->enc_id, rsvp->topology); in _dpu_rm_print_rsvps()
150 dpu_rm_get_topology_name(struct msm_display_topology topology) in dpu_rm_get_topology_name() argument
155 if (RM_IS_TOPOLOGY_MATCH(g_top_table[i], topology)) in dpu_rm_get_topology_name()
541 if (!reqs->topology->num_lm) { in _dpu_rm_reserve_lms()
[all …]
Ddpu_rm.h25 * @DPU_RM_TOPOLOGY_NONE: No topology in use currently
121 * topology control properties, and reserve hardware blocks to that
129 * @topology: Pointer to topology info for the display
137 struct msm_display_topology topology,
185 * @val: user's proposed topology control bitmask
191 * dpu_rm_get_topology_name - returns the name of the the given topology
193 * @topology: topology definition
194 * @Return: name of the topology
197 dpu_rm_get_topology_name(struct msm_display_topology topology);
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dtopology.c2 * arch/parisc/kernel/topology.c
6 * based on arch/arm/kernel/topology.c
15 #include <linux/sched/topology.h>
17 #include <asm/topology.h>
20 * cpu topology table
70 /* If the cpu topology has been already set, just return */ in store_cpu_topology()
74 /* create cpu topology mapping */ in store_cpu_topology()
139 /* Set scheduler topology descriptor */ in init_cpu_topology()
/kernel/linux/linux-4.19/arch/parisc/kernel/
Dtopology.c2 * arch/parisc/kernel/topology.c
6 * based on arch/arm/kernel/topology.c
15 #include <linux/sched/topology.h>
17 #include <asm/topology.h>
20 * cpu topology table
70 /* If the cpu topology has been already set, just return */ in store_cpu_topology()
74 /* create cpu topology mapping */ in store_cpu_topology()
139 /* Set scheduler topology descriptor */ in init_cpu_topology()
/kernel/linux/linux-4.19/arch/arm64/kernel/
Dtopology.c2 * arch/arm64/kernel/topology.c
7 * arch/sh/kernel/topology.c
25 #include <linux/sched/topology.h>
32 #include <asm/topology.h>
182 * When topology is provided cpu-map is essentially a root in parse_dt_topology()
196 * Check that all cores are in the topology; the SMP code will in parse_dt_topology()
211 * cpu topology table
271 /* Uniprocessor systems can rely on default topology values */ in store_cpu_topology()
276 * This would be the place to create cpu topology based on MPIDR. in store_cpu_topology()
278 * However, it cannot be trusted to depict the actual topology; some in store_cpu_topology()
[all …]
/kernel/linux/linux-4.19/Documentation/x86/
Dtopology.txt1 x86 Topology
4 This documents and clarifies the main aspects of x86 topology modelling and
8 The architecture-agnostic topology definitions are in
11 definitions. Thus, the way to read up on Linux topology on x86 is to start
15 here to *document* the inner workings of x86 topology.
19 The main aim of the topology facilities is to present adequate interfaces to
30 The topology of a system is described in the units of:
43 Package-related topology information in the kernel:
84 Core-related topology information in the kernel:
102 Thread-related topology information in the kernel:
[all …]
/kernel/linux/linux-5.10/Documentation/x86/
Dtopology.rst4 x86 Topology
7 This documents and clarifies the main aspects of x86 topology modelling and
11 The architecture-agnostic topology definitions are in
14 definitions. Thus, the way to read up on Linux topology on x86 is to start
18 here to *document* the inner workings of x86 topology.
22 The main aim of the topology facilities is to present adequate interfaces to
33 The topology of a system is described in the units of:
48 Package-related topology information in the kernel:
101 Core-related topology information in the kernel:
119 Thread-related topology information in the kernel:
[all …]
/kernel/linux/linux-4.19/arch/s390/numa/
Dmode_emu.c6 * without using real topology information about the physical memory of the
10 * machine topology information. This is done by trying to avoid to separate
30 #include <asm/topology.h>
49 enum toptree_level {CORE, MC, BOOK, DRAWER, NODE, TOPOLOGY}; enumerator
290 * Allocate new topology and create required nodes
297 tree = toptree_alloc(TOPOLOGY, id); in toptree_new()
306 panic("NUMA emulation could not allocate topology"); in toptree_new()
322 * Move cores from physical topology into NUMA target topology
323 * and try to keep as much of the physical topology as possible.
347 * Create a toptree out of the physical topology that we got from the hypervisor
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dcputopology.rst2 How CPU topology info is exported via sysfs
5 Export CPU topology info via sysfs. Items (attributes) are similar
7 /sys/devices/system/cpu/cpuX/topology/:
87 Architecture-neutral, drivers/base/topology.c, exports these attributes.
95 these macros in include/asm-XXX/topology.h::
113 To be consistent on all architectures, include/linux/topology.h
115 not defined by include/asm-XXX/topology.h:
129 Additionally, CPU topology information is provided under
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dtopology.c2 * arch/arm64/kernel/topology.c
7 * arch/sh/kernel/topology.c
23 #include <asm/topology.h>
35 /* Uniprocessor systems can rely on default topology values */ in store_cpu_topology()
40 * This would be the place to create cpu topology based on MPIDR. in store_cpu_topology()
42 * However, it cannot be trusted to depict the actual topology; some in store_cpu_topology()
47 * topology, and cannot be reasonably used as core / package ID. in store_cpu_topology()
51 * need to entirely ignore MPIDR for any topology deduction. in store_cpu_topology()
81 * Propagate the topology information of the processor_topology_node tree to the
114 * a direct relationship with the cache topology in parse_acpi_topology()
/kernel/linux/linux-5.10/drivers/staging/greybus/
Daudio_module.c242 struct gb_audio_topology *topology; in gb_audio_probe() local
308 * FIXME: malloc for topology happens via audio_gb driver in gb_audio_probe()
311 ret = gb_audio_gb_get_topology(gbmodule->mgmt_connection, &topology); in gb_audio_probe()
313 dev_err(dev, "%d:Error while fetching topology\n", ret); in gb_audio_probe()
317 /* process topology data */ in gb_audio_probe()
318 ret = gbaudio_tplg_parse_data(gbmodule, topology); in gb_audio_probe()
320 dev_err(dev, "%d:Error while parsing topology data\n", in gb_audio_probe()
324 gbmodule->topology = topology; in gb_audio_probe()
363 gbmodule->topology = NULL; in gb_audio_probe()
366 kfree(topology); in gb_audio_probe()
[all …]
/kernel/linux/linux-4.19/drivers/staging/greybus/
Daudio_module.c242 struct gb_audio_topology *topology; in gb_audio_probe() local
307 * FIXME: malloc for topology happens via audio_gb driver in gb_audio_probe()
310 ret = gb_audio_gb_get_topology(gbmodule->mgmt_connection, &topology); in gb_audio_probe()
312 dev_err(dev, "%d:Error while fetching topology\n", ret); in gb_audio_probe()
316 /* process topology data */ in gb_audio_probe()
317 ret = gbaudio_tplg_parse_data(gbmodule, topology); in gb_audio_probe()
319 dev_err(dev, "%d:Error while parsing topology data\n", in gb_audio_probe()
323 gbmodule->topology = topology; in gb_audio_probe()
362 gbmodule->topology = NULL; in gb_audio_probe()
365 kfree(topology); in gb_audio_probe()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_rm.c25 * @topology: selected topology for the display
29 struct msm_display_topology topology; member
278 if (!reqs->topology.num_dspp) in _dpu_rm_check_lm_and_get_connected_blks()
308 if (!reqs->topology.num_lm) { in _dpu_rm_reserve_lms()
309 DPU_ERROR("invalid number of lm: %d\n", reqs->topology.num_lm); in _dpu_rm_reserve_lms()
315 lm_count < reqs->topology.num_lm; i++) { in _dpu_rm_reserve_lms()
332 lm_count < reqs->topology.num_lm; j++) { in _dpu_rm_reserve_lms()
354 if (lm_count != reqs->topology.num_lm) { in _dpu_rm_reserve_lms()
363 reqs->topology.num_dspp ? enc_id : 0; in _dpu_rm_reserve_lms()
488 &reqs->topology); in _dpu_rm_make_reservation()
[all …]
/kernel/linux/linux-4.19/drivers/base/
Dtopology.c3 * driver/base/topology.c - Populate sysfs with cpu topology information
15 #include <linux/topology.h>
95 .name = "topology"
117 "base/topology:prepare", topology_add_dev, in topology_sysfs_init()
/kernel/linux/linux-4.19/drivers/acpi/
Dpptt.c3 * pptt.c - parsing of Processor Properties Topology Table (PPTT)
7 * This file implements parsing of the Processor Properties Topology Table
8 * which is optionally used to describe the processor and cache topology.
241 * we verify that its a leaf node in the topology rather than depending
455 * topology_get_acpi_cpu_tag() - Find a unique topology value for a feature
461 * Get a unique value given a cpu, and a topology level, that can be
501 pr_warn_once("No PPTT table found, cpu topology may be inaccurate\n"); in find_acpi_cpu_topology_tag()
505 pr_debug("Topology Setup ACPI cpu %d, level %d ret = %d\n", in find_acpi_cpu_topology_tag()
535 pr_warn_once("No PPTT table found, cpu topology may be inaccurate\n"); in check_acpi_cpu_flag()
572 pr_warn_once("No PPTT table found, cache topology may be inaccurate\n"); in acpi_find_last_cache_level()
[all …]
/kernel/linux/linux-5.10/drivers/base/
Dtopology.c3 * driver/base/topology.c - Populate sysfs with cpu topology information
15 #include <linux/topology.h>
117 .name = "topology"
139 "base/topology:prepare", topology_add_dev, in topology_sysfs_init()
/kernel/linux/linux-5.10/include/drm/
Ddrm_dp_mst_helper.h93 * @mgr: topology manager this port lives under.
96 * in the MST topology.
100 * @topology_kref: refcount for this port's lifetime in the topology,
114 * @topology_ref_history: A history of each topology
162 * point in the MST topology.
198 * @mgr: topology manager for this branch device.
210 * topology, only the DP MST helpers should need to touch this
223 * @topology_ref_history: A history of each topology
564 * This struct represents the toplevel displayport MST topology manager.
622 * while they update the topology.
[all …]
/kernel/linux/linux-5.10/arch/x86/kernel/
Dvsmp_64.c100 unsigned int cfg, topology, node_shift, maxcpus; in vsmp_cap_cpus() local
110 /* Read the vSMP Foundation topology register */ in vsmp_cap_cpus()
116 topology = readl(address); in vsmp_cap_cpus()
117 node_shift = (topology >> 16) & 0x7; in vsmp_cap_cpus()
121 maxcpus = (topology & ((1 << node_shift) - 1)) + 1; in vsmp_cap_cpus()
/kernel/linux/linux-4.19/Documentation/i2c/
Di2c-topology1 I2C topology
81 ML1. If you build a topology with a mux-locked mux being the parent
94 intension with such a topology would in this hypothetical example
151 PL1. If you build a topology with a parent-locked mux being the child
206 This is a useful topology, but it can be bad.
222 This topology is bad if M2 is an auto-closing mux and M1->select
230 This is a good topology.
251 This is probably a bad topology.
267 This kind of topology is generally not suitable and should probably
274 The topology is especially troublesome if M2 is an auto-closing
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c40 /* topology_device_list - Master list of all topology devices */
178 pr_err("No memory to allocate a topology device"); in kfd_create_topology_device()
730 /* Called with write topology lock acquired */
747 /* Called with write topology lock acquired */
760 pr_info("Creating topology SYSFS entries\n"); in kfd_topology_update_sysfs()
769 "topology"); in kfd_topology_update_sysfs()
842 pr_info("Topology: Add APU node [0x%0x:0x%0x]\n", in kfd_debug_print_topology()
846 pr_info("Topology: Add CPU node\n"); in kfd_debug_print_topology()
848 pr_info("Topology: Add dGPU node [0x%0x:0x%0x]\n", in kfd_debug_print_topology()
897 * put them in the sysfs under topology directory for Thunk to get the data.
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/arm/
Dtopology.txt2 ARM topology binding description
27 ARM topology bindings allow one to associate cpu nodes with hierarchical groups
31 The remainder of this document provides the topology bindings for ARM, based
39 A topology description containing phandles to cpu nodes that are not compliant
46 The ARM CPU topology is defined within the cpu-map node, which is a direct
47 child of the cpus node and provides a container where the actual topology
52 Usage: Optional - On ARM SMP systems provide CPUs topology to the OS.
53 ARM uniprocessor systems do not require a topology
58 subnodes describe the CPU topology.
78 The nodes describing the CPU topology (cluster/core/thread) can only
[all …]

12345678910>>...39