Lines Matching refs:spear_smi
169 struct spear_smi { struct
221 static int spear_smi_read_sr(struct spear_smi *dev, u32 bank) in spear_smi_read_sr()
264 static int spear_smi_wait_till_ready(struct spear_smi *dev, u32 bank, in spear_smi_wait_till_ready()
299 struct spear_smi *dev = dev_id; in spear_smi_int_handler()
324 static void spear_smi_hw_init(struct spear_smi *dev) in spear_smi_hw_init()
379 static int spear_smi_write_enable(struct spear_smi *dev, u32 bank) in spear_smi_write_enable()
444 static int spear_smi_erase_sector(struct spear_smi *dev, in spear_smi_erase_sector()
497 struct spear_smi *dev = mtd->priv; in spear_mtd_erase()
549 struct spear_smi *dev = mtd->priv; in spear_mtd_read()
615 static inline int spear_smi_cpy_toio(struct spear_smi *dev, u32 bank, in spear_smi_cpy_toio()
678 struct spear_smi *dev = mtd->priv; in spear_mtd_write()
745 static int spear_smi_probe_flash(struct spear_smi *dev, u32 bank) in spear_smi_probe_flash()
844 struct spear_smi *dev = platform_get_drvdata(pdev); in spear_smi_setup_banks()
939 struct spear_smi *dev; in spear_smi_probe()
1036 struct spear_smi *dev; in spear_smi_remove()
1056 struct spear_smi *sdev = dev_get_drvdata(dev); in spear_smi_suspend()
1066 struct spear_smi *sdev = dev_get_drvdata(dev); in spear_smi_resume()