coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
hudson.c File Reference
#include <amdblocks/acpimmio.h>
#include <console/console.h>
#include <arch/io.h>
#include <device/mmio.h>
#include <acpi/acpi.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_def.h>
#include <device/pci_ids.h>
#include <device/pci_ops.h>
#include <types.h>
#include "hudson.h"
#include "smbus.h"
#include "smi.h"
#include "fchec.h"
Include dependency graph for hudson.c:

Go to the source code of this file.

Functions

int acpi_get_sleep_type (void)
 
void hudson_enable (struct device *dev)
 
static void hudson_init_acpi_ports (void)
 
static void hudson_init (void *chip_info)
 
static void hudson_final (void *chip_info)
 

Variables

struct chip_operations southbridge_amd_pi_hudson_ops
 

Function Documentation

◆ acpi_get_sleep_type()

int acpi_get_sleep_type ( void  )

Definition at line 20 of file hudson.c.

References ACPI_PM1_CNT_BLK, and inw().

Here is the call graph for this function:

◆ hudson_enable()

◆ hudson_final()

static void hudson_final ( void chip_info)
static

Definition at line 87 of file hudson.c.

References agesawrapper_fchecfancontrolservice(), CONFIG, and enable_imc_thermal_zone().

Here is the call graph for this function:

◆ hudson_init()

static void hudson_init ( void chip_info)
static

Definition at line 82 of file hudson.c.

References hudson_init_acpi_ports().

Here is the call graph for this function:

◆ hudson_init_acpi_ports()

static void hudson_init_acpi_ports ( void  )
static

Definition at line 56 of file hudson.c.

References ACPI_CPU_CONTROL, ACPI_GPE0_BLK, ACPI_PM1_CNT_BLK, ACPI_PM_EVT_BLK, ACPI_PM_TMR_BLK, ACPI_SMI_CTL_PORT, BIT, CONFIG, hudson_enable_acpi_cmd_smi(), PM1_CNT_BLK, PM_ACPI_CONF, PM_ACPI_SMI_CMD, PM_CPU_CTRL, PM_EVT_BLK, PM_GPE0_BLK, PM_TMR_BLK, pm_write16(), and pm_write8().

Referenced by hudson_init().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ southbridge_amd_pi_hudson_ops

struct chip_operations southbridge_amd_pi_hudson_ops
Initial value:
= {
.enable_dev = hudson_enable,
.init = hudson_init,
.final = hudson_final
}
void hudson_enable(struct device *dev)
Definition: hudson.c:39
static void hudson_init(void *chip_info)
Definition: hudson.c:82
static void hudson_final(void *chip_info)
Definition: hudson.c:87

Definition at line 87 of file hudson.c.