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

Go to the source code of this file.

Enumerations

enum  console_uart_id {
  UART_ID_NONE = -1 , UART_ID_A = 0 , UART_ID_B = 1 , UART_ID_C = 2 ,
  UART_ID_D = 3 , UART_ID_E = 4
}
 

Functions

static enum console_uart_id console_uart_get_id (void)
 
static voidconsole_uart_clk_rst_reg (void)
 
static uint32_t console_uart_clk_src_dev_id (void)
 
static void console_uart_clock_enable_clear_reset (void)
 

Enumeration Type Documentation

◆ console_uart_id

Enumerator
UART_ID_NONE 
UART_ID_A 
UART_ID_B 
UART_ID_C 
UART_ID_D 
UART_ID_E 

Definition at line 8 of file console_uart.h.

Function Documentation

◆ console_uart_clk_rst_reg()

static void* console_uart_clk_rst_reg ( void  )
inlinestatic

Definition at line 37 of file console_uart.h.

References CLK_RST_REG, console_uart_get_id(), NULL, UART_ID_A, UART_ID_B, UART_ID_C, UART_ID_D, UART_ID_E, and UART_ID_NONE.

Referenced by clock_early_uart().

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

◆ console_uart_clk_src_dev_id()

static uint32_t console_uart_clk_src_dev_id ( void  )
inlinestatic

Definition at line 57 of file console_uart.h.

References CLK_SRC_DEV_ID, console_uart_get_id(), PLLP, UART_ID_A, UART_ID_B, UART_ID_C, UART_ID_D, UART_ID_E, and UART_ID_NONE.

Referenced by clock_early_uart().

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

◆ console_uart_clock_enable_clear_reset()

static void console_uart_clock_enable_clear_reset ( void  )
inlinestatic

Definition at line 77 of file console_uart.h.

References CLK_H_UARTC, CLK_L_UARTA, CLK_L_UARTB, CLK_U_UARTD, CLK_U_UARTE, clock_enable_clear_reset_h, clock_enable_clear_reset_l, clock_enable_clear_reset_u, console_uart_get_id(), UART_ID_A, UART_ID_B, UART_ID_C, UART_ID_D, UART_ID_E, and UART_ID_NONE.

Referenced by clock_early_uart().

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

◆ console_uart_get_id()

static enum console_uart_id console_uart_get_id ( void  )
inlinestatic

Definition at line 1 of file console_uart.h.

Referenced by clock_early_uart(), console_uart_clk_rst_reg(), console_uart_clk_src_dev_id(), console_uart_clock_enable_clear_reset(), and soc_get_bl31_plat_params().

Here is the caller graph for this function: