Home
last modified time | relevance | path

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

123456789

/linux-6.15/Documentation/ABI/stable/
H A Dsysfs-devices-system-cpu27 What: /sys/devices/system/cpu/cpuX/topology/die_id
33 What: /sys/devices/system/cpu/cpuX/topology/core_id
39 What: /sys/devices/system/cpu/cpuX/topology/cluster_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
79 What: /sys/devices/system/cpu/cpuX/topology/die_cpus
83 What: /sys/devices/system/cpu/cpuX/topology/die_cpus_list
[all …]
/linux-6.15/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_rm.c334 if (!topology->num_dspp) in _dpu_rm_check_lm_and_get_connected_blks()
364 if (!topology->num_lm) { in _dpu_rm_reserve_lms()
387 if (lm_count < topology->num_lm) { in _dpu_rm_reserve_lms()
400 topology)) { in _dpu_rm_reserve_lms()
409 if (lm_count != topology->num_lm) { in _dpu_rm_reserve_lms()
679 if (topology->cwb_enabled) { in _dpu_rm_make_reservation()
681 crtc_id, topology); in _dpu_rm_make_reservation()
687 topology); in _dpu_rm_make_reservation()
697 if (topology->num_cdm > 0) { in _dpu_rm_make_reservation()
775 topology->num_lm, topology->num_dsc, in dpu_rm_reserve()
[all …]
H A Ddpu_crtc.c1290 struct msm_display_topology topology = {0}; in dpu_crtc_get_topology() local
1297 topology.cwb_enabled = drm_crtc_in_clone_mode(crtc_state); in dpu_crtc_get_topology()
1321 if (topology.num_intf == 2 && !topology.cwb_enabled) in dpu_crtc_get_topology()
1322 topology.num_lm = 2; in dpu_crtc_get_topology()
1323 else if (topology.num_dsc == 2) in dpu_crtc_get_topology()
1324 topology.num_lm = 2; in dpu_crtc_get_topology()
1328 topology.num_lm = 1; in dpu_crtc_get_topology()
1331 topology.num_dspp = topology.num_lm; in dpu_crtc_get_topology()
1333 return topology; in dpu_crtc_get_topology()
1346 struct msm_display_topology topology; in dpu_crtc_assign_resources() local
[all …]
/linux-6.15/Documentation/networking/
H A 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
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.
100 There exist a set of netlink commands to query the link topology from userspace,
[all …]
/linux-6.15/tools/perf/util/
H A 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 …]
H A Dtool_pmu.c337 const struct cpu_topology *topology; in tool_pmu__read_event() local
345 topology = online_topology(); in tool_pmu__read_event()
346 *result = topology->core_cpus_lists; in tool_pmu__read_event()
364 topology = online_topology(); in tool_pmu__read_event()
365 *result = topology->die_cpus_lists; in tool_pmu__read_event()
369 topology = online_topology(); in tool_pmu__read_event()
370 *result = topology->package_cpus_lists; in tool_pmu__read_event()
H A 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.15/drivers/clk/zynqmp/
H A Dclkc.c91 u32 topology[CLK_GET_TOPOLOGY_RESP_WORDS]; member
417 for (i = 0; i < ARRAY_SIZE(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()
429 response->topology[i]); in __zynqmp_clock_get_topology()
446 struct clock_topology *topology, in zynqmp_clock_get_topology() argument
[all …]
/linux-6.15/Documentation/translations/zh_TW/admin-guide/
H A 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.15/Documentation/translations/zh_CN/admin-guide/
H A 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.15/arch/x86/kernel/
H A 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.15/Documentation/admin-guide/
H A 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.15/Documentation/admin-guide/media/
H A 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.15/drivers/staging/greybus/
H A 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.15/sound/soc/qcom/qdsp6/
H A 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.15/Documentation/driver-api/cxl/
H A 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 …]
H A 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.15/sound/soc/
H A 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.15/Documentation/arch/x86/
H A 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:
144 System topology examples
/linux-6.15/Documentation/devicetree/bindings/cpu/
H A 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.15/drivers/media/test-drivers/vimc/
H A DKconfig16 a media node that exposes a complex media topology. The topology
/linux-6.15/Documentation/i2c/
H A 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
196 This is a useful topology, but it can be bad::
220 This is a good topology::
243 This is probably a bad topology::
266 The topology is especially troublesome if M2 is an auto-closing
271 auto-closing, the topology is fine.
277 This is a good topology::
301 This is a good topology::
325 This is a good topology::
[all …]
/linux-6.15/sound/soc/sof/
H A 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.15/drivers/parport/
H A 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.15/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_psp.c1459 struct psp_xgmi_topology_info *topology, in psp_xgmi_get_topology_info() argument
1468 if (!topology || topology->num_nodes > TA_XGMI__MAX_CONNECTED_NODES) in psp_xgmi_get_topology_info()
1495 for (i = 0; i < topology->num_nodes; i++) { in psp_xgmi_get_topology_info()
1503 topology->nodes[i].is_sharing_enabled = in psp_xgmi_get_topology_info()
1505 topology->nodes[i].sdma_engine = in psp_xgmi_get_topology_info()
1533 for (i = 0; i < topology->num_nodes; i++) in psp_xgmi_get_topology_info()
1541 for (i = 0; i < topology->num_nodes; i++) in psp_xgmi_get_topology_info()
1552 for (i = 0; i < topology->num_nodes; i++) { in psp_xgmi_get_topology_info()
1557 topology->nodes[i].num_links = topology->nodes[i].num_links + node_num_links; in psp_xgmi_get_topology_info()
1559 topology->nodes[i].num_links = (requires_reflection && topology->nodes[i].num_links) ? in psp_xgmi_get_topology_info()
[all …]

123456789