#include "internals.h"
#define TOSHIBA_NAND_ID4_IS_BENAND …
#define TOSHIBA_NAND_STATUS_REWRITE_RECOMMENDED …
#define TOSHIBA_NAND_CMD_ECC_STATUS_READ …
#define TOSHIBA_NAND_ECC_STATUS_MASK …
#define TOSHIBA_NAND_ECC_STATUS_UNCORR …
#define TOSHIBA_NAND_MAX_ECC_STEPS …
static int toshiba_nand_benand_read_eccstatus_op(struct nand_chip *chip,
u8 *buf)
{ … }
static int toshiba_nand_benand_eccstatus(struct nand_chip *chip)
{ … }
static int
toshiba_nand_read_page_benand(struct nand_chip *chip, uint8_t *buf,
int oob_required, int page)
{ … }
static int
toshiba_nand_read_subpage_benand(struct nand_chip *chip, uint32_t data_offs,
uint32_t readlen, uint8_t *bufpoi, int page)
{ … }
static void toshiba_nand_benand_init(struct nand_chip *chip)
{ … }
static void toshiba_nand_decode_id(struct nand_chip *chip)
{ … }
static int
tc58teg5dclta00_choose_interface_config(struct nand_chip *chip,
struct nand_interface_config *iface)
{ … }
static int
tc58nvg0s3e_choose_interface_config(struct nand_chip *chip,
struct nand_interface_config *iface)
{ … }
static int
th58nvg2s3hbai4_choose_interface_config(struct nand_chip *chip,
struct nand_interface_config *iface)
{ … }
static int tc58teg5dclta00_init(struct nand_chip *chip)
{ … }
static int tc58nvg0s3e_init(struct nand_chip *chip)
{ … }
static int th58nvg2s3hbai4_init(struct nand_chip *chip)
{ … }
static int toshiba_nand_init(struct nand_chip *chip)
{ … }
const struct nand_manufacturer_ops toshiba_nand_manuf_ops = …;