Home
last modified time | relevance | path

Searched full:boot_stage (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/power/reset/
H A Dmacsmc-reboot.c18 struct nvmem_cell *boot_stage; member
25 "boot_stage",
30 enum boot_stage { enum
153 /* Set the boot_stage to 0, which means we're doing a clean shutdown/reboot. */ in macsmc_reboot_notify()
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()
156 dev_err(reboot->dev, "Failed to write boot_stage\n"); in macsmc_reboot_notify()
232 /* Set the boot_stage to indicate we're running the OS kernel */ in macsmc_reboot_probe()
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()
[all …]
/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()
/linux/Documentation/devicetree/bindings/power/reset/
H A Dapple,smc-reboot.yaml31 - const: boot_stage
/linux/drivers/bluetooth/
H A Dbtintel_pcie.c459 bt_dev_warn(hdev, "Controller device warning (boot_stage: 0x%8.8x)", reg); in btintel_pcie_send_sync()
1545 bt_dev_warn(data->hdev, "Controller device warning (boot_stage: 0x%8.8x)", in btintel_pcie_coredump_worker()
1962 bt_dev_err(data->hdev, "Controller in error state (boot_stage: 0x%8.8x)", in btintel_pcie_setup_txq_bufs()
2762 * boot_stage register and image_response register in btintel_pcie_reset_work()