Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
mtd_write_req Struct Reference

#include <mtd-abi.h>

Data Fields

__u64 start
 
__u64 len
 
__u64 ooblen
 
__u64 usr_data
 
__u64 usr_oob
 
__u8 mode
 
__u8 padding [7]
 

Detailed Description

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.

Definition at line 83 of file mtd-abi.h.

Field Documentation

__u64 len

Definition at line 85 of file mtd-abi.h.

__u8 mode

Definition at line 89 of file mtd-abi.h.

__u64 ooblen

Definition at line 86 of file mtd-abi.h.

__u8 padding[7]

Definition at line 90 of file mtd-abi.h.

__u64 start

Definition at line 84 of file mtd-abi.h.

__u64 usr_data

Definition at line 87 of file mtd-abi.h.

__u64 usr_oob

Definition at line 88 of file mtd-abi.h.


The documentation for this struct was generated from the following file: