| /rk3399_rockchip-uboot/include/linux/mtd/ |
| H A D | spi-nor.h | 262 #define spi_flash spi_nor 303 struct spi_nor { struct 329 int (*prepare)(struct spi_nor *nor, enum spi_nor_ops ops); argument 330 void (*unprepare)(struct spi_nor *nor, enum spi_nor_ops ops); argument 331 int (*read_reg)(struct spi_nor *nor, u8 opcode, u8 *buf, int len); argument 332 int (*write_reg)(struct spi_nor *nor, u8 opcode, u8 *buf, int len); argument 334 ssize_t (*read)(struct spi_nor *nor, loff_t from, argument 336 ssize_t (*write)(struct spi_nor *nor, loff_t to, argument 338 int (*erase)(struct spi_nor *nor, loff_t offs); argument 340 int (*flash_lock)(struct spi_nor *nor, loff_t ofs, uint64_t len); argument [all …]
|
| /rk3399_rockchip-uboot/drivers/mtd/spi/ |
| H A D | spi-nor-tiny.c | 37 static int spi_nor_read_write_reg(struct spi_nor *nor, struct spi_mem_op in spi_nor_read_write_reg() 47 static int spi_nor_read_reg(struct spi_nor *nor, u8 code, u8 *val, int len) in spi_nor_read_reg() 63 static int spi_nor_write_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in spi_nor_write_reg() 73 static ssize_t spi_nor_read_data(struct spi_nor *nor, loff_t from, size_t len, in spi_nor_read_data() 117 static int read_cr(struct spi_nor *nor) in read_cr() 136 static inline int write_sr(struct spi_nor *nor, u8 val) in write_sr() 146 static inline int write_enable(struct spi_nor *nor) in write_enable() 154 static inline int write_disable(struct spi_nor *nor) in write_disable() 159 static inline struct spi_nor *mtd_to_spi_nor(struct mtd_info *mtd) in mtd_to_spi_nor() 191 static void spi_nor_set_4byte_opcodes(struct spi_nor *nor, in spi_nor_set_4byte_opcodes() [all …]
|
| H A D | spi-nor-core.c | 37 static int spi_nor_read_write_reg(struct spi_nor *nor, struct spi_mem_op in spi_nor_read_write_reg() 47 static int spi_nor_read_reg(struct spi_nor *nor, u8 code, u8 *val, int len) in spi_nor_read_reg() 63 static int spi_nor_write_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in spi_nor_write_reg() 73 static ssize_t spi_nor_read_data(struct spi_nor *nor, loff_t from, size_t len, in spi_nor_read_data() 111 static ssize_t spi_nor_write_data(struct spi_nor *nor, loff_t to, size_t len, in spi_nor_write_data() 146 static int read_sr(struct spi_nor *nor) in read_sr() 165 static int read_fsr(struct spi_nor *nor) in read_fsr() 185 static int read_cr(struct spi_nor *nor) in read_cr() 204 static int write_sr(struct spi_nor *nor, u8 val) in write_sr() 215 static int write_cr(struct spi_nor *nor, u8 val) in write_cr() [all …]
|
| /rk3399_rockchip-uboot/arch/arm/dts/ |
| H A D | rv1126-bat-evb.dts | 17 u-boot,spl-boot-order = &spi_nor, &emmc; 91 &spi_nor {
|
| H A D | rv1106b-evb2.dts | 22 u-boot,spl-boot-order = &spi_nor, &emmc; 78 &spi_nor {
|
| H A D | rk3506-evb-tb.dts | 11 u-boot,spl-boot-order = &spi_nand, &spi_nor, &mmc;
|
| H A D | rv1103b-u-boot.dtsi | 15 u-boot,spl-boot-order = &sdmmc0, &spi_nand, &spi_nor, &emmc; 109 spi_nor: flash@1 { label
|
| H A D | rv1106-evb2.dts | 18 u-boot,spl-boot-order = &spi_nor, &emmc; 125 &spi_nor {
|
| H A D | rk1808-u-boot.dtsi | 24 u-boot,spl-boot-order = &spi_nand, &spi_nor, &emmc; 79 spi_nor: flash@1 { label
|
| H A D | rk3506-u-boot.dtsi | 14 u-boot,spl-boot-order = &mmc, &spi_nand, &spi_nor; 128 spi_nor: flash@1 { label
|
| H A D | rk3308-u-boot.dtsi | 15 u-boot,spl-boot-order = &sdmmc, &spi_nand, &spi_nor, &nandc, &emmc; 113 spi_nor: flash@1 { label
|
| H A D | rk3562-u-boot.dtsi | 15 u-boot,spl-boot-order = &sdmmc0, &sdhci, &spi_nand, &spi_nor; 149 spi_nor: flash@1 { label
|
| H A D | rv1106-u-boot.dtsi | 15 u-boot,spl-boot-order = &sdmmc, &spi_nor, &spi_nand, &emmc; 190 spi_nor: flash@1 { label
|
| H A D | rk3528-u-boot.dtsi | 15 u-boot,spl-boot-order = &sdmmc, &sdhci, &spi_nand, &spi_nor; 92 spi_nor: flash@1 { label
|
| H A D | rk3576-u-boot.dtsi | 17 u-boot,spl-boot-order = &sdmmc, &spi_nand, &spi_nor, "same-as-spl"; 123 spi_nor: flash@1 { label
|
| H A D | rv1126b-u-boot.dtsi | 17 u-boot,spl-boot-order = &sdmmc0, &spi_nand, &spi_nor, &emmc; 143 spi_nor: flash@1 { label
|
| H A D | rk3588-u-boot.dtsi | 17 u-boot,spl-boot-order = &sdmmc, &sdhci, &spi_nand, &spi_nor; 150 spi_nor: flash@1 { label
|
| H A D | rv1126-u-boot.dtsi | 15 u-boot,spl-boot-order = &sdmmc, &spi_nand, &spi_nor, &nandc, &emmc; 132 spi_nor: flash@1 { label
|
| H A D | keystone-k2g-evm.dts | 47 spi_nor: flash@0 { label
|
| H A D | rk3576-tb.dts | 69 spi_nor: flash@1 { label
|
| H A D | px30-u-boot.dtsi | 136 spi_nor: flash@1 { label
|
| H A D | rk3568-u-boot.dtsi | 18 u-boot,spl-boot-order = &sdmmc0, &sdhci, &nandc0, &spi_nand, &spi_nor; 125 spi_nor: flash@1 { label
|
| /rk3399_rockchip-uboot/drivers/mtd/ |
| H A D | mtd_blk.c | 549 struct spi_nor *nor = (struct spi_nor *)mtd->priv; in mtd_dread()
|