Lines Matching defs:fsm

707 static inline int stfsm_is_idle(struct stfsm *fsm)  in stfsm_is_idle()
712 static inline uint32_t stfsm_fifo_available(struct stfsm *fsm) in stfsm_fifo_available()
717 static inline void stfsm_load_seq(struct stfsm *fsm, in stfsm_load_seq()
733 static void stfsm_wait_seq(struct stfsm *fsm) in stfsm_wait_seq()
753 static void stfsm_read_fifo(struct stfsm *fsm, uint32_t *buf, uint32_t size) in stfsm_read_fifo()
804 static void stfsm_clear_fifo(struct stfsm *fsm) in stfsm_clear_fifo()
840 static int stfsm_write_fifo(struct stfsm *fsm, const uint32_t *buf, in stfsm_write_fifo()
854 static int stfsm_enter_32bit_addr(struct stfsm *fsm, int enter) in stfsm_enter_32bit_addr()
871 static uint8_t stfsm_wait_busy(struct stfsm *fsm) in stfsm_wait_busy()
918 static int stfsm_read_status(struct stfsm *fsm, uint8_t cmd, in stfsm_read_status()
946 static int stfsm_write_status(struct stfsm *fsm, uint8_t cmd, in stfsm_write_status()
993 static bool stfsm_can_handle_soc_reset(struct stfsm *fsm) in stfsm_can_handle_soc_reset()
1008 static void stfsm_prepare_erasesec_seq(struct stfsm *fsm, in stfsm_prepare_erasesec_seq()
1022 stfsm_search_seq_rw_configs(struct stfsm *fsm, in stfsm_search_seq_rw_configs()
1036 static void stfsm_prepare_rw_seq(struct stfsm *fsm, in stfsm_prepare_rw_seq()
1104 static int stfsm_search_prepare_rw_seq(struct stfsm *fsm, in stfsm_search_prepare_rw_seq()
1122 static int stfsm_prepare_rwe_seqs_default(struct stfsm *fsm) in stfsm_prepare_rwe_seqs_default()
1153 static int stfsm_mx25_config(struct stfsm *fsm) in stfsm_mx25_config()
1211 static int stfsm_n25q_config(struct stfsm *fsm) in stfsm_n25q_config()
1289 static void stfsm_s25fl_read_dyb(struct stfsm *fsm, uint32_t offs, uint8_t *dby) in stfsm_s25fl_read_dyb()
1325 static void stfsm_s25fl_write_dyb(struct stfsm *fsm, uint32_t offs, uint8_t dby) in stfsm_s25fl_write_dyb()
1360 static int stfsm_s25fl_clear_status_reg(struct stfsm *fsm) in stfsm_s25fl_clear_status_reg()
1391 static int stfsm_s25fl_config(struct stfsm *fsm) in stfsm_s25fl_config()
1480 static int stfsm_w25q_config(struct stfsm *fsm) in stfsm_w25q_config()
1518 static int stfsm_read(struct stfsm *fsm, uint8_t *buf, uint32_t size, in stfsm_read()
1579 static int stfsm_write(struct stfsm *fsm, const uint8_t *buf, in stfsm_write()
1677 struct stfsm *fsm = dev_get_drvdata(mtd->dev.parent); in stfsm_mtd_read() local
1702 static int stfsm_erase_sector(struct stfsm *fsm, uint32_t offset) in stfsm_erase_sector()
1732 static int stfsm_erase_chip(struct stfsm *fsm) in stfsm_erase_chip()
1753 struct stfsm *fsm = dev_get_drvdata(mtd->dev.parent); in stfsm_mtd_write() local
1798 struct stfsm *fsm = dev_get_drvdata(mtd->dev.parent); in stfsm_mtd_erase() local
1840 static void stfsm_read_jedec(struct stfsm *fsm, uint8_t *jedec) in stfsm_read_jedec()
1854 static struct flash_info *stfsm_jedec_probe(struct stfsm *fsm) in stfsm_jedec_probe()
1886 static int stfsm_set_mode(struct stfsm *fsm, uint32_t mode) in stfsm_set_mode()
1906 static void stfsm_set_freq(struct stfsm *fsm, uint32_t spi_freq) in stfsm_set_freq()
1942 static int stfsm_init(struct stfsm *fsm) in stfsm_init()
1982 struct stfsm *fsm = platform_get_drvdata(pdev); in stfsm_fetch_platform_configs() local
2031 struct stfsm *fsm; in stfsm_probe() local
2132 struct stfsm *fsm = platform_get_drvdata(pdev); in stfsm_remove() local
2140 struct stfsm *fsm = dev_get_drvdata(dev); in stfsmfsm_suspend() local
2149 struct stfsm *fsm = dev_get_drvdata(dev); in stfsmfsm_resume() local