OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | nand_flash_controller |
Interface for NAND flash controllers. More... | |
Macros | |
#define | __NAND_DEVICE_COMMAND(name) COMMAND_HELPER(name, struct nand_device *nand) |
#define | NAND_DEVICE_COMMAND_HANDLER(name) static __NAND_DEVICE_COMMAND(name) |
Typedefs | |
typedef int(* | nand_driver_walker_t) (struct nand_flash_controller *c, void *) |
Signature for callback functions passed to nand_driver_walk. More... | |
Functions | |
struct nand_flash_controller * | nand_driver_find_by_name (const char *name) |
Find a NAND flash controller by name. More... | |
int | nand_driver_walk (nand_driver_walker_t f, void *x) |
Walk the list of drivers, encapsulating the data structure type. More... | |
Variables | |
struct nand_flash_controller | at91sam9_nand_controller |
Structure representing the AT91SAM9 NAND controller. More... | |
struct nand_flash_controller | davinci_nand_controller |
struct nand_flash_controller | imx31_nand_flash_controller |
struct nand_flash_controller | lpc3180_nand_controller |
struct nand_flash_controller | lpc32xx_nand_controller |
struct nand_flash_controller | mxc_nand_flash_controller |
struct nand_flash_controller | nonce_nand_controller |
struct nand_flash_controller | nuc910_nand_controller |
struct nand_flash_controller | orion_nand_controller |
struct nand_flash_controller | s3c2410_nand_controller |
struct nand_flash_controller | s3c2412_nand_controller |
struct nand_flash_controller | s3c2440_nand_controller |
struct nand_flash_controller | s3c2443_nand_controller |
struct nand_flash_controller | s3c6400_nand_controller |
#define __NAND_DEVICE_COMMAND | ( | name | ) | COMMAND_HELPER(name, struct nand_device *nand) |
Definition at line 15 of file nand/driver.h.
#define NAND_DEVICE_COMMAND_HANDLER | ( | name | ) | static __NAND_DEVICE_COMMAND(name) |
Definition at line 71 of file nand/driver.h.
typedef int(* nand_driver_walker_t) (struct nand_flash_controller *c, void *) |
Signature for callback functions passed to nand_driver_walk.
Definition at line 81 of file nand/driver.h.
struct nand_flash_controller* nand_driver_find_by_name | ( | const char * | name | ) |
Find a NAND flash controller by name.
name | Identifies the NAND controller to find. |
name
, or NULL if not found. Definition at line 34 of file flash/nand/driver.c.
References nand_flash_controller::name, name, nand_flash_controllers, and NULL.
Referenced by COMMAND_HANDLER().
int nand_driver_walk | ( | nand_driver_walker_t | f, |
void * | x | ||
) |
Walk the list of drivers, encapsulating the data structure type.
Application state/context can be passed through the x
pointer.
f | The callback function to invoke for each function. |
x | For use as private data storage, passed directly to f . |
f
. This allows a walker to terminate the loop early. Definition at line 43 of file flash/nand/driver.c.
References ERROR_OK, and nand_flash_controllers.
Referenced by COMMAND_HANDLER().
|
extern |
Structure representing the AT91SAM9 NAND controller.
Definition at line 620 of file at91sam9.c.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |