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

Go to the source code of this file.

Enumerations

enum  {
  SRAM_ISOINT_B = 1U << 6 , SRAM_CKISO = 1U << 5 , PWR_CLK_DIS = 1U << 4 , PWR_ON_2ND = 1U << 3 ,
  PWR_ON = 1U << 2 , PWR_ISO = 1U << 1 , PWR_RST_B = 1U << 0
}
 

Functions

static void mtcmos_power_on (const struct power_domain_data *pd)
 
void mtcmos_display_power_on (void)
 
void mtcmos_audio_power_on (void)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SRAM_ISOINT_B 
SRAM_CKISO 
PWR_CLK_DIS 
PWR_ON_2ND 
PWR_ON 
PWR_ISO 
PWR_RST_B 

Definition at line 7 of file mtcmos.c.

Function Documentation

◆ mtcmos_audio_power_on()

void mtcmos_audio_power_on ( void  )

Definition at line 52 of file mtcmos.c.

References ARRAY_SIZE, audio, and mtcmos_power_on().

Referenced by configure_audio(), and configure_i2s().

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

◆ mtcmos_display_power_on()

void mtcmos_display_power_on ( void  )

Definition at line 44 of file mtcmos.c.

References ARRAY_SIZE, disp, and mtcmos_power_on().

Referenced by configure_display(), and mainboard_init().

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

◆ mtcmos_power_on()