![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <string.h>
#include <types.h>
#include <device/device.h>
#include <console/console.h>
#include <drivers/intel/gma/int15.h>
#include <option.h>
#include <superio/hwm5_conf.h>
#include <superio/nuvoton/common/hwm.h>
Go to the source code of this file.
Data Structures | |
struct | fan_speed |
struct | temperature |
Macros | |
#define | FAN_CRUISE_CONTROL_DISABLED 0 |
#define | FAN_CRUISE_CONTROL_SPEED 1 |
#define | FAN_CRUISE_CONTROL_THERMAL 2 |
#define | FAN_SPEED_5625 0 |
Functions | |
static void | hwm_setup (void) |
static void | mainboard_enable (struct device *dev) |
static void | mainboard_init (void *chip_info) |
Variables | |
static u16 | hwm_base = 0xa00 |
struct fan_speed | fan_speeds [] |
struct temperature | temperatures [] |
struct chip_operations | mainboard_ops |
#define FAN_CRUISE_CONTROL_DISABLED 0 |
Definition at line 16 of file mainboard.c.
#define FAN_CRUISE_CONTROL_SPEED 1 |
Definition at line 17 of file mainboard.c.
#define FAN_CRUISE_CONTROL_THERMAL 2 |
Definition at line 18 of file mainboard.c.
#define FAN_SPEED_5625 0 |
Definition at line 19 of file mainboard.c.
Definition at line 47 of file mainboard.c.
References BIOS_DEBUG, temperature::deg_celsius, temperature::deg_fahrenheit, FAN_CRUISE_CONTROL_DISABLED, FAN_CRUISE_CONTROL_SPEED, FAN_CRUISE_CONTROL_THERMAL, FAN_SPEED_5625, fan_speeds, get_uint_option(), hwm_base, nuvoton_hwm_select_bank(), pnp_write_hwm5_index(), printk, and temperatures.
Referenced by mainboard_enable().
Definition at line 127 of file mainboard.c.
References GMA_INT15_ACTIVE_LFP_INT_LVDS, GMA_INT15_BOOT_DISPLAY_DEFAULT, GMA_INT15_PANEL_FIT_DEFAULT, hwm_setup(), and install_intel_vga_int15_handler().
Definition at line 133 of file mainboard.c.
References BIOS_DEBUG, BIOS_ERR, device::enabled, get_uint_option(), NULL, pcidev_on_root(), printk, and snprintf().
struct fan_speed fan_speeds[] |
Definition at line 14 of file mainboard.c.
Referenced by hwm_setup().
|
static |
Definition at line 14 of file mainboard.c.
Referenced by hwm_setup().
struct chip_operations mainboard_ops |
Definition at line 133 of file mainboard.c.
struct temperature temperatures[] |
Definition at line 14 of file mainboard.c.
Referenced by hwm_setup().