/linux/drivers/clk/zynqmp/ |
H A D | clkc.c | 65 * @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 …]
|
H A 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/include/sound/ |
H A D | soc-acpi.h | 140 * when set the topology uses the -ssp<N> suffix, where N is determined based on 152 * when set the topology uses the -dmic<N>ch suffix, where N is determined based on 159 * appended to topology file name 165 * topology file name 171 * related to the hardware, except for the firmware and topology file names. 173 * all firmware/topology related fields. 178 * firmware and topology 183 * @tplg_filename: topology file name. Used when SOF is not enabled. 195 * @sof_tplg_filename: Sound Open Firmware topology file name, if enabled 196 * @tplg_quirk_mask: quirks to select different topology files dynamically [all …]
|
/linux/Documentation/networking/ |
H A D | phy-link-topology.rst | 5 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/Documentation/admin-guide/media/ |
H A D | vimc.rst | 9 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/tools/perf/util/ |
H A D | cputopo.c | 19 "%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 …]
|
H A 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 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,
|
H A D | cpumap.h | 17 * /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/sound/soc/ |
H A D | soc-topology-test.c | 3 * 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"))); 96 .name = "sound-soc-topology-test", 101 /* ===== TOPOLOGY TEMPLATES ================================================= */ 103 // Structural representation of topology which can be generated with: [all …]
|
H A D | Kconfig | 42 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/Documentation/admin-guide/ |
H A 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/arch/parisc/kernel/ |
H A 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/drivers/staging/greybus/ |
H A 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/Documentation/driver-api/cxl/ |
H A D | theory-of-operation.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/Documentation/translations/zh_CN/admin-guide/ |
H A 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/Documentation/translations/zh_TW/admin-guide/ |
H A 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/arch/x86/kernel/ |
H A 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/Documentation/driver-api/cxl/linux/ |
H A D | access-coordinates.rst | 34 If there's a CXL switch in the topology, then the performance coordinates for the 39 Simple topology example:: 95 The algorithm assumes the configuration is a symmetric topology as that 96 maximizes performance. When asymmetric topology is detected, the calculation 97 is aborted. An asymmetric topology is detected during topology walk where the 151 in the topology. For endpoints directly attached to RPs, this step is skipped. 156 Once the topology walk reaches the RP, whether it's direct attached endpoints
|
/linux/sound/soc/qcom/qdsp6/ |
H A 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()
|
/linux/drivers/base/ |
H A D | topology.c | 3 * driver/base/topology.c - Populate sysfs with cpu topology information 15 #include <linux/topology.h> 184 .name = "topology" 206 "base/topology:prepare", topology_add_dev, in topology_sysfs_init() 257 cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "topology/cpu-capacity", in register_cpu_capacity_sysctl()
|
/linux/tools/perf/tests/shell/ |
H A D | stat+json_output.sh | 191 # directory: "/sys/devices/system/cpu/cpu*/topology". For 193 # file in topology directory. 195 # If the platform doesn't expose topology information, values 199 # topology file before proceeding further 201 FILE_LOC="/sys/devices/system/cpu/cpu*/topology/" 233 …tem_wide_no_aggr, per_core, per_die and per_socket since socket id exposed via topology is invalid"
|
/linux/tools/perf/tests/shell/lib/ |
H A D | stat_output.sh | 166 # directory: "/sys/devices/system/cpu/cpu*/topology". For 168 # file in topology directory. 170 # If the platform doesn't expose topology information, values 174 # topology file before proceeding further 176 FILE_LOC="/sys/devices/system/cpu/cpu*/topology/"
|
/linux/Documentation/i2c/ |
H A 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/drivers/acpi/ |
H A D | pptt.c | 3 * pptt.c - parsing of Processor Properties Topology Table (PPTT) 7 * This file implements parsing of the Processor Properties Topology Table 8 * which is optionally used to describe the processor and cache topology. 259 * we verify that its a leaf node in the topology rather than depending 498 pr_warn_once("No PPTT table found, CPU and cache topology may be inaccurate\n"); in acpi_pptt_warn_missing() 502 * topology_get_acpi_cpu_tag() - Find a unique topology value for a feature 508 * Get a unique value given a CPU, and a topology level, that can be 572 pr_debug("Topology Setup ACPI CPU %d, level %d ret = %d\n", in find_acpi_cpu_topology_tag() 657 * cache_setup_acpi() - Override CPU cache topology with data from the PPTT 699 * find_acpi_cpu_topology() - Determine a unique topology value for a given CPU [all …]
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ddp.c | 2322 * ice_get_set_tx_topo - get or set Tx topology 2324 * @buf: pointer to Tx topology buffer 2328 * @set: 0-get, 1-set topology 2330 * The function will get or set Tx topology 2346 /* requested to update a new topology, not a default topology */ in ice_get_set_tx_topo() 2372 * ice_cfg_tx_topo - Initialize new Tx topology if available 2374 * @buf: pointer to Tx topology buffer 2377 * The function will apply the new Tx topology from the package buffer 2381 * * 0 - Successfully applied topology configuration. 2383 * * -EEXIST - Topology configuration has already been applied. [all …]
|