Searched defs:flash_device_ops (Results 1 – 1 of 1) sorted by relevance
25 struct flash_device_ops { struct26 char * const name;27 void *(*open)(const void *params);28 void (*close)(void *hnd);29 int (*read)(void *hnd, off_t offset, void *buffer, size_t count);30 int (*write)(void *hnd, off_t offset, void *buffer, size_t count);31 int (*erase)(void *hnd, off_t offset, size_t count);55 extern const struct flash_device_ops flash_mtd_ops; argument