Home
last modified time | relevance | path

Searched refs:topology (Results 1 – 25 of 198) sorted by relevance

12345678

/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/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/tools/perf/util/
Dcputopo.c161 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()
191 const char *core_cpu_list = topology->core_cpus_list[i]; in cpu_topology__core_wide()
244 static const struct cpu_topology *topology; in online_topology() local
246 if (!topology) { in online_topology()
247 topology = cpu_topology__new(); in online_topology()
248 if (!topology) { in online_topology()
[all …]
Dexpr.c419 const struct cpu_topology *topology; in expr__get_literal() local
455 topology = online_topology(); in expr__get_literal()
456 result = topology->package_cpus_lists; in expr__get_literal()
460 topology = online_topology(); in expr__get_literal()
461 result = topology->die_cpus_lists; in expr__get_literal()
465 topology = online_topology(); in expr__get_literal()
466 result = topology->core_cpus_lists; in expr__get_literal()
Dcputopo.h67 bool cpu_topology__smt_on(const struct cpu_topology *topology);
69 bool cpu_topology__core_wide(const struct cpu_topology *topology,
/linux-6.12.1/drivers/clk/zynqmp/
Dclkc.c91 u32 topology[CLK_GET_TOPOLOGY_RESP_WORDS]; member
410 static int __zynqmp_clock_get_topology(struct clock_topology *topology, in __zynqmp_clock_get_topology() argument
417 for (i = 0; i < ARRAY_SIZE(response->topology); i++) { in __zynqmp_clock_get_topology()
418 type = FIELD_GET(CLK_TOPOLOGY_TYPE, response->topology[i]); in __zynqmp_clock_get_topology()
421 topology[*nnodes].type = type; in __zynqmp_clock_get_topology()
422 topology[*nnodes].flag = FIELD_GET(CLK_TOPOLOGY_FLAGS, in __zynqmp_clock_get_topology()
423 response->topology[i]); in __zynqmp_clock_get_topology()
424 topology[*nnodes].type_flag = in __zynqmp_clock_get_topology()
426 response->topology[i]); in __zynqmp_clock_get_topology()
427 topology[*nnodes].custom_type_flag = in __zynqmp_clock_get_topology()
[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/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/arch/x86/kernel/
Dvsmp_64.c100 unsigned int cfg, topology, node_shift, maxcpus; in vsmp_cap_cpus() local
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-6.12.1/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_rm.c34 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()
604 ret = _dpu_rm_reserve_dsc(rm, global_state, enc, &reqs->topology); in _dpu_rm_make_reservation()
[all …]
/linux-6.12.1/Documentation/admin-guide/media/
Dvimc.rst12 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/drivers/staging/greybus/
Daudio_module.c242 struct gb_audio_topology *topology; in gb_audio_probe() local
311 ret = gb_audio_gb_get_topology(gbmodule->mgmt_connection, &topology); in gb_audio_probe()
318 ret = gbaudio_tplg_parse_data(gbmodule, topology); 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()
400 kfree(gbmodule->topology); in gb_audio_disconnect()
401 gbmodule->topology = NULL; in gb_audio_disconnect()
/linux-6.12.1/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()
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-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/Documentation/arch/x86/
Dtopology.rst7 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/
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/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-6.12.1/drivers/media/test-drivers/vimc/
DKconfig16 a media node that exposes a complex media topology. The topology
/linux-6.12.1/Documentation/i2c/
Di2c-topology.rst93 If you build a topology with a mux-locked mux being the parent
107 intent with such a topology would in this hypothetical example
174 If you build a topology with a parent-locked mux being the child
196 This is a useful topology, but it can be bad::
212 This topology is bad if M2 is an auto-closing mux and M1->select
220 This is a good topology::
243 This is probably a bad topology::
259 This kind of topology is generally not suitable and should probably
266 The topology is especially troublesome if M2 is an auto-closing
271 auto-closing, the topology is fine.
[all …]
/linux-6.12.1/sound/soc/sof/
DMakefile3 snd-sof-y := core.o ops.o loader.o ipc.o pcm.o pm.o debug.o topology.o\
9 snd-sof-y += ipc3.o ipc3-loader.o ipc3-topology.o ipc3-control.o ipc3-pcm.o\
13 snd-sof-y += ipc4.o ipc4-loader.o ipc4-topology.o ipc4-control.o ipc4-pcm.o\
/linux-6.12.1/drivers/parport/
Ddaisy.c38 } *topology = NULL; variable
60 for (p = &topology; *p && (*p)->devnum<devnum; p = &(*p)->next) in add_dev()
207 p = &topology; in parport_daisy_fini()
221 if (!topology) numdevs = 0; in parport_daisy_fini()
242 struct daisydev *p = topology; in parport_open()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_psp.c1418 struct psp_xgmi_topology_info *topology, in psp_xgmi_get_topology_info() argument
1427 if (!topology || topology->num_nodes > TA_XGMI__MAX_CONNECTED_NODES) in psp_xgmi_get_topology_info()
1440 topology_info_input->nodes[i].node_id = topology->nodes[i].node_id; in psp_xgmi_get_topology_info()
1441 topology_info_input->nodes[i].num_hops = topology->nodes[i].num_hops; in psp_xgmi_get_topology_info()
1442 topology_info_input->nodes[i].is_sharing_enabled = topology->nodes[i].is_sharing_enabled; in psp_xgmi_get_topology_info()
1443 topology_info_input->nodes[i].sdma_engine = topology->nodes[i].sdma_engine; in psp_xgmi_get_topology_info()
1453 topology->num_nodes = xgmi_cmd->xgmi_out_message.get_topology_info.num_nodes; in psp_xgmi_get_topology_info()
1454 for (i = 0; i < topology->num_nodes; i++) { in psp_xgmi_get_topology_info()
1457 topology->nodes[i].num_hops = topology_info_output->nodes[i].num_hops; in psp_xgmi_get_topology_info()
1461 topology->nodes[i].node_id = topology_info_output->nodes[i].node_id; in psp_xgmi_get_topology_info()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/fsi/
Dfsi.txt15 Under the masters' nodes, we can describe the bus topology using nodes to
19 /* top-level of FSI bus topology, bound to an FSI master driver and
39 Note that since the bus is probe-able, some (or all) of the topology may
52 Since the master nodes describe the top-level of the FSI topology, they also

12345678