Home
last modified time | relevance | path

Searched refs:system_state (Results 1 – 25 of 108) sorted by relevance

12345

/OK3568_Linux_fs/kernel/kernel/
H A Dasync.c117 if (initcall_debug && system_state < SYSTEM_RUNNING) { in async_run_entry_fn()
124 if (initcall_debug && system_state < SYSTEM_RUNNING) { in async_run_entry_fn()
289 if (initcall_debug && system_state < SYSTEM_RUNNING) { in async_synchronize_cookie_domain()
296 if (initcall_debug && system_state < SYSTEM_RUNNING) { in async_synchronize_cookie_domain()
H A Dnotifier.c250 if (unlikely(system_state == SYSTEM_BOOTING)) in blocking_notifier_chain_register()
280 if (unlikely(system_state == SYSTEM_BOOTING)) in blocking_notifier_chain_unregister()
440 if (unlikely(system_state == SYSTEM_BOOTING)) in srcu_notifier_chain_register()
470 if (unlikely(system_state == SYSTEM_BOOTING)) in srcu_notifier_chain_unregister()
H A Dreboot.c76 system_state = SYSTEM_RESTART; in kernel_restart_prepare()
285 system_state = state; in kernel_shutdown_prepare()
H A Dextable.c79 if (system_state < SYSTEM_RUNNING && in core_kernel_text()
H A Dstatic_call.c152 bool init = system_state < SYSTEM_RUNNING; in __static_call_update()
464 bool init = system_state < SYSTEM_RUNNING; in static_call_text_reserved()
/OK3568_Linux_fs/kernel/drivers/firmware/arm_scmi/
H A Dsystem.c29 __le32 system_state; member
85 r->system_state = le32_to_cpu(p->system_state); in scmi_system_fill_custom_report()
/OK3568_Linux_fs/kernel/kernel/power/
H A Dhibernate.c306 system_state = SYSTEM_SUSPEND; in create_image()
338 system_state = SYSTEM_RUNNING; in create_image()
471 system_state = SYSTEM_SUSPEND; in resume_target_kernel()
505 system_state = SYSTEM_RUNNING; in resume_target_kernel()
592 system_state = SYSTEM_SUSPEND; in hibernation_platform_enter()
605 system_state = SYSTEM_RUNNING; in hibernation_platform_enter()
H A Dautosleep.c37 system_state != SYSTEM_RUNNING) { in try_to_suspend()
H A Dsuspend.c441 system_state = SYSTEM_SUSPEND; in suspend_enter()
458 system_state = SYSTEM_RUNNING; in suspend_enter()
/OK3568_Linux_fs/kernel/include/linux/
H A Drandom.h119 WARN_ON(system_state != SYSTEM_BOOTING);
127 WARN_ON(system_state != SYSTEM_BOOTING); in arch_get_random_long_early()
/OK3568_Linux_fs/kernel/arch/x86/kernel/
H A Djump_label.c78 if (init || system_state == SYSTEM_BOOTING) { in __jump_label_transform()
107 if (system_state == SYSTEM_BOOTING) { in arch_jump_label_transform_queue()
H A Dstatic_call.c53 if (system_state == SYSTEM_BOOTING || modinit) in __static_call_transform()
H A Dapb_timer.c219 if (system_state == SYSTEM_RUNNING) { in apbt_cpu_dead()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/powermac/
H A Dnvram.c199 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()
/OK3568_Linux_fs/kernel/drivers/clk/at91/
H A Dsckc.c79 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()
545 if (system_state < SYSTEM_RUNNING) in clk_sama5d4_slow_osc_prepare()
/OK3568_Linux_fs/kernel/lib/
H A Dsmp_processor_id.c32 if (system_state < SYSTEM_SCHEDULING) in check_preemption_disabled()
/OK3568_Linux_fs/kernel/arch/arm64/include/asm/
H A Darchrandom.h73 WARN_ON(system_state != SYSTEM_BOOTING); in arch_get_random_seed_long_early()
/OK3568_Linux_fs/kernel/kernel/time/
H A Dtick-common.c536 system_state = SYSTEM_SUSPEND; in tick_freeze()
562 system_state = SYSTEM_RUNNING; in tick_unfreeze()
/OK3568_Linux_fs/kernel/drivers/i2c/
H A Di2c-core.h32 return system_state > SYSTEM_RUNNING && irqs_disabled(); in i2c_in_atomic_xfer_mode()
/OK3568_Linux_fs/kernel/drivers/ide/
H A Dide-gd.c133 if (system_state != SYSTEM_POWER_OFF) {
135 if (system_state == SYSTEM_RESTART &&
/OK3568_Linux_fs/kernel/init/
H A Dmain.c129 enum system_states system_state __read_mostly;
130 EXPORT_SYMBOL(system_state);
704 system_state = SYSTEM_SCHEDULING; in rest_init()
1631 system_state = SYSTEM_RUNNING; in kernel_init()
/OK3568_Linux_fs/kernel/drivers/soc/rockchip/fiq_debugger/
H A Drk_fiq_debugger.c390 system_state == SYSTEM_HALT || in console_write()
391 system_state == SYSTEM_POWER_OFF || in console_write()
392 system_state == SYSTEM_RESTART) { in console_write()
/OK3568_Linux_fs/kernel/arch/riscv/kernel/
H A Dsmp.c230 if (system_state <= SYSTEM_RUNNING) in smp_send_stop()
/OK3568_Linux_fs/kernel/drivers/cpufreq/
H A Dpasemi-cpufreq.c214 if (system_state >= SYSTEM_RUNNING) in pas_cpufreq_cpu_exit()
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Dsmp.c134 if (system_state < SYSTEM_RUNNING && cpu_has_feature(CPU_FTR_SMT)) { in smp_generic_cpu_bootable()
1201 if (system_state < SYSTEM_RUNNING) in __cpu_up()
1489 if (system_state == SYSTEM_RUNNING) in start_secondary()

12345