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 <device/pnp.h>
#include "pilot.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 pilot_enable_serial (pnp_devfn_t dev, u16 iobase)
 
void pilot_disable_serial (pnp_devfn_t dev)
 

Function Documentation

◆ pilot_disable_serial()

void pilot_disable_serial ( pnp_devfn_t  dev)

Definition at line 33 of file early_serial.c.

References pnp_enter_ext_func_mode(), pnp_exit_ext_func_mode(), PNP_IDX_IO0, pnp_set_enable(), pnp_set_iobase(), and pnp_set_logical_device().

Referenced by pilot_early_init().

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

◆ pilot_enable_serial()

void pilot_enable_serial ( pnp_devfn_t  dev,
u16  iobase 
)

Definition at line 24 of file early_serial.c.

References pnp_enter_ext_func_mode(), pnp_exit_ext_func_mode(), PNP_IDX_IO0, pnp_set_enable(), pnp_set_iobase(), and pnp_set_logical_device().

Here is the call graph for this function:

◆ pnp_enter_ext_func_mode()

void pnp_enter_ext_func_mode ( pnp_devfn_t  dev)

Definition at line 11 of file early_serial.c.

References outb().

Referenced by pilot_disable_serial(), pilot_enable_serial(), w83627dhg_enable_i2c(), and w83627dhg_set_clksel_48().

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

◆ pnp_exit_ext_func_mode()

void pnp_exit_ext_func_mode ( pnp_devfn_t  dev)

Definition at line 17 of file early_serial.c.

References outb().

Referenced by pilot_disable_serial(), pilot_enable_serial(), w83627dhg_enable_i2c(), and w83627dhg_set_clksel_48().

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