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

#include <mtd.h>

Data Fields

unsigned int mode
size_t len
size_t retlen
size_t ooblen
size_t oobretlen
uint32_t ooboffs

Detailed Description

struct mtd_oob_ops - oob operation operands : operation mode

: number of data bytes to write/read

: number of data bytes written/read

: number of oob bytes to write/read : number of oob bytes written/read : offset of oob data in the oob area (only relevant when mode = MTD_OPS_PLACE_OOB or MTD_OPS_RAW) : data buffer - if NULL only oob data are read/written : oob data buffer

Note, it is allowed to read more than one OOB area at one go, but not write. The interface assumes that the OOB write requests program only one page's OOB area.

Definition at line 89 of file mtd.h.

Field Documentation

uint8_t* datbuf

Definition at line 96 of file mtd.h.

size_t len

Definition at line 91 of file mtd.h.

unsigned int mode

Definition at line 90 of file mtd.h.

uint8_t* oobbuf

Definition at line 97 of file mtd.h.

size_t ooblen

Definition at line 93 of file mtd.h.

uint32_t ooboffs

Definition at line 95 of file mtd.h.

size_t oobretlen

Definition at line 94 of file mtd.h.

size_t retlen

Definition at line 92 of file mtd.h.

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