Home
last modified time | relevance | path

Searched defs:snf (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/spi/
H A Dspi-mtk-snfi.c328 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()
413 static int mtk_snand_mac_reset(struct mtk_snand *snf) in mtk_snand_mac_reset()
431 static int mtk_snand_mac_trigger(struct mtk_snand *snf, u32 outlen, u32 inlen) in mtk_snand_mac_trigger()
460 static int mtk_snand_mac_io(struct mtk_snand *snf, const struct spi_mem_op *op) in mtk_snand_mac_io()
[all …]