Home
last modified time | relevance | path

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

12345678910>>...24

/Linux-v5.15/Documentation/ABI/stable/
Dsysfs-devices-system-cpu27 What: /sys/devices/system/cpu/cpuX/topology/physical_package_id
33 What: /sys/devices/system/cpu/cpuX/topology/die_id
39 What: /sys/devices/system/cpu/cpuX/topology/core_id
45 What: /sys/devices/system/cpu/cpuX/topology/book_id
51 What: /sys/devices/system/cpu/cpuX/topology/drawer_id
57 What: /sys/devices/system/cpu/cpuX/topology/core_cpus
62 What: /sys/devices/system/cpu/cpuX/topology/core_cpus_list
68 What: /sys/devices/system/cpu/cpuX/topology/package_cpus
73 What: /sys/devices/system/cpu/cpuX/topology/package_cpus_list
79 What: /sys/devices/system/cpu/cpuX/topology/die_cpus
[all …]
/Linux-v5.15/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
301 * @nodes: Clock topology node
397 * __zynqmp_clock_get_topology() - Get topology data of clock from firmware
[all …]
Dclk-zynqmp.h55 * struct clock_topology - Clock topology
56 * @type: Type of topology
57 * @flag: Topology flags
58 * @type_flag: Topology type specific flag
59 * @custom_type_flag: Topology type specific custom flag
/Linux-v5.15/Documentation/admin-guide/media/
Dvimc.rst9 Topology section in The Virtual Media Controller Driver (vimc)
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
/Linux-v5.15/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()
/Linux-v5.15/sound/soc/
Dsoc-topology-test.c3 * soc-topology-test.c -- ALSA SoC Topology Kernel Unit Tests
11 #include <sound/soc-topology.h>
25 .name = "sound-soc-topology-test-driver",
30 test_dev = root_device_register("sound-soc-topology-test"); in snd_soc_tplg_test_init()
47 * helper struct we use when registering component, as we load topology during
53 int expect; /* what result we expect when loading topology */
67 "Failed topology load"); in d_probe()
87 SND_SOC_DAILINK_DEF(platform, DAILINK_COMP_ARRAY(COMP_PLATFORM("sound-soc-topology-test")));
104 .name = "sound-soc-topology-test",
110 /* ===== TOPOLOGY TEMPLATES ================================================= */
[all …]
/Linux-v5.15/Documentation/admin-guide/
Dcputopology.rst2 How CPU topology info is exported via sysfs
5 CPU topology info is exported via sysfs. Items (attributes) are similar
7 /sys/devices/system/cpu/cpuX/topology/. Please refer to the ABI file:
10 Architecture-neutral, drivers/base/topology.c, exports these attributes.
18 these macros in include/asm-XXX/topology.h::
36 To be consistent on all architectures, include/linux/topology.h
38 not defined by include/asm-XXX/topology.h:
52 Additionally, CPU topology information is provided under
/Linux-v5.15/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 …]
/Linux-v5.15/arch/x86/kernel/cpu/
Dtopology.c3 * Check for extended topology enumeration cpuid leaf 0xb and if it
4 * exists, use it for populating initial_apicid and cpu topology
18 /* extended topology sub-leaf types */
33 * Check if given CPUID extended topology "leaf" is implemented
47 * Return best CPUID Extended Topology Leaf supported
88 * Check for extended topology enumeration cpuid leaf, and if it
89 * exists, use it for populating initial_apicid and cpu topology
/Linux-v5.15/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 …]
/Linux-v5.15/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()
/Linux-v5.15/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_rm.c26 * @topology: selected topology for the display
30 struct msm_display_topology topology; member
308 if (!reqs->topology.num_dspp) in _dpu_rm_check_lm_and_get_connected_blks()
338 if (!reqs->topology.num_lm) { in _dpu_rm_reserve_lms()
339 DPU_ERROR("invalid number of lm: %d\n", reqs->topology.num_lm); in _dpu_rm_reserve_lms()
345 lm_count < reqs->topology.num_lm; i++) { in _dpu_rm_reserve_lms()
362 lm_count < reqs->topology.num_lm; j++) { in _dpu_rm_reserve_lms()
384 if (lm_count != reqs->topology.num_lm) { in _dpu_rm_reserve_lms()
393 reqs->topology.num_dspp ? enc_id : 0; in _dpu_rm_reserve_lms()
518 &reqs->topology); in _dpu_rm_make_reservation()
[all …]
Ddpu_rm.h59 * topology control properties, and reserve hardware blocks to that
66 * @topology: Pointer to topology info for the display
73 struct msm_display_topology topology);
/Linux-v5.15/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.
630 * while they update the topology.
[all …]
/Linux-v5.15/drivers/base/
Dtopology.c3 * driver/base/topology.c - Populate sysfs with cpu topology information
15 #include <linux/topology.h>
128 .name = "topology"
150 "base/topology:prepare", topology_add_dev, in topology_sysfs_init()
/Linux-v5.15/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()
/Linux-v5.15/sound/soc/qcom/qdsp6/
Dq6adm.c41 int topology; member
297 int port_id, int topology, in q6adm_find_matching_copp() argument
309 if ((port_id == c->afe_port) && (topology == c->topology) && in q6adm_find_matching_copp()
322 int port_id, int path, int topology, in q6adm_device_open() argument
349 open->topology_id = topology; in q6adm_device_open()
375 * @topology: adm topology id
384 int channel_mode, int topology, int perf_mode, in q6adm_open() argument
397 copp = q6adm_find_matching_copp(adm, port_id, topology, perf_mode, in q6adm_open()
415 copp->topology = topology; in q6adm_open()
422 ret = q6adm_device_open(adm, copp, port_id, path, topology, in q6adm_open()
/Linux-v5.15/Documentation/devicetree/bindings/cpu/
Dcpu-topology.txt2 CPU topology binding description
25 CPU topology bindings allow one to associate cpu nodes with hierarchical groups
29 Currently, only ARM/RISC-V intend to use this cpu topology binding but it may be
35 A topology description containing phandles to cpu nodes that are not compliant
42 The ARM/RISC-V CPU topology is defined within the cpu-map node, which is a direct
43 child of the cpus node and provides a container where the actual topology
48 Usage: Optional - On SMP systems provide CPUs topology to the OS.
49 Uniprocessor systems do not require a topology
54 subnodes describe the CPU topology.
76 The nodes describing the CPU topology (socket/cluster/core/thread) can
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c43 /* topology_device_list - Master list of all topology devices */
199 pr_err("No memory to allocate a topology device"); in kfd_create_topology_device()
778 /* Called with write topology lock acquired */
795 /* Called with write topology lock acquired */
816 "topology"); in kfd_topology_update_sysfs()
889 pr_info("Topology: Add APU node [0x%0x:0x%0x]\n", in kfd_debug_print_topology()
893 pr_info("Topology: Add CPU node\n"); in kfd_debug_print_topology()
895 pr_info("Topology: Add dGPU node [0x%0x:0x%0x]\n", in kfd_debug_print_topology()
944 * put them in the sysfs under topology directory for Thunk to get the data.
954 * defined in CRAT but is necessary for KFD topology
[all …]
/Linux-v5.15/Documentation/i2c/
Di2c-topology.rst93 ML1. If you build a topology with a mux-locked mux being the parent
106 intension with such a topology would in this hypothetical example
168 PL1. If you build a topology with a parent-locked mux being the child
226 This is a useful topology, but it can be bad::
242 This topology is bad if M2 is an auto-closing mux and M1->select
250 This is a good topology::
271 This is probably a bad topology::
287 This kind of topology is generally not suitable and should probably
294 The topology is especially troublesome if M2 is an auto-closing
299 auto-closing, the topology is fine.
[all …]
/Linux-v5.15/drivers/gpu/drm/
Ddrm_dp_mst_topology.c55 * protocol. The helpers contain a topology manager and bandwidth manager.
1400 * Topology refcount overview
1405 * two different kinds of refcounts: topology refcounts, and malloc refcounts.
1407 * Topology refcounts are not exposed to drivers, and are handled internally
1409 * in-memory topology state from being changed in the middle of critical
1412 * of the topology until its topology refcount reaches zero. Additionally,
1420 * drm_dp_mst_branch allocated even after all of its topology references have
1422 * branch's last known state before it was disconnected from the topology.
1434 * Refcount relationships in a topology
1437 * Let's take a look at why the relationship between topology and malloc
[all …]
/Linux-v5.15/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.
245 * we verify that its a leaf node in the topology rather than depending
493 pr_warn_once("No PPTT table found, CPU and cache topology may be inaccurate\n"); in acpi_pptt_warn_missing()
497 * topology_get_acpi_cpu_tag() - Find a unique topology value for a feature
503 * Get a unique value given a CPU, and a topology level, that can be
547 pr_debug("Topology Setup ACPI CPU %d, level %d ret = %d\n", in find_acpi_cpu_topology_tag()
625 * cache_setup_acpi() - Override CPU cache topology with data from the PPTT
671 * find_acpi_cpu_topology() - Determine a unique topology value for a given CPU
[all …]
/Linux-v5.15/arch/sh/kernel/
Dtopology.c3 * arch/sh/kernel/topology.c
11 #include <linux/topology.h>
25 * simple until we have a method for determining topology.. in cpu_coregroup_map()
/Linux-v5.15/kernel/sched/
Dtopology.c3 * Scheduler topology setup/handling methods
765 * NUMA topology (first read the regular topology blurb below)
775 * which represents a 4 node ring topology like:
787 * For the above NUMA topology that gives 3 levels:
798 * As can be seen; things don't nicely line up as with the regular topology.
801 * the topology.
828 * Another 'interesting' topology is:
844 * This topology is asymmetric, nodes 1,2 are fully connected, but nodes 0,3
969 * As we are referencing sgc across different topology level, we need in find_descended_sibling()
1021 * Smallest diameter=3 topology is: in build_overlap_sched_groups()
[all …]
/Linux-v5.15/tools/testing/selftests/net/forwarding/
DREADME47 o Where possible, reuse an existing topology for different tests instead
48 of recreating the same topology.
50 an ASCII art showing the topology.

12345678910>>...24