Linux Kernel
3.7.1
|
#include <linux/clk.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/pci_regs.h>
#include <linux/configfs.h>
#include <mach/pcie.h>
#include <mach/misc_regs.h>
Go to the source code of this file.
Data Structures | |
struct | spear_pcie_gadget_config |
struct | pcie_gadget_target |
struct | pcie_gadget_target_attr |
Macros | |
#define | IN0_MEM_SIZE (200 * 1024 * 1024 - 1) |
#define | IN1_MEM_SIZE (0 * 1024 * 1024 - 1) |
#define | IN_IO_SIZE (20 * 1024 * 1024 - 1) |
#define | IN_CFG0_SIZE (12 * 1024 * 1024 - 1) |
#define | IN_CFG1_SIZE (12 * 1024 * 1024 - 1) |
#define | IN_MSG_SIZE (12 * 1024 * 1024 - 1) |
#define | INBOUND_ADDR_MASK (SPEAR13XX_SYSRAM1_SIZE - 1) |
#define | INT_TYPE_NO_INT 0 |
#define | INT_TYPE_INTX 1 |
#define | INT_TYPE_MSI 2 |
#define | PCI_FIND_CAP_TTL 48 |
#define | PCIE_GADGET_TARGET_ATTR_RO(_name) |
#define | PCIE_GADGET_TARGET_ATTR_WO(_name) |
#define | PCIE_GADGET_TARGET_ATTR_RW(_name) |
Functions | |
PCIE_GADGET_TARGET_ATTR_RW (link) | |
PCIE_GADGET_TARGET_ATTR_RW (int_type) | |
PCIE_GADGET_TARGET_ATTR_RW (no_of_msi) | |
PCIE_GADGET_TARGET_ATTR_WO (inta) | |
PCIE_GADGET_TARGET_ATTR_WO (send_msi) | |
PCIE_GADGET_TARGET_ATTR_RW (vendor_id) | |
PCIE_GADGET_TARGET_ATTR_RW (device_id) | |
PCIE_GADGET_TARGET_ATTR_RW (bar0_size) | |
PCIE_GADGET_TARGET_ATTR_RW (bar0_address) | |
PCIE_GADGET_TARGET_ATTR_RW (bar0_rw_offset) | |
PCIE_GADGET_TARGET_ATTR_RW (bar0_data) | |
module_platform_driver (spear_pcie_gadget_driver) | |
MODULE_ALIAS ("platform:pcie-gadget-spear") | |
MODULE_AUTHOR ("Pratyush Anand") | |
MODULE_LICENSE ("GPL") | |
#define IN0_MEM_SIZE (200 * 1024 * 1024 - 1) |
Definition at line 26 of file spear13xx_pcie_gadget.c.
#define IN1_MEM_SIZE (0 * 1024 * 1024 - 1) |
Definition at line 30 of file spear13xx_pcie_gadget.c.
#define IN_CFG0_SIZE (12 * 1024 * 1024 - 1) |
Definition at line 32 of file spear13xx_pcie_gadget.c.
#define IN_CFG1_SIZE (12 * 1024 * 1024 - 1) |
Definition at line 33 of file spear13xx_pcie_gadget.c.
#define IN_IO_SIZE (20 * 1024 * 1024 - 1) |
Definition at line 31 of file spear13xx_pcie_gadget.c.
#define IN_MSG_SIZE (12 * 1024 * 1024 - 1) |
Definition at line 34 of file spear13xx_pcie_gadget.c.
#define INBOUND_ADDR_MASK (SPEAR13XX_SYSRAM1_SIZE - 1) |
Definition at line 37 of file spear13xx_pcie_gadget.c.
#define INT_TYPE_INTX 1 |
Definition at line 40 of file spear13xx_pcie_gadget.c.
#define INT_TYPE_MSI 2 |
Definition at line 41 of file spear13xx_pcie_gadget.c.
#define INT_TYPE_NO_INT 0 |
Definition at line 39 of file spear13xx_pcie_gadget.c.
#define PCI_FIND_CAP_TTL 48 |
Definition at line 132 of file spear13xx_pcie_gadget.c.
#define PCIE_GADGET_TARGET_ATTR_RO | ( | _name | ) |
Definition at line 568 of file spear13xx_pcie_gadget.c.
#define PCIE_GADGET_TARGET_ATTR_RW | ( | _name | ) |
Definition at line 576 of file spear13xx_pcie_gadget.c.
#define PCIE_GADGET_TARGET_ATTR_WO | ( | _name | ) |
Definition at line 572 of file spear13xx_pcie_gadget.c.
MODULE_ALIAS | ( | "platform:pcie-gadget-spear" | ) |
MODULE_AUTHOR | ( | "Pratyush Anand" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | spear_pcie_gadget_driver | ) |
PCIE_GADGET_TARGET_ATTR_RW | ( | link | ) |
PCIE_GADGET_TARGET_ATTR_RW | ( | int_type | ) |
PCIE_GADGET_TARGET_ATTR_RW | ( | no_of_msi | ) |
PCIE_GADGET_TARGET_ATTR_RW | ( | vendor_id | ) |
PCIE_GADGET_TARGET_ATTR_RW | ( | device_id | ) |
PCIE_GADGET_TARGET_ATTR_RW | ( | bar0_size | ) |
PCIE_GADGET_TARGET_ATTR_RW | ( | bar0_address | ) |
PCIE_GADGET_TARGET_ATTR_RW | ( | bar0_rw_offset | ) |
PCIE_GADGET_TARGET_ATTR_RW | ( | bar0_data | ) |
PCIE_GADGET_TARGET_ATTR_WO | ( | inta | ) |
PCIE_GADGET_TARGET_ATTR_WO | ( | send_msi | ) |