Lines Matching refs:topology_mode
47 static int topology_mode = TOPOLOGY_MODE_UNINITIALIZED; variable
74 switch (topology_mode) { in cpu_group_map()
106 if (topology_mode != TOPOLOGY_MODE_HW) in cpu_thread_map()
267 if (topology_mode != TOPOLOGY_MODE_HW) { in update_cpu_masks()
268 id = topology_mode == TOPOLOGY_MODE_PACKAGE ? 0 : cpu; in update_cpu_masks()
563 if (topology_mode == TOPOLOGY_MODE_UNINITIALIZED) { in topology_init_early()
565 topology_mode = TOPOLOGY_MODE_HW; in topology_init_early()
567 topology_mode = TOPOLOGY_MODE_SINGLE; in topology_init_early()
598 return topology_mode != TOPOLOGY_MODE_SINGLE; in topology_is_enabled()
609 topology_mode = topology_get_mode(enabled); in topology_setup()
634 if (topology_mode != new_mode) { in topology_ctl_handler()
635 topology_mode = new_mode; in topology_ctl_handler()