Searched refs:boot_stage (Results 1 – 3 of 3) sorted by relevance
18 struct nvmem_cell *boot_stage; member30 enum boot_stage { enum154 if (reboot->nvm.boot_stage && in macsmc_reboot_notify()155 nvmem_cell_set_u8(reboot->nvm.boot_stage, BOOT_STAGE_SHUTDOWN) < 0) in macsmc_reboot_notify()233 if (reboot->nvm.boot_stage && in macsmc_reboot_probe()234 nvmem_cell_set_u8(reboot->nvm.boot_stage, BOOT_STAGE_KERNEL_STARTED) < 0) in macsmc_reboot_probe()
29 u8 boot_stage; in boot_progress_show() local46 boot_stage = (bootstage >> 8) & 0xff; in boot_progress_show()48 if (boot_stage > cur_stage) in boot_progress_show()58 if (boot_stage < cur_stage) { in boot_progress_show()
65 if (smc->boot_stage != APPLE_SMC_INITIALIZED) in apple_smc_cmd_locked()256 if (smc->boot_stage != APPLE_SMC_INITIALIZED) in apple_smc_write_atomic()302 smc->boot_stage = APPLE_SMC_ERROR_CRASHED; in apple_smc_rtkit_crashed()342 if (smc->boot_stage == APPLE_SMC_BOOTING) { in apple_smc_rtkit_recv_early()349 smc->boot_stage = APPLE_SMC_ERROR_NO_SHMEM; in apple_smc_rtkit_recv_early()352 smc->boot_stage = APPLE_SMC_INITIALIZED; in apple_smc_rtkit_recv_early()430 smc->boot_stage = APPLE_SMC_BOOTING; in apple_smc_probe()456 if (smc->boot_stage != APPLE_SMC_INITIALIZED) { in apple_smc_probe()457 dev_err(dev, "SMC failed to boot successfully, boot stage=%d\n", smc->boot_stage); in apple_smc_probe()