Lines Matching refs:boot_cfg
885 static int psp_boot_config_get(struct amdgpu_device *adev, uint32_t *boot_cfg) in psp_boot_config_get() argument
897 cmd->cmd.boot_cfg.sub_cmd = BOOTCFG_CMD_GET; in psp_boot_config_get()
901 *boot_cfg = in psp_boot_config_get()
902 (cmd->resp.uresp.boot_cfg.boot_cfg & BOOT_CONFIG_GECC) ? 1 : 0; in psp_boot_config_get()
910 static int psp_boot_config_set(struct amdgpu_device *adev, uint32_t boot_cfg) in psp_boot_config_set() argument
922 cmd->cmd.boot_cfg.sub_cmd = BOOTCFG_CMD_SET; in psp_boot_config_set()
923 cmd->cmd.boot_cfg.boot_config = boot_cfg; in psp_boot_config_set()
924 cmd->cmd.boot_cfg.boot_config_valid = boot_cfg; in psp_boot_config_set()
1560 uint32_t boot_cfg = 0xFF; in psp_ras_initialize() local
1580 ret = psp_boot_config_get(adev, &boot_cfg); in psp_ras_initialize()
1585 if (!boot_cfg) { in psp_ras_initialize()
1601 if (1 == boot_cfg) { in psp_ras_initialize()