Lines Matching refs:tboot

51 struct tboot *tboot __read_mostly;
52 EXPORT_SYMBOL(tboot);
79 tboot = (struct tboot *)fix_to_virt(FIX_TBOOT_BASE); in tboot_probe()
80 if (memcmp(&tboot_uuid, &tboot->uuid, sizeof(tboot->uuid))) { in tboot_probe()
83 tboot = NULL; in tboot_probe()
86 if (tboot->version < 5) { in tboot_probe()
87 pr_warning("tboot version is invalid: %u\n", tboot->version); in tboot_probe()
88 tboot = NULL; in tboot_probe()
94 pr_debug("version: %d\n", tboot->version); in tboot_probe()
95 pr_debug("log_addr: 0x%08x\n", tboot->log_addr); in tboot_probe()
96 pr_debug("shutdown_entry: 0x%x\n", tboot->shutdown_entry); in tboot_probe()
97 pr_debug("tboot_base: 0x%08x\n", tboot->tboot_base); in tboot_probe()
98 pr_debug("tboot_size: 0x%x\n", tboot->tboot_size); in tboot_probe()
176 map_base = PFN_DOWN(tboot->tboot_base); in tboot_create_trampoline()
177 map_size = PFN_UP(tboot->tboot_size); in tboot_create_trampoline()
190 if (tboot->num_mac_regions >= MAX_TB_MAC_REGIONS) in add_mac_region()
194 mr = &tboot->mac_regions[tboot->num_mac_regions++]; in add_mac_region()
204 tboot->num_mac_regions = 0; in tboot_setup_sleep()
214 tboot->acpi_sinfo.kernel_s3_resume_vector = in tboot_setup_sleep()
251 tboot->shutdown_type = shutdown_type; in tboot_shutdown()
255 shutdown = (void(*)(void))(unsigned long)tboot->shutdown_entry; in tboot_shutdown()
272 TB_COPY_GAS(tboot->acpi_sinfo.pm1a_cnt_blk, fadt->xpm1a_control_block); in tboot_copy_fadt()
273 TB_COPY_GAS(tboot->acpi_sinfo.pm1b_cnt_blk, fadt->xpm1b_control_block); in tboot_copy_fadt()
274 TB_COPY_GAS(tboot->acpi_sinfo.pm1a_evt_blk, fadt->xpm1a_event_block); in tboot_copy_fadt()
275 TB_COPY_GAS(tboot->acpi_sinfo.pm1b_evt_blk, fadt->xpm1b_event_block); in tboot_copy_fadt()
282 tboot->acpi_sinfo.wakeup_vector = fadt->facs + in tboot_copy_fadt()
298 tboot->acpi_sinfo.pm1a_cnt_val = pm1a_control; in tboot_sleep()
299 tboot->acpi_sinfo.pm1b_cnt_val = pm1b_control; in tboot_sleep()
301 tboot->acpi_sinfo.vector_width = 32; in tboot_sleep()
329 while (atomic_read((atomic_t *)&tboot->num_in_wfs) != num_aps && in tboot_wait_for_aps()
338 return !(atomic_read((atomic_t *)&tboot->num_in_wfs) == num_aps); in tboot_wait_for_aps()