Lines Matching defs:fsm

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