#include <linux/mtd/spi-nor.h>
#include "core.h"
#define USE_FSR …
#define SPINOR_OP_MT_DIE_ERASE …
#define SPINOR_OP_RDFSR …
#define SPINOR_OP_CLFSR …
#define SPINOR_OP_MT_DTR_RD …
#define SPINOR_OP_MT_RD_ANY_REG …
#define SPINOR_OP_MT_WR_ANY_REG …
#define SPINOR_REG_MT_CFR0V …
#define SPINOR_REG_MT_CFR1V …
#define SPINOR_REG_MT_CFR1V_DEF …
#define SPINOR_MT_OCT_DTR …
#define SPINOR_MT_EXSPI …
#define FSR_READY …
#define FSR_E_ERR …
#define FSR_P_ERR …
#define FSR_PT_ERR …
#define MICRON_ST_NOR_WR_ANY_REG_OP(naddr, addr, ndata, buf) …
#define MICRON_ST_RDFSR_OP(buf) …
#define MICRON_ST_CLFSR_OP …
static int micron_st_nor_octal_dtr_en(struct spi_nor *nor)
{ … }
static int micron_st_nor_octal_dtr_dis(struct spi_nor *nor)
{ … }
static int micron_st_nor_set_octal_dtr(struct spi_nor *nor, bool enable)
{ … }
static void mt35xu512aba_default_init(struct spi_nor *nor)
{ … }
static int mt35xu512aba_post_sfdp_fixup(struct spi_nor *nor)
{ … }
static const struct spi_nor_fixups mt35xu512aba_fixups = …;
static const struct flash_info micron_nor_parts[] = …;
static int mt25qu512a_post_bfpt_fixup(struct spi_nor *nor,
const struct sfdp_parameter_header *bfpt_header,
const struct sfdp_bfpt *bfpt)
{ … }
static struct spi_nor_fixups mt25qu512a_fixups = …;
static int st_nor_four_die_late_init(struct spi_nor *nor)
{ … }
static int st_nor_two_die_late_init(struct spi_nor *nor)
{ … }
static struct spi_nor_fixups n25q00_fixups = …;
static struct spi_nor_fixups mt25q01_fixups = …;
static struct spi_nor_fixups mt25q02_fixups = …;
static const struct flash_info st_nor_parts[] = …;
static int micron_st_nor_read_fsr(struct spi_nor *nor, u8 *fsr)
{ … }
static void micron_st_nor_clear_fsr(struct spi_nor *nor)
{ … }
static int micron_st_nor_ready(struct spi_nor *nor)
{ … }
static void micron_st_nor_default_init(struct spi_nor *nor)
{ … }
static int micron_st_nor_late_init(struct spi_nor *nor)
{ … }
static const struct spi_nor_fixups micron_st_nor_fixups = …;
const struct spi_nor_manufacturer spi_nor_micron = …;
const struct spi_nor_manufacturer spi_nor_st = …;