• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2 * Sunxi SD/MMC host driver
3 *
4 * Copyright (C) 2019 AllWinnertech Ltd.
5 * Author: lixiang <lixiang@allwinnertech>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 *
11 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
12 * kind, whether express or implied; without even the implied warranty
13 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 * GNU General Public License for more details.
15 */
16 
17 #ifndef __SUNXI_MMC_PANIC_H__
18 #define __SUNXI_MMC_PANIC_H__
19 ssize_t
20 sunxi_mmc_panic_rtest(struct device *dev, struct device_attribute *attr, char *buf);
21 ssize_t
22 sunxi_mmc_pancic_wrtest(struct device *dev, struct device_attribute *attr,
23 		const char *buf, size_t count);
24 int sunxi_mmc_panic_init_ps(void *data);
25 #endif
26