coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
mtcmos.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  power_domain_data
 

Macros

#define SCPD_SRAM_ISO   (1U << 0)
 

Functions

void mtcmos_audio_power_on (void)
 
void mtcmos_display_power_on (void)
 
void mtcmos_protect_audio_bus (void)
 
void mtcmos_protect_display_bus (void)
 

Macro Definition Documentation

◆ SCPD_SRAM_ISO

#define SCPD_SRAM_ISO   (1U << 0)

Definition at line 14 of file mtcmos.h.

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_protect_audio_bus()

void mtcmos_protect_audio_bus ( void  )

Definition at line 20 of file mtcmos.c.

References ADSP_PROT_STEP_1_MASK, AUDIO_PROT_STEP1_0_MASK, AUDIO_PROT_STEP_1_MASK, mt8192_infracfg_regs::infra_topaxi_protecten_clr_2, mt8195_infracfg_ao_regs::infra_topaxi_protecten_clr_2, mt8192_infracfg, mt8195_infracfg_ao, and write32().

Referenced by configure_i2s().

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

◆ mtcmos_protect_display_bus()

void mtcmos_protect_display_bus ( void  )

Definition at line 14 of file mtcmos.c.

References DISP_PROT_STEP1_0_MASK, DISP_PROT_STEP1_1_MASK, DISP_PROT_STEP2_0_MASK, DISP_PROT_STEP2_1_MASK, DISP_PROT_STEP2_2_MASK, DISP_PROT_STEP_1_MASK, DISP_PROT_STEP_2_MASK, mt8183_infracfg_regs::infra_topaxi_protecten_1_clr, mt8186_infracfg_ao_regs::infra_topaxi_protecten_1_clr, mt8183_infracfg_regs::infra_topaxi_protecten_clr, mt8186_infracfg_ao_regs::infra_topaxi_protecten_clr, mt8192_infracfg_regs::infra_topaxi_protecten_clr, mt8195_infracfg_ao_regs::infra_topaxi_protecten_clr, mt8192_infracfg_regs::infra_topaxi_protecten_mm_clr, mt8195_infracfg_ao_regs::infra_topaxi_protecten_mm_clr, mt8192_infracfg_regs::infra_topaxi_protecten_mm_clr_2, mt8195_infracfg_ao_regs::infra_topaxi_protecten_mm_clr_2, mt8195_infracfg_ao_regs::infra_topaxi_protecten_sub_infra_vdnr_clr, mt8183_infracfg, mt8183_smi, mt8186_infracfg_ao, mt8192_infracfg, mt8195_infracfg_ao, mt8183_smi_regs::smi_common_clamp_en_clr, VDOSYS0_PROT_STEP_1_MASK, VDOSYS0_PROT_STEP_2_MASK, VDOSYS0_PROT_STEP_3_MASK, VDOSYS0_PROT_STEP_4_MASK, VDOSYS0_PROT_STEP_5_MASK, VDOSYS1_PROT_STEP_1_MASK, VDOSYS1_PROT_STEP_2_MASK, VDOSYS1_PROT_STEP_3_MASK, VPPSYS0_PROT_STEP_1_MASK, VPPSYS0_PROT_STEP_2_MASK, VPPSYS0_PROT_STEP_3_MASK, VPPSYS0_PROT_STEP_4_MASK, VPPSYS0_PROT_STEP_5_MASK, VPPSYS0_PROT_STEP_6_MASK, VPPSYS1_PROT_STEP_1_MASK, VPPSYS1_PROT_STEP_2_MASK, VPPSYS1_PROT_STEP_3_MASK, and write32().

Referenced by configure_display().

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