Lines Matching refs:facs
164 static void acpi_create_facs(struct acpi_facs *facs) in acpi_create_facs() argument
166 memset((void *)facs, 0, sizeof(struct acpi_facs)); in acpi_create_facs()
168 memcpy(facs->signature, "FACS", 4); in acpi_create_facs()
169 facs->length = sizeof(struct acpi_facs); in acpi_create_facs()
170 facs->hardware_signature = 0; in acpi_create_facs()
171 facs->firmware_waking_vector = 0; in acpi_create_facs()
172 facs->global_lock = 0; in acpi_create_facs()
173 facs->flags = 0; in acpi_create_facs()
174 facs->x_firmware_waking_vector_l = 0; in acpi_create_facs()
175 facs->x_firmware_waking_vector_h = 0; in acpi_create_facs()
176 facs->version = 1; in acpi_create_facs()
370 struct acpi_facs *facs; in write_acpi_tables() local
407 facs = (struct acpi_facs *)current; in write_acpi_tables()
411 acpi_create_facs(facs); in write_acpi_tables()
446 acpi_create_fadt(fadt, facs, dsdt); in write_acpi_tables()
545 struct acpi_facs *facs; in acpi_find_wakeup_vector() local
550 facs = (struct acpi_facs *)fadt->firmware_ctrl; in acpi_find_wakeup_vector()
552 if (facs == NULL) { in acpi_find_wakeup_vector()
557 debug("FACS found at %p\n", facs); in acpi_find_wakeup_vector()
558 wake_vec = (void *)facs->firmware_waking_vector; in acpi_find_wakeup_vector()