Searched refs:mtk_snand (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/spi/ |
D | spi-mtk-snfi.c | 301 struct mtk_snand { struct 321 static struct mtk_snand *nand_to_mtk_snand(struct nand_device *nand) in nand_to_mtk_snand() argument 325 return container_of(eng, struct mtk_snand, ecc_eng); in nand_to_mtk_snand() 328 static inline int snand_prepare_bouncebuf(struct mtk_snand *snf, size_t size) in snand_prepare_bouncebuf() 341 static inline u32 nfi_read32(struct mtk_snand *snf, u32 reg) in nfi_read32() 346 static inline void nfi_write32(struct mtk_snand *snf, u32 reg, u32 val) in nfi_write32() 351 static inline void nfi_write16(struct mtk_snand *snf, u32 reg, u16 val) in nfi_write16() 356 static inline void nfi_rmw32(struct mtk_snand *snf, u32 reg, u32 clr, u32 set) in nfi_rmw32() 366 static void nfi_read_data(struct mtk_snand *snf, u32 reg, u8 *data, u32 len) in nfi_read_data() 378 static int mtk_nfi_reset(struct mtk_snand *snf) in mtk_nfi_reset() [all …]
|