xref: /kernel/linux/linux-5.10/arch/mips/include/asm/mach-loongson32/nand.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/arch/mips/include/asm/mach-loongson32/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (c) 2015 Zhang, Keguang <keguang.zhang@gmail.com>
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Loongson 1 NAND platform support.
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#ifndef __ASM_MACH_LOONGSON32_NAND_H
98c2ecf20Sopenharmony_ci#define __ASM_MACH_LOONGSON32_NAND_H
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#include <linux/dmaengine.h>
128c2ecf20Sopenharmony_ci#include <linux/mtd/partitions.h>
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_cistruct plat_ls1x_nand {
158c2ecf20Sopenharmony_ci	struct mtd_partition *parts;
168c2ecf20Sopenharmony_ci	unsigned int nr_parts;
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci	int hold_cycle;
198c2ecf20Sopenharmony_ci	int wait_cycle;
208c2ecf20Sopenharmony_ci};
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ciextern struct plat_ls1x_nand ls1b_nand_pdata;
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_cibool ls1x_dma_filter_fn(struct dma_chan *chan, void *param);
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci#endif /* __ASM_MACH_LOONGSON32_NAND_H */
27

Indexes created Thu Nov 07 10:32:03 CST 2024