Home
last modified time | relevance | path

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

12345678910>>...31

/linux-6.12.1/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/cluster_id
51 What: /sys/devices/system/cpu/cpuX/topology/book_id
57 What: /sys/devices/system/cpu/cpuX/topology/drawer_id
63 What: /sys/devices/system/cpu/cpuX/topology/core_cpus
68 What: /sys/devices/system/cpu/cpuX/topology/core_cpus_list
74 What: /sys/devices/system/cpu/cpuX/topology/package_cpus
79 What: /sys/devices/system/cpu/cpuX/topology/package_cpus_list
[all …]
/linux-6.12.1/drivers/clk/zynqmp/
Dclkc.c65 * @node: Clock topology nodes
66 * @num_nodes: Number of nodes present in topology
91 u32 topology[CLK_GET_TOPOLOGY_RESP_WORDS]; member
246 * zynqmp_pm_clock_get_topology() - Get the topology of clock for given id
248 * @index: Node index of clock topology
249 * @response: Buffer used for the topology response
251 * This function is used to get topology information for the clock
254 * This API will return 3 node of topology with a single response. To get
306 * @nodes: Clock topology node
402 * __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-6.12.1/Documentation/networking/
Dphy-link-topology.rst5 PHY link topology
11 The PHY link topology representation in the networking stack aims at representing
35 The link topology then looks like this (when an SFP module is inserted) ::
62 The phy_link topology framework aims at providing a way to keep track of every
64 report the topology to userspace, allowing to target individual PHYs in configuration
72 it is then possible to register PHYs to the topology through :
76 Besides registering the PHY to the topology, this call will also assign a unique
79 0 is reserved to indicate the PHY doesn't belong to any topology yet.
81 The PHY can then be removed from the topology through
87 join the netdev's topology.
[all …]
/linux-6.12.1/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
/linux-6.12.1/tools/perf/util/
Dcputopo.c19 "%s/devices/system/cpu/cpu%d/topology/package_cpus_list"
21 "%s/devices/system/cpu/cpu%d/topology/core_siblings_list"
23 "%s/devices/system/cpu/cpu%d/topology/die_cpus_list"
25 "%s/devices/system/cpu/cpu%d/topology/core_cpus_list"
27 "%s/devices/system/cpu/cpu%d/topology/thread_siblings_list"
161 bool cpu_topology__smt_on(const struct cpu_topology *topology) in cpu_topology__smt_on() argument
163 for (u32 i = 0; i < topology->core_cpus_lists; i++) { in cpu_topology__smt_on()
164 const char *cpu_list = topology->core_cpus_list[i]; in cpu_topology__smt_on()
176 bool cpu_topology__core_wide(const struct cpu_topology *topology, in cpu_topology__core_wide() argument
190 for (u32 i = 0; i < topology->core_cpus_lists; i++) { in cpu_topology__core_wide()
[all …]
Dcputopo.h16 * /sys/devices/system/cpu/cpuX/topology/package_cpus_list. From the ABI
23 * /sys/devices/system/cpu/cpuX/topology/die_cpus_list. From the ABI
30 * /sys/devices/system/cpu/cpuX/topology/core_cpus_list. From the ABI
60 * The topology for online CPUs, lazily created.
67 bool cpu_topology__smt_on(const struct cpu_topology *topology);
69 bool cpu_topology__core_wide(const struct cpu_topology *topology,
Dcpumap.h17 * /sys/devices/system/cpu/cpuX/topology/physical_package_id.
20 /** The die id as read from /sys/devices/system/cpu/cpuX/topology/die_id. */
22 /** The cluster id as read from /sys/devices/system/cpu/cpuX/topology/cluster_id */
31 /** The core id as read from /sys/devices/system/cpu/cpuX/topology/core_id. */
81 * /sys/devices/system/cpu/cpuX/topology/physical_package_id for the given CPU.
86 * /sys/devices/system/cpu/cpuX/topology/die_id for the given CPU.
91 * /sys/devices/system/cpu/cpuX/topology/cluster_id for the given CPU
96 * /sys/devices/system/cpu/cpuX/topology/core_id for the given CPU.
/linux-6.12.1/sound/soc/
Dsoc-topology-test.c3 * soc-topology-test.c -- ALSA SoC Topology Kernel Unit Tests
11 #include <sound/soc-topology.h>
27 test_dev = kunit_device_register(test, "sound-soc-topology-test"); in snd_soc_tplg_test_init()
41 * helper struct we use when registering component, as we load topology during
47 int expect; /* what result we expect when loading topology */
61 "Failed topology load"); in d_probe()
81 SND_SOC_DAILINK_DEF(platform, DAILINK_COMP_ARRAY(COMP_PLATFORM("sound-soc-topology-test")));
98 .name = "sound-soc-topology-test",
103 /* ===== TOPOLOGY TEMPLATES ================================================= */
105 // Structural representation of topology which can be generated with:
[all …]
DKconfig42 bool "Build topology core"
47 the topology core, KUnit is frequently tested in virtual
48 environments with minimal drivers enabled but the topology
53 tristate "KUnit tests for SoC topology"
58 If you want to perform tests on ALSA SoC topology support say Y here.
61 test cases against soc-topology.c API. This should be primarily used
/linux-6.12.1/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.
16 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:
53 Additionally, CPU topology information is provided under
/linux-6.12.1/include/sound/
Dsoc-acpi.h139 * when set the topology uses the -ssp<N> suffix, where N is determined based on
151 * when set the topology uses the -dmic<N>ch suffix, where N is determined based on
158 * appended to topology file name
164 * topology file name
170 * related to the hardware, except for the firmware and topology file names.
172 * all firmware/topology related fields.
177 * firmware and topology
182 * @tplg_filename: topology file name. Used when SOF is not enabled.
190 * @sof_tplg_filename: Sound Open Firmware topology file name, if enabled
191 * @tplg_quirk_mask: quirks to select different topology files dynamically
/linux-6.12.1/arch/parisc/kernel/
Dtopology.c2 * arch/parisc/kernel/topology.c
6 * based on arch/arm/kernel/topology.c
15 #include <linux/sched/topology.h>
18 #include <asm/topology.h>
35 /* If the cpu topology has been already set, just return */ in store_cpu_topology()
45 /* create cpu topology mapping */ in store_cpu_topology()
/linux-6.12.1/include/drm/display/
Ddrm_dp_mst_helper.h88 * @mgr: topology manager this port lives under.
91 * in the MST topology.
95 * @topology_kref: refcount for this port's lifetime in the topology,
109 * @topology_ref_history: A history of each topology
152 * point in the MST topology.
188 * @mgr: topology manager for this branch device.
200 * topology, only the DP MST helpers should need to touch this
213 * @topology_ref_history: A history of each topology
539 * protected by the MST helpers ensuring that async commits operating on the given topology
582 * struct drm_dp_mst_topology_state - DisplayPort MST topology atomic state
[all …]
/linux-6.12.1/Documentation/arch/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:
111 Thread-related topology information in the kernel:
140 System topology examples
/linux-6.12.1/sound/soc/sof/
Dsof-audio.h21 #include <sound/sof/topology.h>
145 * struct sof_ipc_tplg_control_ops - IPC-specific ops for topology kcontrol IO
172 * struct sof_ipc_tplg_widget_ops - IPC-specific ops for topology widgets
196 * struct sof_ipc_tplg_ops - IPC-specific topology ops
200 * @control: Pointer to the IPC-specific ops for topology kcontrol IO
213 * @set_up_all_pipelines: Function pointer for setting up all topology pipelines
214 * @tear_down_all_pipelines: Function pointer for tearing down all topology pipelines
215 * @parse_manifest: Function pointer for ipc4 specific parsing of topology manifest
296 * struct sof_topology_token - SOF topology token definition
377 void *priv; /* private data copied from topology */
[all …]
/linux-6.12.1/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-6.12.1/Documentation/driver-api/cxl/
Dmemory-devices.rst21 assemble them into a CXL.mem decode topology. The need for runtime configuration
22 of the CXL.mem topology is also similar to RAID in that different environments
23 with the same hardware configuration may decide to assemble the topology in
26 and disable any striping in the CXL.mem topology.
29 (Linux term for the top of the CXL decode topology). From there, PCIe topology
38 Here is a sample listing of a CXL topology defined by 'cxl_test'. The 'cxl_test'
39 module generates an emulated CXL topology of 2 Host Bridges each with 2 Root
190 Continuing the RAID analogy, disks have both topology metadata and on device
191 metadata that determine RAID set assembly. CXL Port topology and CXL Port link
192 status is metadata for CXL.mem set assembly. The CXL Port topology is enumerated
[all …]
Daccess-coordinates.rst18 The algorithm assumes the configuration is a symmetric topology as that
19 maximizes performance. When asymmetric topology is detected, the calculation
20 is aborted. An asymmetric topology is detected during topology walk where the
74 in the topology. For endpoints directly attached to RPs, this step is skipped.
79 Once the topology walk reaches the RP, whether it's direct attached endpoints
/linux-6.12.1/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_rm.c31 * @topology: selected topology for the display
34 struct msm_display_topology topology; member
266 if (!reqs->topology.num_dspp) in _dpu_rm_check_lm_and_get_connected_blks()
296 if (!reqs->topology.num_lm) { in _dpu_rm_reserve_lms()
297 DPU_ERROR("invalid number of lm: %d\n", reqs->topology.num_lm); in _dpu_rm_reserve_lms()
303 lm_count < reqs->topology.num_lm; i++) { in _dpu_rm_reserve_lms()
319 if (lm_count < reqs->topology.num_lm) { in _dpu_rm_reserve_lms()
341 if (lm_count != reqs->topology.num_lm) { in _dpu_rm_reserve_lms()
350 reqs->topology.num_dspp ? enc_id : 0; in _dpu_rm_reserve_lms()
598 &reqs->topology); in _dpu_rm_make_reservation()
[all …]
/linux-6.12.1/drivers/gpu/drm/display/
Ddrm_dp_mst_topology.c57 * protocol. The helpers contain a topology manager and bandwidth manager.
1351 * Topology refcount overview
1356 * two different kinds of refcounts: topology refcounts, and malloc refcounts.
1358 * Topology refcounts are not exposed to drivers, and are handled internally
1360 * in-memory topology state from being changed in the middle of critical
1363 * of the topology until its topology refcount reaches zero. Additionally,
1371 * drm_dp_mst_branch allocated even after all of its topology references have
1373 * branch's last known state before it was disconnected from the topology.
1385 * Refcount relationships in a topology
1388 * Let's take a look at why the relationship between topology and malloc
[all …]
/linux-6.12.1/Documentation/translations/zh_TW/admin-guide/
Dcputopology.rst15 /sys/devices/system/cpu/cpuX/topology/。請閱讀ABI文件:
18 drivers/base/topology.c是體系結構中性的,它導出了這些屬性。然而,die、cluster、book、
21 對於支持這個特性的體系結構,它必須在include/asm-XXX/topology.h中定義這些宏中的一部分::
41 爲了在所有體系結構上保持一致,include/linux/topology.h提供了上述所有宏的默認定義,以防
42 它們未在include/asm-XXX/topology.h中定義:
/linux-6.12.1/Documentation/translations/zh_CN/admin-guide/
Dcputopology.rst15 /sys/devices/system/cpu/cpuX/topology/。请阅读ABI文件:
18 drivers/base/topology.c是体系结构中性的,它导出了这些属性。然而,die、cluster、book、
21 对于支持这个特性的体系结构,它必须在include/asm-XXX/topology.h中定义这些宏中的一部分::
41 为了在所有体系结构上保持一致,include/linux/topology.h提供了上述所有宏的默认定义,以防
42 它们未在include/asm-XXX/topology.h中定义:
/linux-6.12.1/tools/perf/tests/shell/
Dstat+json_output.sh178 # directory: "/sys/devices/system/cpu/cpu*/topology". For
180 # file in topology directory.
182 # If the platform doesn't expose topology information, values
186 # topology file before proceeding further
188 FILE_LOC="/sys/devices/system/cpu/cpu*/topology/"
219 …tem_wide_no_aggr, per_core, per_die and per_socket since socket id exposed via topology is invalid"
/linux-6.12.1/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()

12345678910>>...31