Lines Matching defs:mtk_nor

98 struct mtk_nor {
113 static inline void mtk_nor_rmw(struct mtk_nor *sp, u32 reg, u32 set, u32 clr)
122 static inline int mtk_nor_cmd_exec(struct mtk_nor *sp, u32 cmd, ulong clk)
136 static void mtk_nor_set_addr(struct mtk_nor *sp, const struct spi_mem_op *op)
153 static bool need_bounce(struct mtk_nor *sp, const struct spi_mem_op *op)
251 struct mtk_nor *sp = spi_controller_get_devdata(mem->spi->master);
313 static void mtk_nor_setup_bus(struct mtk_nor *sp, const struct spi_mem_op *op)
339 static int mtk_nor_dma_exec(struct mtk_nor *sp, u32 from, unsigned int length,
382 static int mtk_nor_read_bounce(struct mtk_nor *sp, const struct spi_mem_op *op)
400 static int mtk_nor_read_dma(struct mtk_nor *sp, const struct spi_mem_op *op)
421 static int mtk_nor_read_pio(struct mtk_nor *sp, const struct spi_mem_op *op)
432 static int mtk_nor_write_buffer_enable(struct mtk_nor *sp)
449 static int mtk_nor_write_buffer_disable(struct mtk_nor *sp)
465 static int mtk_nor_pp_buffered(struct mtk_nor *sp, const struct spi_mem_op *op)
484 static int mtk_nor_pp_unbuffered(struct mtk_nor *sp,
497 static int mtk_nor_spi_mem_prg(struct mtk_nor *sp, const struct spi_mem_op *op)
576 struct mtk_nor *sp = spi_controller_get_devdata(mem->spi->master);
609 struct mtk_nor *sp = spi_controller_get_devdata(spi->master);
624 struct mtk_nor *sp = spi_controller_get_devdata(master);
671 static void mtk_nor_disable_clk(struct mtk_nor *sp)
677 static int mtk_nor_enable_clk(struct mtk_nor *sp)
694 static void mtk_nor_init(struct mtk_nor *sp)
707 struct mtk_nor *sp = data;
747 struct mtk_nor *sp;
862 struct mtk_nor *sp = spi_controller_get_devdata(ctlr);
876 struct mtk_nor *sp = spi_controller_get_devdata(ctlr);
886 struct mtk_nor *sp = spi_controller_get_devdata(ctlr);
899 struct mtk_nor *sp = spi_controller_get_devdata(ctlr);