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

Go to the source code of this file.

Functions

void pnp_enter_ext_func_mode (pnp_devfn_t dev)
 
void pnp_exit_ext_func_mode (pnp_devfn_t dev)
 
void w83627dhg_enable_i2c (pnp_devfn_t dev)
 Select Pin 89, Pin 90 function as I2C interface SDA, SCL. More...
 
void w83627dhg_set_clksel_48 (pnp_devfn_t dev)
 

Function Documentation

◆ pnp_enter_ext_func_mode()

void pnp_enter_ext_func_mode ( pnp_devfn_t  dev)

Definition at line 8 of file early_serial.c.

References outb().

Here is the call graph for this function:

◆ pnp_exit_ext_func_mode()

void pnp_exit_ext_func_mode ( pnp_devfn_t  dev)

Definition at line 15 of file early_serial.c.

References outb().

Here is the call graph for this function:

◆ w83627dhg_enable_i2c()

void w83627dhg_enable_i2c ( pnp_devfn_t  dev)

Select Pin 89, Pin 90 function as I2C interface SDA, SCL.

{Pin 89, Pin 90} function can be selected as {GP33, GP32}, or {RSTOUT3#, RSTOUT2#} or {SDA, SCL}

Definition at line 26 of file early_serial.c.

References pnp_enter_ext_func_mode(), pnp_exit_ext_func_mode(), pnp_read_config(), pnp_set_logical_device(), pnp_write_config(), and val.

Here is the call graph for this function:

◆ w83627dhg_set_clksel_48()

void w83627dhg_set_clksel_48 ( pnp_devfn_t  dev)

Definition at line 40 of file early_serial.c.

References pnp_enter_ext_func_mode(), pnp_exit_ext_func_mode(), pnp_read_config(), and pnp_write_config().

Here is the call graph for this function: