Lines Matching refs:topology_mode
46 static int topology_mode = TOPOLOGY_MODE_UNINITIALIZED; variable
72 switch (topology_mode) { in cpu_group_map()
104 if (topology_mode != TOPOLOGY_MODE_HW) in cpu_thread_map()
264 if (topology_mode != TOPOLOGY_MODE_HW) { in update_cpu_masks()
265 id = topology_mode == TOPOLOGY_MODE_PACKAGE ? 0 : cpu; in update_cpu_masks()
552 if (topology_mode == TOPOLOGY_MODE_UNINITIALIZED) { in topology_init_early()
554 topology_mode = TOPOLOGY_MODE_HW; in topology_init_early()
556 topology_mode = TOPOLOGY_MODE_SINGLE; in topology_init_early()
587 return topology_mode != TOPOLOGY_MODE_SINGLE; in topology_is_enabled()
598 topology_mode = topology_get_mode(enabled); in topology_setup()
623 if (topology_mode != new_mode) { in topology_ctl_handler()
624 topology_mode = new_mode; in topology_ctl_handler()