Lines Matching refs:stfsm

255 struct stfsm {
308 int (*config)(struct stfsm *);
311 static int stfsm_n25q_config(struct stfsm *fsm);
312 static int stfsm_mx25_config(struct stfsm *fsm);
313 static int stfsm_s25fl_config(struct stfsm *fsm);
314 static int stfsm_w25q_config(struct stfsm *fsm);
702 static inline int stfsm_is_idle(struct stfsm *fsm)
707 static inline uint32_t stfsm_fifo_available(struct stfsm *fsm)
712 static inline void stfsm_load_seq(struct stfsm *fsm,
728 static void stfsm_wait_seq(struct stfsm *fsm)
748 static void stfsm_read_fifo(struct stfsm *fsm, uint32_t *buf, uint32_t size)
799 static void stfsm_clear_fifo(struct stfsm *fsm)
835 static int stfsm_write_fifo(struct stfsm *fsm, const uint32_t *buf,
849 static int stfsm_enter_32bit_addr(struct stfsm *fsm, int enter)
866 static uint8_t stfsm_wait_busy(struct stfsm *fsm)
913 static int stfsm_read_status(struct stfsm *fsm, uint8_t cmd,
941 static int stfsm_write_status(struct stfsm *fsm, uint8_t cmd,
988 static bool stfsm_can_handle_soc_reset(struct stfsm *fsm)
1003 static void stfsm_prepare_erasesec_seq(struct stfsm *fsm,
1017 stfsm_search_seq_rw_configs(struct stfsm *fsm,
1031 static void stfsm_prepare_rw_seq(struct stfsm *fsm,
1099 static int stfsm_search_prepare_rw_seq(struct stfsm *fsm,
1117 static int stfsm_prepare_rwe_seqs_default(struct stfsm *fsm)
1148 static int stfsm_mx25_config(struct stfsm *fsm)
1206 static int stfsm_n25q_config(struct stfsm *fsm)
1284 static void stfsm_s25fl_read_dyb(struct stfsm *fsm, uint32_t offs, uint8_t *dby)
1320 static void stfsm_s25fl_write_dyb(struct stfsm *fsm, uint32_t offs, uint8_t dby)
1355 static int stfsm_s25fl_clear_status_reg(struct stfsm *fsm)
1386 static int stfsm_s25fl_config(struct stfsm *fsm)
1475 static int stfsm_w25q_config(struct stfsm *fsm)
1513 static int stfsm_read(struct stfsm *fsm, uint8_t *buf, uint32_t size,
1574 static int stfsm_write(struct stfsm *fsm, const uint8_t *buf,
1672 struct stfsm *fsm = dev_get_drvdata(mtd->dev.parent);
1697 static int stfsm_erase_sector(struct stfsm *fsm, uint32_t offset)
1727 static int stfsm_erase_chip(struct stfsm *fsm)
1748 struct stfsm *fsm = dev_get_drvdata(mtd->dev.parent);
1793 struct stfsm *fsm = dev_get_drvdata(mtd->dev.parent);
1831 static void stfsm_read_jedec(struct stfsm *fsm, uint8_t *jedec)
1845 static struct flash_info *stfsm_jedec_probe(struct stfsm *fsm)
1876 static int stfsm_set_mode(struct stfsm *fsm, uint32_t mode)
1896 static void stfsm_set_freq(struct stfsm *fsm, uint32_t spi_freq)
1932 static int stfsm_init(struct stfsm *fsm)
1972 struct stfsm *fsm = platform_get_drvdata(pdev);
2019 struct stfsm *fsm;
2102 struct stfsm *fsm = platform_get_drvdata(pdev);
2112 struct stfsm *fsm = dev_get_drvdata(dev);
2121 struct stfsm *fsm = dev_get_drvdata(dev);