/openbmc/linux/drivers/firmware/arm_scmi/ |
H A D | scmi_power_control.c | 181 if (system_state > SYSTEM_RUNNING) in scmi_forceful_work_func() 280 if (er->system_state >= SCMI_SYSTEM_POWERUP) { in scmi_userspace_notifier() 282 er->system_state); in scmi_userspace_notifier() 295 if (system_state > SYSTEM_RUNNING) in scmi_userspace_notifier() 307 sc->required_transition = er->system_state; in scmi_userspace_notifier()
|
H A D | system.c | 29 __le32 system_state; member 91 r->system_state = le32_to_cpu(p->system_state); in scmi_system_fill_custom_report() 93 r->system_state == SCMI_SYSTEM_SHUTDOWN && in scmi_system_fill_custom_report()
|
/openbmc/linux/kernel/ |
H A D | notifier.c | 268 if (unlikely(system_state == SYSTEM_BOOTING)) in __blocking_notifier_chain_register() 331 if (unlikely(system_state == SYSTEM_BOOTING)) in blocking_notifier_chain_unregister() 490 if (unlikely(system_state == SYSTEM_BOOTING)) in srcu_notifier_chain_register() 520 if (unlikely(system_state == SYSTEM_BOOTING)) in srcu_notifier_chain_unregister()
|
H A D | reboot.c | 77 system_state = SYSTEM_RESTART; in emergency_restart() 85 system_state = SYSTEM_RESTART; in kernel_restart_prepare() 285 system_state = state; in kernel_shutdown_prepare() 347 if (system_state > SYSTEM_RUNNING) in alloc_sys_off_handler()
|
H A D | extable.c | 71 if (system_state < SYSTEM_FREEING_INITMEM && in core_kernel_text()
|
H A D | static_call_inline.c | 163 bool init = system_state < SYSTEM_RUNNING; in __static_call_update() 486 bool init = system_state < SYSTEM_RUNNING; in static_call_text_reserved()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | jump_label.c | 100 if (init || system_state == SYSTEM_BOOTING) { in __jump_label_transform() 128 if (system_state == SYSTEM_BOOTING) { in arch_jump_label_transform_queue()
|
H A D | static_call.c | 108 if (system_state == SYSTEM_BOOTING || modinit) in __static_call_transform() 177 BUG_ON(system_state != SYSTEM_BOOTING); in __static_call_update_early()
|
/openbmc/linux/kernel/power/ |
H A D | hibernate.c | 313 system_state = SYSTEM_SUSPEND; in create_image() 345 system_state = SYSTEM_RUNNING; in create_image() 480 system_state = SYSTEM_SUSPEND; in resume_target_kernel() 514 system_state = SYSTEM_RUNNING; in resume_target_kernel() 601 system_state = SYSTEM_SUSPEND; in hibernation_platform_enter() 619 system_state = SYSTEM_RUNNING; in hibernation_platform_enter()
|
H A D | autosleep.c | 37 system_state != SYSTEM_RUNNING) { in try_to_suspend()
|
H A D | suspend.c | 445 system_state = SYSTEM_SUSPEND; in suspend_enter() 462 system_state = SYSTEM_RUNNING; in suspend_enter()
|
/openbmc/linux/arch/powerpc/platforms/powermac/ |
H A D | nvram.c | 199 req.arg = system_state == SYSTEM_RUNNING ? &req_complete : NULL; in pmu_nvram_read_byte() 203 if (system_state == SYSTEM_RUNNING) in pmu_nvram_read_byte() 215 req.arg = system_state == SYSTEM_RUNNING ? &req_complete : NULL; in pmu_nvram_write_byte() 219 if (system_state == SYSTEM_RUNNING) in pmu_nvram_write_byte()
|
/openbmc/linux/lib/ |
H A D | smp_processor_id.c | 33 if (system_state < SYSTEM_SCHEDULING) in check_preemption_disabled()
|
H A D | dhry_run.c | 71 if (dhry_run && system_state == SYSTEM_RUNNING) in dhry_run_set()
|
/openbmc/linux/drivers/clk/at91/ |
H A D | sckc.c | 79 if (system_state < SYSTEM_RUNNING) in clk_slow_osc_prepare() 193 if (system_state < SYSTEM_RUNNING) in clk_slow_rc_osc_prepare() 297 if (system_state < SYSTEM_RUNNING) in clk_sam9x5_slow_set_parent() 559 if (system_state < SYSTEM_RUNNING) in clk_sama5d4_slow_osc_prepare()
|
/openbmc/linux/init/ |
H A D | main.c | 126 enum system_states system_state __read_mostly; 127 EXPORT_SYMBOL(system_state); 722 system_state = SYSTEM_SCHEDULING; in rest_init() 1447 system_state = SYSTEM_FREEING_INITMEM; in kernel_init() 1461 system_state = SYSTEM_RUNNING; in kernel_init()
|
/openbmc/linux/kernel/time/ |
H A D | tick-common.c | 517 system_state = SYSTEM_SUSPEND; in tick_freeze() 543 system_state = SYSTEM_RUNNING; in tick_unfreeze()
|
/openbmc/linux/drivers/i2c/ |
H A D | i2c-core.h | 33 return system_state > SYSTEM_RUNNING && in i2c_in_atomic_xfer_mode()
|
/openbmc/linux/drivers/tee/optee/ |
H A D | Kconfig | 18 the filesystem which is determined by checking the system_state until
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | patching.c | 21 return system_state < SYSTEM_RUNNING && in is_exit_text()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | smp.c | 161 if (system_state < SYSTEM_RUNNING && cpu_has_feature(CPU_FTR_SMT)) { in smp_generic_cpu_bootable() 1270 const bool booting = system_state < SYSTEM_RUNNING; in __cpu_up() 1328 if (!cpu_callin_map[cpu] && system_state >= SYSTEM_RUNNING) { in __cpu_up() 1643 if (system_state == SYSTEM_RUNNING) in start_secondary()
|
/openbmc/linux/drivers/cpufreq/ |
H A D | pasemi-cpufreq.c | 213 if (system_state >= SYSTEM_RUNNING) in pas_cpufreq_cpu_exit()
|
/openbmc/linux/arch/arm/kernel/ |
H A D | ftrace.c | 73 system_state >= SYSTEM_FREEING_INITMEM || in adjust_address()
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | smp.c | 257 if (system_state <= SYSTEM_RUNNING) in smp_send_stop()
|
/openbmc/linux/arch/x86/kernel/apic/ |
H A D | x2apic_cluster.c | 138 if (system_state < SYSTEM_RUNNING) in alloc_clustermask()
|