Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
platform.c File Reference
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/resource.h>
#include <linux/serial_8250.h>
#include <linux/serial_reg.h>
#include <linux/i2c.h>
#include <asm/netlogic/haldefs.h>
#include <asm/netlogic/xlr/iomap.h>
#include <asm/netlogic/xlr/pic.h>
#include <asm/netlogic/xlr/xlr.h>

Go to the source code of this file.

Macros

#define PORT(_irq)
 

Functions

unsigned int nlm_xlr_uart_in (struct uart_port *p, int offset)
 
void nlm_xlr_uart_out (struct uart_port *p, int offset, int value)
 
 arch_initcall (nlm_uart_init)
 

Macro Definition Documentation

#define PORT (   _irq)
Value:
{ \
.irq = _irq, \
.regshift = 2, \
.iotype = UPIO_MEM32, \
.flags = (UPF_SKIP_TEST | \
UPF_FIXED_TYPE | UPF_BOOT_AUTOCONF),\
.uartclk = PIC_CLKS_PER_SEC, \
.serial_in = nlm_xlr_uart_in, \
.serial_out = nlm_xlr_uart_out, \
}

Definition at line 58 of file platform.c.

Function Documentation

arch_initcall ( nlm_uart_init  )
unsigned int nlm_xlr_uart_in ( struct uart_port p,
int  offset 
)

Definition at line 24 of file platform.c.

void nlm_xlr_uart_out ( struct uart_port p,
int  offset,
int  value 
)

Definition at line 42 of file platform.c.