coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
early_init.c File Reference
#include <arch/io.h>
#include <device/pnp_def.h>
#include <device/pnp_ops.h>
#include "it8772f.h"
Include dependency graph for early_init.c:

Go to the source code of this file.

Functions

void it8772f_enter_conf (pnp_devfn_t dev)
 
void it8772f_exit_conf (pnp_devfn_t dev)
 
void it8772f_ac_resume_southbridge (pnp_devfn_t dev)
 
void it8772f_gpio_setup (pnp_devfn_t dev, int set, u8 select, u8 polarity, u8 pullup, u8 output, u8 enable)
 
void it8772f_gpio_led (pnp_devfn_t dev, int set, u8 select, u8 polarity, u8 pullup, u8 output, u8 enable, u8 led_pin_map, u8 led_freq)
 

Function Documentation

◆ it8772f_ac_resume_southbridge()

void it8772f_ac_resume_southbridge ( pnp_devfn_t  dev)

Definition at line 27 of file early_init.c.

References IT8772F_CONFIG_REG_LDN, IT8772F_EC, it8772f_enter_conf(), it8772f_exit_conf(), PNP_IDX_MSC4, and pnp_write_config().

Referenced by bootblock_mainboard_early_init(), and mainboard_config_superio().

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

◆ it8772f_enter_conf()

void it8772f_enter_conf ( pnp_devfn_t  dev)

Definition at line 11 of file early_init.c.

References outb().

Referenced by it8772f_ac_resume_southbridge(), it8772f_gpio_led(), and it8772f_gpio_setup().

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

◆ it8772f_exit_conf()

void it8772f_exit_conf ( pnp_devfn_t  dev)

Definition at line 21 of file early_init.c.

References IT8772F_CONFIG_REG_CC, and pnp_write_config().

Referenced by it8772f_ac_resume_southbridge(), it8772f_gpio_led(), and it8772f_gpio_setup().

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

◆ it8772f_gpio_led()

void it8772f_gpio_led ( pnp_devfn_t  dev,
int  set,
u8  select,
u8  polarity,
u8  pullup,
u8  output,
u8  enable,
u8  led_pin_map,
u8  led_freq 
)

◆ it8772f_gpio_setup()

void it8772f_gpio_setup ( pnp_devfn_t  dev,
int  set,
u8  select,
u8  polarity,
u8  pullup,
u8  output,
u8  enable 
)

Definition at line 36 of file early_init.c.

References GPIO_REG_ENABLE, GPIO_REG_OUTPUT, GPIO_REG_POLARITY, GPIO_REG_PULLUP, GPIO_REG_SELECT, IT8772F_CONFIG_REG_LDN, it8772f_enter_conf(), it8772f_exit_conf(), IT8772F_GPIO, and pnp_write_config().

Referenced by setup_sio_gpios().

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