/linux-6.1.9/Documentation/ABI/stable/ |
D | sysfs-devices-system-cpu | 27 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.1.9/tools/perf/util/ |
D | smt.c | 7 bool smt_on(const struct cpu_topology *topology) in smt_on() argument 19 cached_result = cpu_topology__smt_on(topology); in smt_on() 26 const struct cpu_topology *topology) in core_wide() argument 33 if (!smt_on(topology)) in core_wide() 36 return cpu_topology__core_wide(topology, user_requested_cpu_list); in core_wide()
|
D | expr.c | 409 static struct cpu_topology *topology; in expr__get_literal() local 428 if (!topology) { in expr__get_literal() 429 topology = cpu_topology__new(); in expr__get_literal() 430 if (!topology) { in expr__get_literal() 436 result = smt_on(topology) ? 1.0 : 0.0; in expr__get_literal() 440 result = core_wide(ctx->system_wide, ctx->user_requested_cpu_list, topology) in expr__get_literal() 445 result = topology->package_cpus_lists; in expr__get_literal() 449 result = topology->die_cpus_lists; in expr__get_literal() 453 result = topology->core_cpus_lists; in expr__get_literal()
|
D | smt.h | 8 bool smt_on(const struct cpu_topology *topology); 15 const struct cpu_topology *topology);
|
D | cputopo.h | 62 bool cpu_topology__smt_on(const struct cpu_topology *topology); 64 bool cpu_topology__core_wide(const struct cpu_topology *topology,
|
D | cputopo.c | 160 bool cpu_topology__smt_on(const struct cpu_topology *topology) in cpu_topology__smt_on() argument 162 for (u32 i = 0; i < topology->core_cpus_lists; i++) { in cpu_topology__smt_on() 163 const char *cpu_list = topology->core_cpus_list[i]; in cpu_topology__smt_on() 175 bool cpu_topology__core_wide(const struct cpu_topology *topology, in cpu_topology__core_wide() argument 189 for (u32 i = 0; i < topology->core_cpus_lists; i++) { in cpu_topology__core_wide() 190 const char *core_cpu_list = topology->core_cpus_list[i]; in cpu_topology__core_wide()
|
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_rm.c | 32 struct msm_display_topology topology; member 342 if (!reqs->topology.num_dspp) in _dpu_rm_check_lm_and_get_connected_blks() 372 if (!reqs->topology.num_lm) { in _dpu_rm_reserve_lms() 373 DPU_ERROR("invalid number of lm: %d\n", reqs->topology.num_lm); in _dpu_rm_reserve_lms() 379 lm_count < reqs->topology.num_lm; i++) { in _dpu_rm_reserve_lms() 396 lm_count < reqs->topology.num_lm; j++) { in _dpu_rm_reserve_lms() 418 if (lm_count != reqs->topology.num_lm) { in _dpu_rm_reserve_lms() 427 reqs->topology.num_dspp ? enc_id : 0; in _dpu_rm_reserve_lms() 526 &reqs->topology); in _dpu_rm_make_reservation() 532 ret = _dpu_rm_reserve_dsc(rm, global_state, enc, &reqs->topology); in _dpu_rm_make_reservation() [all …]
|
/linux-6.1.9/Documentation/translations/zh_CN/admin-guide/ |
D | cputopology.rst | 15 /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.1.9/drivers/clk/zynqmp/ |
D | clkc.c | 90 u32 topology[CLK_GET_TOPOLOGY_RESP_WORDS]; member 409 static int __zynqmp_clock_get_topology(struct clock_topology *topology, in __zynqmp_clock_get_topology() argument 416 for (i = 0; i < ARRAY_SIZE(response->topology); i++) { in __zynqmp_clock_get_topology() 417 type = FIELD_GET(CLK_TOPOLOGY_TYPE, response->topology[i]); in __zynqmp_clock_get_topology() 420 topology[*nnodes].type = type; in __zynqmp_clock_get_topology() 421 topology[*nnodes].flag = FIELD_GET(CLK_TOPOLOGY_FLAGS, in __zynqmp_clock_get_topology() 422 response->topology[i]); in __zynqmp_clock_get_topology() 423 topology[*nnodes].type_flag = in __zynqmp_clock_get_topology() 425 response->topology[i]); in __zynqmp_clock_get_topology() 426 topology[*nnodes].custom_type_flag = in __zynqmp_clock_get_topology() [all …]
|
/linux-6.1.9/Documentation/admin-guide/ |
D | cputopology.rst | 2 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.1.9/arch/x86/kernel/ |
D | vsmp_64.c | 100 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.1.9/Documentation/admin-guide/media/ |
D | vimc.rst | 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.1.9/drivers/staging/greybus/ |
D | audio_module.c | 242 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.1.9/sound/soc/qcom/qdsp6/ |
D | q6adm.c | 41 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.1.9/Documentation/x86/ |
D | topology.rst | 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: 148 System topology examples
|
/linux-6.1.9/Documentation/driver-api/cxl/ |
D | memory-devices.rst | 21 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 …]
|
/linux-6.1.9/sound/soc/sof/ |
D | Makefile | 3 snd-sof-objs := core.o ops.o loader.o ipc.o pcm.o pm.o debug.o topology.o\ 8 snd-sof-objs += ipc3.o ipc3-loader.o ipc3-topology.o ipc3-control.o ipc3-pcm.o\ 12 snd-sof-objs += ipc4.o ipc4-loader.o ipc4-topology.o ipc4-control.o ipc4-pcm.o\
|
/linux-6.1.9/drivers/media/test-drivers/vimc/ |
D | Kconfig | 16 a media node that exposes a complex media topology. The topology
|
/linux-6.1.9/tools/perf/tests/ |
D | expr.c | 163 struct cpu_topology *topology = cpu_topology__new(); in test__expr() local 164 bool smton = smt_on(topology); in test__expr() 167 topology); in test__expr() 169 cpu_topology__delete(topology); in test__expr()
|
/linux-6.1.9/Documentation/devicetree/bindings/cpu/ |
D | cpu-topology.txt | 2 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.1.9/Documentation/i2c/ |
D | i2c-topology.rst | 93 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.1.9/drivers/parport/ |
D | daisy.c | 38 } *topology = NULL; variable 60 for (p = &topology; *p && (*p)->devnum<devnum; p = &(*p)->next) in add_dev() 208 p = &topology; in parport_daisy_fini() 222 if (!topology) numdevs = 0; in parport_daisy_fini() 243 struct daisydev *p = topology; in parport_open()
|
/linux-6.1.9/tools/testing/selftests/net/forwarding/ |
D | README | 47 o Where possible, reuse an existing topology for different tests instead 48 of recreating the same topology. 50 an ASCII art showing the topology.
|
/linux-6.1.9/sound/soc/ |
D | Kconfig | 42 tristate "KUnit tests for SoC topology" 47 If you want to perform tests on ALSA SoC topology support say Y here. 50 test cases against soc-topology.c API. This should be primarily used
|
D | Makefile | 7 snd-soc-core-objs += soc-topology.o 12 obj-$(CONFIG_SND_SOC_TOPOLOGY_KUNIT_TEST) += soc-topology-test.o
|