Home
last modified time | relevance | path

Searched refs:header (Results 1 – 25 of 119) sorted by relevance

12345

/xen/xen/drivers/acpi/
A Dnuma.c42 if (!header) in acpi_table_print_srat_entry()
45 switch (header->type) { in acpi_table_print_srat_entry()
51 container_of(header, struct acpi_srat_cpu_affinity, header); in acpi_table_print_srat_entry()
73 container_of(header, struct acpi_srat_mem_affinity, header); in acpi_table_print_srat_entry()
110 header->type); in acpi_table_print_srat_entry()
128 header); in acpi_parse_x2apic_affinity()
130 if (!header) in acpi_parse_x2apic_affinity()
146 = container_of(header, struct acpi_srat_cpu_affinity, header); in acpi_parse_processor_affinity()
148 if (!header) in acpi_parse_processor_affinity()
164 = container_of(header, struct acpi_srat_mem_affinity, header); in acpi_parse_memory_affinity()
[all …]
A Dtables.c48 if (!header) in acpi_table_print_madt_entry()
51 switch (header->type) { in acpi_table_print_madt_entry()
56 (struct acpi_madt_local_apic *)header; in acpi_table_print_madt_entry()
67 (struct acpi_madt_local_x2apic *)header; in acpi_table_print_madt_entry()
79 (struct acpi_madt_io_apic *)header; in acpi_table_print_madt_entry()
108 (struct acpi_madt_nmi_source *)header; in acpi_table_print_madt_entry()
161 (struct acpi_madt_io_sapic *)header; in acpi_table_print_madt_entry()
172 (struct acpi_madt_local_sapic *)header; in acpi_table_print_madt_entry()
196 container_of(header, struct acpi_madt_generic_interrupt, header); in acpi_table_print_madt_entry()
210 container_of(header, struct acpi_madt_generic_distributor, header); in acpi_table_print_madt_entry()
[all …]
/xen/tools/libacpi/
A Dbuild.c167 madt->header.length); in construct_madt()
193 hpet->header.length = sizeof(*hpet); in construct_hpet()
267 srat->header.length = size; in construct_srat()
300 slit->header.length = size; in construct_slit()
312 struct acpi_header *header; in construct_passthrough_tables() local
333 memcpy(buffer, header, header->length); in construct_passthrough_tables()
336 total += header->length; in construct_passthrough_tables()
337 pt_addr += header->length; in construct_passthrough_tables()
610 fadt->header.length = fadt_size; in acpi_build_tables()
646 xsdt->header.length); in acpi_build_tables()
[all …]
A Dacpi2_0.h101 struct acpi_header header; member
109 struct acpi_header header; member
117 struct acpi_header header; member
128 struct acpi_header header; member
173 struct acpi_header header; member
281 struct acpi_header header; member
291 struct acpi_header header; member
304 struct acpi_header header; member
371 struct acpi_header header; member
419 struct acpi_header header; member
A Dstatic_tables.c46 .header = {
104 .header = {
117 .header = {
148 .header = {
/xen/xen/include/acpi/
A Dactbl1.h173 struct acpi_subtable_header header; member
497 struct acpi_hest_header header; member
512 struct acpi_hest_header header; member
526 struct acpi_hest_header header; member
538 struct acpi_hest_header header; member
546 struct acpi_hest_header header; member
553 struct acpi_hest_header header; member
563 struct acpi_hest_header header; member
657 struct acpi_subtable_header header; member
666 struct acpi_subtable_header header; member
[all …]
A Dactbl2.h145 struct acpi_asf_header header; member
161 struct acpi_asf_header header; member
186 struct acpi_asf_header header; member
202 struct acpi_asf_header header; member
215 struct acpi_asf_header header; member
383 struct acpi_dmar_header header; member
397 struct acpi_dmar_header header; member
411 struct acpi_dmar_header header; member
424 struct acpi_dmar_header header; member
504 struct acpi_ibft_header header; member
[all …]
A Dactbl3.h109 struct acpi_table_header header; /* Common ACPI table header */ member
188 struct acpi_fpdt_header header; member
200 struct acpi_fpdt_header header; member
231 struct acpi_s3pt_header header; member
238 struct acpi_s3pt_header header; member
293 struct acpi_gtdt_header header; member
327 struct acpi_gtdt_header header; member
461 struct acpi_subtable_header header; member
524 struct acpi_pmtt_header header; member
532 struct acpi_pmtt_header header; member
[all …]
/xen/xen/arch/x86/acpi/
A Dboot.c77 acpi_madt_oem_check(madt->header.oem_id, madt->header.oem_table_id); in acpi_parse_madt()
86 container_of(header, struct acpi_madt_local_x2apic, header); in acpi_parse_x2apic()
94 acpi_table_print_madt_entry(header); in acpi_parse_x2apic()
136 container_of(header, struct acpi_madt_local_apic, header); in acpi_parse_lapic()
170 header); in acpi_parse_lapic_addr_ovr()
186 header); in acpi_parse_x2apic_nmi()
203 container_of(header, struct acpi_madt_local_apic_nmi, header); in acpi_parse_lapic_nmi()
220 container_of(header, struct acpi_madt_io_apic, header); in acpi_parse_ioapic()
239 header); in acpi_parse_int_src_ovr()
264 container_of(header, struct acpi_madt_nmi_source, header); in acpi_parse_nmi_src()
[all …]
/xen/xen/drivers/vpci/
A Dheader.c87 struct vpci_header *header = &pdev->vpci->header; in modify_decoding() local
114 header->bars[i].enabled = header->rom_enabled = map; in modify_decoding()
120 (header->bars[i].type != VPCI_BAR_ROM || header->rom_enabled) ) in modify_decoding()
121 header->bars[i].enabled = map; in modify_decoding()
206 struct vpci_header *header = &pdev->vpci->header; in modify_bars() local
403 struct vpci_header *header = &pdev->vpci->header; in rom_write() local
417 if ( !header->rom_enabled ) in rom_write()
427 header->rom_enabled = new_enabled; in rom_write()
454 struct vpci_header *header = &pdev->vpci->header; in init_bars() local
455 struct vpci_bar *bars = header->bars; in init_bars()
[all …]
/xen/xen/drivers/passthrough/amd/
A Diommu_acpi.c45 struct acpi_ivrs_de_header header; member
299 bdf = ivmd_block->header.device_id; in parse_ivmd_device_select()
394 switch( ivmd_block->header.type ) in parse_ivmd_block()
435 bdf = select->header.id; in parse_ivhd_device_select()
477 last_bdf = range->end.header.id; in parse_ivhd_device_range()
507 bdf = alias->header.id; in parse_ivhd_device_alias()
559 last_bdf = range->end.header.id; in parse_ivhd_device_alias_range()
597 bdf = ext->header.id; in parse_ivhd_device_extended()
638 last_bdf = range->end.header.id; in parse_ivhd_device_extended_range()
867 switch ( ivhd_block->header.type ) in get_ivhd_header_size()
[all …]
A Diommu_detect.c48 iommu->cap.header = pci_conf_read32(PCI_SBDF(seg, bus, dev, func), cap_ptr); in get_iommu_capabilities()
49 type = get_field_from_reg_u32(iommu->cap.header, PCI_CAP_TYPE_MASK, in get_iommu_capabilities()
139 if ( ivhd_block->header.length < sizeof(*ivhd_block) ) in amd_iommu_detect_one_acpi()
145 if ( !ivhd_block->header.device_id || in amd_iommu_detect_one_acpi()
163 iommu->bdf = ivhd_block->header.device_id; in amd_iommu_detect_one_acpi()
168 iommu->ht_flags = ivhd_block->header.flags; in amd_iommu_detect_one_acpi()
/xen/xen/drivers/acpi/tables/
A Dtbutils.c126 struct acpi_table_header *header) in acpi_tb_print_table_header() argument
134 header->signature, (unsigned long)address, in acpi_tb_print_table_header()
135 header->length)); in acpi_tb_print_table_header()
145 header)->length : 20, in acpi_tb_print_table_header()
147 header)->revision, in acpi_tb_print_table_header()
149 header)->oem_id)); in acpi_tb_print_table_header()
155 header->signature, (unsigned long)address, in acpi_tb_print_table_header()
156 header->length, header->revision, header->oem_id, in acpi_tb_print_table_header()
157 header->oem_table_id, header->oem_revision, in acpi_tb_print_table_header()
158 header->asl_compiler_id, in acpi_tb_print_table_header()
[all …]
/xen/tools/
A Dconfig.h.in24 /* Define to 1 if you have the <inttypes.h> header file. */
39 /* Define to 1 if you have the <memory.h> header file. */
48 /* Define to 1 if you have the <stdint.h> header file. */
51 /* Define to 1 if you have the <stdlib.h> header file. */
57 /* Define to 1 if you have the <string.h> header file. */
72 /* Define to 1 if you have the <unistd.h> header file. */
75 /* Define to 1 if you have the <utmp.h> header file. */
84 /* Define curses header to use */
87 /* Define extfs header to use */
90 /* libutil header file name */
[all …]
/xen/tools/firmware/hvmloader/
A Dsmbios_types.h59 struct smbios_structure_header header; member
75 struct smbios_structure_header header; member
88 struct smbios_structure_header header; member
111 struct smbios_structure_header header; member
131 struct smbios_structure_header header; member
154 struct smbios_structure_header header; member
162 struct smbios_structure_header header; member
175 struct smbios_structure_header header; member
196 struct smbios_structure_header header; member
205 struct smbios_structure_header header; member
[all …]
A Dsmbios.c397 p->header.type = 0; in smbios_type_0_init()
456 p->header.type = 1; in smbios_type_1_init()
524 p->header.type = 2; in smbios_type_2_init()
610 p->header.type = 3; in smbios_type_3_init()
661 p->header.type = 4; in smbios_type_4_init()
722 p->header.type = 11; in smbios_type_11_init()
761 p->header.type = 16; in smbios_type_16_init()
786 p->header.type = 17; in smbios_type_17_init()
821 p->header.type = 19; in smbios_type_19_init()
843 p->header.type = 20; in smbios_type_20_init()
[all …]
/xen/xen/arch/x86/x86_64/
A Dacpi_mmcfg.c57 if (!strncmp(mcfg->header.oem_id, "SGI", 3)) in acpi_mcfg_check_entry()
60 if (mcfg->header.revision >= 1 && in acpi_mcfg_check_entry()
72 int __init acpi_parse_mcfg(struct acpi_table_header *header) in acpi_parse_mcfg() argument
77 if (!header) in acpi_parse_mcfg()
80 mcfg = (struct acpi_table_mcfg *)header; in acpi_parse_mcfg()
84 i = header->length - sizeof(struct acpi_table_mcfg); in acpi_parse_mcfg()
/xen/xen/common/
A Dunlzma.c278 struct lzma_header *header; member
298 offs -= wr->header->dict_size; in peek_old_byte()
304 pos += wr->header->dict_size; in peek_old_byte()
317 != wr->header->dict_size) in write_byte()
539 struct lzma_header header; in unlzma() local
566 wr.header = &header; in unlzma()
580 if (header.pos >= (9 * 5 * 5)) { in unlzma()
586 lc = header.pos; in unlzma()
603 if (header.dict_size == 0) in unlzma()
604 header.dict_size = 1; in unlzma()
[all …]
/xen/xen/common/libelf/
A Dlibelf-loader.c31 elf_ehdr header; member
286 struct elf_sym_header header; in elf_load_bsdsyms() local
311 elf_set_xdest(elf, &header, sizeof(header)); in elf_load_bsdsyms()
323 symtab_base = elf_round_up(elf, header_base + sizeof(header)); in elf_load_bsdsyms()
329 ehdr_size = elf_64bit(elf) ? sizeof(header.elf_header.header.e64) : in elf_load_bsdsyms()
330 sizeof(header.elf_header.header.e32); in elf_load_bsdsyms()
332 sizeof(header.elf_header.section[0].e32); in elf_load_bsdsyms()
336 ELF_REALPTR2PTRVAL(&header.elf_header.header)); in elf_load_bsdsyms()
427 header.size = strtab_base + elf_uval(elf, section_handle, sh_size) - in elf_load_bsdsyms()
431 header_size = offsetof(typeof(header), elf_header.section); in elf_load_bsdsyms()
[all …]
/xen/xen/drivers/pci/
A Dpci.c92 u32 header; in pci_find_next_ext_capability() local
96 header = pci_conf_read32(PCI_SBDF3(seg, bus, devfn), pos); in pci_find_next_ext_capability()
102 if ( (header == 0) || (header == -1) ) in pci_find_next_ext_capability()
104 ASSERT(start != pos || PCI_EXT_CAP_ID(header) == cap); in pci_find_next_ext_capability()
107 if ( PCI_EXT_CAP_ID(header) == cap && pos != start ) in pci_find_next_ext_capability()
109 pos = PCI_EXT_CAP_NEXT(header); in pci_find_next_ext_capability()
112 header = pci_conf_read32(PCI_SBDF3(seg, bus, devfn), pos); in pci_find_next_ext_capability()
/xen/tools/include/xen-foreign/
A Dmkheader.py16 header = {}; variable
27 header["arm32"] = """
48 header["arm64"] = """
69 header["x86_32"] = """
88 header["x86_64"] = """
135 if arch in header:
136 output += header[arch];
/xen/scripts/
A Dadd_maintainers.pl163 insert($file , $insert, $inssearch{header}, $insafter{header});
168 my $header = join("\n", @$rheader);
173 insert($file , $header, $inssearch{header}, $insafter{header});
305 my @header; # To: lists returned by get_maintainers.pl
322 getmaintainers($file, \@header, \@cc);
332 push @header, @extrapatch;
342 my @header_only = normalize(\@header, \@headerpatch);
/xen/xen/arch/arm/acpi/
A Ddomain_build.c302 xsdt->header.length = table_size; in acpi_create_xsdt()
304 xsdt->header.checksum -= checksum; in acpi_create_xsdt()
338 stao->header.revision = 1; in acpi_create_stao()
339 stao->header.length = table_size; in acpi_create_stao()
342 stao->header.checksum -= checksum; in acpi_create_stao()
354 struct acpi_subtable_header *header; in acpi_create_madt() local
377 if ( !header ) in acpi_create_madt()
382 gicd = container_of(header, struct acpi_madt_generic_distributor, header); in acpi_create_madt()
397 madt->header.length = table_size; in acpi_create_madt()
399 madt->header.checksum -= checksum; in acpi_create_madt()
[all …]
A Dboot.c128 acpi_parse_gic_cpu_interface(struct acpi_subtable_header *header, in acpi_parse_gic_cpu_interface() argument
132 container_of(header, struct acpi_madt_generic_interrupt, header); in acpi_parse_gic_cpu_interface()
137 acpi_table_print_madt_entry(header); in acpi_parse_gic_cpu_interface()
/xen/xen/drivers/acpi/apei/
A Dhest.c73 header); in hest_esrc_len()
81 header); in hest_esrc_len()
110 (void *)hest_tab + hest_tab->header.length) { in apei_hest_parse()
142 cmc = container_of(hest_hdr, const struct acpi_hest_ia_corrected, header); in hest_parse_cmc()

Completed in 48 milliseconds

12345