Home
last modified time | relevance | path

Searched refs:acpi (Results 1 – 25 of 47) sorted by relevance

12

/external/syslinux/com32/hdt/
Dhdt-menu-acpi.c62 if (hardware->acpi.rsdt.valid) in compute_acpi_tables()
63 compute_table(menu,hardware->acpi.rsdt.address, in compute_acpi_tables()
64 &hardware->acpi.rsdt.header); in compute_acpi_tables()
66 if (hardware->acpi.xsdt.valid) in compute_acpi_tables()
67 compute_table(menu,hardware->acpi.xsdt.address, in compute_acpi_tables()
68 &hardware->acpi.xsdt.header); in compute_acpi_tables()
70 if (hardware->acpi.fadt.valid) in compute_acpi_tables()
71 compute_table(menu,hardware->acpi.fadt.address, &hardware->acpi.fadt.header); in compute_acpi_tables()
73 if (hardware->acpi.dsdt.valid) in compute_acpi_tables()
74 compute_table(menu,hardware->acpi.dsdt.address, &hardware->acpi.dsdt.header); in compute_acpi_tables()
[all …]
Dhdt-dump-acpi.c83 void dump_rsdt(s_acpi * acpi, ZZJSON_CONFIG * config, ZZJSON ** item) in dump_rsdt() argument
87 if (acpi->rsdt.valid) { in dump_rsdt()
95 if (acpi->rsdt.valid==false) { in dump_rsdt()
100 show_header("rsdt",acpi->rsdt.address, &acpi->rsdt.header, config, item); in dump_rsdt()
103 void dump_xsdt(s_acpi * acpi, ZZJSON_CONFIG * config, ZZJSON ** item) in dump_xsdt() argument
107 if (acpi->xsdt.valid) { in dump_xsdt()
115 if (acpi->xsdt.valid==false) { in dump_xsdt()
120 show_header("xsdt",acpi->xsdt.address, &acpi->xsdt.header, config, item); in dump_xsdt()
123 void dump_fadt(s_acpi * acpi, ZZJSON_CONFIG * config, ZZJSON ** item) in dump_fadt() argument
127 if (acpi->rsdt.valid) { in dump_fadt()
[all …]
Dhdt-cli-acpi.c75 if (hardware->acpi.rsdp.valid) { in main_show_acpi()
76 s_rsdp *r = &hardware->acpi.rsdp; in main_show_acpi()
82 if (hardware->acpi.rsdt.valid) in main_show_acpi()
83 show_header(hardware->acpi.rsdt.address, in main_show_acpi()
84 &hardware->acpi.rsdt.header); in main_show_acpi()
86 if (hardware->acpi.xsdt.valid) in main_show_acpi()
87 show_header(hardware->acpi.xsdt.address, in main_show_acpi()
88 &hardware->acpi.xsdt.header); in main_show_acpi()
90 if (hardware->acpi.fadt.valid) in main_show_acpi()
91 show_header(hardware->acpi.fadt.address, &hardware->acpi.fadt.header); in main_show_acpi()
[all …]
Dhdt-cli-cpu.c45 if (hardware->acpi.madt.processor_local_apic_count > 0) { in main_show_cpu()
47 hardware->acpi.madt.processor_local_apic_count, in main_show_cpu()
107 if (hardware->acpi.madt.processor_local_apic_count > 0) { in show_cpu()
109 hardware->acpi.madt.processor_local_apic_count, in show_cpu()
110 hardware->acpi.madt.processor_local_apic_count / in show_cpu()
181 show_flag(buffer, hardware->cpu.flags.acpi, "acpi ", false); in show_cpu()
/external/syslinux/com32/gpllib/acpi/
Dacpi.c61 void init_acpi(s_acpi * acpi) in init_acpi() argument
63 memset(acpi, 0, sizeof(s_acpi)); in init_acpi()
66 int parse_acpi(s_acpi * acpi) in parse_acpi() argument
69 init_acpi(acpi); in parse_acpi()
72 if ((ret_val = search_rsdp(acpi)) != RSDP_TABLE_FOUND) in parse_acpi()
77 parse_rsdt(&acpi->rsdt); in parse_acpi()
78 if (parse_xsdt(acpi) != XSDT_TABLE_FOUND) { in parse_acpi()
80 for (int table=0; table <acpi->rsdt.entry_count; table++) { in parse_acpi()
81 parse_header((uint64_t *)acpi->rsdt.entry[table],acpi); in parse_acpi()
101 bool parse_header(uint64_t *address, s_acpi *acpi) { in parse_header() argument
[all …]
Drsdp.c36 int search_rsdp(s_acpi * acpi) in search_rsdp() argument
45 s_rsdp *r = &acpi->rsdp; in search_rsdp()
57 acpi->rsdt.address = r->rsdt_address; in search_rsdp()
58 acpi->xsdt.address = r->xsdt_address; in search_rsdp()
67 void print_rsdp(s_acpi * acpi) in print_rsdp() argument
69 s_rsdp *r = &acpi->rsdp; in print_rsdp()
Dxsdt.c35 int parse_xsdt(s_acpi * acpi) in parse_xsdt() argument
41 q = acpi->xsdt.address; in parse_xsdt()
52 s_xsdt *x = &acpi->xsdt; in parse_xsdt()
70 if (parse_header(pointed_address, acpi)) { in parse_xsdt()
Dmadt.c37 static uint8_t *add_apic_structure(s_acpi * acpi, uint8_t * q) in add_apic_structure() argument
51 s_madt *madt = &acpi->madt; in add_apic_structure()
150 void parse_madt(s_acpi * acpi) in parse_madt() argument
154 s_madt *m = &acpi->madt; in parse_madt()
170 q = add_apic_structure(acpi, q); in parse_madt()
/external/syslinux/gpxe/src/core/
Dacpi.c34 void acpi_fix_checksum ( struct acpi_description_header *acpi ) { in acpi_fix_checksum() argument
38 for ( i = 0 ; i < acpi->length ; i++ ) { in acpi_fix_checksum()
39 sum += *( ( ( uint8_t * ) acpi ) + i ); in acpi_fix_checksum()
41 acpi->checksum -= sum; in acpi_fix_checksum()
/external/syslinux/com32/gplinclude/acpi/
Dacpi.h92 int parse_acpi(s_acpi * acpi);
93 int parse_xsdt(s_acpi * acpi);
94 void parse_madt(s_acpi * acpi);
95 int search_rsdp(s_acpi *acpi);
97 bool parse_header(uint64_t *address, s_acpi *acpi);
/external/syslinux/utils/
Dmemdiskfind.c39 if (memcmp(mbft->acpi.signature, "mBFT", 4)) in valid_mbft()
42 if (mbft->acpi.length < MBFT_MIN_LENGTH) in valid_mbft()
45 if (mbft->acpi.length > space) in valid_mbft()
48 if ((size_t)mbft->acpi.length != (size_t)mbft->mdi.bytes + 36+4) in valid_mbft()
52 for (i = 0; i < mbft->acpi.length; i++) in valid_mbft()
/external/syslinux/dosutil/
Dmdiskchk.c218 if (mbft->acpi.signature[0] != 'm' || in MDISKCHK_FUNC_DECL()
219 mbft->acpi.signature[1] != 'B' || in MDISKCHK_FUNC_DECL()
220 mbft->acpi.signature[2] != 'F' || in MDISKCHK_FUNC_DECL()
221 mbft->acpi.signature[3] != 'T') in MDISKCHK_FUNC_DECL()
223 if (mbft->acpi.length != sizeof(struct mBFT)) in MDISKCHK_FUNC_DECL()
/external/syslinux/gpxe/src/arch/i386/interface/pcbios/
Dabft.c36 .acpi = {
58 acpi_fix_checksum ( &abftab.acpi ); in abft_fill_data()
Dsbft.c52 .acpi = {
98 acpi_fix_checksum ( &sbftab.table.acpi ); in sbft_fill_data()
Dibft.c62 .acpi = {
167 remaining = ( strings->table->acpi.length - strings->offset ); in ibft_alloc_string()
448 acpi_fix_checksum ( &ibftab.table.acpi ); in ibft_fill_data()
/external/vboot_reference/utility/
Dchromeos-tpm-recovery19 acpi=${ACPI_DIR:=/sys/devices/platform/chromeos_acpi}
258 BINF0=$acpi/BINF.0
259 CHSW=$acpi/CHSW
/external/ltp/tools/pounder21/test_scripts/
Dcpufreq35 if [ -f /sys/module/acpi/parameters/acpi_pstate_strict ]; then
36 echo 1 > /sys/module/acpi/parameters/acpi_pstate_strict
/external/toolchain-utils/crosperf/test_cache/test_puretelemetry_input/
Dmachine.txt1acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_go…
/external/toolchain-utils/crosperf/test_cache/test_input/
Dmachine.txt1acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_go…
/external/syslinux/gpxe/src/arch/i386/include/gpxe/
Dabft.h24 struct acpi_description_header acpi; member
Dsbft.h64 struct acpi_description_header acpi; member
/external/syslinux/gpxe/src/include/gpxe/
Dacpi.h41 extern void acpi_fix_checksum ( struct acpi_description_header *acpi );
/external/ltp/testcases/kernel/device-drivers/
DMakefile21 SUBDIRS := acpi \
/external/syslinux/com32/modules/
Difmemdsk.c289 if (memcmp(test->acpi.signature, magic, sizeof magic - 1)) in is_mbft()
292 if (test->acpi.length != sizeof *test) in is_mbft()
/external/syslinux/memdisk/
Dsetup.c1180 mbft->acpi.signature[0] = 'm'; /* "mBFT" */ in setup()
1181 mbft->acpi.signature[1] = 'B'; in setup()
1182 mbft->acpi.signature[2] = 'F'; in setup()
1183 mbft->acpi.signature[3] = 'T'; in setup()
1185 mbft->acpi.checksum = -checksum_buf(mbft, mbft->acpi.length); in setup()

12