Searched refs:snf (Results 1 – 2 of 2) sorted by relevance
328 static inline int snand_prepare_bouncebuf(struct mtk_snand *snf, size_t size) in snand_prepare_bouncebuf() argument330 if (snf->buf_len >= size) in snand_prepare_bouncebuf()332 kfree(snf->buf); in snand_prepare_bouncebuf()333 snf->buf = kmalloc(size, GFP_KERNEL); in snand_prepare_bouncebuf()334 if (!snf->buf) in snand_prepare_bouncebuf()336 snf->buf_len = size; in snand_prepare_bouncebuf()337 memset(snf->buf, 0xff, snf->buf_len); in snand_prepare_bouncebuf()341 static inline u32 nfi_read32(struct mtk_snand *snf, u32 reg) in nfi_read32() argument343 return readl(snf->nfi_base + reg); in nfi_read32()346 static inline void nfi_write32(struct mtk_snand *snf, u32 reg, u32 val) in nfi_write32() argument[all …]
47 ln -snf ../$< $@