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

Go to the source code of this file.

Macros

#define SLEEP_PROT_CTRL   0x3F0
 

Functions

void pmif_spmi_set_lp_mode (void)
 

Macro Definition Documentation

◆ SLEEP_PROT_CTRL

#define SLEEP_PROT_CTRL   0x3F0

Definition at line 11 of file pmif.c.

Function Documentation

◆ pmif_spmi_set_lp_mode()

void pmif_spmi_set_lp_mode ( void  )

Definition at line 16 of file pmif.c.

References PMIF_BASE, SET32_BITFIELDS, and SLEEP_PROT_CTRL.

Referenced by mt6366_init().

Here is the caller graph for this function: