Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
pcdp.h File Reference

Go to the source code of this file.

Data Structures

struct  pcdp_uart
 
struct  pcdp_if_pci
 
struct  pcdp_vga
 
struct  pcdp_device
 
struct  pcdp
 

Macros

#define PCDP_CONSOLE   0
 
#define PCDP_DEBUG   1
 
#define PCDP_CONSOLE_OUTPUT   2
 
#define PCDP_CONSOLE_INPUT   3
 
#define PCDP_UART   (0 << 3)
 
#define PCDP_VGA   (1 << 3)
 
#define PCDP_USB   (2 << 3)
 
#define PCDP_CONSOLE_UART   (PCDP_UART | PCDP_CONSOLE)
 
#define PCDP_DEBUG_UART   (PCDP_UART | PCDP_DEBUG)
 
#define PCDP_CONSOLE_VGA   (PCDP_VGA | PCDP_CONSOLE_OUTPUT)
 
#define PCDP_CONSOLE_USB   (PCDP_USB | PCDP_CONSOLE_INPUT)
 
#define PCDP_UART_EDGE_SENSITIVE   (1 << 0)
 
#define PCDP_UART_ACTIVE_LOW   (1 << 1)
 
#define PCDP_UART_PRIMARY_CONSOLE   (1 << 2)
 
#define PCDP_UART_IRQ   (1 << 6) /* in pci_func for rev < 3 */
 
#define PCDP_UART_PCI   (1 << 7) /* in pci_func for rev < 3 */
 
#define PCDP_IF_PCI   1
 
#define PCDP_PCI_TRANS_IOPORT   0x02
 
#define PCDP_PCI_TRANS_MMIO   0x01
 
#define PCDP_PRIMARY_CONSOLE   1
 

Functions

struct pcdp_uart __attribute__ ((packed))
 

Variables

u8 type
 
u8 bits
 
u8 parity
 
u8 stop_bits
 
u8 pci_seg
 
u8 pci_bus
 
u8 pci_dev
 
u8 pci_func
 
u64 baud
 
struct acpi_generic_address addr
 
u16 pci_dev_id
 
u16 pci_vendor_id
 
u32 gsi
 
u32 clock_rate
 
u8 pci_prog_intfc
 
u8 flags
 
u16 conout_index
 
u32 reserved
 
u8 interconnect
 
u16 length
 
u8 segment
 
u8 bus
 
u8 dev
 
u8 fun
 
u16 dev_id
 
u16 vendor_id
 
u32 acpi_interrupt
 
u64 mmio_tra
 
u64 ioport_tra
 
u8 trans
 
u8 count
 
u16 efi_index
 
u8 signature [4]
 
u8 rev
 
u8 chksum
 
u8 oemid [6]
 
u8 oem_tabid [8]
 
u32 oem_rev
 
u8 creator_id [4]
 
u32 creator_rev
 
u32 num_uarts
 
struct pcdp_uart uart [0]
 

Macro Definition Documentation

#define PCDP_CONSOLE   0

Definition at line 16 of file pcdp.h.

#define PCDP_CONSOLE_INPUT   3

Definition at line 19 of file pcdp.h.

#define PCDP_CONSOLE_OUTPUT   2

Definition at line 18 of file pcdp.h.

#define PCDP_CONSOLE_UART   (PCDP_UART | PCDP_CONSOLE)

Definition at line 26 of file pcdp.h.

#define PCDP_CONSOLE_USB   (PCDP_USB | PCDP_CONSOLE_INPUT)

Definition at line 29 of file pcdp.h.

#define PCDP_CONSOLE_VGA   (PCDP_VGA | PCDP_CONSOLE_OUTPUT)

Definition at line 28 of file pcdp.h.

#define PCDP_DEBUG   1

Definition at line 17 of file pcdp.h.

#define PCDP_DEBUG_UART   (PCDP_UART | PCDP_DEBUG)

Definition at line 27 of file pcdp.h.

#define PCDP_IF_PCI   1

Definition at line 59 of file pcdp.h.

