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

Go to the source code of this file.

Functions

void pinmux_set_config (int pin_index, uint32_t config)
 
uint32_t pinmux_get_config (int pin_index)
 

Function Documentation

◆ pinmux_get_config()

uint32_t pinmux_get_config ( int  pin_index)

Definition at line 15 of file pinmux.c.

References pinmux_regs, and read32().

Referenced by configure_gpio_pad().

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

◆ pinmux_set_config()

void pinmux_set_config ( int  pin_index,
uint32_t  config 
)

Definition at line 10 of file pinmux.c.

References config, pinmux_regs, and write32().

Referenced by __gpio_input(), __gpio_output(), bootblock_mainboard_init(), setup_pinmux(), tegra124_main(), and tegra_software_i2c_disable().

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