Searched defs:nor (Results 1 – 4 of 4) sorted by relevance
| /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() 191 static void spi_nor_set_4byte_opcodes(struct spi_nor *nor, in spi_nor_set_4byte_opcodes() 198 static inline int set_4byte(struct spi_nor *nor, const struct flash_info *info, in set_4byte() [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/include/linux/mtd/ |
| H A D | spi-nor.h | 353 static inline void spi_nor_set_flash_node(struct spi_nor *nor, in spi_nor_set_flash_node() 360 device_node *spi_nor_get_flash_node(struct spi_nor *nor) in spi_nor_get_flash_node()
|
| /rk3399_rockchip-uboot/drivers/mtd/ |
| H A D | mtd_blk.c | 549 struct spi_nor *nor = (struct spi_nor *)mtd->priv; in mtd_dread() local
|