coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
winbond.h File Reference
#include <device/pnp_type.h>
#include <stdint.h>
Include dependency graph for winbond.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void winbond_enable_serial (pnp_devfn_t dev, uint16_t iobase)
 
void winbond_set_pinmux (pnp_devfn_t dev, uint8_t offset, uint8_t mask, uint8_t state)
 
void winbond_set_clksel_48 (pnp_devfn_t dev)
 
void pnp_enter_conf_state (pnp_devfn_t dev)
 
void pnp_exit_conf_state (pnp_devfn_t dev)
 

Function Documentation

◆ pnp_enter_conf_state()

◆ pnp_exit_conf_state()

◆ winbond_enable_serial()

void winbond_enable_serial ( pnp_devfn_t  dev,
uint16_t  iobase 
)

Definition at line 47 of file early_init.c.

References pnp_enter_conf_state(), pnp_exit_conf_state(), PNP_IDX_IO0, pnp_set_enable(), pnp_set_iobase(), and pnp_set_logical_device().

Referenced by bootblock_mainboard_early_init().

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

◆ winbond_set_clksel_48()

void winbond_set_clksel_48 ( pnp_devfn_t  dev)

Definition at line 70 of file early_init.c.

References pnp_enter_conf_state(), pnp_exit_conf_state(), pnp_read_config(), and pnp_write_config().

Here is the call graph for this function:

◆ winbond_set_pinmux()

void winbond_set_pinmux ( pnp_devfn_t  dev,
uint8_t  offset,
uint8_t  mask,
uint8_t  state 
)

Definition at line 57 of file early_init.c.

References mask, offset, pnp_enter_conf_state(), pnp_exit_conf_state(), pnp_read_config(), and pnp_write_config().

Here is the call graph for this function: