1 /* 2 * Sunxi SD/MMC host driver 3 * 4 * Copyright (C) 2015 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 #ifdef CONFIG_ARCH_SUN8IW10P1 18 19 #ifndef __SUNXI_MMC_SUN8IW10P1_2_H__ 20 #define __SUNXI_MMC_SUN8IW10P1_2_H__ 21 22 void sunxi_mmc_init_priv_v5px(struct sunxi_mmc_host *host, 23 struct platform_device *pdev, int phy_index); 24 int sunxi_mmc_oclk_onoff(struct sunxi_mmc_host *host, u32 oclk_en); 25 26 int mmc_card_sleep(struct mmc_host *host); 27 int mmc_deselect_cards(struct mmc_host *host); 28 void mmc_power_off(struct mmc_host *host); 29 int mmc_card_sleepawake(struct mmc_host *host, int sleep); 30 31 #endif 32 33 #endif 34