Searched refs:SFNOR_DEV (Results 1 – 9 of 9) sorted by relevance
| /OK3568_Linux_fs/u-boot/drivers/rkflash/ |
| H A D | sfc_nor.h | 97 struct SFNOR_DEV { struct 165 int snor_init(struct SFNOR_DEV *p_dev); 166 u32 snor_get_capacity(struct SFNOR_DEV *p_dev); 167 int snor_read(struct SFNOR_DEV *p_dev, u32 sec, u32 n_sec, void *p_data); 168 int snor_write(struct SFNOR_DEV *p_dev, u32 sec, u32 n_sec, void *p_data); 169 int snor_erase(struct SFNOR_DEV *p_dev, 173 int snor_prog_page(struct SFNOR_DEV *p_dev, u32 addr, void *p_data, u32 size); 174 int snor_read_data(struct SFNOR_DEV *p_dev, u32 addr, void *p_data, u32 size); 176 int snor_disable_QE(struct SFNOR_DEV *p_dev); 177 int snor_reinit_from_table_packet(struct SFNOR_DEV *p_dev,
|
| H A D | rkflash_api.c | 58 struct SFNOR_DEV *p_dev = (struct SFNOR_DEV *)&priv->flash_dev_info; in rksfc_nor_init() 90 struct SFNOR_DEV *p_dev = (struct SFNOR_DEV *)&priv->flash_dev_info; in rksfc_nor_get_capacity() 101 struct SFNOR_DEV *p_dev = (struct SFNOR_DEV *)&priv->flash_dev_info; in rksfc_nor_read() 139 struct SFNOR_DEV *p_dev = (struct SFNOR_DEV *)&priv->flash_dev_info; in rksfc_nor_simply_over_write() 165 struct SFNOR_DEV *p_dev = (struct SFNOR_DEV *)&priv->flash_dev_info; in rksfc_nor_write() 205 struct SFNOR_DEV *p_dev = (struct SFNOR_DEV *)&priv->flash_dev_info; in rksfc_nor_vendor_read() 216 struct SFNOR_DEV *p_dev = (struct SFNOR_DEV *)&priv->flash_dev_info; in rksfc_nor_vendor_write()
|
| H A D | sfc_nor.c | 375 int snor_erase(struct SFNOR_DEV *p_dev, in snor_erase() 414 int snor_prog_page(struct SFNOR_DEV *p_dev, in snor_prog_page() 448 static int snor_prog(struct SFNOR_DEV *p_dev, u32 addr, void *p_data, u32 size) in snor_prog() 469 static int snor_enable_QE(struct SFNOR_DEV *p_dev) in snor_enable_QE() 490 int snor_disable_QE(struct SFNOR_DEV *p_dev) in snor_disable_QE() 511 int snor_read_data(struct SFNOR_DEV *p_dev, in snor_read_data() 550 int snor_read(struct SFNOR_DEV *p_dev, u32 sec, u32 n_sec, void *p_data) in snor_read() 583 int snor_write(struct SFNOR_DEV *p_dev, u32 sec, u32 n_sec, void *p_data) in snor_write() 661 u32 snor_get_capacity(struct SFNOR_DEV *p_dev) in snor_get_capacity() 695 static int snor_parse_flash_table(struct SFNOR_DEV *p_dev, in snor_parse_flash_table() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/rkflash/ |
| H A D | sfc_nor.h | 95 struct SFNOR_DEV { struct 163 int snor_init(struct SFNOR_DEV *p_dev); 164 u32 snor_get_capacity(struct SFNOR_DEV *p_dev); 165 int snor_read(struct SFNOR_DEV *p_dev, u32 sec, u32 n_sec, void *p_data); 166 int snor_write(struct SFNOR_DEV *p_dev, u32 sec, u32 n_sec, void *p_data); 167 int snor_erase(struct SFNOR_DEV *p_dev, 171 int snor_prog_page(struct SFNOR_DEV *p_dev, u32 addr, void *p_data, u32 size); 172 int snor_read_data(struct SFNOR_DEV *p_dev, u32 addr, void *p_data, u32 size); 174 int snor_disable_QE(struct SFNOR_DEV *p_dev); 175 int snor_reinit_from_table_packet(struct SFNOR_DEV *p_dev,
|
| H A D | sfc_nor.c | 333 int snor_erase(struct SFNOR_DEV *p_dev, in snor_erase() 372 int snor_prog_page(struct SFNOR_DEV *p_dev, in snor_prog_page() 406 static int snor_prog(struct SFNOR_DEV *p_dev, u32 addr, void *p_data, u32 size) in snor_prog() 427 static int snor_enable_QE(struct SFNOR_DEV *p_dev) in snor_enable_QE() 448 int snor_disable_QE(struct SFNOR_DEV *p_dev) in snor_disable_QE() 469 int snor_read_data(struct SFNOR_DEV *p_dev, in snor_read_data() 508 int snor_read(struct SFNOR_DEV *p_dev, u32 sec, u32 n_sec, void *p_data) in snor_read() 541 int snor_write(struct SFNOR_DEV *p_dev, u32 sec, u32 n_sec, void *p_data) in snor_write() 619 u32 snor_get_capacity(struct SFNOR_DEV *p_dev) in snor_get_capacity() 653 static int snor_parse_flash_table(struct SFNOR_DEV *p_dev, in snor_parse_flash_table() [all …]
|
| H A D | rkflash_api.h | 49 extern struct SFNOR_DEV *sfnor_dev;
|
| H A D | sfc_nor_mtd.c | 16 struct SFNOR_DEV *snor; 179 int sfc_nor_mtd_init(struct SFNOR_DEV *p_dev, struct mutex *lock) in sfc_nor_mtd_init()
|
| H A D | rkflash_blk.h | 103 int sfc_nor_mtd_init(struct SFNOR_DEV *p_dev, struct mutex *lock);
|
| H A D | sfc_nor_boot.c | 26 struct SFNOR_DEV *sfnor_dev;
|