Home
last modified time | relevance | path

Searched refs:SFNOR_DEV (Results 1 – 9 of 9) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/rkflash/
H A Dsfc_nor.h97 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 Drkflash_api.c58 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 Dsfc_nor.c375 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 Dsfc_nor.h95 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 Dsfc_nor.c333 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 Drkflash_api.h49 extern struct SFNOR_DEV *sfnor_dev;
H A Dsfc_nor_mtd.c16 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 Drkflash_blk.h103 int sfc_nor_mtd_init(struct SFNOR_DEV *p_dev, struct mutex *lock);
H A Dsfc_nor_boot.c26 struct SFNOR_DEV *sfnor_dev;