#define PCDP_PCI_TRANS_IOPORT   0x02

Definition at line 62 of file pcdp.h.

#define PCDP_PCI_TRANS_MMIO   0x01

Definition at line 63 of file pcdp.h.

#define PCDP_PRIMARY_CONSOLE   1

Definition at line 87 of file pcdp.h.

#define PCDP_UART   (0 << 3)

Definition at line 21 of file pcdp.h.

#define PCDP_UART_ACTIVE_LOW   (1 << 1)

Definition at line 33 of file pcdp.h.

#define PCDP_UART_EDGE_SENSITIVE   (1 << 0)

Definition at line 32 of file pcdp.h.

#define PCDP_UART_IRQ   (1 << 6) /* in pci_func for rev < 3 */

Definition at line 35 of file pcdp.h.

#define PCDP_UART_PCI   (1 << 7) /* in pci_func for rev < 3 */

Definition at line 36 of file pcdp.h.

#define PCDP_UART_PRIMARY_CONSOLE   (1 << 2)

Definition at line 34 of file pcdp.h.

#define PCDP_USB   (2 << 3)

Definition at line 23 of file pcdp.h.

#define PCDP_VGA   (1 << 3)

Definition at line 22 of file pcdp.h.

Function Documentation

struct pcdp_uart __attribute__ ( (packed)  )
read

Definition at line 171 of file esd_usb2.c.

Variable Documentation

u32 acpi_interrupt

Definition at line 90 of file pcdp.h.

Definition at line 67 of file pcdp.h.

static u32 baud

Definition at line 66 of file pcdp.h.

u8 bits

Definition at line 59 of file pcdp.h.

u8 bus

Definition at line 85 of file pcdp.h.

u16 chksum

Definition at line 115 of file pcdp.h.

u32 clock_rate

Definition at line 71 of file pcdp.h.

u16 conout_index

Definition at line 74 of file pcdp.h.

u8 count

Definition at line 85 of file pcdp.h.

u8 creator_id[4]

Definition at line 119 of file pcdp.h.

u32 creator_rev

Definition at line 120 of file pcdp.h.

u8 dev

Definition at line 86 of file pcdp.h.

u16 dev_id

Definition at line 88 of file pcdp.h.

u16 efi_index

Definition at line 100 of file pcdp.h.

u8 flags

Definition at line 73 of file pcdp.h.

u8 fun

Definition at line 87 of file pcdp.h.

u32 gsi

Definition at line 70 of file pcdp.h.

u8 interconnect

Definition at line 81 of file pcdp.h.

u64 ioport_tra

Definition at line 92 of file pcdp.h.

u32 length

Definition at line 83 of file pcdp.h.

u64 mmio_tra

Definition at line 91 of file pcdp.h.

u32 num_uarts

Definition at line 121 of file pcdp.h.

u32 oem_rev

Definition at line 118 of file pcdp.h.

u8 oem_tabid[8]

Definition at line 117 of file pcdp.h.

u8 oemid[6]

Definition at line 116 of file pcdp.h.

u8 parity

Definition at line 60 of file pcdp.h.

Definition at line 63 of file pcdp.h.

Definition at line 64 of file pcdp.h.

u16 pci_dev_id

Definition at line 68 of file pcdp.h.

Definition at line 65 of file pcdp.h.

u8 pci_prog_intfc

Definition at line 72 of file pcdp.h.

u8 pci_seg

Definition at line 62 of file pcdp.h.

u16 pci_vendor_id

Definition at line 69 of file pcdp.h.

u8 reserved

Definition at line 75 of file pcdp.h.

u8 rev

Definition at line 114 of file pcdp.h.

u8 segment

Definition at line 84 of file pcdp.h.

u8 signature[4]

Definition at line 112 of file pcdp.h.

u8 stop_bits

Definition at line 61 of file pcdp.h.

u8 trans

Definition at line 94 of file pcdp.h.

Definition at line 58 of file pcdp.h.

Definition at line 122 of file pcdp.h.

u16 vendor_id

Definition at line 89 of file pcdp.h.