|
Flash Translation Layer
1.0
|
generic interface for communicate with the flash More...
#include <flash.h>

Data Fields | |
| int(* | open )(struct flash_device *, const char *name, int flags) |
| ssize_t(* | write )(struct flash_device *, void *buffer, size_t count, off_t offset) |
| ssize_t(* | read )(struct flash_device *, void *buffer, size_t count, off_t offset) |
| int(* | ioctl )(struct flash_device *, unsigned int request,...) |
| int(* | close )(struct flash_device *) |
generic interface for communicate with the flash
struct flash_device * means flash control information| int(* flash_operations::close) (struct flash_device *) |
| int(* flash_operations::ioctl) (struct flash_device *, unsigned int request,...) |
for other instruction sets (barely use)
| int(* flash_operations::open) (struct flash_device *, const char *name, int flags) |
open the flash device
| ssize_t(* flash_operations::read) (struct flash_device *, void *buffer, size_t count, off_t offset) |
read from the flash
| ssize_t(* flash_operations::write) (struct flash_device *, void *buffer, size_t count, off_t offset) |
write to the flash
1.8.13