coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
pm.c File Reference
#include <stdint.h>
#include <device/pci_def.h>
#include <cpu/x86/msr.h>
#include <cpu/intel/speedstep.h>
#include "gm45.h"
Include dependency graph for pm.c:

Go to the source code of this file.

Functions

static int sku_freq_index (const gmch_gfx_t sku, const int low_power_mode)
 
static void init_freq_scaling (const gmch_gfx_t sku, const int low_power_mode)
 
void init_pm (const sysinfo_t *const sysinfo, int do_freq_scaling_cfg)
 

Function Documentation

◆ init_freq_scaling()

static void init_freq_scaling ( const gmch_gfx_t  sku,
const int  low_power_mode 
)
static

Definition at line 27 of file pm.c.

References GMCH_GE45, GMCH_GM45, GMCH_GM47, GMCH_GM49, GMCH_GS45, mchbar_clrbits32, mchbar_clrsetbits16(), mchbar_clrsetbits32(), mchbar_setbits16, mchbar_write16(), mchbar_write32(), mchbar_write8(), raminit_read_vco_index(), sku, and sku_freq_index().

Referenced by init_pm().

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

◆ init_pm()

◆ sku_freq_index()

static int sku_freq_index ( const gmch_gfx_t  sku,
const int  low_power_mode 
)
static

Definition at line 10 of file pm.c.

References GMCH_GE45, GMCH_GM45, GMCH_GM47, GMCH_GM49, GMCH_GS45, and sku.

Referenced by init_freq_scaling().

Here is the caller graph for this function: