coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
pingroup.c File Reference
#include <device/mmio.h>
#include <soc/addressmap.h>
#include "pingroup.h"
Include dependency graph for pingroup.c:

Go to the source code of this file.

Functions

void pingroup_set_config (int group_index, uint32_t config)
 
uint32_t pingroup_get_config (int group_index)
 

Variables

static uint32_tpingroup_regs = (void *)TEGRA_APB_PINGROUP_BASE
 

Function Documentation

◆ pingroup_get_config()

uint32_t pingroup_get_config ( int  group_index)

Definition at line 15 of file pingroup.c.

References pingroup_regs, and read32().

Here is the call graph for this function:

◆ pingroup_set_config()

void pingroup_set_config ( int  group_index,
uint32_t  config 
)

Definition at line 10 of file pingroup.c.

References config, pingroup_regs, and write32().

Here is the call graph for this function:

Variable Documentation

◆ pingroup_regs

uint32_t* pingroup_regs = (void *)TEGRA_APB_PINGROUP_BASE
static

Definition at line 8 of file pingroup.c.

Referenced by pingroup_get_config(), and pingroup_set_config().