Linux Kernel
3.7.1
|
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/spinlock.h>
#include <linux/module.h>
#include <asm/io.h>
#include <asm/prom.h>
#include <asm/mpc52xx.h>
#include <asm/time.h>
#include <sysdev/bestcomm/bestcomm.h>
#include <sysdev/bestcomm/bestcomm_priv.h>
#include <sysdev/bestcomm/gen_bd.h>
Go to the source code of this file.
Data Structures | |
struct | mpc52xx_lpbfifo |
Macros | |
#define | LPBFIFO_REG_PACKET_SIZE (0x00) |
#define | LPBFIFO_REG_START_ADDRESS (0x04) |
#define | LPBFIFO_REG_CONTROL (0x08) |
#define | LPBFIFO_REG_ENABLE (0x0C) |
#define | LPBFIFO_REG_BYTES_DONE_STATUS (0x14) |
#define | LPBFIFO_REG_FIFO_DATA (0x40) |
#define | LPBFIFO_REG_FIFO_STATUS (0x44) |
#define | LPBFIFO_REG_FIFO_CONTROL (0x48) |
#define | LPBFIFO_REG_FIFO_ALARM (0x4C) |
Functions | |
MODULE_AUTHOR ("Grant Likely <grant.likely@secretlab.ca>") | |
MODULE_DESCRIPTION ("MPC5200 LocalPlus FIFO device driver") | |
MODULE_LICENSE ("GPL") | |
void | mpc52xx_lpbfifo_poll (void) |
EXPORT_SYMBOL (mpc52xx_lpbfifo_poll) | |
int | mpc52xx_lpbfifo_submit (struct mpc52xx_lpbfifo_request *req) |
EXPORT_SYMBOL (mpc52xx_lpbfifo_submit) | |
int | mpc52xx_lpbfifo_start_xfer (struct mpc52xx_lpbfifo_request *req) |
EXPORT_SYMBOL (mpc52xx_lpbfifo_start_xfer) | |
void | mpc52xx_lpbfifo_abort (struct mpc52xx_lpbfifo_request *req) |
EXPORT_SYMBOL (mpc52xx_lpbfifo_abort) | |
module_init (mpc52xx_lpbfifo_init) | |
module_exit (mpc52xx_lpbfifo_exit) | |
#define LPBFIFO_REG_BYTES_DONE_STATUS (0x14) |
Definition at line 35 of file mpc52xx_lpbfifo.c.
#define LPBFIFO_REG_CONTROL (0x08) |
Definition at line 33 of file mpc52xx_lpbfifo.c.
#define LPBFIFO_REG_ENABLE (0x0C) |
Definition at line 34 of file mpc52xx_lpbfifo.c.
#define LPBFIFO_REG_FIFO_ALARM (0x4C) |
Definition at line 39 of file mpc52xx_lpbfifo.c.
#define LPBFIFO_REG_FIFO_CONTROL (0x48) |
Definition at line 38 of file mpc52xx_lpbfifo.c.
#define LPBFIFO_REG_FIFO_DATA (0x40) |
Definition at line 36 of file mpc52xx_lpbfifo.c.
#define LPBFIFO_REG_FIFO_STATUS (0x44) |
Definition at line 37 of file mpc52xx_lpbfifo.c.
#define LPBFIFO_REG_PACKET_SIZE (0x00) |
Definition at line 31 of file mpc52xx_lpbfifo.c.
#define LPBFIFO_REG_START_ADDRESS (0x04) |
Definition at line 32 of file mpc52xx_lpbfifo.c.
EXPORT_SYMBOL | ( | mpc52xx_lpbfifo_poll | ) |
EXPORT_SYMBOL | ( | mpc52xx_lpbfifo_submit | ) |
EXPORT_SYMBOL | ( | mpc52xx_lpbfifo_start_xfer | ) |
EXPORT_SYMBOL | ( | mpc52xx_lpbfifo_abort | ) |
MODULE_AUTHOR | ( | "Grant Likely <grant.likely@secretlab.ca>" | ) |
module_exit | ( | mpc52xx_lpbfifo_exit | ) |
module_init | ( | mpc52xx_lpbfifo_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
void mpc52xx_lpbfifo_abort | ( | struct mpc52xx_lpbfifo_request * | req | ) |
Definition at line 457 of file mpc52xx_lpbfifo.c.
mpc52xx_lpbfifo_bcom_poll - Poll for DMA completion
Definition at line 377 of file mpc52xx_lpbfifo.c.
int mpc52xx_lpbfifo_start_xfer | ( | struct mpc52xx_lpbfifo_request * | req | ) |
Definition at line 425 of file mpc52xx_lpbfifo.c.
int mpc52xx_lpbfifo_submit | ( | struct mpc52xx_lpbfifo_request * | req | ) |
mpc52xx_lpbfifo_submit - Submit an LPB FIFO transfer request. : Pointer to request structure
Definition at line 397 of file mpc52xx_lpbfifo.c.