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

Go to the source code of this file.

Data Structures

struct  apbmisc
 
struct  tegra_revision
 

Macros

#define PP_CONFIG_CTL_TBE   (1 << 7)
 
#define PP_CONFIG_CTL_JTAG   (1 << 6)
 
#define PP_PINMUX_CLAMP_INPUTS   (1 << 0)
 

Enumerations

enum  { MISC_GP_HIDREV = 0x804 }
 
enum  { PP_STRAPPING_OPT_A_RAM_CODE_SHIFT = 4 , PP_STRAPPING_OPT_A_RAM_CODE_MASK }
 

Functions

void enable_jtag (void)
 
void clamp_tristate_inputs (void)
 
void tegra_revision_info (struct tegra_revision *id)
 

Macro Definition Documentation

◆ PP_CONFIG_CTL_JTAG

#define PP_CONFIG_CTL_JTAG   (1 << 6)

Definition at line 18 of file apbmisc.h.

◆ PP_CONFIG_CTL_TBE

#define PP_CONFIG_CTL_TBE   (1 << 7)

Definition at line 17 of file apbmisc.h.

◆ PP_PINMUX_CLAMP_INPUTS

#define PP_PINMUX_CLAMP_INPUTS   (1 << 0)

Definition at line 20 of file apbmisc.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
MISC_GP_HIDREV 

Definition at line 22 of file apbmisc.h.

◆ anonymous enum

anonymous enum
Enumerator
PP_STRAPPING_OPT_A_RAM_CODE_SHIFT 
PP_STRAPPING_OPT_A_RAM_CODE_MASK 

Definition at line 37 of file apbmisc.h.

Function Documentation

◆ clamp_tristate_inputs()

void clamp_tristate_inputs ( void  )

Definition at line 15 of file apbmisc.c.

References misc, PP_PINMUX_CLAMP_INPUTS, apbmisc::pp_pinmux_global, and write32().

Referenced by tegra124_main().

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

◆ enable_jtag()

void enable_jtag ( void  )

Definition at line 10 of file apbmisc.c.

References misc, apbmisc::pp_config_ctl, PP_CONFIG_CTL_JTAG, and write32().

Referenced by tegra124_main(), and tegra210_main().

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

◆ tegra_revision_info()

void tegra_revision_info ( struct tegra_revision id)

Definition at line 20 of file apbmisc.c.

References MISC_GP_HIDREV, read32(), and TEGRA_APB_MISC_BASE.

Here is the call graph for this function: