Home | History | Annotate | Download | only in hdt

Lines Matching refs:acpi

59 	snprintf(signature_name,sizeof(signature_name),"acpi.%s.signature",name);
60 snprintf(revision_name,sizeof(revision_name),"acpi.%s.revision",name);
61 snprintf(address_name,sizeof(address_name),"acpi.%s.address",name);
62 snprintf(oem_id_name,sizeof(oem_id_name),"acpi.%s.oem_id",name);
63 snprintf(oem_table_id_name,sizeof(oem_table_id_name),"acpi.%s.oem_table_id",name);
64 snprintf(oem_revision_name,sizeof(oem_revision_name),"acpi.%s.oem_revision",name);
65 snprintf(creator_revision_name,sizeof(creator_revision_name),"acpi.%s.creator_revision",name);
66 snprintf(creator_id_name,sizeof(creator_id_name),"acpi.%s.creator_id",name);
83 void dump_rsdt(s_acpi * acpi, ZZJSON_CONFIG * config, ZZJSON ** item)
87 if (acpi->rsdt.valid) {
91 add_as("acpi.item","rsdt")
92 add_as("acpi.rsdt.is_valid",valid)
95 if (acpi->rsdt.valid==false) {
100 show_header("rsdt",acpi->rsdt.address, &acpi->rsdt.header, config, item);
103 void dump_xsdt(s_acpi * acpi, ZZJSON_CONFIG * config, ZZJSON ** item)
107 if (acpi->xsdt.valid) {
111 add_as("acpi.item","xsdt")
112 add_as("acpi.xsdt.is_valid",valid)
115 if (acpi->xsdt.valid==false) {
120 show_header("xsdt",acpi->xsdt.address, &acpi->xsdt.header, config, item);
123 void dump_fadt(s_acpi * acpi, ZZJSON_CONFIG * config, ZZJSON ** item)
127 if (acpi->rsdt.valid) {
131 add_as("acpi.item","fadt")
132 add_as("acpi.fadt.is_valid",valid)
135 if (acpi->fadt.valid==false) {
140 show_header("fadt",acpi->fadt.address, &acpi->fadt.header, config, item);
143 void dump_dsdt(s_acpi * acpi, ZZJSON_CONFIG * config, ZZJSON ** item)
147 if (acpi->dsdt.valid) {
151 add_as("acpi.item","dsdt")
152 add_as("acpi.dsdt.is_valid",valid)
155 if (acpi->dsdt.valid==false) {
160 show_header("dsdt",acpi->dsdt.address, &acpi->dsdt.header, config, item);
163 void dump_sbst(s_acpi * acpi, ZZJSON_CONFIG * config, ZZJSON ** item)
167 if (acpi->sbst.valid) {
171 add_as("acpi.item","sbst")
172 add_as("acpi.sbst.is_valid",valid)
175 if (acpi->sbst.valid==false) {
180 show_header("sbst",acpi->sbst.address, &acpi->sbst.header, config, item);
183 void dump_ecdt(s_acpi * acpi, ZZJSON_CONFIG * config, ZZJSON ** item)
187 if (acpi->ecdt.valid) {
191 add_as("acpi.item","ecdt")
192 add_as("acpi.ecdt.is_valid",valid)
195 if (acpi->ecdt.valid==false) {
200 show_header("ecdt",acpi->ecdt.address, &acpi->ecdt.header, config, item);
203 void dump_hpet(s_acpi * acpi, ZZJSON_CONFIG * config, ZZJSON ** item)
207 if (acpi->hpet.valid) {
211 add_as("acpi.item","hpet")
212 add_as("acpi.hpet.is_valid",valid)
215 if (acpi->hpet.valid==false) {
220 show_header("hpet",acpi->hpet.address, &acpi->hpet.header, config, item);
223 void dump_tcpa(s_acpi * acpi, ZZJSON_CONFIG * config, ZZJSON ** item)
227 if (acpi->tcpa.valid) {
231 add_as("acpi.item","tcpa")
232 add_as("acpi.tcpa.is_valid",valid)
235 if (acpi->tcpa.valid==false) {
240 show_header("tcpa",acpi->tcpa.address, &acpi->tcpa.header, config, item);
243 void dump_mcfg(s_acpi * acpi, ZZJSON_CONFIG * config, ZZJSON ** item)
247 if (acpi->mcfg.valid) {
251 add_as("acpi.item","mcfg")
252 add_as("acpi.mcfg.is_valid",valid)
255 if (acpi->mcfg.valid==false) {
260 show_header("mcfg",acpi->mcfg.address, &acpi->mcfg.header, config, item);
263 void dump_slic(s_acpi * acpi, ZZJSON_CONFIG * config, ZZJSON ** item)
267 if (acpi->slic.valid) {
271 add_as("acpi.item","slic")
272 add_as("acpi.slic.is_valid",valid)
275 if (acpi->slic.valid==false) {
280 show_header("slic",acpi->slic.address, &acpi->slic.header, config, item);
284 void dump_boot(s_acpi * acpi, ZZJSON_CONFIG * config, ZZJSON ** item)
288 if (acpi->boot.valid) {
292 add_as("acpi.item","boot")
293 add_as("acpi.boot.is_valid",valid)
296 if (acpi->boot.valid==false) {
301 show_header("boot",acpi->boot.address, &acpi->boot.header, config, item);
304 void dump_madt(s_acpi * acpi, ZZJSON_CONFIG * config, ZZJSON ** item)
308 if (acpi->madt.valid) {
312 add_as("acpi.item","madt")
313 add_as("acpi.madt.is_valid",valid)
316 if (acpi->madt.valid==false) {
321 show_header("madt",acpi->madt.address, &acpi->madt.header, config, item);
332 add_as("acpi.item","ssdt")
333 add_as("acpi.ssdt.is_valid",valid)
344 void dump_rsdp(s_acpi * acpi, ZZJSON_CONFIG * config, ZZJSON ** item)
348 if (acpi->rsdp.valid) {
352 add_as("acpi.item","rsdp")
353 add_as("acpi.rsdp.is_valid",valid)
356 if (acpi->rsdp.valid==false) {
361 s_rsdp *r = &acpi->rsdp;
369 add_as("acpi.rsdp.revision",revision)
370 add_as("acpi.rsdp.oem_id",oem_id)
371 add_as("acpi.rsdp.address",address)
378 void dump_facs(s_acpi * acpi, ZZJSON_CONFIG * config, ZZJSON ** item)
382 if (acpi->facs.valid) {
386 add_as("acpi.item","facs")
387 add_as("acpi.facs.is_valid",valid)
390 if (acpi->facs.valid==false) {
395 s_facs *fa = &acpi->facs;
399 add_as("acpi.facs.address",address)
409 add_as("acpi.item","interrupt_source_override")
410 add_ai("acpi.interrupt_source_override.count", madt->interrupt_source_override_count)
431 add_as("acpi.interrupt_source_override.bus_type",bus_type)
432 add_ai("acpi.interrupt_source_override.bus",siso->bus)
433 add_ai("acpi.interrupt_source_override.bus_irq",siso->source)
434 add_ai("acpi.interrupt_source_override.global_irq",siso->global_system_interrupt)
435 add_as("acpi.interrupt_source_override.flags",flags_to_string(buffer,siso->flags))
444 add_as("acpi.item","io_apic")
445 add_ai("acpi.io_apic.count", madt->io_apic_count)
480 add_ai("acpi.io_apic.number",i)
481 add_as("acpi.io_apic.apic_id",apic_id)
482 add_as("acpi.io_apic.adress",address)
483 add_as("acpi.io_apic.gsi",buffer)
492 add_as("acpi.item","local_apic_nmi")
493 add_ai("acpi.local_apic_nmi.count", madt->local_apic_nmi_count)
509 add_as("acpi.processor_id", acpi_id)
510 add_as("acpi.local_apic_nmi.flags", flags_to_string(buffer,slan->flags))
511 add_as("acpi.local_apic_nmi.lint",local_apic_lint)
524 add_as("acpi.item","local_apic")
525 add_as("acpi.local_apic.address", buffer)
526 add_ai("acpi.processor_local_apic.count", madt->processor_local_apic_count)
549 add_ai("acpi.cpu.apic_id", sla->apic_id)
550 add_as("acpi.cpu.apic_id (hex)", apic_id)
551 add_as("acpi.cpu.acpi_id (hex)", acpi_id)
552 add_as("acpi.lapic.enabled", lapic_status)
566 s_madt *madt = &hardware->acpi.madt;
567 add_b("acpi.apic.detected", madt->valid);
579 dump_rsdp(&hardware->acpi,config,item);
580 dump_rsdt(&hardware->acpi,config,item);
581 dump_xsdt(&hardware->acpi,config,item);
582 dump_fadt(&hardware->acpi,config,item);
583 dump_dsdt(&hardware->acpi,config,item);
584 dump_sbst(&hardware->acpi,config,item);
585 dump_ecdt(&hardware->acpi,config,item);
586 dump_hpet(&hardware->acpi,config,item);
587 dump_tcpa(&hardware->acpi,config,item);
588 dump_mcfg(&hardware->acpi,config,item);
589 dump_slic(&hardware->acpi,config,item);
590 dump_boot(&hardware->acpi,config,item);
591 dump_madt(&hardware->acpi,config,item);
592 for (int i = 0; i < hardware->acpi.ssdt_count; i++) {
593 if ((hardware->acpi.ssdt[i] != NULL) && (hardware->acpi
594 dump_ssdt(hardware->acpi.ssdt[i], config, item);
596 dump_facs(&hardware->acpi,config,item);
599 to_cpio("acpi");