Flash Translation Layer
1.0
|
operations for device More...
#include <device.h>
Data Fields | |
int(* | open )(struct device *, const char *name, int flags) |
ssize_t(* | write )(struct device *, struct device_request *) |
ssize_t(* | read )(struct device *, struct device_request *) |
int(* | erase )(struct device *, struct device_request *) |
int(* | close )(struct device *) |
operations for device
int(* device_operations::close) (struct device *) |
int(* device_operations::erase) (struct device *, struct device_request *) |
int(* device_operations::open) (struct device *, const char *name, int flags) |
ssize_t(* device_operations::read) (struct device *, struct device_request *) |
ssize_t(* device_operations::write) (struct device *, struct device_request *) |