iPXE
uart Struct Reference

A generic UART. More...

#include <uart.h>

Data Fields

struct refcnt refcnt
 Reference count.
const char * name
 Name.
struct list_head list
 List of registered UARTs.
unsigned int baud
 Baud rate (if specified)
struct uart_operationsop
 UART operations.
void * priv
 Driver-private data.

Detailed Description

A generic UART.

Definition at line 17 of file uart.h.

Field Documentation

◆ refcnt

struct refcnt uart::refcnt

Reference count.

Definition at line 19 of file uart.h.

◆ name

const char* uart::name

Name.

Definition at line 21 of file uart.h.

Referenced by dwuart_probe(), fdtcon_default(), serial_init(), uart_find(), and uart_register().

◆ list

struct list_head uart::list

List of registered UARTs.

Definition at line 23 of file uart.h.

Referenced by fdtcon_default(), uart_find(), uart_register(), and uart_unregister().

◆ baud

unsigned int uart::baud

Baud rate (if specified)

Definition at line 26 of file uart.h.

Referenced by fixed_serial_console(), ns16550_init(), and spcr_console().

◆ op

struct uart_operations* uart::op

UART operations.

Definition at line 29 of file uart.h.

Referenced by __attribute__(), dwuart_probe(), and spcr_16550().

◆ priv

void* uart::priv

The documentation for this struct was generated from the following file: