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

Go to the source code of this file.

Macros

#define LPC47N217_PP   3 /* Parallel Port */
 
#define LPC47N217_SP1   4 /* Com1 */
 
#define LPC47N217_SP2   5 /* Com2 */
 
#define LPC47N217_MAX_CONFIG_REGISTER   0x39
 

Functions

void lpc47n217_enable_serial (pnp_devfn_t dev, u16 iobase)
 Configure the base I/O port of the specified serial device and enable the serial device. More...
 

Macro Definition Documentation

◆ LPC47N217_MAX_CONFIG_REGISTER

#define LPC47N217_MAX_CONFIG_REGISTER   0x39

Definition at line 17 of file lpc47n217.h.

◆ LPC47N217_PP

#define LPC47N217_PP   3 /* Parallel Port */

Definition at line 13 of file lpc47n217.h.

◆ LPC47N217_SP1

#define LPC47N217_SP1   4 /* Com1 */

Definition at line 14 of file lpc47n217.h.

◆ LPC47N217_SP2

#define LPC47N217_SP2   5 /* Com2 */

Definition at line 15 of file lpc47n217.h.

Function Documentation

◆ lpc47n217_enable_serial()

void lpc47n217_enable_serial ( pnp_devfn_t  dev,
u16  iobase 
)

Configure the base I/O port of the specified serial device and enable the serial device.

Parameters
devHigh 8 bits = Super I/O port, low 8 bits = logical device number.
iobaseProcessor I/O port address to assign to this serial device.

Definition at line 95 of file early_serial.c.

References lpc47n217_pnp_set_enable(), lpc47n217_pnp_set_iobase(), pnp_enter_conf_state(), and pnp_exit_conf_state().

Referenced by bootblock_mainboard_early_init().

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