coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Enumerations | |
enum | thermal_mode { THERMAL_MODE_DISABLED = 0 , THERMAL_DIODE , THERMAL_RESISTOR } |
Functions | |
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_enter_conf (pnp_devfn_t dev) |
void | it8772f_exit_conf (pnp_devfn_t dev) |
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) |
#define IT8772F_CONFIG_REG_CC 0x02 /* Configure Control (write-only). */ |
#define IT8772F_CONFIG_REG_LDN 0x07 /* Logical Device Number. */ |
enum thermal_mode |
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().
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().
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().
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 | ||
) |
Definition at line 53 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, IT8772F_GPIO_LED_BLINK1_CONTROL, IT8772F_GPIO_LED_BLINK1_PINMAP, and pnp_write_config().
Referenced by mainboard_smi_sleep(), set_power_led(), and setup_sio_gpios().
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().