#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/platform_device.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <linux/bitmap.h>
#include <linux/bitrev.h>
#include <linux/bch.h>
#include <linux/debugfs.h>
#include <linux/seq_file.h>
#include "docg3.h"
Go to the source code of this file.
#define CREATE_TRACE_POINTS |
#define FLOOR_SYSFS |
( |
|
id | ) |
|
Value:{ \
__ATTR(
f##
id##_dps0_is_keylocked,
S_IRUGO, dps0_is_key_locked,
NULL), \
__ATTR(
f##
id##_dps1_is_keylocked,
S_IRUGO, dps1_is_key_locked,
NULL), \
__ATTR(
f##
id##_dps0_protection_key,
S_IWUGO,
NULL, dps0_insert_key), \
__ATTR(
f##
id##_dps1_protection_key,
S_IWUGO,
NULL, dps1_insert_key), \
}
Definition at line 1608 of file docg3.c.
DEBUGFS_RO_ATTR |
( |
flashcontrol |
, |
|
|
dbg_flashctrl_show |
|
|
) |
| |
DEBUGFS_RO_ATTR |
( |
asic_mode |
, |
|
|
dbg_asicmode_show |
|
|
) |
| |
DEBUGFS_RO_ATTR |
( |
device_id |
, |
|
|
dbg_device_id_show |
|
|
) |
| |
DEBUGFS_RO_ATTR |
( |
protection |
, |
|
|
dbg_protection_show |
|
|
) |
| |
module_exit |
( |
docg3_exit |
| ) |
|
module_init |
( |
docg3_init |
| ) |
|
module_param |
( |
reliable_mode |
, |
|
|
uint |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
reliable_mode |
, |
|
|
"Set the docg3 mode (0=normal MLC, 1=fast, ""2=reliable) : MLC normal operations are in normal mode" |
|
|
) |
| |