|
Linux Kernel
3.7.1
|
#include <linux/slab.h>#include <linux/module.h>#include <linux/mtd/mtd.h>#include <linux/mtd/nand.h>#include <linux/mtd/partitions.h>#include <linux/of_platform.h>#include <linux/io.h>Go to the source code of this file.
Data Structures | |
| struct | socrates_nand_host |
Macros | |
| #define | FPGA_NAND_CMD_MASK (0x7 << 28) |
| #define | FPGA_NAND_CMD_COMMAND (0x0 << 28) |
| #define | FPGA_NAND_CMD_ADDR (0x1 << 28) |
| #define | FPGA_NAND_CMD_READ (0x2 << 28) |
| #define | FPGA_NAND_CMD_WRITE (0x3 << 28) |
| #define | FPGA_NAND_BUSY (0x1 << 15) |
| #define | FPGA_NAND_ENABLE (0x1 << 31) |
| #define | FPGA_NAND_DATA_SHIFT 16 |
Functions | |
| MODULE_DEVICE_TABLE (of, socrates_nand_match) | |
| module_platform_driver (socrates_nand_driver) | |
| MODULE_LICENSE ("GPL") | |
| MODULE_AUTHOR ("Ilya Yanok") | |
| MODULE_DESCRIPTION ("NAND driver for Socrates board") | |
Variables | |
| struct socrates_nand_host | __attribute__ |
| #define FPGA_NAND_BUSY (0x1 << 15) |
Definition at line 26 of file socrates_nand.c.
| #define FPGA_NAND_CMD_ADDR (0x1 << 28) |
Definition at line 23 of file socrates_nand.c.
| #define FPGA_NAND_CMD_COMMAND (0x0 << 28) |
Definition at line 22 of file socrates_nand.c.
| #define FPGA_NAND_CMD_MASK (0x7 << 28) |
Definition at line 21 of file socrates_nand.c.
| #define FPGA_NAND_CMD_READ (0x2 << 28) |
Definition at line 24 of file socrates_nand.c.
| #define FPGA_NAND_CMD_WRITE (0x3 << 28) |
Definition at line 25 of file socrates_nand.c.
| #define FPGA_NAND_DATA_SHIFT 16 |
Definition at line 28 of file socrates_nand.c.
| #define FPGA_NAND_ENABLE (0x1 << 31) |
Definition at line 27 of file socrates_nand.c.
| MODULE_AUTHOR | ( | "Ilya Yanok" | ) |
| MODULE_DEVICE_TABLE | ( | of | , |
| socrates_nand_match | |||
| ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_platform_driver | ( | socrates_nand_driver | ) |
1.8.2