Home
last modified time | relevance | path

Searched refs:boot_stage (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/power/reset/
H A Dmacsmc-reboot.c19 struct nvmem_cell *boot_stage; member
26 "boot_stage",
31 enum boot_stage { enum
154 /* Set the boot_stage to 0, which means we're doing a clean shutdown/reboot. */ in macsmc_reboot_notify()
155 if (reboot->nvm.boot_stage && in macsmc_reboot_notify()
156 nvmem_cell_set_u8(reboot->nvm.boot_stage, BOOT_STAGE_SHUTDOWN) < 0) in macsmc_reboot_notify()
157 dev_err(reboot->dev, "Failed to write boot_stage\n"); in macsmc_reboot_notify()
233 /* Set the boot_stage to indicate we're running the OS kernel */ in macsmc_reboot_probe()
234 if (reboot->nvm.boot_stage && in macsmc_reboot_probe()
235 nvmem_cell_set_u8(reboot->nvm.boot_stage, BOOT_STAGE_KERNEL_STARTE in macsmc_reboot_probe()
[all...]
/linux/drivers/misc/
H A Dsmpro-misc.c30 u8 boot_stage; in boot_progress_show() local
47 boot_stage = (bootstage >> 8) & 0xff; in boot_progress_show()
49 if (boot_stage > cur_stage) in boot_progress_show()
59 if (boot_stage < cur_stage) { in boot_progress_show()
/linux/drivers/mfd/
H A Dmacsmc.c61 if (smc->boot_stage != APPLE_SMC_INITIALIZED) in apple_smc_cmd_locked()
252 if (smc->boot_stage != APPLE_SMC_INITIALIZED) in apple_smc_write_atomic()
298 smc->boot_stage = APPLE_SMC_ERROR_CRASHED; in apple_smc_rtkit_crashed()
338 if (smc->boot_stage == APPLE_SMC_BOOTING) { in apple_smc_rtkit_recv_early()
345 smc->boot_stage = APPLE_SMC_ERROR_NO_SHMEM; in apple_smc_rtkit_recv_early()
348 smc->boot_stage = APPLE_SMC_INITIALIZED; in apple_smc_rtkit_recv_early()
425 smc->boot_stage = APPLE_SMC_BOOTING; in apple_smc_probe()
451 if (smc->boot_stage != APPLE_SMC_INITIALIZED) { in apple_smc_probe()
452 dev_err(dev, "SMC failed to boot successfully, boot stage=%d\n", smc->boot_stage); in apple_smc_probe()
/linux/include/linux/mfd/
H A Dmacsmc.h91 * @boot_stage: Current boot stage of SMC
115 enum apple_smc_boot_stage boot_stage; member
/linux/arch/arm64/boot/dts/apple/
H A Dt600x-die0.dtsi71 boot_stage: boot-stage@6001 { label
H A Dt8103.dtsi820 boot_stage: boot-stage@9f01 { label
H A Dt8112.dtsi868 boot_stage: boot-stage@f701 { label