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

Go to the source code of this file.

Macros

#define SIO1036_SP1   0 /* Com1 */
 
#define UART_POWER_DOWN   (1 << 7)
 
#define LPT_POWER_DOWN   (1 << 2)
 
#define IR_OUTPUT_MUX   (1 << 6)
 

Functions

void sio1036_enable_serial (pnp_devfn_t dev, u16 iobase)
 

Macro Definition Documentation

◆ IR_OUTPUT_MUX

#define IR_OUTPUT_MUX   (1 << 6)

Definition at line 10 of file sio1036.h.

◆ LPT_POWER_DOWN

#define LPT_POWER_DOWN   (1 << 2)

Definition at line 9 of file sio1036.h.

◆ SIO1036_SP1

#define SIO1036_SP1   0 /* Com1 */

Definition at line 6 of file sio1036.h.

◆ UART_POWER_DOWN

#define UART_POWER_DOWN   (1 << 7)

Definition at line 8 of file sio1036.h.

Function Documentation

◆ 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: