/Linux-v6.1/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-v6.1/drivers/clk/zynqmp/ |
D | clkc.c | 64 * @node: Clock topology nodes 65 * @num_nodes: Number of nodes present in topology 90 u32 topology[CLK_GET_TOPOLOGY_RESP_WORDS]; member 245 * zynqmp_pm_clock_get_topology() - Get the topology of clock for given id 247 * @index: Node index of clock topology 248 * @response: Buffer used for the topology response 250 * This function is used to get topology information for the clock 253 * This API will return 3 node of topology with a single response. To get 305 * @nodes: Clock topology node 401 * __zynqmp_clock_get_topology() - Get topology data of clock from firmware [all …]
|
D | clk-zynqmp.h | 55 * 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-v6.1/Documentation/admin-guide/media/ |
D | vimc.rst | 9 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-v6.1/sound/soc/ |
D | soc-topology-test.c | 3 * 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", 109 /* ===== TOPOLOGY TEMPLATES ================================================= */ [all …]
|
/Linux-v6.1/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 | cputopo.h | 16 * /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 62 bool cpu_topology__smt_on(const struct cpu_topology *topology); 64 bool cpu_topology__core_wide(const struct cpu_topology *topology,
|
D | expr.c | 409 static struct cpu_topology *topology; in expr__get_literal() local 423 * Assume that topology strings are consistent, such as CPUs "0-1" in expr__get_literal() 428 if (!topology) { in expr__get_literal() 429 topology = cpu_topology__new(); in expr__get_literal() 430 if (!topology) { in expr__get_literal() 431 pr_err("Error creating CPU 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() [all …]
|
D | cpumap.h | 18 * /sys/devices/system/cpu/cpuX/topology/physical_package_id. 21 /** The die id as read from /sys/devices/system/cpu/cpuX/topology/die_id. */ 23 /** The core id as read from /sys/devices/system/cpu/cpuX/topology/core_id. */ 71 * /sys/devices/system/cpu/cpuX/topology/physical_package_id for the given CPU. 76 * /sys/devices/system/cpu/cpuX/topology/die_id for the given CPU. 81 * /sys/devices/system/cpu/cpuX/topology/core_id for the given CPU.
|
D | cputopo.c | 18 "%s/devices/system/cpu/cpu%d/topology/package_cpus_list" 20 "%s/devices/system/cpu/cpu%d/topology/core_siblings_list" 22 "%s/devices/system/cpu/cpu%d/topology/die_cpus_list" 24 "%s/devices/system/cpu/cpu%d/topology/core_cpus_list" 26 "%s/devices/system/cpu/cpu%d/topology/thread_siblings_list" 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() [all …]
|
/Linux-v6.1/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-v6.1/include/drm/display/ |
D | drm_dp_mst_helper.h | 81 * @mgr: topology manager this port lives under. 84 * in the MST topology. 88 * @topology_kref: refcount for this port's lifetime in the topology, 102 * @topology_ref_history: A history of each topology 150 * point in the MST topology. 186 * @mgr: topology manager for this branch device. 198 * topology, only the DP MST helpers should need to touch this 211 * @topology_ref_history: A history of each topology 537 * protected by the MST helpers ensuring that async commits operating on the given topology 577 * struct drm_dp_mst_topology_state - DisplayPort MST topology atomic state [all …]
|
/Linux-v6.1/Documentation/x86/ |
D | topology.rst | 4 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-v6.1/arch/parisc/kernel/ |
D | topology.c | 2 * 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-v6.1/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-v6.1/sound/soc/sof/ |
D | sof-audio.h | 21 #include <sound/sof/topology.h> 101 * struct sof_ipc_tplg_control_ops - IPC-specific ops for topology kcontrol IO 128 * struct sof_ipc_tplg_widget_ops - IPC-specific ops for topology widgets 152 * struct sof_ipc_tplg_ops - IPC-specific topology ops 156 * @control: Pointer to the IPC-specific ops for topology kcontrol IO 169 * @set_up_all_pipelines: Function pointer for setting up all topology pipelines 170 * @tear_down_all_pipelines: Function pointer for tearing down all topology pipelines 171 * @parse_manifest: Optional function pointer for ipc4 specific parsing of topology manifest 246 * struct sof_topology_token - SOF topology token definition 309 void *priv; /* private data copied from topology */ [all …]
|
/Linux-v6.1/arch/x86/kernel/cpu/ |
D | topology.c | 3 * 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-v6.1/drivers/staging/greybus/ |
D | audio_module.c | 242 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-v6.1/include/sound/ |
D | soc-acpi.h | 129 * when set the topology uses the -ssp<N> suffix, where N is determined based on 141 * when set the topology uses the -dmic<N>ch suffix, where N is determined based on 148 * related to the hardware, except for the firmware and topology file names. 150 * all firmware/topology related fields. 154 * firmware and topology 159 * @tplg_filename: topology file name. Used when SOF is not enabled. 167 * @sof_tplg_filename: Sound Open Firmware topology file name, if enabled 168 * @tplg_quirk_mask: quirks to select different topology files dynamically
|
/Linux-v6.1/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_rm.c | 28 * @topology: selected topology for the display 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() [all …]
|
/Linux-v6.1/tools/perf/tests/shell/ |
D | stat+json_output.sh | 141 # directory: "/sys/devices/system/cpu/cpu*/topology". For 143 # file in topology directory. 145 # If the platform doesn't expose topology information, values 149 # topology file before proceeding further 151 FILE_LOC="/sys/devices/system/cpu/cpu*/topology/" 180 …tem_wide_no_aggr, per_core, per_die and per_socket since socket id exposed via topology is invalid"
|
D | stat+csv_output.sh | 163 # directory: "/sys/devices/system/cpu/cpu*/topology". For 165 # file in topology directory. 167 # If the platform doesn't expose topology information, values 171 # topology file before proceeding further 173 FILE_LOC="/sys/devices/system/cpu/cpu*/topology/" 202 …tem_wide_no_aggr, per_core, per_die and per_socket since socket id exposed via topology is invalid"
|
/Linux-v6.1/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-v6.1/arch/x86/kernel/ |
D | vsmp_64.c | 100 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-v6.1/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() 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()
|