48 ssize_t (*write)(
struct flash_device *,
void *buffer,
size_t count,
void * f_private
Definition: flash.h:33
int flash_module_init(struct flash_device **, uint64_t flags)
initialize the flash module
Definition: flash.c:26
int(* f_submodule_exit)(struct flash_device *)
Definition: flash.h:34
int flash_module_exit(struct flash_device *)
free resources in the flash module
Definition: flash.c:59
generic interface for communicate with the flash
Definition: flash.h:45
contain the flash device information
Definition: flash.h:31
const struct flash_operations * f_op
Definition: flash.h:32