/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/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/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/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/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/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/arch/sh/kernel/ |
H A D | topology.c | 3 * arch/sh/kernel/topology.c 11 #include <linux/topology.h> 25 * simple until we have a method for determining topology.. in cpu_coregroup_map()
|
/linux/kernel/sched/ |
H A D | topology.c | 3 * Scheduler topology setup/handling methods 804 * NUMA topology (first read the regular topology blurb below) 814 * which represents a 4 node ring topology like: 826 * For the above NUMA topology that gives 3 levels: 837 * As can be seen; things don't nicely line up as with the regular topology. 840 * the topology. 867 * Another 'interesting' topology is: 883 * This topology is asymmetric, nodes 1,2 are fully connected, but nodes 0,3 1010 * As we are referencing sgc across different topology level, we need in find_descended_sibling() 1062 * Smallest diameter=3 topology is: in build_overlap_sched_groups() [all …]
|
/linux/drivers/firewire/ |
H A D | core-topology.c | 3 * Incremental bus scan, based on bus topology 92 * This function builds the tree representation of the topology given 169 fw_err(card, "topology stack underflow\n"); in build_tree() 187 fw_err(card, "out of memory while building topology\n"); in build_tree() 303 /* Topology has changed - reset bus manager retry counter */ in report_lost_node() 324 /* Topology has changed - reset bus manager retry counter */ in report_found_node() 353 * Compare the old topology tree for card with the new one specified by root. 355 * Update the nodes in the card topology tree as we go. 494 fw_err(card, "topology build failed\n"); in fw_core_handle_bus_reset()
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ddp.c | 2319 * ice_get_set_tx_topo - get or set Tx topology 2321 * @buf: pointer to Tx topology buffer 2325 * @set: 0-get, 1-set topology 2327 * The function will get or set Tx topology 2343 /* requested to update a new topology, not a default topology */ in ice_get_set_tx_topo() 2369 * ice_cfg_tx_topo - Initialize new Tx topology if available 2371 * @buf: pointer to Tx topology buffer 2374 * The function will apply the new Tx topology from the package buffer 2394 /* Does FW support new Tx topology mode ? */ in ice_cfg_tx_topo() 2404 /* Get the current Tx topology flags */ in ice_cfg_tx_topo() [all …]
|
/linux/arch/arm/kernel/ |
H A D | topology.c | 2 * arch/arm/kernel/topology.c 7 * based on arch/sh/kernel/topology.c 25 #include <linux/sched/topology.h> 31 #include <asm/topology.h> 195 /* create cpu topology mapping */ in store_cpu_topology()
|