Searched refs:fadt (Results 1 – 11 of 11) sorted by relevance
/external/u-boot/arch/x86/cpu/quark/ |
D | acpi.c | 12 void acpi_create_fadt(struct acpi_fadt *fadt, struct acpi_facs *facs, in acpi_create_fadt() argument 15 struct acpi_table_header *header = &(fadt->header); in acpi_create_fadt() 18 memset((void *)fadt, 0, sizeof(struct acpi_fadt)); in acpi_create_fadt() 24 fadt->firmware_ctrl = (u32)facs; in acpi_create_fadt() 25 fadt->dsdt = (u32)dsdt; in acpi_create_fadt() 26 fadt->preferred_pm_profile = ACPI_PM_UNSPECIFIED; in acpi_create_fadt() 27 fadt->sci_int = 9; in acpi_create_fadt() 28 fadt->smi_cmd = 0; in acpi_create_fadt() 29 fadt->acpi_enable = 0; in acpi_create_fadt() 30 fadt->acpi_disable = 0; in acpi_create_fadt() [all …]
|
/external/u-boot/arch/x86/cpu/baytrail/ |
D | acpi.c | 17 void acpi_create_fadt(struct acpi_fadt *fadt, struct acpi_facs *facs, in acpi_create_fadt() argument 20 struct acpi_table_header *header = &(fadt->header); in acpi_create_fadt() 23 memset((void *)fadt, 0, sizeof(struct acpi_fadt)); in acpi_create_fadt() 29 fadt->firmware_ctrl = (u32)facs; in acpi_create_fadt() 30 fadt->dsdt = (u32)dsdt; in acpi_create_fadt() 31 fadt->preferred_pm_profile = ACPI_PM_MOBILE; in acpi_create_fadt() 32 fadt->sci_int = 9; in acpi_create_fadt() 33 fadt->smi_cmd = 0; in acpi_create_fadt() 34 fadt->acpi_enable = 0; in acpi_create_fadt() 35 fadt->acpi_disable = 0; in acpi_create_fadt() [all …]
|
/external/u-boot/arch/x86/cpu/tangier/ |
D | acpi.c | 19 void acpi_create_fadt(struct acpi_fadt *fadt, struct acpi_facs *facs, in acpi_create_fadt() argument 22 struct acpi_table_header *header = &(fadt->header); in acpi_create_fadt() 24 memset((void *)fadt, 0, sizeof(struct acpi_fadt)); in acpi_create_fadt() 30 fadt->firmware_ctrl = (u32)facs; in acpi_create_fadt() 31 fadt->dsdt = (u32)dsdt; in acpi_create_fadt() 32 fadt->preferred_pm_profile = ACPI_PM_UNSPECIFIED; in acpi_create_fadt() 34 fadt->iapc_boot_arch = ACPI_FADT_VGA_NOT_PRESENT | in acpi_create_fadt() 36 fadt->flags = in acpi_create_fadt() 42 fadt->minor_revision = 2; in acpi_create_fadt() 44 fadt->x_firmware_ctl_l = (u32)facs; in acpi_create_fadt() [all …]
|
/external/u-boot/arch/x86/lib/ |
D | acpi.c | 35 struct acpi_fadt *fadt = NULL; in acpi_find_fadt() local 55 fadt = (struct acpi_fadt *)(uintptr_t)rsdt->entry[i]; in acpi_find_fadt() 56 if (strncmp((char *)fadt, "FACP", 4) == 0) in acpi_find_fadt() 58 fadt = NULL; in acpi_find_fadt() 61 if (!fadt) in acpi_find_fadt() 64 debug("FADT found at %p\n", fadt); in acpi_find_fadt() 65 return fadt; in acpi_find_fadt() 68 void *acpi_find_wakeup_vector(struct acpi_fadt *fadt) in acpi_find_wakeup_vector() argument 75 facs = (struct acpi_facs *)(uintptr_t)fadt->firmware_ctrl; in acpi_find_wakeup_vector()
|
D | acpi_s3.c | 26 void acpi_resume(struct acpi_fadt *fadt) in acpi_resume() argument 31 enter_acpi_mode(fadt->pm1a_cnt_blk); in acpi_resume() 33 wake_vec = acpi_find_wakeup_vector(fadt); in acpi_resume()
|
D | acpi_table.c | 488 struct acpi_fadt *fadt; in write_acpi_tables() local 561 fadt = (struct acpi_fadt *)current; in write_acpi_tables() 564 acpi_create_fadt(fadt, facs, dsdt); in write_acpi_tables() 565 acpi_add_table(rsdp, fadt); in write_acpi_tables()
|
/external/u-boot/arch/x86/cpu/ |
D | cpu.c | 183 struct acpi_fadt __maybe_unused *fadt; in last_stage_init() local 188 fadt = acpi_find_fadt(); in last_stage_init() 190 if (fadt && gd->arch.prev_sleep_state == ACPI_S3) in last_stage_init() 191 acpi_resume(fadt); in last_stage_init() 197 fadt = acpi_find_fadt(); in last_stage_init() 200 if (fadt && !(fadt->flags & ACPI_FADT_HW_REDUCED_ACPI)) { in last_stage_init() 205 enter_acpi_mode(fadt->pm1a_cnt_blk); in last_stage_init()
|
/external/ltp/testcases/kernel/device-drivers/acpi/ |
D | ltp_acpi_cmds.c | 243 struct acpi_table_fadt *fadt; in acpi_init() local 250 fadt = (struct acpi_table_fadt *)table; in acpi_init() 251 if (fadt->flags & ACPI_FADT_HW_REDUCED) in acpi_init() 253 if (fadt->pm2_control_block == 0 || fadt->pm2_control_length == 0) in acpi_init()
|
/external/u-boot/arch/x86/include/asm/ |
D | acpi.h | 29 void *acpi_find_wakeup_vector(struct acpi_fadt *fadt);
|
D | acpi_table.h | 391 void acpi_create_fadt(struct acpi_fadt *fadt, struct acpi_facs *facs,
|
/external/u-boot/include/ |
D | acpi_s3.h | 113 void acpi_resume(struct acpi_fadt *fadt);
|