coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
vr_config.c File Reference
#include <device/pci_ids.h>
#include <device/pci_ops.h>
#include <fsp/api.h>
#include <soc/ramstage.h>
#include <soc/vr_config.h>
#include <console/console.h>
#include <intelblocks/cpulib.h>
Include dependency graph for vr_config.c:

Go to the source code of this file.

Data Structures

struct  vr_lookup
 

Functions

static uint32_t load_table (const struct vr_lookup *tbl, const int tbl_entries, const int domain, const uint16_t mch_id, uint8_t tdp)
 
void fill_vr_domain_config (FSP_S_CONFIG *s_cfg, int domain, const struct vr_config *chip_cfg)
 

Variables

static const struct vr_lookup vr_config_ll []
 
static const struct vr_lookup vr_config_icc []
 
static const struct vr_lookup vr_config_tdc_timewindow []
 
static const struct vr_lookup vr_config_tdc_currentlimit []
 

Function Documentation

◆ fill_vr_domain_config()

◆ load_table()

static uint32_t load_table ( const struct vr_lookup tbl,
const int  tbl_entries,
const int  domain,
const uint16_t  mch_id,
uint8_t  tdp 
)
static

Definition at line 47 of file vr_config.c.

References BIOS_ERR, vr_lookup::conf, mchid, and printk.

Referenced by fill_vr_domain_config().

Here is the caller graph for this function:

Variable Documentation

◆ vr_config_icc

const struct vr_lookup vr_config_icc[]
static
Initial value:
= {
}
#define VR_CFG_ALL_DOMAINS_ICC(ia, gt)
Definition: vr_config.h:52
#define PCI_DID_INTEL_ADL_P_ID_7
Definition: pci_ids.h:4069
#define PCI_DID_INTEL_ADL_P_ID_4
Definition: pci_ids.h:4066
#define PCI_DID_INTEL_ADL_P_ID_3
Definition: pci_ids.h:4065
#define PCI_DID_INTEL_ADL_P_ID_5
Definition: pci_ids.h:4067
#define PCI_DID_INTEL_ADL_P_ID_10
Definition: pci_ids.h:4072
#define PCI_DID_INTEL_ADL_P_ID_6
Definition: pci_ids.h:4068
#define PCI_DID_INTEL_ADL_P_ID_1
Definition: pci_ids.h:4064

Definition at line 47 of file vr_config.c.

Referenced by fill_vr_domain_config().

◆ vr_config_ll

◆ vr_config_tdc_currentlimit

◆ vr_config_tdc_timewindow

const struct vr_lookup vr_config_tdc_timewindow[]
static
Initial value:

Definition at line 47 of file vr_config.c.

Referenced by fill_vr_domain_config().