Linux Kernel
3.7.1
|
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/msi.h>
#include <linux/export.h>
#include <linux/of_platform.h>
#include <linux/debugfs.h>
#include <linux/slab.h>
#include <asm/dcr.h>
#include <asm/machdep.h>
#include <asm/prom.h>
Go to the source code of this file.
Data Structures | |
struct | axon_msic |
Macros | |
#define | MSIC_CTRL_REG 0x0 |
#define | MSIC_BASE_ADDR_HI_REG 0x3 |
#define | MSIC_BASE_ADDR_LO_REG 0x4 |
#define | MSIC_READ_OFFSET_REG 0x5 |
#define | MSIC_WRITE_OFFSET_REG 0x6 |
#define | MSIC_CTRL_ENABLE 0x0001 |
#define | MSIC_CTRL_FIFO_FULL_ENABLE 0x0002 |
#define | MSIC_CTRL_IRQ_ENABLE 0x0008 |
#define | MSIC_CTRL_FULL_STOP_ENABLE 0x0010 |
#define | MSIC_FIFO_SIZE_SHIFT 16 |
#define | MSIC_FIFO_SIZE_BYTES (1 << MSIC_FIFO_SIZE_SHIFT) |
#define | MSIC_CTRL_FIFO_SIZE (((MSIC_FIFO_SIZE_SHIFT - 15) << 8) & 0x300) |
#define | MSIC_FIFO_SIZE_MASK ((MSIC_FIFO_SIZE_BYTES - 1) & ~0xFu) |
#define | MSIC_FIFO_ENTRY_SIZE 0x10 |
Functions | |
subsys_initcall (axon_msi_init) | |
#define MSIC_BASE_ADDR_HI_REG 0x3 |
Definition at line 32 of file axon_msi.c.
#define MSIC_BASE_ADDR_LO_REG 0x4 |
Definition at line 33 of file axon_msi.c.
#define MSIC_CTRL_ENABLE 0x0001 |
Definition at line 41 of file axon_msi.c.
#define MSIC_CTRL_FIFO_FULL_ENABLE 0x0002 |
Definition at line 42 of file axon_msi.c.
#define MSIC_CTRL_FIFO_SIZE (((MSIC_FIFO_SIZE_SHIFT - 15) << 8) & 0x300) |
Definition at line 57 of file axon_msi.c.
#define MSIC_CTRL_FULL_STOP_ENABLE 0x0010 |
Definition at line 44 of file axon_msi.c.
#define MSIC_CTRL_IRQ_ENABLE 0x0008 |
Definition at line 43 of file axon_msi.c.
#define MSIC_CTRL_REG 0x0 |
Definition at line 29 of file axon_msi.c.
#define MSIC_FIFO_ENTRY_SIZE 0x10 |
Definition at line 66 of file axon_msi.c.
#define MSIC_FIFO_SIZE_BYTES (1 << MSIC_FIFO_SIZE_SHIFT) |
Definition at line 51 of file axon_msi.c.
#define MSIC_FIFO_SIZE_MASK ((MSIC_FIFO_SIZE_BYTES - 1) & ~0xFu) |
Definition at line 63 of file axon_msi.c.
#define MSIC_FIFO_SIZE_SHIFT 16 |
Definition at line 50 of file axon_msi.c.
#define MSIC_READ_OFFSET_REG 0x5 |
Definition at line 36 of file axon_msi.c.
#define MSIC_WRITE_OFFSET_REG 0x6 |
Definition at line 37 of file axon_msi.c.
subsys_initcall | ( | axon_msi_init | ) |