16 #define LVTMA_BL_MOD_LEVEL 0x7af9
#define printk(level,...)
int __weak mainboard_smi_apmc(u8 data)
void __weak mainboard_smi_gpi(u32 gpi_sts)
int __weak mainboard_io_trap_handler(int smif)
void ec_set_ports(u16 cmd_reg, u16 data_reg)
int ec_write(u8 addr, u8 data)
static bool smm_points_to_smram(const void *ptr, const size_t len)
#define APM_CNT_ACPI_DISABLE
#define APM_CNT_ACPI_ENABLE
static __always_inline u32 pci_read_config32(const struct device *dev, u16 reg)
#define BIOS_DEBUG
BIOS_DEBUG - Verbose output.
#define SMI_BRIGHTNESS_UP
#define SMI_DOCK_DISCONNECT
#define SMI_BRIGHTNESS_DOWN
#define LVTMA_BL_MOD_LEVEL
static void mainboard_smi_handle_ec_sci(void)
static void mainboard_smi_brightness_up(void)
static void mainboard_smi_brightness_down(void)
#define PCI_BASE_ADDRESS_2
#define PCI_DEV(SEGBUS, DEV, FN)
void gpi_route_interrupt(u8 gpi, u8 mode)
void dock_disconnect(void)
int legacy_io_present(void)