Lines Matching defs:level

14  * the caches available at that level. Each cache structure optionally
15 * contains properties describing the cache at a given level which can be
83 * @local_level: passed res reflects this cache level
85 * @found: returns a pointer to the requested level if found
86 * @level: the requested cache level
89 * Attempt to find a given cache level, while counting the max number
93 * down each level of caches, counting how many levels are found
95 * level & type match, then we set found, and continue the search.
99 * Return: The cache structure and the level we terminated with.
105 unsigned int level, int type)
116 if (local_level == level &&
120 pr_warn("Found duplicate cache level/type unable to determine uniqueness\n");
122 pr_debug("Found cache @ level %u\n", level);
138 unsigned int *starting_level, unsigned int level,
152 res, &ret, level, type);
173 * how many levels exist solely for it, and then walk up each level until we hit
174 * the root node (ignore the package level because it may be possible to have
176 * exist at each level on the way up.
322 unsigned int level,
330 pr_debug("Looking for CPU %d's level %u cache type %d\n",
331 acpi_cpu_id, level, acpi_type);
337 &total_levels, level, acpi_type);
424 this_leaf->level,
455 /* Passing level values greater than this will result in search termination */
460 int level, int flag)
464 while (cpu && level) {
471 pr_debug("level %d\n", level);
476 level--;
490 * @level: A level that terminates the search
493 * Get a unique value given a CPU, and a topology level, that can be
495 * at that level.
500 unsigned int cpu, int level, int flag)
508 level, flag);
515 if (level == 0 ||
525 static int find_acpi_cpu_topology_tag(unsigned int cpu, int level, int flag)
536 retval = topology_get_acpi_cpu_tag(table, cpu, level, flag);
537 pr_debug("Topology Setup ACPI CPU %d, level %d ret = %d\n",
538 cpu, level, retval);
599 pr_debug("Cache Setup find last level CPU=%d\n", cpu);
609 pr_debug("Cache Setup find last level level=%d\n", number_of_levels);
663 * @level: The topological level for which we would like a unique ID
669 * The search terminates when either the requested level is found or
671 * same unique ID. The unique id for level 0 is the acpi processor id. All
678 int find_acpi_cpu_topology(unsigned int cpu, int level)
680 return find_acpi_cpu_topology_tag(cpu, level, 0);
686 * @level: The cache level for which we would like a unique ID
693 int find_acpi_cpu_cache_topology(unsigned int cpu, int level)
710 level,
727 * The search terminates when either a level is found with the PHYSICAL_PACKAGE
748 * The search terminates when a level is found with the identical implementation