coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
smn.h File Reference
#include <types.h>
Include dependency graph for smn.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

uint32_t smn_read32 (uint32_t reg)
 
void smn_write32 (uint32_t reg, uint32_t val)
 

Function Documentation

◆ smn_read32()

uint32_t smn_read32 ( uint32_t  reg)

Definition at line 12 of file smn.c.

References pci_read_config32(), pci_write_config32(), SMN_DATA_ADDR, SMN_INDEX_ADDR, and SOC_GNB_DEV.

Referenced by send_smu_message().

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

◆ smn_write32()

void smn_write32 ( uint32_t  reg,
uint32_t  val 
)

Definition at line 18 of file smn.c.

References pci_write_config32(), SMN_DATA_ADDR, SMN_INDEX_ADDR, SOC_GNB_DEV, and val.

Here is the call graph for this function: