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

Go to the source code of this file.

Functions

static void sio1036_enter_conf_state (pnp_devfn_t dev)
 
static void sio1036_exit_conf_state (pnp_devfn_t dev)
 
static u8 detect_sio1036_chip (unsigned int port)
 
void sio1036_enable_serial (pnp_devfn_t dev, u16 iobase)
 

Function Documentation

◆ detect_sio1036_chip()

static u8 detect_sio1036_chip ( unsigned int  port)
static

Definition at line 24 of file sio1036_early_init.c.

References PNP_DEV, pnp_read_config(), sio1036_enter_conf_state(), sio1036_exit_conf_state(), and SIO1036_SP1.

Referenced by sio1036_enable_serial().

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

◆ sio1036_enable_serial()

void sio1036_enable_serial ( pnp_devfn_t  dev,
u16  iobase 
)

Definition at line 42 of file sio1036_early_init.c.

References detect_sio1036_chip(), IR_OUTPUT_MUX, LPT_POWER_DOWN, pnp_write_config(), sio1036_enter_conf_state(), sio1036_exit_conf_state(), and UART_POWER_DOWN.

Referenced by bootblock_mainboard_early_init().

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

◆ sio1036_enter_conf_state()

static void sio1036_enter_conf_state ( pnp_devfn_t  dev)
inlinestatic

Definition at line 11 of file sio1036_early_init.c.

References outb().

Referenced by detect_sio1036_chip(), and sio1036_enable_serial().

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

◆ sio1036_exit_conf_state()

static void sio1036_exit_conf_state ( pnp_devfn_t  dev)
inlinestatic

Definition at line 17 of file sio1036_early_init.c.

References outb().

Referenced by detect_sio1036_chip(), and sio1036_enable_serial().

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