Home
last modified time | relevance | path

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

12345

/Linux-v6.6/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.6/kernel/
Dnotifier.c268 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()
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.c163 bool init = system_state < SYSTEM_RUNNING; in __static_call_update()
475 bool init = system_state < SYSTEM_RUNNING; in static_call_text_reserved()
/Linux-v6.6/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.c108 if (system_state == SYSTEM_BOOTING || modinit) in __static_call_transform()
/Linux-v6.6/kernel/power/
Dhibernate.c313 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()
614 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.6/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.6/lib/
Dsmp_processor_id.c33 if (system_state < SYSTEM_SCHEDULING) in check_preemption_disabled()
Ddhry_run.c71 if (dhry_run && system_state == SYSTEM_RUNNING) in dhry_run_set()
/Linux-v6.6/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()
559 if (system_state < SYSTEM_RUNNING) in clk_sama5d4_slow_osc_prepare()
/Linux-v6.6/init/
Dmain.c125 enum system_states system_state __read_mostly;
126 EXPORT_SYMBOL(system_state);
716 system_state = SYSTEM_SCHEDULING; in rest_init()
1441 system_state = SYSTEM_FREEING_INITMEM; in kernel_init()
1455 system_state = SYSTEM_RUNNING; in kernel_init()
/Linux-v6.6/drivers/i2c/
Di2c-core.h32 return system_state > SYSTEM_RUNNING && irqs_disabled(); in i2c_in_atomic_xfer_mode()
/Linux-v6.6/kernel/time/
Dtick-common.c531 system_state = SYSTEM_SUSPEND; in tick_freeze()
557 system_state = SYSTEM_RUNNING; in tick_unfreeze()
/Linux-v6.6/drivers/tee/optee/
DKconfig18 the filesystem which is determined by checking the system_state until
/Linux-v6.6/arch/arm64/kernel/
Dpatching.c21 return system_state < SYSTEM_RUNNING && in is_exit_text()
/Linux-v6.6/drivers/cpufreq/
Dpasemi-cpufreq.c213 if (system_state >= SYSTEM_RUNNING) in pas_cpufreq_cpu_exit()
/Linux-v6.6/arch/powerpc/kernel/
Dsmp.c161 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()
/Linux-v6.6/arch/arm/kernel/
Dftrace.c73 system_state >= SYSTEM_FREEING_INITMEM || in adjust_address()
/Linux-v6.6/arch/x86/kernel/apic/
Dx2apic_cluster.c138 if (system_state < SYSTEM_RUNNING) in alloc_clustermask()
/Linux-v6.6/arch/riscv/kernel/
Dsmp.c257 if (system_state <= SYSTEM_RUNNING) in smp_send_stop()

12345