Lines Matching refs:entry
43 static void finish_table(struct table_info *tab, const char *sig, void *entry) in finish_table() argument
49 hdr->len = sizeof(*hdr) + ((ulong)entry - tab->entry_start); in finish_table()
62 u64 *entry = get_entry_start(tab); in sfi_write_system_header() local
65 if (!entry) in sfi_write_system_header()
69 *entry++ = tab->table[i]; in sfi_write_system_header()
70 finish_table(tab, SFI_SIG_SYST, entry); in sfi_write_system_header()
77 struct sfi_cpu_table_entry *entry = get_entry_start(tab); in sfi_write_cpus() local
81 if (!entry) in sfi_write_cpus()
91 entry->apic_id = plat->cpu_id; in sfi_write_cpus()
92 entry++; in sfi_write_cpus()
98 finish_table(tab, SFI_SIG_CPUS, entry); in sfi_write_cpus()
105 struct sfi_apic_table_entry *entry = get_entry_start(tab); in sfi_write_apic() local
107 if (!entry) in sfi_write_apic()
110 entry->phys_addr = IO_APIC_ADDR; in sfi_write_apic()
111 entry++; in sfi_write_apic()
112 finish_table(tab, SFI_SIG_APIC, entry); in sfi_write_apic()
119 struct sfi_xsdt_header *entry = get_entry_start(tab); in sfi_write_xsdt() local
121 if (!entry) in sfi_write_xsdt()
124 entry->oem_revision = 1; in sfi_write_xsdt()
125 entry->creator_id = 1; in sfi_write_xsdt()
126 entry->creator_revision = 1; in sfi_write_xsdt()
127 entry++; in sfi_write_xsdt()
128 finish_table(tab, SFI_SIG_XSDT, entry); in sfi_write_xsdt()