![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <acpi/acpi.h>
#include <acpi/acpi_device.h>
#include <acpi/acpigen.h>
#include <arch/cpu.h>
#include <bootstate.h>
#include <cbmem.h>
#include <console/console.h>
#include <device/pnp.h>
#include <ec/acpi/ec.h>
#include <intelblocks/cpulib.h>
#include <pc80/keyboard.h>
#include <stdint.h>
#include "commands.h"
#include "ec.h"
#include "chip.h"
Go to the source code of this file.
Macros | |
#define | UCSI_MIN_ALLOC_REGION_LEN CBMEM_SM_ROOT_SIZE |
Variables | |
static struct fieldlist | ucsi_region_fields [] |
static const size_t | ucsi_region_len = ARRAY_SIZE(ucsi_region_fields) |
static struct device_operations | ops |
static struct pnp_info | info [] |
struct chip_operations | ec_google_wilco_ops |
#define UCSI_MIN_ALLOC_REGION_LEN CBMEM_SM_ROOT_SIZE |
BOOT_STATE_INIT_ENTRY | ( | BS_DEV_INIT | , |
BS_ON_EXIT | , | ||
wilco_ec_post_video_init | , | ||
NULL | |||
) |
BOOT_STATE_INIT_ENTRY | ( | BS_OS_RESUME | , |
BS_ON_ENTRY | , | ||
wilco_ec_resume | , | ||
NULL | |||
) |
BOOT_STATE_INIT_ENTRY | ( | BS_PAYLOAD_LOAD | , |
BS_ON_EXIT | , | ||
wilco_ec_post_complete | , | ||
NULL | |||
) |
BOOT_STATE_INIT_ENTRY | ( | BS_POST_DEVICE | , |
BS_ON_EXIT | , | ||
wilco_ec_post_logo_displayed | , | ||
NULL | |||
) |
BOOT_STATE_INIT_ENTRY | ( | BS_PRE_DEVICE | , |
BS_ON_EXIT | , | ||
wilco_ec_post_memory_init | , | ||
NULL | |||
) |
|
static |
Definition at line 181 of file chip.c.
References acpi_device_path_join(), acpigen_pop_len(), acpigen_write_field(), acpigen_write_mem32fixed(), acpigen_write_name(), acpigen_write_opregion(), acpigen_write_resourcetemplate_footer(), acpigen_write_resourcetemplate_header(), acpigen_write_scope(), cbmem_add(), CBMEM_ID_ACPI_UCSI, FIELD_ANYACC, FIELD_LOCK, FIELD_PRESERVE, memset(), opregion::name, opregion::regionlen, opregion::regionoffset, opregion::regionspace, SYSTEMMEMORY, UCSI_MIN_ALLOC_REGION_LEN, ucsi_region_fields, and ucsi_region_len.
Definition at line 125 of file chip.c.
References acpi_is_wakeup_s3(), AUDIO_UNMUTE_125MS, BIOS_ERR, CAMERA_ON, EC_RAM_S0IX_SUPPORT, ec_set_ports(), ec_write(), device::enabled, KB_CAMERA, KB_HW_MUTE_CONTROL, KB_POWER_BUTTON_TO_HOST, NO_AUX_DEVICE, pc_keyboard_init(), printk, RADIO_WIFI, wilco_ec_print_all_info(), wilco_ec_radio_control(), wilco_ec_send(), and wilco_set_cpu_id().
Definition at line 83 of file chip.c.
References BIOS_PROGRESS_POST_COMPLETE, KB_BIOS_PROGRESS, and wilco_ec_send().
Definition at line 104 of file chip.c.
References BIOS_PROGRESS_LOGO_DISPLAYED, KB_BIOS_PROGRESS, and wilco_ec_send().
Definition at line 90 of file chip.c.
References BIOS_PROGRESS_MEMORY_INIT, KB_BIOS_PROGRESS, and wilco_ec_send().
Definition at line 97 of file chip.c.
References BIOS_PROGRESS_VIDEO_INIT, KB_BIOS_PROGRESS, and wilco_ec_send().
Definition at line 169 of file chip.c.
References wilco_ec_resource().
Definition at line 160 of file chip.c.
References resource::base, base, resource::flags, resource::index, IORESOURCE_ASSIGNED, IORESOURCE_FIXED, IORESOURCE_IO, new_resource(), and resource::size.
Referenced by wilco_ec_read_resources().
Definition at line 111 of file chip.c.
References KB_RESTORE, and wilco_ec_send_noargs().
|
static |
Definition at line 117 of file chip.c.
References cpu_get_cpuid(), cpu_read_topology(), and wilco_ec_set_cpuid().
Referenced by wilco_ec_init().
struct chip_operations ec_google_wilco_ops |
|
static |
|
static |
|
static |
Definition at line 1 of file chip.c.
Referenced by wilco_ec_fill_ssdt_generator().
|
static |
Definition at line 81 of file chip.c.
Referenced by wilco_ec_fill_ssdt_generator().