/Linux-v4.19/drivers/mtd/spi-nor/ |
D | spi-nor.c | 105 static int read_sr(struct spi_nor *nor) in read_sr() 124 static int read_fsr(struct spi_nor *nor) in read_fsr() 143 static int read_cr(struct spi_nor *nor) in read_cr() 161 static inline int write_sr(struct spi_nor *nor, u8 val) in write_sr() 171 static inline int write_enable(struct spi_nor *nor) in write_enable() 179 static inline int write_disable(struct spi_nor *nor) in write_disable() 245 static void spi_nor_set_4byte_opcodes(struct spi_nor *nor, in spi_nor_set_4byte_opcodes() 266 static inline int set_4byte(struct spi_nor *nor, const struct flash_info *info, in set_4byte() 309 static int s3an_sr_ready(struct spi_nor *nor) in s3an_sr_ready() 323 static inline int spi_nor_sr_ready(struct spi_nor *nor) in spi_nor_sr_ready() [all …]
|
D | cadence-quadspi.c | 50 struct spi_nor nor; member 295 static unsigned int cqspi_calc_rdreg(struct spi_nor *nor, const u8 opcode) in cqspi_calc_rdreg() 364 static int cqspi_command_read(struct spi_nor *nor, in cqspi_command_read() 413 static int cqspi_command_write(struct spi_nor *nor, const u8 opcode, in cqspi_command_write() 444 static int cqspi_command_write_addr(struct spi_nor *nor, in cqspi_command_write_addr() 462 static int cqspi_read_setup(struct spi_nor *nor) in cqspi_read_setup() 502 static int cqspi_indirect_read_execute(struct spi_nor *nor, u8 *rxbuf, in cqspi_indirect_read_execute() 594 static int cqspi_write_setup(struct spi_nor *nor) in cqspi_write_setup() 614 static int cqspi_indirect_write_execute(struct spi_nor *nor, loff_t to_addr, in cqspi_indirect_write_execute() 694 static void cqspi_chipselect(struct spi_nor *nor) in cqspi_chipselect() [all …]
|
D | nxp-spifi.c | 63 struct spi_nor nor; member 130 static int nxp_spifi_read_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in nxp_spifi_read_reg() 152 static int nxp_spifi_write_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in nxp_spifi_write_reg() 175 static ssize_t nxp_spifi_read(struct spi_nor *nor, loff_t from, size_t len, in nxp_spifi_read() 190 static ssize_t nxp_spifi_write(struct spi_nor *nor, loff_t to, size_t len, in nxp_spifi_write() 221 static int nxp_spifi_erase(struct spi_nor *nor, loff_t offs) in nxp_spifi_erase() 267 static void nxp_spifi_dummy_id_read(struct spi_nor *nor) in nxp_spifi_dummy_id_read()
|
D | hisi-sfc.c | 111 struct spi_nor *nor[HIFMC_MAX_CHIP_NUM]; member 159 static int hisi_spi_nor_prep(struct spi_nor *nor, enum spi_nor_ops ops) in hisi_spi_nor_prep() 182 static void hisi_spi_nor_unprep(struct spi_nor *nor, enum spi_nor_ops ops) in hisi_spi_nor_unprep() 191 static int hisi_spi_nor_op_reg(struct spi_nor *nor, in hisi_spi_nor_op_reg() 214 static int hisi_spi_nor_read_reg(struct spi_nor *nor, u8 opcode, u8 *buf, in hisi_spi_nor_read_reg() 229 static int hisi_spi_nor_write_reg(struct spi_nor *nor, u8 opcode, in hisi_spi_nor_write_reg() 241 static int hisi_spi_nor_dma_transfer(struct spi_nor *nor, loff_t start_off, in hisi_spi_nor_dma_transfer() 280 static ssize_t hisi_spi_nor_read(struct spi_nor *nor, loff_t from, size_t len, in hisi_spi_nor_read() 303 static ssize_t hisi_spi_nor_write(struct spi_nor *nor, loff_t to, in hisi_spi_nor_write() 340 struct spi_nor *nor; in hisi_spi_nor_register() local
|
D | aspeed-smc.c | 104 struct spi_nor nor; member 281 static void aspeed_smc_start_user(struct spi_nor *nor) in aspeed_smc_start_user() 300 static void aspeed_smc_stop_user(struct spi_nor *nor) in aspeed_smc_stop_user() 312 static int aspeed_smc_prep(struct spi_nor *nor, enum spi_nor_ops ops) in aspeed_smc_prep() 320 static void aspeed_smc_unprep(struct spi_nor *nor, enum spi_nor_ops ops) in aspeed_smc_unprep() 327 static int aspeed_smc_read_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in aspeed_smc_read_reg() 338 static int aspeed_smc_write_reg(struct spi_nor *nor, u8 opcode, u8 *buf, in aspeed_smc_write_reg() 350 static void aspeed_smc_send_cmd_addr(struct spi_nor *nor, u8 cmd, u32 addr) in aspeed_smc_send_cmd_addr() 376 static ssize_t aspeed_smc_read_user(struct spi_nor *nor, loff_t from, in aspeed_smc_read_user() 393 static ssize_t aspeed_smc_write_user(struct spi_nor *nor, loff_t to, in aspeed_smc_write_user() [all …]
|
D | mtk-quadspi.c | 114 struct spi_nor nor; member 123 struct spi_nor *nor = &mtk_nor->nor; in mtk_nor_set_read_mode() local 237 struct spi_nor *nor = &mtk_nor->nor; in mtk_nor_set_addr_width() local 271 static ssize_t mtk_nor_read(struct spi_nor *nor, loff_t from, size_t length, in mtk_nor_read() 325 static ssize_t mtk_nor_write(struct spi_nor *nor, loff_t to, size_t len, in mtk_nor_write() 365 static int mtk_nor_read_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in mtk_nor_read_reg() 387 static int mtk_nor_write_reg(struct spi_nor *nor, u8 opcode, u8 *buf, in mtk_nor_write_reg() 439 struct spi_nor *nor; in mtk_nor_init() local
|
D | fsl-quadspi.c | 282 struct spi_nor nor[FSL_QSPI_MAX_CHIP]; member 388 struct spi_nor *nor = &q->nor[0]; in fsl_qspi_init_lut() local 615 static ssize_t fsl_qspi_nor_write(struct fsl_qspi *q, struct spi_nor *nor, in fsl_qspi_nor_write() 824 static void fsl_qspi_set_base_addr(struct fsl_qspi *q, struct spi_nor *nor) in fsl_qspi_set_base_addr() 829 static int fsl_qspi_read_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in fsl_qspi_read_reg() 842 static int fsl_qspi_write_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in fsl_qspi_write_reg() 868 static ssize_t fsl_qspi_write(struct spi_nor *nor, loff_t to, in fsl_qspi_write() 880 static ssize_t fsl_qspi_read(struct spi_nor *nor, loff_t from, in fsl_qspi_read() 926 static int fsl_qspi_erase(struct spi_nor *nor, loff_t offs) in fsl_qspi_erase() 942 static int fsl_qspi_prep(struct spi_nor *nor, enum spi_nor_ops ops) in fsl_qspi_prep() [all …]
|
D | stm32-quadspi.c | 134 struct spi_nor nor; member 203 static void stm32_qspi_set_framemode(struct spi_nor *nor, in stm32_qspi_set_framemode() 351 static int stm32_qspi_read_reg(struct spi_nor *nor, in stm32_qspi_read_reg() 372 static int stm32_qspi_write_reg(struct spi_nor *nor, u8 opcode, in stm32_qspi_write_reg() 393 static ssize_t stm32_qspi_read(struct spi_nor *nor, loff_t from, size_t len, in stm32_qspi_read() 420 static ssize_t stm32_qspi_write(struct spi_nor *nor, loff_t to, size_t len, in stm32_qspi_write() 446 static int stm32_qspi_erase(struct spi_nor *nor, loff_t offs) in stm32_qspi_erase() 486 static int stm32_qspi_prep(struct spi_nor *nor, enum spi_nor_ops ops) in stm32_qspi_prep() 495 static void stm32_qspi_unprep(struct spi_nor *nor, enum spi_nor_ops ops) in stm32_qspi_unprep()
|
D | atmel-quadspi.c | 161 struct spi_nor nor; member 457 static int atmel_qspi_read_reg(struct spi_nor *nor, u8 opcode, in atmel_qspi_read_reg() 473 static int atmel_qspi_write_reg(struct spi_nor *nor, u8 opcode, in atmel_qspi_write_reg() 489 static ssize_t atmel_qspi_write(struct spi_nor *nor, loff_t to, size_t len, in atmel_qspi_write() 509 static int atmel_qspi_erase(struct spi_nor *nor, loff_t offs) in atmel_qspi_erase() 523 static ssize_t atmel_qspi_read(struct spi_nor *nor, loff_t from, size_t len, in atmel_qspi_read() 624 struct spi_nor *nor; in atmel_qspi_probe() local
|
D | intel-spi.c | 146 struct spi_nor nor; member 541 static int intel_spi_read_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in intel_spi_read_reg() 561 static int intel_spi_write_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in intel_spi_write_reg() 609 static ssize_t intel_spi_read(struct spi_nor *nor, loff_t from, size_t len, in intel_spi_read() 674 static ssize_t intel_spi_write(struct spi_nor *nor, loff_t to, size_t len, in intel_spi_write() 733 static int intel_spi_erase(struct spi_nor *nor, loff_t offs) in intel_spi_erase()
|
/Linux-v4.19/drivers/mtd/devices/ |
D | m25p80.c | 36 static int m25p80_read_reg(struct spi_nor *nor, u8 code, u8 *val, int len) in m25p80_read_reg() 63 static int m25p80_write_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in m25p80_write_reg() 84 static ssize_t m25p80_write(struct spi_nor *nor, loff_t to, size_t len, in m25p80_write() 126 static ssize_t m25p80_read(struct spi_nor *nor, loff_t from, size_t len, in m25p80_read() 175 struct spi_nor *nor; in m25p_probe() local
|
/Linux-v4.19/arch/arm/boot/dts/ |
D | sama5d3xcm.dtsi | 56 nor: flash@0,0 { label
|
D | imx1-apf9328.dts | 53 nor: nor@0,0 { label
|
D | imx1-ads.dts | 73 nor: nor@0,0 { label
|
D | imx27-eukrea-cpuimx27.dtsi | 98 nor: nor@0,0 { label
|
D | imx27-phytec-phycore-som.dtsi | 330 nor: nor@0,0 { label
|
/Linux-v4.19/include/linux/mtd/ |
D | spi-nor.h | 320 static inline void spi_nor_set_flash_node(struct spi_nor *nor, in spi_nor_set_flash_node() 326 static inline struct device_node *spi_nor_get_flash_node(struct spi_nor *nor) in spi_nor_get_flash_node()
|