Home
last modified time | relevance | path

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

/linux/drivers/power/reset/
H A Dmacsmc-reboot.c18 struct nvmem_cell *boot_stage; member
30 enum boot_stage { enum
154 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()
/linux/drivers/misc/
H A Dsmpro-misc.c29 u8 boot_stage; in boot_progress_show() local
46 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()
/linux/drivers/mfd/
H A Dmacsmc.c65 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()