Lines Matching refs:tboot

35 static struct tboot *tboot __read_mostly;
47 return tboot != NULL; in tboot_enabled()
53 if (memcmp(&tboot_uuid, &tboot->uuid, sizeof(tboot->uuid))) { in check_tboot_version()
58 if (tboot->version < 5) { in check_tboot_version()
59 pr_warn("tboot version is invalid: %u\n", tboot->version); in check_tboot_version()
65 pr_debug("version: %d\n", tboot->version); in check_tboot_version()
66 pr_debug("log_addr: 0x%08x\n", tboot->log_addr); in check_tboot_version()
67 pr_debug("shutdown_entry: 0x%x\n", tboot->shutdown_entry); in check_tboot_version()
68 pr_debug("tboot_base: 0x%08x\n", tboot->tboot_base); in check_tboot_version()
69 pr_debug("tboot_size: 0x%x\n", tboot->tboot_size); in check_tboot_version()
91 tboot = (void *)fix_to_virt(FIX_TBOOT_BASE); in tboot_probe()
93 tboot = NULL; in tboot_probe()
172 map_base = PFN_DOWN(tboot->tboot_base); in tboot_create_trampoline()
173 map_size = PFN_UP(tboot->tboot_size); in tboot_create_trampoline()
186 if (tboot->num_mac_regions >= MAX_TB_MAC_REGIONS) in add_mac_region()
190 mr = &tboot->mac_regions[tboot->num_mac_regions++]; in add_mac_region()
200 tboot->num_mac_regions = 0; in tboot_setup_sleep()
210 tboot->acpi_sinfo.kernel_s3_resume_vector = in tboot_setup_sleep()
247 tboot->shutdown_type = shutdown_type; in tboot_shutdown()
251 shutdown = (void(*)(void))(unsigned long)tboot->shutdown_entry; in tboot_shutdown()
268 TB_COPY_GAS(tboot->acpi_sinfo.pm1a_cnt_blk, fadt->xpm1a_control_block); in tboot_copy_fadt()
269 TB_COPY_GAS(tboot->acpi_sinfo.pm1b_cnt_blk, fadt->xpm1b_control_block); in tboot_copy_fadt()
270 TB_COPY_GAS(tboot->acpi_sinfo.pm1a_evt_blk, fadt->xpm1a_event_block); in tboot_copy_fadt()
271 TB_COPY_GAS(tboot->acpi_sinfo.pm1b_evt_blk, fadt->xpm1b_event_block); in tboot_copy_fadt()
278 tboot->acpi_sinfo.wakeup_vector = fadt->facs + in tboot_copy_fadt()
294 tboot->acpi_sinfo.pm1a_cnt_val = pm1a_control; in tboot_sleep()
295 tboot->acpi_sinfo.pm1b_cnt_val = pm1b_control; in tboot_sleep()
297 tboot->acpi_sinfo.vector_width = 32; in tboot_sleep()
325 while (atomic_read((atomic_t *)&tboot->num_in_wfs) != num_aps && in tboot_wait_for_aps()
334 return !(atomic_read((atomic_t *)&tboot->num_in_wfs) == num_aps); in tboot_wait_for_aps()