Scroll to navigation

NAND_WRITE_SUBPAGE_H(9) Internal Functions Provided NAND_WRITE_SUBPAGE_H(9)

NAME

nand_write_subpage_hwecc - [REPLACEABLE] hardware ECC based subpage write

SYNOPSIS

int nand_write_subpage_hwecc(struct mtd_info * mtd, struct nand_chip * chip, uint32_t offset, uint32_t data_len, const uint8_t * buf, int oob_required, int page);

ARGUMENTS

struct mtd_info * mtd
mtd info structure

struct nand_chip * chip

nand chip info structure

uint32_t offset

column address of subpage within the page

uint32_t data_len

data length

const uint8_t * buf

data buffer

int oob_required

must write chip->oob_poi to OOB

int page

page number to write

AUTHOR

Thomas Gleixner <tglx@linutronix.de>
Author.

COPYRIGHT

September 2017 Kernel Hackers Manual 4.12