nandsim
static inline void ns_accept_addr_byte(struct nandsim *ns, u_char bt)
static inline void ns_switch_to_ready_state(struct nandsim *ns, u_char status)
static int ns_find_operation(struct nandsim *ns, uint32_t flag)
static void ns_put_pages(struct nandsim *ns)
static int ns_get_pages(struct nandsim *ns, struct file *file, size_t count,
static ssize_t ns_read_file(struct nandsim *ns, struct file *file, void *buf,
static ssize_t ns_write_file(struct nandsim *ns, struct file *file, void *buf,
static inline union ns_mem *NS_GET_PAGE(struct nandsim *ns)
static inline u_char *NS_PAGE_BYTE_OFF(struct nandsim *ns)
static int ns_do_read_error(struct nandsim *ns, int num)
static void ns_do_bit_flips(struct nandsim *ns, int num)
static void ns_read_page(struct nandsim *ns, int num)
static void ns_erase_sector(struct nandsim *ns)
static int ns_prog_page(struct nandsim *ns, int num)
static int ns_do_state_action(struct nandsim *ns, uint32_t action)
static void ns_switch_state(struct nandsim *ns)
struct nandsim *ns = nand_get_controller_data(chip);
struct nandsim *ns = nand_get_controller_data(chip);
struct nandsim *ns = nand_get_controller_data(chip);
struct nandsim *ns = nand_get_controller_data(chip);
struct nandsim *ns = nand_get_controller_data(chip);
struct nandsim *ns;
ns = kzalloc_obj(struct nandsim);
struct nandsim *ns = nand_get_controller_data(chip);
static int ns_debugfs_create(struct nandsim *ns)
static void ns_debugfs_remove(struct nandsim *ns)
static int __init ns_alloc_device(struct nandsim *ns)
static void ns_free_device(struct nandsim *ns)
struct nandsim *ns = nand_get_controller_data(chip);
static void ns_free(struct nandsim *ns)
static int ns_parse_badblocks(struct nandsim *ns, struct mtd_info *mtd)