Home
last modified time | relevance | path

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

12345

/Linux-v6.1/drivers/firmware/arm_scmi/
Dscmi_power_control.c181 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()
Dsystem.c29 __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()
/Linux-v6.1/include/linux/
Drandom.h118 WARN_ON(system_state != SYSTEM_BOOTING); in declare_get_random_var_wait()
126 WARN_ON(system_state != SYSTEM_BOOTING); in arch_get_random_longs_early()
/Linux-v6.1/kernel/
Dnotifier.c262 if (unlikely(system_state == SYSTEM_BOOTING)) in __blocking_notifier_chain_register()
325 if (unlikely(system_state == SYSTEM_BOOTING)) in blocking_notifier_chain_unregister()
485 if (unlikely(system_state == SYSTEM_BOOTING)) in srcu_notifier_chain_register()
515 if (unlikely(system_state == SYSTEM_BOOTING)) in srcu_notifier_chain_unregister()
Dextable.c71 if (system_state < SYSTEM_FREEING_INITMEM && in core_kernel_text()
Dreboot.c84 system_state = SYSTEM_RESTART; in kernel_restart_prepare()
284 system_state = state; in kernel_shutdown_prepare()
346 if (system_state > SYSTEM_RUNNING) in alloc_sys_off_handler()
Dstatic_call_inline.c152 bool init = system_state < SYSTEM_RUNNING; in __static_call_update()
464 bool init = system_state < SYSTEM_RUNNING; in static_call_text_reserved()
/Linux-v6.1/arch/x86/kernel/
Djump_label.c100 if (init || system_state == SYSTEM_BOOTING) { in __jump_label_transform()
128 if (system_state == SYSTEM_BOOTING) { in arch_jump_label_transform_queue()
Dstatic_call.c64 if (system_state == SYSTEM_BOOTING || modinit) in __static_call_transform()
/Linux-v6.1/kernel/power/
Dhibernate.c312 system_state = SYSTEM_SUSPEND; in create_image()
344 system_state = SYSTEM_RUNNING; in create_image()
479 system_state = SYSTEM_SUSPEND; in resume_target_kernel()
513 system_state = SYSTEM_RUNNING; in resume_target_kernel()
600 system_state = SYSTEM_SUSPEND; in hibernation_platform_enter()
613 system_state = SYSTEM_RUNNING; in hibernation_platform_enter()
Dautosleep.c37 system_state != SYSTEM_RUNNING) { in try_to_suspend()
Dsuspend.c438 system_state = SYSTEM_SUSPEND; in suspend_enter()
455 system_state = SYSTEM_RUNNING; in suspend_enter()
/Linux-v6.1/arch/powerpc/platforms/powermac/
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()
/Linux-v6.1/lib/
Dsmp_processor_id.c33 if (system_state < SYSTEM_SCHEDULING) in check_preemption_disabled()
/Linux-v6.1/drivers/clk/at91/
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()
/Linux-v6.1/init/
Dmain.c132 enum system_states system_state __read_mostly;
133 EXPORT_SYMBOL(system_state);
719 system_state = SYSTEM_SCHEDULING; in rest_init()
1523 system_state = SYSTEM_FREEING_INITMEM; in kernel_init()
1537 system_state = SYSTEM_RUNNING; in kernel_init()
/Linux-v6.1/drivers/i2c/
Di2c-core.h32 return system_state > SYSTEM_RUNNING && irqs_disabled(); in i2c_in_atomic_xfer_mode()
/Linux-v6.1/kernel/time/
Dtick-common.c532 system_state = SYSTEM_SUSPEND; in tick_freeze()
558 system_state = SYSTEM_RUNNING; in tick_unfreeze()
/Linux-v6.1/arch/arm64/include/asm/
Darchrandom.h127 WARN_ON(system_state != SYSTEM_BOOTING); in arch_get_random_seed_longs_early()
/Linux-v6.1/drivers/net/ethernet/wangxun/txgbe/
Dtxgbe_main.c49 if (system_state == SYSTEM_POWER_OFF) { in txgbe_shutdown()
/Linux-v6.1/arch/arm64/kernel/
Dpatching.c21 return system_state < SYSTEM_RUNNING && in is_exit_text()
/Linux-v6.1/drivers/net/ethernet/wangxun/ngbe/
Dngbe_main.c53 if (system_state == SYSTEM_POWER_OFF) { in ngbe_shutdown()
/Linux-v6.1/drivers/cpufreq/
Dpasemi-cpufreq.c213 if (system_state >= SYSTEM_RUNNING) in pas_cpufreq_cpu_exit()
/Linux-v6.1/arch/powerpc/kernel/
Dsmp.c158 if (system_state < SYSTEM_RUNNING && cpu_has_feature(CPU_FTR_SMT)) { in smp_generic_cpu_bootable()
1261 const bool booting = system_state < SYSTEM_RUNNING; in __cpu_up()
1319 if (!cpu_callin_map[cpu] && system_state >= SYSTEM_RUNNING) { in __cpu_up()
1630 if (system_state == SYSTEM_RUNNING) in start_secondary()
/Linux-v6.1/drivers/watchdog/
Dda9063_wdt.c132 if (system_state > SYSTEM_RUNNING) in da9063_wdt_ping()

12345