#include <linux/init.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/dma-mapping.h>
#include <linux/interrupt.h>
#include <linux/device.h>
#include <linux/of_platform.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/io.h>
#include <linux/uaccess.h>
#include <asm/machdep.h>
#include "fsl_rio.h"
Go to the source code of this file.
#define __fsl_read_rio_config |
( |
|
x, |
|
|
|
addr, |
|
|
|
err, |
|
|
|
op |
|
) |
| |
Value:
" eieio\n" \
"2:\n" \
".section .fixup,\"ax\"\n" \
"3: li %1,-1\n" \
" li %0,%3\n" \
" b 2b\n" \
".section __ex_table,\"a\"\n" \
".text" \
Definition at line 59 of file fsl_rio.c.
#define ESCSR_CLEAR 0x07120204 |
#define IECSR_CLEAR 0x80000000 |
#define RIO_ISR_AACR 0x10120 |
#define RIO_ISR_AACR_AA 0x1 /* Accept All ID */ |
#define RIO_LTLEDCSR_IER 0x80000000 |
#define RIO_LTLEDCSR_PRT 0x01000000 |
#define RIO_PORT1_EDCSR 0x0640 |
#define RIO_PORT1_IECSR 0x10130 |
#define RIO_PORT2_EDCSR 0x0680 |
#define RIO_PORT2_ESCSR 0x178 |
#define RIO_PORT2_IECSR 0x101B0 |
void fsl_rio_port_error_handler |
( |
int |
offset | ) |
|
fsl_rio_setup - Setup Freescale PowerPC RapidIO interface : platform_device pointer
Initializes MPC85xx RapidIO hardware interface, configures master port with system-specific info, and registers the master port with the RapidIO subsystem.
Definition at line 332 of file fsl_rio.c.
subsys_initcall |
( |
fsl_of_rio_rpn_init |
| ) |
|