at91sam9_read_page() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

at91sam9_read_page() function

Reads a page from an AT91SAM9 NAND controller and verifies using 1-bit ECC controller on chip. This makes an attempt to correct any errors that are encountered while reading the page of data.

Syntax

static int at91sam9_read_page(struct nand_device *nand,     uint32_t page,     uint8_t *data,     uint32_t data_size,     uint8_t *oob,     uint32_t oob_size);

Arguments

nand

NAND device to read from

page

Page to be read.

data

Pointer to where data should be read to.

data_size

Size of the data to be read.

oob

Pointer to where OOB data should be read to.

oob_size

Size of the OOB data to be read.

Return value

Success or failure of reading the NAND page.

References

LocationText
at91sam9.c:350
static int at91sam9_read_page(struct nand_device *nand, uint32_t page,
at91sam9.c:709
.read_page = at91sam9_read_page,

Call Tree

Functions called by at91sam9_read_page()
at91sam9_read_page()
Data read by at91sam9_read_page()
Data written by at91sam9_read_page()
at91sam9_read_page()::retval
at91sam9_read_page()::info
at91sam9_read_page()::target
at91sam9_read_page()::oob_data
at91sam9_read_page()::status
at91sam9_read_page()::parity
at91sam9_read_page()::word
at91sam9_read_page()::bit
all items filtered out
at91sam9_read_page()
at91sam9_read_page()::retval
at91sam9_read_page()::oob_data
all items filtered out
Implementations
at91sam9_read_page()
all items filtered out
Type of at91sam9_read_page()
at91sam9_read_page()
uint8_t
uint32_t
all items filtered out