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

Go to the source code of this file.

Macros

#define PILOT_LD1   0x01 /* Logical device 1 */
 
#define PILOT_SP1   0x02 /* Com1 */
 
#define PILOT_LD4   0x04 /* Logical device 4 */
 
#define PILOT_LD5   0x05 /* Logical device 5 */
 
#define PILOT_LD7   0x07 /* Logical device 7 */
 

Functions

void pnp_enter_ext_func_mode (pnp_devfn_t dev)
 
void pnp_exit_ext_func_mode (pnp_devfn_t dev)
 
void pilot_early_init (pnp_devfn_t dev)
 
void pilot_enable_serial (pnp_devfn_t dev, u16 iobase)
 
void pilot_disable_serial (pnp_devfn_t dev)
 

Macro Definition Documentation

◆ PILOT_LD1

#define PILOT_LD1   0x01 /* Logical device 1 */

Definition at line 10 of file pilot.h.

◆ PILOT_LD4

#define PILOT_LD4   0x04 /* Logical device 4 */

Definition at line 12 of file pilot.h.

◆ PILOT_LD5

#define PILOT_LD5   0x05 /* Logical device 5 */

Definition at line 13 of file pilot.h.

◆ PILOT_LD7

#define PILOT_LD7   0x07 /* Logical device 7 */

Definition at line 14 of file pilot.h.

◆ PILOT_SP1

#define PILOT_SP1   0x02 /* Com1 */

Definition at line 11 of file pilot.h.

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_early_init()

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

◆ pnp_exit_ext_func_mode()

void pnp_exit_ext_func_mode ( pnp_devfn_t  dev)

Definition at line 17 of file early_serial.c.