Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/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.c384 int snor_erase(struct SFNOR_DEV *p_dev, in snor_erase()
423 int snor_prog_page(struct SFNOR_DEV *p_dev, in snor_prog_page()
457 static int snor_prog(struct SFNOR_DEV *p_dev, u32 addr, void *p_data, u32 size) in snor_prog()
478 static int snor_enable_QE(struct SFNOR_DEV *p_dev) in snor_enable_QE()
499 int snor_disable_QE(struct SFNOR_DEV *p_dev) in snor_disable_QE()
520 int snor_read_data(struct SFNOR_DEV *p_dev, in snor_read_data()
559 int snor_read(struct SFNOR_DEV *p_dev, u32 sec, u32 n_sec, void *p_data) in snor_read()
592 int snor_write(struct SFNOR_DEV *p_dev, u32 sec, u32 n_sec, void *p_data) in snor_write()
670 u32 snor_get_capacity(struct SFNOR_DEV *p_dev) in snor_get_capacity()
704 static int snor_parse_flash_table(struct SFNOR_DEV *p_dev, in snor_parse_flash_table()
[all …]