Linux Kernel
3.7.1
|
#include <mtd-abi.h>
Data Fields | |
__u64 | start |
__u64 | len |
__u64 | ooblen |
__u64 | usr_data |
__u64 | usr_oob |
__u8 | mode |
__u8 | padding [7] |
struct mtd_write_req - data structure for requesting a write operation
: start address : length of data buffer : length of OOB buffer : user-provided data buffer : user-provided OOB buffer : MTD mode (see "MTD operation modes") : reserved, must be set to 0
This structure supports ioctl(MEMWRITE) operations, allowing data and/or OOB writes in various modes. To write to OOB-only, set == NULL, and to write data-only, set == NULL. However, setting both and to NULL is not allowed.