|
Data Structures |
struct | erase_info_user |
struct | mtd_oob_buf |
struct | mtd_info_user |
struct | region_info_user |
struct | otp_info |
struct | nand_oobinfo |
Defines |
#define | __user |
#define | MTD_ABSENT 0 |
#define | MTD_RAM 1 |
#define | MTD_ROM 2 |
#define | MTD_NORFLASH 3 |
#define | MTD_NANDFLASH 4 |
#define | MTD_PEROM 5 |
#define | MTD_DATAFLASH 6 |
#define | MTD_OTHER 14 |
#define | MTD_UNKNOWN 15 |
#define | MTD_CLEAR_BITS 1 |
#define | MTD_SET_BITS 2 |
#define | MTD_ERASEABLE 4 |
#define | MTD_WRITEB_WRITEABLE 8 |
#define | MTD_VOLATILE 16 |
#define | MTD_XIP 32 |
#define | MTD_OOB 64 |
#define | MTD_ECC 128 |
#define | MTD_NO_VIRTBLOCKS 256 |
#define | MTD_PROGRAM_REGIONS 512 |
#define | MTD_CAP_ROM 0 |
#define | MTD_CAP_RAM (MTD_CLEAR_BITS|MTD_SET_BITS|MTD_WRITEB_WRITEABLE) |
#define | MTD_CAP_NORFLASH (MTD_CLEAR_BITS|MTD_ERASEABLE) |
#define | MTD_CAP_NANDFLASH (MTD_CLEAR_BITS|MTD_ERASEABLE|MTD_OOB) |
#define | MTD_WRITEABLE (MTD_CLEAR_BITS|MTD_SET_BITS) |
#define | MTD_ECC_NONE 0 |
#define | MTD_ECC_RS_DiskOnChip 1 |
#define | MTD_ECC_SW 2 |
#define | MTD_NANDECC_OFF 0 |
#define | MTD_NANDECC_PLACE 1 |
#define | MTD_NANDECC_AUTOPLACE 2 |
#define | MTD_NANDECC_PLACEONLY 3 |
#define | MTD_NANDECC_AUTOPL_USR 4 |
#define | MTD_OTP_OFF 0 |
#define | MTD_OTP_FACTORY 1 |
#define | MTD_OTP_USER 2 |
#define | MEMGETINFO _IOR('M', 1, struct mtd_info_user) |
#define | MEMERASE _IOW('M', 2, struct erase_info_user) |
#define | MEMWRITEOOB _IOWR('M', 3, struct mtd_oob_buf) |
#define | MEMREADOOB _IOWR('M', 4, struct mtd_oob_buf) |
#define | MEMLOCK _IOW('M', 5, struct erase_info_user) |
#define | MEMUNLOCK _IOW('M', 6, struct erase_info_user) |
#define | MEMGETREGIONCOUNT _IOR('M', 7, int) |
#define | MEMGETREGIONINFO _IOWR('M', 8, struct region_info_user) |
#define | MEMSETOOBSEL _IOW('M', 9, struct nand_oobinfo) |
#define | MEMGETOOBSEL _IOR('M', 10, struct nand_oobinfo) |
#define | MEMGETBADBLOCK _IOW('M', 11, loff_t) |
#define | MEMSETBADBLOCK _IOW('M', 12, loff_t) |
#define | OTPSELECT _IOR('M', 13, int) |
#define | OTPGETREGIONCOUNT _IOW('M', 14, int) |
#define | OTPGETREGIONINFO _IOW('M', 15, struct otp_info) |
#define | OTPLOCK _IOR('M', 16, struct otp_info) |